Upgrade everything from npm 10 to 11 and Node 20 to 24 active LTS
This commit is contained in:
@@ -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": {},
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
devShell = with pkgs;
|
devShell = with pkgs;
|
||||||
mkShell rec {
|
mkShell rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
nodejs_20
|
nodejs_24
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
|||||||
Generated
+4
-16370
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user