Skip to content

Commit

Permalink
Merge pull request #1021 from Financial-Times/node-20
Browse files Browse the repository at this point in the history
feat: support Node.js 20
  • Loading branch information
rowanmanning authored Jan 17, 2024
2 parents 9e387a2 + 2adefcd commit b33c591
Show file tree
Hide file tree
Showing 27 changed files with 112 additions and 101 deletions.
13 changes: 12 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ orbs:
executors:
node:
docker:
- image: cimg/node:18.16-browsers
- image: cimg/node:20.11-browsers
environment:
NODE_OPTIONS: "--openssl-legacy-provider"
node18_19:
docker:
- image: cimg/node:18.19-browsers
node16_20:
docker:
- image: cimg/node:16.20-browsers
Expand Down Expand Up @@ -182,6 +185,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
- test:
requires:
Expand All @@ -191,6 +195,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
- deploy:
filters:
Expand All @@ -212,6 +217,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
- test:
requires:
Expand All @@ -221,6 +227,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20

build-test-publish:
Expand All @@ -233,6 +240,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
- test:
filters:
Expand All @@ -244,6 +252,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
- publish:
context: npm-publish-token
Expand All @@ -262,6 +271,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
- test:
filters:
Expand All @@ -273,6 +283,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
- prepublish:
context: npm-publish-token
Expand Down
100 changes: 50 additions & 50 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
"typescript": "4.1.6"
},
"engines": {
"node": "16.x || 18.x",
"npm": "7.x || 8.x || 9.x"
"node": "16.x || 18.x || 20.x",
"npm": "7.x || 8.x || 9.x || 10.x"
},
"husky": {
"hooks": {
Expand Down
4 changes: 2 additions & 2 deletions packages/dotcom-build-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"webpack": "^4.39.2"
},
"engines": {
"node": "16.x || 18.x",
"npm": "7.x || 8.x || 9.x"
"node": "16.x || 18.x || 20.x",
"npm": "7.x || 8.x || 9.x || 10.x"
},
"files": ["dist/", "src/"],
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/dotcom-build-code-splitting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"check-engine": "^1.10.1"
},
"engines": {
"node": "16.x || 18.x",
"npm": "7.x || 8.x || 9.x"
"node": "16.x || 18.x || 20.x",
"npm": "7.x || 8.x || 9.x || 10.x"
},
"files": ["dist/", "src/"],
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/dotcom-build-images/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"check-engine": "^1.10.1"
},
"engines": {
"node": "16.x || 18.x",
"npm": "7.x || 8.x || 9.x"
"node": "16.x || 18.x || 20.x",
"npm": "7.x || 8.x || 9.x || 10.x"
},
"files": ["dist/", "src/"],
"repository": {
Expand Down
Loading

0 comments on commit b33c591

Please sign in to comment.