Skip to content

Commit

Permalink
Update to Node 22.12
Browse files Browse the repository at this point in the history
enables requiring ESM files without it being experimental
  • Loading branch information
romaricpascal committed Dec 9, 2024
1 parent 5902002 commit a842d3e
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@govuk-frontend/workflow-scripts",
"description": "GOV.UK Frontend GitHub Actions workflow scripts",
"engines": {
"node": "^22.11.0",
"node": "^22.12.0",
"npm": "^10.1.0"
},
"license": "MIT",
Expand Down
6 changes: 1 addition & 5 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
22
# When updating this version, remember to update:
# - the 'engines' fields in the various `package.json` files of the project
# - `package-lock.json` by running `npm install`
# - the `[node]` section of the various `.browserslistrc` files of the project
v22.12.0
57 changes: 43 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@govuk-frontend/repository",
"description": "Used only for the development of GOV.UK Frontend, see `packages/govuk-frontend/package.json` for the published `package.json`",
"engines": {
"node": "^22.11.0",
"node": "^22.12.0",
"npm": "^10.1.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/govuk-frontend-review/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "GOV.UK Frontend review app",
"main": "src/start.mjs",
"engines": {
"node": "^22.11.0",
"node": "^22.12.0",
"npm": "^10.1.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion shared/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "GOV.UK Frontend shared config",
"main": "index.js",
"engines": {
"node": "^22.11.0",
"node": "^22.12.0",
"npm": "^10.1.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion shared/helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"./*": "./*.js"
},
"engines": {
"node": "^22.11.0",
"node": "^22.12.0",
"npm": "^10.1.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion shared/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"./*": "./*.js"
},
"engines": {
"node": "^22.11.0",
"node": "^22.12.0",
"npm": "^10.1.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion shared/stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "GOV.UK Frontend build stats",
"main": "src/index.mjs",
"engines": {
"node": "^22.11.0",
"node": "^22.12.0",
"npm": "^10.1.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion shared/tasks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "GOV.UK Frontend shared tasks",
"main": "index.mjs",
"engines": {
"node": "^22.11.0",
"node": "^22.12.0",
"npm": "^10.1.0"
},
"license": "MIT",
Expand Down

0 comments on commit a842d3e

Please sign in to comment.