Skip to content

Commit

Permalink
Upgrade pipelines to Node18 (#17077)
Browse files Browse the repository at this point in the history
Update the recommended versions of Node.js for developers to use, as
well as the version used by CI.

This updates from version 16 (which goes out of support on 2023-09-11)
to version 18 (which goes out of support on 2025-04-30).

The minimum, as enforced by the root package.json's "engines" block is
not updated to 18 yet. This can be done after a migration period.

This has no impact on the produced packages, but will allow (but not yet
require) developers working in this repo to upgrade.
  • Loading branch information
robertobe-ms authored Aug 30, 2023
1 parent 807d71d commit 69fc7df
Show file tree
Hide file tree
Showing 35 changed files with 79 additions and 60 deletions.
2 changes: 1 addition & 1 deletion azure/packages/test/end-to-end-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"rimraf": "^4.4.0",
"typescript": "~4.5.5"
Expand Down
2 changes: 1 addition & 1 deletion azure/packages/test/scenario-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"@types/uuid": "^9.0.2",
"concurrently": "^7.6.0",
"eslint": "~8.6.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"sinon": "^7.4.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/drivers/replay-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"copyfiles": "^2.4.1",
"eslint": "~8.6.0",
"mocha": "^10.2.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
"typescript": "~4.5.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/drivers/routerlicious-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/test/local-server-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/test/test-end-to-end-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/test/test-version-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
Expand Down
72 changes: 25 additions & 47 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion server/routerlicious/packages/local-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"copyfiles": "^2.4.1",
"eslint": "~8.27.0",
"mocha": "^10.2.0",
"nock": "^10.0.1",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "~2.6.2",
"rimraf": "^4.4.0",
Expand Down
2 changes: 2 additions & 0 deletions tools/pipelines/build-api-markdown-documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ trigger:
- tools/pipelines/templates/include-publish-npm-package.yml
- tools/pipelines/templates/include-publish-npm-package-deployment.yml
- tools/pipelines/templates/include-publish-npm-package-steps.yml
- tools/pipelines/templates/include-use-node-version.yml

pr:
branches:
Expand All @@ -56,6 +57,7 @@ pr:
- tools/pipelines/templates/include-set-package-version.yml
- tools/pipelines/templates/include-vars.yml
- tools/pipelines/templates/include-install-pnpm.yml
- tools/pipelines/templates/include-use-node-version.yml

extends:
template: templates/build-npm-package.yml
Expand Down
2 changes: 2 additions & 0 deletions tools/pipelines/build-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ trigger:
- tools/pipelines/templates/include-publish-npm-package-deployment.yml
- tools/pipelines/templates/include-publish-npm-package-steps.yml
- tools/pipelines/templates/include-git-tag-steps.yml
- tools/pipelines/templates/include-use-node-version.yml
# Relevant to the test-azure-frs pipeline
- packages/dds/map
- packages/drivers/routerlicious-driver
Expand Down Expand Up @@ -82,6 +83,7 @@ pr:
- tools/pipelines/templates/include-publish-npm-package-deployment.yml
- tools/pipelines/templates/include-publish-npm-package-steps.yml
- tools/pipelines/templates/include-git-tag-steps.yml
- tools/pipelines/templates/include-use-node-version.yml
# Relevant to the test-azure-frs pipeline
- packages/dds/map
- packages/drivers/routerlicious-driver
Expand Down
Loading

0 comments on commit 69fc7df

Please sign in to comment.