Skip to content

Commit

Permalink
Update node to 18.13.0 (#28450)
Browse files Browse the repository at this point in the history
  • Loading branch information
anomiex committed Jan 23, 2023
1 parent e1da1df commit 605dc6c
Show file tree
Hide file tree
Showing 140 changed files with 397 additions and 117 deletions.
2 changes: 1 addition & 1 deletion .github/versions.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Versions of tools to use in CI.
PHP_VERSION=8.0
COMPOSER_VERSION=2.4.4
NODE_VERSION=16.17.0
NODE_VERSION=18.13.0
PNPM_VERSION=7.9.2

# Other useful version numbers.
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.17.0
18.13.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"jetpack-js-tools": "workspace:*"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"pnpm": "^7.9.2",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


2 changes: 1 addition & 1 deletion projects/github-actions/repo-gardening/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build": "ncc build src/index.js -o dist --source-map --license licenses.txt"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


2 changes: 1 addition & 1 deletion projects/github-actions/required-review/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build": "ncc build src/main.js -o dist --source-map --license licenses.txt"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


2 changes: 1 addition & 1 deletion projects/github-actions/test-results-to-slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"test-coverage": "jest --config=tests/jest.config.js --coverage --coverageDirectory=\"$COVERAGE_DIR\" --coverageReporters=clover"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
5 changes: 5 additions & 0 deletions projects/js-packages/analytics/changelog/update-node-to-v18
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-analytics",
"version": "0.1.22",
"version": "0.1.23-alpha",
"description": "Jetpack Analytics Package",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand All @@ -19,7 +19,7 @@
"test-coverage": "pnpm run test --coverageDirectory=\"$COVERAGE_DIR\" --coverage --coverageReporters=clover"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
5 changes: 5 additions & 0 deletions projects/js-packages/api/changelog/update-node-to-v18
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-api",
"version": "0.14.8",
"version": "0.14.9-alpha",
"description": "Jetpack Api Package",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand All @@ -23,7 +23,7 @@
"test-coverage": "pnpm run test --coverageDirectory=\"$COVERAGE_DIR\" --coverage --coverageReporters=clover"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/babel-plugin-replace-textdomain",
"version": "1.0.20",
"version": "1.0.21-alpha",
"description": "A Babel plugin to replace the textdomain in gettext-style function calls.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/babel-plugin-replace-textdomain/#readme",
"bugs": {
Expand All @@ -26,7 +26,7 @@
"jest": "29.3.1"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
},
"exports": {
Expand Down
5 changes: 5 additions & 0 deletions projects/js-packages/base-styles/changelog/update-node-to-v18
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/base-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-base-styles",
"version": "0.3.17",
"version": "0.3.18-alpha",
"description": "Jetpack components base styles",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/base-styles/#readme",
"bugs": {
Expand All @@ -23,7 +23,7 @@
"@wordpress/base-styles": "4.13.0"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
5 changes: 5 additions & 0 deletions projects/js-packages/components/changelog/update-node-to-v18
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-components",
"version": "0.27.1",
"version": "0.27.2-alpha",
"description": "Jetpack Components Package",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand Down Expand Up @@ -65,7 +65,7 @@
"test-coverage": "pnpm run test --coverageDirectory=\"$COVERAGE_DIR\" --coverage --coverageReporters=clover"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
5 changes: 5 additions & 0 deletions projects/js-packages/config/changelog/update-node-to-v18
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-config",
"version": "0.1.17",
"version": "0.1.18-alpha",
"description": "Handles Jetpack global configuration shared across all packages",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/config/#readme",
"bugs": {
Expand All @@ -23,7 +23,7 @@
"jest-environment-jsdom": "29.3.1"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
},
"exports": {
Expand Down
5 changes: 5 additions & 0 deletions projects/js-packages/connection/changelog/update-node-to-v18
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/connection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-connection",
"version": "0.24.6",
"version": "0.24.7-alpha",
"description": "Jetpack Connection Component",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand Down Expand Up @@ -52,7 +52,7 @@
"test-coverage": "pnpm run test --coverageDirectory=\"$COVERAGE_DIR\" --coverage --coverageReporters=clover"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


2 changes: 1 addition & 1 deletion projects/js-packages/eslint-changed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint": ">=7.0.0"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/eslint-config-target-es/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/eslint-config-target-es",
"version": "1.0.5",
"version": "1.0.6-alpha",
"description": "ESLint sharable config to activate eslint-plugin-es checks based on browserslist targets.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/eslint-config-target-es/README.md#readme",
"bugs": {
Expand Down Expand Up @@ -34,7 +34,7 @@
"eslint-plugin-es": "^4.1.0"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
},
"exports": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/i18n-check-webpack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/i18n-check-webpack-plugin",
"version": "1.0.26",
"version": "1.0.27-alpha",
"description": "A Webpack plugin to check that WordPress i18n hasn't been mangled by Webpack optimizations.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-check-webpack-plugin/#readme",
"bugs": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"webpack": "^5.0.0"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
},
"exports": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/i18n-loader-webpack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/i18n-loader-webpack-plugin",
"version": "2.0.24",
"version": "2.0.25-alpha",
"description": "A Webpack plugin to load WordPress i18n when Webpack lazy-loads a bundle.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-loader-webpack-plugin/#readme",
"bugs": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"webpack": "^5.29.0"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
},
"exports": {
Expand Down
5 changes: 5 additions & 0 deletions projects/js-packages/idc/changelog/update-node-to-v18
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/idc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-idc",
"version": "0.10.31",
"version": "0.10.32-alpha",
"description": "Jetpack Connection Component",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand Down Expand Up @@ -39,7 +39,7 @@
],
"scripts": {},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
}
}
5 changes: 5 additions & 0 deletions projects/js-packages/image-guide/changelog/update-node-to-v18
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/image-guide/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-image-guide",
"version": "0.2.0",
"version": "0.2.1-alpha",
"description": "Go through the dom to analyze image size on screen vs actual file size.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/image-guide/#readme",
"type": "module",
Expand Down Expand Up @@ -33,7 +33,7 @@
"webpack-cli": "4.9.1"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
},
"main": "./build/index.js",
Expand Down
5 changes: 5 additions & 0 deletions projects/js-packages/licensing/changelog/update-node-to-v18
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


4 changes: 2 additions & 2 deletions projects/js-packages/licensing/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-licensing",
"version": "0.7.2",
"version": "0.7.3-alpha",
"description": "Jetpack licensing flow",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/licensing/#readme",
"bugs": {
Expand Down Expand Up @@ -43,7 +43,7 @@
"react-test-renderer": "17.0.2"
},
"engines": {
"node": "^16.13.2",
"node": "^18.13.0",
"yarn": "use pnpm instead - see docs/yarn-upgrade.md"
},
"exports": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update tooling node version to 18.13.0. Should be no change to the project.


0 comments on commit 605dc6c

Please sign in to comment.