Skip to content

Commit 2da5709

Browse files
committed
chore: update Node.js version and related configurations
1 parent 0cb3d52 commit 2da5709

File tree

6 files changed

+13
-15
lines changed

6 files changed

+13
-15
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ body:
7575
attributes:
7676
label: Operating System
7777
description: What operating system are you using?
78-
placeholder: e.g., macOS 14.0, Windows 11, Ubuntu 22.04
78+
placeholder: e.g., macOS 14.0, Windows 11, Ubuntu 24.8.0
7979
validations:
8080
required: true
8181

.npmrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
# pnpm configuration
2-
only-built-dependencies=@swc/core,@tailwindcss/oxide,esbuild,sharp
3-
auto-install-peers=true
4-
strict-peer-dependencies=false
1+
use-node-version=24.8.0

apps/cms/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22-alpine AS base
1+
FROM node:24.8.0-alpine AS base
22

33
RUN npm install -g pnpm
44
WORKDIR /app
@@ -25,7 +25,7 @@ RUN pnpm --filter @acme/ui build
2525
RUN pnpm --filter cms build
2626

2727
# Production stage
28-
FROM node:22-alpine AS production
28+
FROM node:24.8.0-alpine AS production
2929

3030
RUN npm install -g pnpm
3131
WORKDIR /app

apps/web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22-alpine AS base
1+
FROM node:24.8.0-alpine AS base
22
RUN corepack enable pnpm
33

44
FROM base AS development-dependencies-env

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"private": true,
66
"type": "module",
77
"license": "MIT",
8-
"author": "Overland Stack",
8+
"author": "Stephen Way <[email protected]> (https://stephenway.net/)",
99
"engines": {
10-
"node": ">=22.0.0",
11-
"pnpm": ">=8.0.0"
10+
"node": ">=24.8.0",
11+
"pnpm": ">=10.17.1"
1212
},
1313
"packageManager": "[email protected]+sha512.17c560fca4867ae9473a3899ad84a88334914f379be46d455cbf92e5cf4b39d34985d452d2583baf19967fa76cb5c17bc9e245529d0b98745721aa7200ecaf7a",
1414
"workspaces": [

scripts/setup.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ check_prerequisites() {
4141

4242
# Check Node.js
4343
if ! command_exists node; then
44-
missing_deps+=("Node.js (22 or higher)")
44+
missing_deps+=("Node.js (24.8.0 or higher)")
4545
else
46-
local node_version=$(node --version | cut -d'v' -f2 | cut -d'.' -f1)
47-
if [ "$node_version" -lt 22 ]; then
48-
missing_deps+=("Node.js 22 or higher (current: $(node --version))")
46+
local node_version=$(node --version | cut -d'v' -f2)
47+
local required_version="24.8.0"
48+
if [ "$(printf '%s\n' "$required_version" "$node_version" | sort -V | head -n1)" != "$required_version" ]; then
49+
missing_deps+=("Node.js 24.8.0 or higher (current: $(node --version))")
4950
fi
5051
fi
5152

0 commit comments

Comments
 (0)