Upgrade everything from npm 10 to 11 and Node 20 to 24 active LTS
This commit is contained in:
parent
1a792e9f82
commit
2a7006502a
8 changed files with 16 additions and 16382 deletions
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
"name": "Node.js",
|
||||
// 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": {},
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
//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.
|
||||
// "customizations": {},
|
||||
|
|
|
|||
4
.github/workflows/__package.yml
vendored
4
.github/workflows/__package.yml
vendored
|
|
@ -19,9 +19,9 @@ jobs:
|
|||
ref: ${{ inputs.commit || github.sha }}
|
||||
|
||||
- name: Setup node environment
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
|
||||
with:
|
||||
node-version: 20
|
||||
node-version-file: .nvmrc
|
||||
cache: npm
|
||||
check-latest: true
|
||||
|
||||
|
|
|
|||
4
.github/workflows/__quality_checks.yml
vendored
4
.github/workflows/__quality_checks.yml
vendored
|
|
@ -48,9 +48,9 @@ jobs:
|
|||
show-progress: false
|
||||
|
||||
- name: Setup node environment ⚙️
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
|
||||
with:
|
||||
node-version: 20
|
||||
node-version-file: .nvmrc
|
||||
cache: npm
|
||||
check-latest: true
|
||||
|
||||
|
|
|
|||
4
.github/workflows/pull_request.yml
vendored
4
.github/workflows/pull_request.yml
vendored
|
|
@ -85,9 +85,9 @@ jobs:
|
|||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Setup node environment
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
|
||||
with:
|
||||
node-version: 20
|
||||
node-version-file: .nvrmc
|
||||
cache: npm
|
||||
check-latest: true
|
||||
|
||||
|
|
|
|||
2
.nvmrc
2
.nvmrc
|
|
@ -1 +1 @@
|
|||
20
|
||||
24
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
devShell = with pkgs;
|
||||
mkShell rec {
|
||||
buildInputs = [
|
||||
nodejs_20
|
||||
nodejs_24
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
|
|
|
|||
16374
package-lock.json
generated
16374
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -168,8 +168,8 @@
|
|||
"stylelint": "stylelint \"src/**/*.{css,scss}\""
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0",
|
||||
"npm": ">=9.6.4 <11.0.0",
|
||||
"node": ">=24.0.0",
|
||||
"npm": ">=11.0.0",
|
||||
"yarn": "YARN NO LONGER USED - use npm instead."
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue