Upgrade everything from npm 10 to 11 and Node 20 to 24 active LTS

This commit is contained in:
Nicholas La Roux
2025-10-31 22:39:20 -04:00
parent 1a792e9f82
commit 2a7006502a
8 changed files with 16 additions and 16382 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
{ {
"name": "Node.js", "name": "Node.js",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye", "image": "mcr.microsoft.com/devcontainers/javascript-node:24-bookworm",
// Features to add to the dev container. More info: https://containers.dev/features. // Features to add to the dev container. More info: https://containers.dev/features.
// "features": {}, // "features": {},
@@ -13,7 +13,7 @@
// Use 'postCreateCommand' to run commands after the container is created. // Use 'postCreateCommand' to run commands after the container is created.
//https://github.com/microsoft/vscode-dev-containers/issues/559 //https://github.com/microsoft/vscode-dev-containers/issues/559
"postCreateCommand": "source $NVM_DIR/nvm.sh && nvm install 20" "postCreateCommand": "source $NVM_DIR/nvm.sh && nvm install 24"
// Configure tool-specific properties. // Configure tool-specific properties.
// "customizations": {}, // "customizations": {},
+2 -2
View File
@@ -19,9 +19,9 @@ jobs:
ref: ${{ inputs.commit || github.sha }} ref: ${{ inputs.commit || github.sha }}
- name: Setup node environment - name: Setup node environment
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with: with:
node-version: 20 node-version-file: .nvmrc
cache: npm cache: npm
check-latest: true check-latest: true
+2 -2
View File
@@ -48,9 +48,9 @@ jobs:
show-progress: false show-progress: false
- name: Setup node environment ⚙️ - name: Setup node environment ⚙️
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with: with:
node-version: 20 node-version-file: .nvmrc
cache: npm cache: npm
check-latest: true check-latest: true
+2 -2
View File
@@ -85,9 +85,9 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
- name: Setup node environment - name: Setup node environment
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with: with:
node-version: 20 node-version-file: .nvrmc
cache: npm cache: npm
check-latest: true check-latest: true
+1 -1
View File
@@ -1 +1 @@
20 24
+1 -1
View File
@@ -20,7 +20,7 @@
devShell = with pkgs; devShell = with pkgs;
mkShell rec { mkShell rec {
buildInputs = [ buildInputs = [
nodejs_20 nodejs_24
]; ];
shellHook = '' shellHook = ''
+4 -16370
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -168,8 +168,8 @@
"stylelint": "stylelint \"src/**/*.{css,scss}\"" "stylelint": "stylelint \"src/**/*.{css,scss}\""
}, },
"engines": { "engines": {
"node": ">=20.0.0", "node": ">=24.0.0",
"npm": ">=9.6.4 <11.0.0", "npm": ">=11.0.0",
"yarn": "YARN NO LONGER USED - use npm instead." "yarn": "YARN NO LONGER USED - use npm instead."
} }
} }