Skip to content

Commit 531583d

Browse files
Tim020claude
andauthored
Upgrade Node.js from v22 to v24 (Active LTS) (#818)
- Update .nvmrc to v24.12.0 - Update package.json engines to require Node >=24.0.0 <25 and npm >=11.0.0 <12 - Regenerate package-lock.json with npm 11 (lockfileVersion 3) - Update Dockerfile to use node:24-bookworn base image - Update GitHub Actions workflows to use Node 24 - Remove redundant npm global install steps (npm 11 bundled with Node 24) - Update documentation to reflect Node 24.x requirement This resolves Dependabot EBADENGINE errors by aligning with Dependabot's Node v24.12.0 / npm 11.7.0 environment. Tested locally: - npm install completes successfully - Build process works (npm run build) - Linting passes (npm run ci-lint) - Unit tests run (npm run test:run) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 845fcb1 commit 531583d

File tree

7 files changed

+1450
-1018
lines changed

7 files changed

+1450
-1018
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Node.js
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: '22'
18+
node-version: '24'
1919
cache: 'npm'
2020
cache-dependency-path: 'client/package-lock.json'
2121
- name: Install dependencies

.github/workflows/client-test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 22
20-
- name: Install npm 10
21-
run: npm install -g npm@10
19+
node-version: 24
2220
- name: Install dependencies
2321
run: npm ci
2422
- name: Run tests

.github/workflows/nodelint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 22
16-
- run: npm install -g npm@10
15+
node-version: 24
1716
- run: npm ci
1817
- run: npm run ci-lint

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM node:22-bookworm AS node_build
1+
FROM node:24-bookworm AS node_build
22

3-
RUN npm install npm@10 -g
3+
# npm 11 bundled with Node 24, no separate install needed
44
RUN mkdir -p /server/static
55

66
COPY /client/package.json /client/package.json

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A digital script project for cueing theatrical shows
1414

1515
### Requirements
1616

17-
* Node v22.x (npm 10.x)
17+
* Node v24.x (npm 11.x)
1818
* Python 3.13.x
1919

2020
### Client

0 commit comments

Comments
 (0)