diff --git a/.github/files/lint-project-structure.sh b/.github/files/lint-project-structure.sh index 6ca453e557d51..f8a760bbdc6b6 100755 --- a/.github/files/lint-project-structure.sh +++ b/.github/files/lint-project-structure.sh @@ -72,8 +72,6 @@ for PROJECT in projects/*; do fi done -ROOT_PACKAGE_JSON_ENGINES="$(jq '.engines | .pnpm |= empty' package.json)" - for PROJECT in projects/*/*; do SLUG="${PROJECT#projects/}" TYPE="${SLUG%/*}" @@ -97,25 +95,6 @@ for PROJECT in projects/*/*; do echo "::error file=$PROJECT/.gitattributes::$PROJECT/.github/ should have git attribute export-ignore." fi - # - package.json engines should match monorepo root package.json engines - if [[ -e "$PROJECT/package.json" ]]; then - PACKAGE_JSON_ENGINES="$(jq '.engines' "$PROJECT/package.json")" - if [[ "$PACKAGE_JSON_ENGINES" != "$ROOT_PACKAGE_JSON_ENGINES" ]]; then - EXIT=1 - LINE=$(jq --stream --arg obj "$PACKAGE_JSON_ENGINES" 'if length == 1 then .[0][:-1] else .[0] end | if . == ["engines"] then input_line_number - ( $obj | gsub( "[^\n]"; "" ) | length ) else empty end' "$PROJECT/package.json") - if [[ -n "$LINE" ]]; then - echo "---" # Bracket message containing newlines for better visibility in GH's logs. - echo "::error file=$PROJECT/package.json,line=$LINE::Engines must match those in the monorepo root package.json (but omitting \"pnpm\").%0A \"engines\": ${ROOT_PACKAGE_JSON_ENGINES//$'\n'/%0A }" - echo "---" - else - LINE=$(wc -l < "$PROJECT/package.json") - echo "---" # Bracket message containing newlines for better visibility in GH's logs. - echo "::error file=$PROJECT/package.json,line=$LINE::Engines must be specified, matching those in the monorepo root package.json (but omitting \"pnpm\").%0A \"engines\": ${ROOT_PACKAGE_JSON_ENGINES//$'\n'/%0A }" - echo "---" - fi - fi - fi - # - package.json for js modules should look like a library to renovate. if [[ "$PROJECT" == projects/js-packages/* && -e "$PROJECT/package.json" ]]; then ! IFS= read -r INDEX < <( ls -- "$PROJECT"/index.{js,jsx,cjs,mjs,ts,tsx,d.ts} 2>/dev/null ) diff --git a/.github/versions.sh b/.github/versions.sh index 228732be2b480..7fb68b9c0317c 100644 --- a/.github/versions.sh +++ b/.github/versions.sh @@ -1,7 +1,7 @@ # Versions of tools to use in CI. PHP_VERSION=8.2 COMPOSER_VERSION=2.6.5 -NODE_VERSION=18.17.0 +NODE_VERSION=20.8.1 PNPM_VERSION=8.6.8 # Other useful version numbers. diff --git a/.nvmrc b/.nvmrc index 603606bc91118..6569dfa4f323c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.17.0 +20.8.1 diff --git a/docs/monorepo.md b/docs/monorepo.md index 300f305737be6..eecec36b13ec4 100644 --- a/docs/monorepo.md +++ b/docs/monorepo.md @@ -311,7 +311,6 @@ See PCYsg-xsv-p2#mirror-repo-secrets for details. Note the following will also be done by the build process: -* In `package.json`, the `.engines` will be deleted. If there is a `.publish_engines`, it will be renamed to `.engines`. * Entries will be prepended to `.npmignore` to ignore `.github` and `composer.json` during the NPM publish. This file will be created if not present. Before you create the first release tag, you may want to check out the mirror and run `npm publish --dry-run` to ensure that only the files you want published will be published. diff --git a/docs/yarn-upgrade.md b/docs/yarn-upgrade.md deleted file mode 100644 index 91753e8420a14..0000000000000 --- a/docs/yarn-upgrade.md +++ /dev/null @@ -1,68 +0,0 @@ -# Jetpack Yarn→Pnpm update, June 2021 - -Due to the [end of support for Yarn 1] and several bugs that were impacting our workflows, we realized a need to update the package manager. -After discussion and analysis (p9dueE-2MY-p2) we decided to go with pnpm as the replacement. - -## Why pnpm? - -Several reasons: - -* More sensible structure to `node_modules/` than the hoisting done by npm and yarn. - * More strict about undeclared dependencies without having to completely switch to something like Plug'n'Play. -* Mature workspace features. -* Better performance in typical configurations with our repo. -* Lack of desire to be a testbed for new proposals like Plug'n'Play or Zero Installs. - -## Upgrade caveats - -### Installation - -You'll likely have to install pnpm, of course. Instructions may be found at https://pnpm.io/installation. - -### Pre-upgrade cleanup - -Before checking out a branch using pnpm, you'll likely want to remove any `node_modules/` directories. You can do this with a command like -```bash -rm -rf node_modules projects/*/*/node_modules projects/plugins/jetpack/tests/e2e/node_modules tools/cli/node_modules -``` -You may also want to uninstall the Jetpack CLI from yarn with `yarn cli-unlink`. -Then, after checking out the branch, execute `pnpm install`. - -If you forget to do this, you'll most like get the following message when checking out the branch: -``` -warning Jetpack_Monorepo@: The engine "pnpm" appears to be invalid. -error Jetpack_Monorepo@: The engine "yarn" is incompatible with this module. Expected version "use pnpm instead - see docs/yarn-upgrade.md". Got "1.22.10" -error Commands cannot run with an incompatible environment. -``` -That's ok, nothing is broken. Just do the above steps. - -If you move back to a branch that's still using yarn (and want to do actual work on it), you may want to remove `node_modules/` again so as to not confuse yarn with -pnpm's structure. - -### Command changes - -Most of the built-in commands are the same, although arguments accepted may differ. Also note that simply `yarn` with no command was equivalent to `yarn install`, -while with `pnpm` you need to explicitly specify the `install` command. - -Scripts formerly run using `yarn foobar` may now be run using `pnpm foobar`. - -Note that many commands are available via the Jetpack CLI, which should be used when available in preference to using pnpm (or yarn) to run scripts. -This includes all the docker commands: instead of `yarn docker:up` or `pnpm docker:up`, you can do `jetpack docker up` and be ready for any future changes. - -### Dependency issues - -Most of the time, the solution is to add the missing dependency to the appropriate package.json. - -Pnpm is more strict about undeclared dependencies. For example, the package `eslint` depends on `debug`. With yarn 1, if you had `eslint` listed in -your package.json then it would "hoist" that `debug` dependency which would have the side effect that you could `require( 'debug' )` in your JS code -and use the package without ever having declared the direct dependency. Pnpm organizes things differently so `eslint` can find its dependency on `debug` -while your own code will not see it unless you declare that dependency yourself. - -If transpiling with `@babel/plugin-transform-runtime` and using other JS modules from the monorepo, note that you'll want to set the `absoluteRuntime` option -to `@babel/plugin-transform-runtime` so it can find `@babel/runtime` (and you'll need to include that as a dependency in your package.json). This also applies -when using calypso-build; currently a hack is needed (see [projects/plugins/jetpack/babel.config.js]) to get that set as calypso-build doesn't yet support the -option directly. - - -[end of support for Yarn 1]: https://github.com/yarnpkg/yarn/compare/977943e%5E...14bcd15#diff-185833cb26d7ac66a4d39042fd576a820c2c2c6d05ad18973bb9c7dce77267c5R29-R32 -[projects/plugins/jetpack/babel.config.js]: ../projects/plugins/jetpack/babel.config.js diff --git a/package.json b/package.json index 0b58159d77e60..696550a423b70 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,7 @@ "jetpack-js-tools": "workspace:*" }, "engines": { - "node": "^18.13.0", - "pnpm": "^8.6.2", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" + "node": "^20.8.1", + "pnpm": "^8.6.2" } } diff --git a/projects/github-actions/repo-gardening/changelog/update-node-20 b/projects/github-actions/repo-gardening/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/github-actions/repo-gardening/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/github-actions/repo-gardening/package.json b/projects/github-actions/repo-gardening/package.json index 9df39b535414a..3f2f718493c4a 100644 --- a/projects/github-actions/repo-gardening/package.json +++ b/projects/github-actions/repo-gardening/package.json @@ -25,9 +25,5 @@ }, "scripts": { "build": "ncc build src/index.js -o dist --source-map --license licenses.txt" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/github-actions/required-review/changelog/update-node-20 b/projects/github-actions/required-review/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/github-actions/required-review/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/github-actions/required-review/package.json b/projects/github-actions/required-review/package.json index d7be66788eb4a..d18870d1c8e02 100644 --- a/projects/github-actions/required-review/package.json +++ b/projects/github-actions/required-review/package.json @@ -17,9 +17,5 @@ }, "scripts": { "build": "ncc build src/main.js -o dist --source-map --license licenses.txt" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/github-actions/test-results-to-slack/changelog/update-node-20 b/projects/github-actions/test-results-to-slack/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/github-actions/test-results-to-slack/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/github-actions/test-results-to-slack/package.json b/projects/github-actions/test-results-to-slack/package.json index b83127d43bdcc..7101ef0236998 100644 --- a/projects/github-actions/test-results-to-slack/package.json +++ b/projects/github-actions/test-results-to-slack/package.json @@ -28,9 +28,5 @@ "scripts": { "build": "ncc build src/index.js -o dist --source-map --license licenses.txt", "test": "jest --config=tests/jest.config.js --verbose --runInBand" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/js-packages/ai-client/changelog/update-node-20 b/projects/js-packages/ai-client/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/ai-client/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/ai-client/package.json b/projects/js-packages/ai-client/package.json index 282613a63beb0..e163e67d01b68 100644 --- a/projects/js-packages/ai-client/package.json +++ b/projects/js-packages/ai-client/package.json @@ -28,10 +28,6 @@ "jest-environment-jsdom": "29.5.0", "typescript": "5.0.4" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./index.ts" }, diff --git a/projects/js-packages/analytics/changelog/update-node-20 b/projects/js-packages/analytics/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/analytics/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/analytics/package.json b/projects/js-packages/analytics/package.json index b6c7c5fef8f98..6fa4107ad2ba3 100644 --- a/projects/js-packages/analytics/package.json +++ b/projects/js-packages/analytics/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-analytics", - "version": "0.1.27", + "version": "0.1.28-alpha", "description": "Jetpack Analytics Package", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/analytics/#readme", "bugs": { @@ -25,9 +25,5 @@ }, "scripts": { "test": "NODE_OPTIONS=--experimental-vm-modules jest" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/js-packages/api/changelog/update-node-20 b/projects/js-packages/api/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/api/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/api/package.json b/projects/js-packages/api/package.json index 450a8812a07d0..df5e8e6e05f3d 100644 --- a/projects/js-packages/api/package.json +++ b/projects/js-packages/api/package.json @@ -27,9 +27,5 @@ }, "scripts": { "test": "NODE_OPTIONS=--experimental-vm-modules jest" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/js-packages/babel-plugin-replace-textdomain/changelog/update-node-20 b/projects/js-packages/babel-plugin-replace-textdomain/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/babel-plugin-replace-textdomain/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/babel-plugin-replace-textdomain/package.json b/projects/js-packages/babel-plugin-replace-textdomain/package.json index 0ef7d975984c7..50aeeb7bfeb34 100644 --- a/projects/js-packages/babel-plugin-replace-textdomain/package.json +++ b/projects/js-packages/babel-plugin-replace-textdomain/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/babel-plugin-replace-textdomain", - "version": "1.0.30", + "version": "1.0.31-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": { @@ -24,10 +24,6 @@ "babel-plugin-tester": "11.0.4", "jest": "29.4.3" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./src/index.js" } diff --git a/projects/js-packages/base-styles/changelog/update-node-20 b/projects/js-packages/base-styles/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/base-styles/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/base-styles/package.json b/projects/js-packages/base-styles/package.json index de5dd4d53201c..8d39dd2fbca5a 100644 --- a/projects/js-packages/base-styles/package.json +++ b/projects/js-packages/base-styles/package.json @@ -21,9 +21,5 @@ }, "devDependencies": { "@wordpress/base-styles": "4.36.0" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/js-packages/boost-score-api/changelog/update-node-20 b/projects/js-packages/boost-score-api/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/boost-score-api/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/boost-score-api/package.json b/projects/js-packages/boost-score-api/package.json index 2c2792207ab58..f492f71e474d5 100644 --- a/projects/js-packages/boost-score-api/package.json +++ b/projects/js-packages/boost-score-api/package.json @@ -34,10 +34,6 @@ "webpack": "5.76.0", "webpack-cli": "4.9.1" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": { "jetpack:src": "./src/index.ts", diff --git a/projects/js-packages/components/changelog/update-node-20 b/projects/js-packages/components/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/components/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/components/package.json b/projects/js-packages/components/package.json index 48b2f491cf464..1a0c499174d16 100644 --- a/projects/js-packages/components/package.json +++ b/projects/js-packages/components/package.json @@ -82,9 +82,5 @@ "build": "pnpm run compile-ts", "compile-ts": "tsc --pretty", "test": "NODE_OPTIONS=--experimental-vm-modules jest" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/js-packages/config/changelog/update-node-20 b/projects/js-packages/config/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/config/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/config/package.json b/projects/js-packages/config/package.json index 5d2c2907d25bf..26a62be7db0d9 100644 --- a/projects/js-packages/config/package.json +++ b/projects/js-packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-config", - "version": "0.1.22", + "version": "0.1.23-alpha", "description": "Handles Jetpack global configuration shared across all packages", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/config/#readme", "bugs": { @@ -20,10 +20,6 @@ "jest": "29.4.3", "jest-environment-jsdom": "29.4.3" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./src/index.js" }, diff --git a/projects/js-packages/connection/changelog/update-node-20 b/projects/js-packages/connection/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/connection/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/connection/package.json b/projects/js-packages/connection/package.json index 79054ae59abae..8112697cf3e26 100644 --- a/projects/js-packages/connection/package.json +++ b/projects/js-packages/connection/package.json @@ -58,9 +58,5 @@ ], "scripts": { "test": "NODE_OPTIONS=--experimental-vm-modules jest" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/js-packages/eslint-changed/changelog/update-node-20 b/projects/js-packages/eslint-changed/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/eslint-changed/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/eslint-changed/package.json b/projects/js-packages/eslint-changed/package.json index 6639c32ce4094..afa9e0b990eb3 100644 --- a/projects/js-packages/eslint-changed/package.json +++ b/projects/js-packages/eslint-changed/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/eslint-changed", - "version": "2.0.7", + "version": "2.0.8-alpha", "description": "Run eslint on files, but only report warnings and errors from lines that were changed.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/eslint-changed/#readme", "type": "module", @@ -30,9 +30,5 @@ }, "peerDependencies": { "eslint": ">=7.0.0" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/js-packages/eslint-changed/src/cli.js b/projects/js-packages/eslint-changed/src/cli.js index 153117600e9bc..7be26761db42a 100755 --- a/projects/js-packages/eslint-changed/src/cli.js +++ b/projects/js-packages/eslint-changed/src/cli.js @@ -6,7 +6,7 @@ import { Command } from 'commander'; import { ESLint } from 'eslint'; import parseDiff from 'parse-diff'; -const APP_VERSION = '2.0.7'; +const APP_VERSION = '2.0.8-alpha'; /** * Create a Commander instance. diff --git a/projects/js-packages/eslint-config-target-es/changelog/update-node-20 b/projects/js-packages/eslint-config-target-es/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/eslint-config-target-es/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/eslint-config-target-es/package.json b/projects/js-packages/eslint-config-target-es/package.json index 5cd445bfcf8e0..7bbf702b599e2 100644 --- a/projects/js-packages/eslint-config-target-es/package.json +++ b/projects/js-packages/eslint-config-target-es/package.json @@ -32,10 +32,6 @@ "eslint": ">=4.19.1", "eslint-plugin-es-x": "^7.1.0" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./src/configs/all.js", "./language": "./src/configs/language.js", diff --git a/projects/js-packages/i18n-check-webpack-plugin/changelog/update-node-20 b/projects/js-packages/i18n-check-webpack-plugin/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/i18n-check-webpack-plugin/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/i18n-check-webpack-plugin/package.json b/projects/js-packages/i18n-check-webpack-plugin/package.json index f231a8cc60704..bb8adf7b4b6c3 100644 --- a/projects/js-packages/i18n-check-webpack-plugin/package.json +++ b/projects/js-packages/i18n-check-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/i18n-check-webpack-plugin", - "version": "1.1.2", + "version": "1.1.3-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": { @@ -29,10 +29,6 @@ "@babel/core": "^7.0.0", "webpack": "^5.0.0" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./src/I18nCheckPlugin.js", "./I18nSafeMangleExportsPlugin": "./src/I18nSafeMangleExportsPlugin.js", diff --git a/projects/js-packages/i18n-loader-webpack-plugin/changelog/update-node-20 b/projects/js-packages/i18n-loader-webpack-plugin/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/i18n-loader-webpack-plugin/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/i18n-loader-webpack-plugin/package.json b/projects/js-packages/i18n-loader-webpack-plugin/package.json index 082488a9e4a91..00fa8d47f7bc1 100644 --- a/projects/js-packages/i18n-loader-webpack-plugin/package.json +++ b/projects/js-packages/i18n-loader-webpack-plugin/package.json @@ -29,10 +29,6 @@ "peerDependencies": { "webpack": "^5.29.0" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./src/I18nLoaderPlugin.js" } diff --git a/projects/js-packages/idc/changelog/update-node-20 b/projects/js-packages/idc/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/idc/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/idc/package.json b/projects/js-packages/idc/package.json index b42b4a69b183b..c142354701d75 100644 --- a/projects/js-packages/idc/package.json +++ b/projects/js-packages/idc/package.json @@ -37,9 +37,5 @@ "*.css", "*.scss" ], - "scripts": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "scripts": {} } diff --git a/projects/js-packages/image-guide/changelog/update-node-20 b/projects/js-packages/image-guide/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/image-guide/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/image-guide/package.json b/projects/js-packages/image-guide/package.json index d383efa88ffe7..9ac58d28679e5 100644 --- a/projects/js-packages/image-guide/package.json +++ b/projects/js-packages/image-guide/package.json @@ -30,10 +30,6 @@ "webpack": "5.76.0", "webpack-cli": "4.9.1" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": { "jetpack:src": "./src/index.ts", diff --git a/projects/js-packages/licensing/changelog/update-node-20 b/projects/js-packages/licensing/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/licensing/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/licensing/package.json b/projects/js-packages/licensing/package.json index 586126228167e..58ed7a637d42e 100644 --- a/projects/js-packages/licensing/package.json +++ b/projects/js-packages/licensing/package.json @@ -42,10 +42,6 @@ "react-dom": "18.2.0", "react-test-renderer": "18.2.0" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./index.jsx", "./state": "./src/state", diff --git a/projects/js-packages/partner-coupon/changelog/update-node-20 b/projects/js-packages/partner-coupon/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/partner-coupon/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/partner-coupon/package.json b/projects/js-packages/partner-coupon/package.json index c29f414127e65..af303b7469baa 100644 --- a/projects/js-packages/partner-coupon/package.json +++ b/projects/js-packages/partner-coupon/package.json @@ -46,10 +46,6 @@ "classnames": "2.3.2", "prop-types": "15.7.2" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./index.jsx" } diff --git a/projects/js-packages/publicize-components/changelog/update-node-20 b/projects/js-packages/publicize-components/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/publicize-components/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/publicize-components/package.json b/projects/js-packages/publicize-components/package.json index 29e7b2834e80c..b910a67b68973 100644 --- a/projects/js-packages/publicize-components/package.json +++ b/projects/js-packages/publicize-components/package.json @@ -65,10 +65,6 @@ "react": "18.2.0", "react-dom": "18.2.0" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./index.ts" }, diff --git a/projects/js-packages/react-data-sync-client/changelog/update-node-20 b/projects/js-packages/react-data-sync-client/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/react-data-sync-client/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/react-data-sync-client/package.json b/projects/js-packages/react-data-sync-client/package.json index 0498ed4cf9b97..df6362f3bc003 100644 --- a/projects/js-packages/react-data-sync-client/package.json +++ b/projects/js-packages/react-data-sync-client/package.json @@ -34,10 +34,6 @@ "webpack-cli": "4.9.1", "zod": "3.22.3" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": { "jetpack:src": "./src/index.ts", diff --git a/projects/js-packages/remove-asset-webpack-plugin/changelog/update-node-20 b/projects/js-packages/remove-asset-webpack-plugin/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/remove-asset-webpack-plugin/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/remove-asset-webpack-plugin/package.json b/projects/js-packages/remove-asset-webpack-plugin/package.json index 8ff8f3bbab3e4..558c8c6a2a5ef 100644 --- a/projects/js-packages/remove-asset-webpack-plugin/package.json +++ b/projects/js-packages/remove-asset-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/remove-asset-webpack-plugin", - "version": "1.0.19", + "version": "1.0.20-alpha", "description": "A Webpack plugin to remove assets from the build.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/remove-asset-webpack-plugin/README.md#readme", "bugs": { @@ -27,10 +27,6 @@ "peerDependencies": { "webpack": "^5.8.0" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./src/index.js" } diff --git a/projects/js-packages/shared-extension-utils/changelog/update-node-20 b/projects/js-packages/shared-extension-utils/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/shared-extension-utils/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/shared-extension-utils/package.json b/projects/js-packages/shared-extension-utils/package.json index 3cad6b3f9cf5f..b13f17fc114cb 100644 --- a/projects/js-packages/shared-extension-utils/package.json +++ b/projects/js-packages/shared-extension-utils/package.json @@ -45,10 +45,6 @@ "@babel/plugin-transform-react-jsx": "7.22.15", "@wordpress/babel-plugin-import-jsx-pragma": "4.28.0" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./index.js" } diff --git a/projects/js-packages/storybook/changelog/update-node-20 b/projects/js-packages/storybook/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/storybook/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/storybook/package.json b/projects/js-packages/storybook/package.json index 0fcbceb8abef3..14e6be3eaa6c0 100644 --- a/projects/js-packages/storybook/package.json +++ b/projects/js-packages/storybook/package.json @@ -70,10 +70,6 @@ "webpack": "5.76.0", "webpack-cli": "4.9.1" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "dependencies": { "@wordpress/api-fetch": "6.42.0" } diff --git a/projects/js-packages/svelte-data-sync-client/changelog/update-node-20 b/projects/js-packages/svelte-data-sync-client/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/svelte-data-sync-client/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/svelte-data-sync-client/package.json b/projects/js-packages/svelte-data-sync-client/package.json index dee22738ed7fe..9c0e236c01f57 100644 --- a/projects/js-packages/svelte-data-sync-client/package.json +++ b/projects/js-packages/svelte-data-sync-client/package.json @@ -36,10 +36,6 @@ "webpack-cli": "4.9.1", "zod": "3.22.3" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": { "jetpack:src": "./src/index.ts", diff --git a/projects/js-packages/videopress-core/changelog/update-node-20 b/projects/js-packages/videopress-core/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/videopress-core/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/videopress-core/package.json b/projects/js-packages/videopress-core/package.json index e42d4fbec5f88..59a8dd52a1a0a 100644 --- a/projects/js-packages/videopress-core/package.json +++ b/projects/js-packages/videopress-core/package.json @@ -33,10 +33,6 @@ "webpack": "5.76.0", "webpack-cli": "4.9.1" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "exports": { ".": "./index.jsx", "./state": "./src/state", diff --git a/projects/js-packages/webpack-config/changelog/update-node-20 b/projects/js-packages/webpack-config/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/js-packages/webpack-config/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/js-packages/webpack-config/package.json b/projects/js-packages/webpack-config/package.json index 430631253e7da..235ab40264002 100644 --- a/projects/js-packages/webpack-config/package.json +++ b/projects/js-packages/webpack-config/package.json @@ -62,9 +62,5 @@ "./webpack": "./src/webpack.js", "./babel": "./src/babel.js", "./babel/preset": "./src/babel-preset.js" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/action-bar/changelog/update-node-20 b/projects/packages/action-bar/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/action-bar/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/action-bar/package.json b/projects/packages/action-bar/package.json index bda5f2c4c0c2d..84eadf5b190e1 100644 --- a/projects/packages/action-bar/package.json +++ b/projects/packages/action-bar/package.json @@ -21,10 +21,6 @@ "validate": "pnpm exec validate-es --no-error-on-unmatched-pattern build/", "watch": "pnpm run build --watch" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "devDependencies": { "@automattic/jetpack-webpack-config": "workspace:*", "@babel/core": "7.23.2", diff --git a/projects/packages/admin-ui/changelog/update-node-20 b/projects/packages/admin-ui/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/admin-ui/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/admin-ui/package.json b/projects/packages/admin-ui/package.json index 776554666b177..775ca736f6f38 100644 --- a/projects/packages/admin-ui/package.json +++ b/projects/packages/admin-ui/package.json @@ -20,9 +20,5 @@ "build-production": "echo 'Not implemented.'", "build-production-js": "echo 'Not implemented.'" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/assets/changelog/update-node-20 b/projects/packages/assets/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/assets/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/assets/package.json b/projects/packages/assets/package.json index bd6c4d20866ef..49fb6eac5d00f 100644 --- a/projects/packages/assets/package.json +++ b/projects/packages/assets/package.json @@ -17,9 +17,5 @@ "md5-es": "1.8.2", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/assets/tests/js/i18n-loader.test.js b/projects/packages/assets/tests/js/i18n-loader.test.js index fc291916ba66c..4798a088dc463 100644 --- a/projects/packages/assets/tests/js/i18n-loader.test.js +++ b/projects/packages/assets/tests/js/i18n-loader.test.js @@ -140,7 +140,7 @@ test( 'Failed fetch', async () => { test( 'Bad JSON', async () => { fetch.mockFetchResponse( 'Whatever' ); await expect( loader.downloadI18n( 'foo.js', 'bar', 'plugin' ) ).rejects.toThrow( - 'Unexpected token < in JSON at position 0' + 'Unexpected token \'<\', "What"... is not valid JSON' ); expect( global.fetch ).toHaveBeenCalledTimes( 1 ); expect( global.fetch ).toHaveBeenCalledWith( diff --git a/projects/packages/backup/changelog/update-node-20 b/projects/packages/backup/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/backup/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/backup/package.json b/projects/packages/backup/package.json index 4be21f5e22fd9..803a881bbe146 100644 --- a/projects/packages/backup/package.json +++ b/projects/packages/backup/package.json @@ -56,9 +56,5 @@ "sass-loader": "12.4.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/blaze/changelog/update-node-20 b/projects/packages/blaze/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/blaze/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/blaze/package.json b/projects/packages/blaze/package.json index 6322b0b38a6f3..a36d7320c5389 100644 --- a/projects/packages/blaze/package.json +++ b/projects/packages/blaze/package.json @@ -49,9 +49,5 @@ }, "browserslist": [ "extends @wordpress/browserslist-config" - ], - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + ] } diff --git a/projects/packages/boost-core/changelog/update-node-20 b/projects/packages/boost-core/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/boost-core/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/boost-core/package.json b/projects/packages/boost-core/package.json index 2d735279b3249..ef82c57a2447a 100644 --- a/projects/packages/boost-core/package.json +++ b/projects/packages/boost-core/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-boost-core", - "version": "0.1.3", + "version": "0.1.4-alpha", "description": "Core functionality for boost and relevant packages to depend on", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/boost-core/#readme", "bugs": { @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/chatbot/changelog/update-node-20 b/projects/packages/chatbot/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/chatbot/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/chatbot/package.json b/projects/packages/chatbot/package.json index 4349db3b5cf0c..89ff104bdc12a 100644 --- a/projects/packages/chatbot/package.json +++ b/projects/packages/chatbot/package.json @@ -22,9 +22,5 @@ "watch": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/connection/changelog/update-node-20 b/projects/packages/connection/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/connection/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/connection/package.json b/projects/packages/connection/package.json index c7ab47848b731..3d2ea99639673 100644 --- a/projects/packages/connection/package.json +++ b/projects/packages/connection/package.json @@ -28,9 +28,5 @@ "@wordpress/browserslist-config": "5.28.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/forms/changelog/update-node-20 b/projects/packages/forms/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/forms/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/forms/package.json b/projects/packages/forms/package.json index b1891debed029..5b5dab99c6a08 100644 --- a/projects/packages/forms/package.json +++ b/projects/packages/forms/package.json @@ -81,9 +81,5 @@ "optionalDependencies": { "react": "18.2.0", "react-dom": "18.2.0" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/google-fonts-provider/changelog/update-node-20 b/projects/packages/google-fonts-provider/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/google-fonts-provider/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/google-fonts-provider/package.json b/projects/packages/google-fonts-provider/package.json index 072df7a53c51e..f71d187ac9058 100644 --- a/projects/packages/google-fonts-provider/package.json +++ b/projects/packages/google-fonts-provider/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-google-fonts-provider", - "version": "0.6.0", + "version": "0.6.1-alpha", "description": "WordPress Webfonts provider for Google Fonts", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/google-fonts-provider/#readme", "bugs": { @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/identity-crisis/changelog/update-node-20 b/projects/packages/identity-crisis/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/identity-crisis/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/identity-crisis/package.json b/projects/packages/identity-crisis/package.json index e315549470354..6b1f16371cbf8 100644 --- a/projects/packages/identity-crisis/package.json +++ b/projects/packages/identity-crisis/package.json @@ -36,9 +36,5 @@ "sass-loader": "12.4.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/image-cdn/changelog/update-node-20 b/projects/packages/image-cdn/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/image-cdn/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/image-cdn/package.json b/projects/packages/image-cdn/package.json index 6f384a9871d40..8f4ebc59dc44f 100644 --- a/projects/packages/image-cdn/package.json +++ b/projects/packages/image-cdn/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-image-cdn", - "version": "0.2.8", + "version": "0.2.9-alpha", "description": "Serve images through Jetpack's powerful CDN", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/image-cdn/#readme", "bugs": { @@ -25,9 +25,5 @@ "@automattic/jetpack-webpack-config": "workspace:*", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/image-cdn/src/class-image-cdn.php b/projects/packages/image-cdn/src/class-image-cdn.php index 5da6b0f58c9c2..9a4e0740a8fc8 100644 --- a/projects/packages/image-cdn/src/class-image-cdn.php +++ b/projects/packages/image-cdn/src/class-image-cdn.php @@ -14,7 +14,7 @@ */ final class Image_CDN { - const PACKAGE_VERSION = '0.2.8'; + const PACKAGE_VERSION = '0.2.9-alpha'; /** * Singleton. diff --git a/projects/packages/import/changelog/update-node-20 b/projects/packages/import/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/import/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/import/package.json b/projects/packages/import/package.json index 20043e1f4d966..f0469fdd9798d 100644 --- a/projects/packages/import/package.json +++ b/projects/packages/import/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-import", - "version": "0.7.4", + "version": "0.7.5-alpha", "description": "Set of REST API routes used in WPCOM Unified Importer.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/import/#readme", "bugs": { @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/import/src/class-main.php b/projects/packages/import/src/class-main.php index 91a4fb325a8b4..9dfc53b0ce570 100644 --- a/projects/packages/import/src/class-main.php +++ b/projects/packages/import/src/class-main.php @@ -20,7 +20,7 @@ class Main { * * @var string */ - const PACKAGE_VERSION = '0.7.4'; + const PACKAGE_VERSION = '0.7.5-alpha'; /** * A list of all the routes. diff --git a/projects/packages/jetpack-mu-wpcom/changelog/update-node-20 b/projects/packages/jetpack-mu-wpcom/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/jetpack-mu-wpcom/package.json b/projects/packages/jetpack-mu-wpcom/package.json index 0d82e43e81529..551a12e971b5e 100644 --- a/projects/packages/jetpack-mu-wpcom/package.json +++ b/projects/packages/jetpack-mu-wpcom/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-mu-wpcom", - "version": "4.18.0", + "version": "4.18.1-alpha", "description": "Enhances your site with features powered by WordPress.com", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/jetpack-mu-wpcom/#readme", "bugs": { @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php b/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php index 2ad2e9ba7e424..2c712ec355716 100644 --- a/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php +++ b/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php @@ -14,7 +14,7 @@ */ class Jetpack_Mu_Wpcom { - const PACKAGE_VERSION = '4.18.0'; + const PACKAGE_VERSION = '4.18.1-alpha'; const PKG_DIR = __DIR__ . '/../'; /** diff --git a/projects/packages/jitm/changelog/update-node-20 b/projects/packages/jitm/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/jitm/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/jitm/package.json b/projects/packages/jitm/package.json index 0885493dc9f63..dc1f011ca56a6 100644 --- a/projects/packages/jitm/package.json +++ b/projects/packages/jitm/package.json @@ -29,9 +29,5 @@ "sass-loader": "12.4.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/lazy-images/changelog/update-node-20 b/projects/packages/lazy-images/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/lazy-images/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/lazy-images/package.json b/projects/packages/lazy-images/package.json index 8a6f93405cff0..99b449af36b38 100644 --- a/projects/packages/lazy-images/package.json +++ b/projects/packages/lazy-images/package.json @@ -30,9 +30,5 @@ "intersection-observer": "0.12.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/my-jetpack/changelog/update-node-20 b/projects/packages/my-jetpack/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/my-jetpack/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/my-jetpack/package.json b/projects/packages/my-jetpack/package.json index 7df280ad82209..e80de6be26f03 100644 --- a/projects/packages/my-jetpack/package.json +++ b/projects/packages/my-jetpack/package.json @@ -64,9 +64,5 @@ "typescript": "5.0.4", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/packages/plans/changelog/update-node-20 b/projects/packages/plans/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/plans/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/plans/package.json b/projects/packages/plans/package.json index 03cedbe444b0e..2e6886ef987ec 100644 --- a/projects/packages/plans/package.json +++ b/projects/packages/plans/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-plans", - "version": "0.3.5", + "version": "0.3.6-alpha", "description": "Fetch information about Jetpack Plans from wpcom", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/plans/#readme", "bugs": { @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/plugin-deactivation/changelog/update-node-20 b/projects/packages/plugin-deactivation/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/plugin-deactivation/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/plugin-deactivation/package.json b/projects/packages/plugin-deactivation/package.json index f91f4ae7364e3..3a04f164c0461 100644 --- a/projects/packages/plugin-deactivation/package.json +++ b/projects/packages/plugin-deactivation/package.json @@ -21,10 +21,6 @@ "watch": "pnpm run build && pnpm webpack watch", "test": "jest --config=tests/jest.config.js" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "devDependencies": { "@automattic/jetpack-webpack-config": "workspace:*", "sass": "1.64.1", diff --git a/projects/packages/publicize/changelog/update-node-20 b/projects/packages/publicize/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/publicize/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/publicize/package.json b/projects/packages/publicize/package.json index 7ff0a44924838..f4d06dd964465 100644 --- a/projects/packages/publicize/package.json +++ b/projects/packages/publicize/package.json @@ -33,10 +33,6 @@ "webpack": "5.76.0", "webpack-cli": "4.9.1" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "dependencies": { "@wordpress/i18n": "4.45.0" } diff --git a/projects/packages/search/changelog/update-node-20 b/projects/packages/search/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/search/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/search/package.json b/projects/packages/search/package.json index 513ea6b042b67..7fecac340ebea 100644 --- a/projects/packages/search/package.json +++ b/projects/packages/search/package.json @@ -31,10 +31,6 @@ "url": "https://github.com/Automattic/jetpack/labels/[Package] Search" }, "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/search/#readme", - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "dependencies": { "@automattic/calypso-color-schemes": "3.1.1", "@automattic/color-studio": "2.5.0", diff --git a/projects/packages/stats-admin/changelog/update-node-20 b/projects/packages/stats-admin/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/stats-admin/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/stats-admin/package.json b/projects/packages/stats-admin/package.json index 1699be35cbdc9..d8eef504ebcfc 100644 --- a/projects/packages/stats-admin/package.json +++ b/projects/packages/stats-admin/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-stats-admin", - "version": "0.12.2", + "version": "0.12.3-alpha", "description": "Stats Dashboard", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/stats-admin/#readme", "bugs": { @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/stats-admin/src/class-main.php b/projects/packages/stats-admin/src/class-main.php index a7e66876f1ca1..cb8af34ead35c 100644 --- a/projects/packages/stats-admin/src/class-main.php +++ b/projects/packages/stats-admin/src/class-main.php @@ -22,7 +22,7 @@ class Main { /** * Stats version. */ - const VERSION = '0.12.2'; + const VERSION = '0.12.3-alpha'; /** * Singleton Main instance. diff --git a/projects/packages/transport-helper/changelog/update-node-20 b/projects/packages/transport-helper/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/transport-helper/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/transport-helper/package.json b/projects/packages/transport-helper/package.json index a160d156d3ba1..2a431b281f3d2 100644 --- a/projects/packages/transport-helper/package.json +++ b/projects/packages/transport-helper/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-transport-helper", - "version": "0.1.6", + "version": "0.1.7-alpha", "description": "Package to help transport server communication", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/transport-helper/#readme", "bugs": { @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/transport-helper/src/class-package-version.php b/projects/packages/transport-helper/src/class-package-version.php index 79e1d2c744caa..e2fb4df00e7d7 100644 --- a/projects/packages/transport-helper/src/class-package-version.php +++ b/projects/packages/transport-helper/src/class-package-version.php @@ -12,7 +12,7 @@ */ class Package_Version { - const PACKAGE_VERSION = '0.1.6'; + const PACKAGE_VERSION = '0.1.7-alpha'; const PACKAGE_SLUG = 'transport-helper'; diff --git a/projects/packages/videopress/changelog/update-node-20 b/projects/packages/videopress/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/videopress/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/videopress/package.json b/projects/packages/videopress/package.json index 1ed77f25cf69c..5ac64efc217ef 100644 --- a/projects/packages/videopress/package.json +++ b/projects/packages/videopress/package.json @@ -54,10 +54,6 @@ "webpack": "5.76.0", "webpack-cli": "4.9.1" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "dependencies": { "@automattic/jetpack-analytics": "workspace:*", "@automattic/jetpack-api": "workspace:*", diff --git a/projects/packages/wordads/changelog/update-node-20 b/projects/packages/wordads/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/wordads/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/wordads/package.json b/projects/packages/wordads/package.json index 88a885111e3a9..be581a268e427 100644 --- a/projects/packages/wordads/package.json +++ b/projects/packages/wordads/package.json @@ -83,10 +83,6 @@ "webpack": "5.76.0", "webpack-cli": "4.9.1" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "browserslist": [ "extends @wordpress/browserslist-config" ] diff --git a/projects/packages/wp-js-data-sync/changelog/update-node-20 b/projects/packages/wp-js-data-sync/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/wp-js-data-sync/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/wp-js-data-sync/package.json b/projects/packages/wp-js-data-sync/package.json index 6d20e1fe93e8f..1818199da8084 100644 --- a/projects/packages/wp-js-data-sync/package.json +++ b/projects/packages/wp-js-data-sync/package.json @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/packages/yoast-promo/changelog/update-node-20 b/projects/packages/yoast-promo/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/packages/yoast-promo/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/packages/yoast-promo/package.json b/projects/packages/yoast-promo/package.json index a0f6bdb45ffa3..64f77c7e24f79 100644 --- a/projects/packages/yoast-promo/package.json +++ b/projects/packages/yoast-promo/package.json @@ -47,9 +47,5 @@ }, "browserslist": [ "extends @wordpress/browserslist-config" - ], - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + ] } diff --git a/projects/plugins/boost/changelog/update-node-20 b/projects/plugins/boost/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/boost/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/boost/package.json b/projects/plugins/boost/package.json index 2881d26e12a11..bc51a82d29a78 100644 --- a/projects/plugins/boost/package.json +++ b/projects/plugins/boost/package.json @@ -85,9 +85,5 @@ "bugs": { "url": "https://github.com/Automattic/jetpack/labels/[Plugin] Boost" }, - "homepage": "https://jetpack.com/boost/", - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "homepage": "https://jetpack.com/boost/" } diff --git a/projects/plugins/boost/tests/e2e/package.json b/projects/plugins/boost/tests/e2e/package.json index 7f006daef82ad..deff81a35bce4 100644 --- a/projects/plugins/boost/tests/e2e/package.json +++ b/projects/plugins/boost/tests/e2e/package.json @@ -33,10 +33,6 @@ "config": "3.3.7", "jetpack-e2e-commons": "workspace:*" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "browserslist": [], "ci": { "pluginSlug": "boost", diff --git a/projects/plugins/crm/changelog/update-node-20 b/projects/plugins/crm/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/crm/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/crm/package.json b/projects/plugins/crm/package.json index 40bd02f40b512..698ede4ca9be6 100644 --- a/projects/plugins/crm/package.json +++ b/projects/plugins/crm/package.json @@ -58,9 +58,5 @@ "typescript": "5.0.4", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/plugins/inspect/changelog/update-node-20 b/projects/plugins/inspect/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/inspect/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/inspect/package.json b/projects/plugins/inspect/package.json index 9f6858b14e887..725f7f09a85dd 100644 --- a/projects/plugins/inspect/package.json +++ b/projects/plugins/inspect/package.json @@ -21,10 +21,6 @@ "build-production-js": "rollup -c rollup.config.js", "clean": "rm -rf app-ui/build/" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "dependencies": { "tslib": "2.5.0" }, diff --git a/projects/plugins/jetpack/changelog/update-node-20 b/projects/plugins/jetpack/changelog/update-node-20 new file mode 100644 index 0000000000000..551eee6200753 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: other +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/jetpack/package.json b/projects/plugins/jetpack/package.json index 1314d9893f049..d1d5f1496a3e5 100644 --- a/projects/plugins/jetpack/package.json +++ b/projects/plugins/jetpack/package.json @@ -161,9 +161,5 @@ "optionalDependencies": { "react": "18.2.0", "react-dom": "18.2.0" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/plugins/jetpack/tests/e2e/package.json b/projects/plugins/jetpack/tests/e2e/package.json index 2f06de11add96..aa73bacfc1dd6 100644 --- a/projects/plugins/jetpack/tests/e2e/package.json +++ b/projects/plugins/jetpack/tests/e2e/package.json @@ -40,10 +40,6 @@ "config": "3.3.7", "jetpack-e2e-commons": "workspace:*" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "browserslist": [], "ci": { "pluginSlug": "jetpack", diff --git a/projects/plugins/migration/changelog/update-node-20 b/projects/plugins/migration/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/migration/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/migration/package.json b/projects/plugins/migration/package.json index 97f8e380bf346..094ee9915ca88 100644 --- a/projects/plugins/migration/package.json +++ b/projects/plugins/migration/package.json @@ -51,9 +51,5 @@ "sass-loader": "12.4.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/plugins/migration/tests/e2e/package.json b/projects/plugins/migration/tests/e2e/package.json index deb618fe34803..948f65c3d82cd 100644 --- a/projects/plugins/migration/tests/e2e/package.json +++ b/projects/plugins/migration/tests/e2e/package.json @@ -34,9 +34,6 @@ "config": "3.3.7", "jetpack-e2e-commons": "workspace:*" }, - "engines": { - "node": "^18.13.0" - }, "browserslist": [], "ci": { "targets": [ diff --git a/projects/plugins/mu-wpcom-plugin/changelog/update-node-20 b/projects/plugins/mu-wpcom-plugin/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/mu-wpcom-plugin/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/mu-wpcom-plugin/package.json b/projects/plugins/mu-wpcom-plugin/package.json index d7d40c88e9047..6752a66e6f563 100644 --- a/projects/plugins/mu-wpcom-plugin/package.json +++ b/projects/plugins/mu-wpcom-plugin/package.json @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/plugins/protect/changelog/update-node-20 b/projects/plugins/protect/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/protect/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/protect/package.json b/projects/plugins/protect/package.json index dc511ef032afc..0ca768096c812 100644 --- a/projects/plugins/protect/package.json +++ b/projects/plugins/protect/package.json @@ -57,9 +57,5 @@ "sass-loader": "12.4.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/plugins/search/changelog/update-node-20 b/projects/plugins/search/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/search/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/search/package.json b/projects/plugins/search/package.json index 5e6ea225cc2bd..0bed41fa151d4 100644 --- a/projects/plugins/search/package.json +++ b/projects/plugins/search/package.json @@ -18,9 +18,5 @@ "build-production": "echo Success.", "build-production-js": "echo Success.", "clean": "true" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/plugins/search/tests/e2e/package.json b/projects/plugins/search/tests/e2e/package.json index da78b4f2bdb29..259f3643aec03 100644 --- a/projects/plugins/search/tests/e2e/package.json +++ b/projects/plugins/search/tests/e2e/package.json @@ -32,10 +32,6 @@ "config": "3.3.7", "jetpack-e2e-commons": "workspace:*" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "browserslist": [], "ci": { "pluginSlug": "search", diff --git a/projects/plugins/social/changelog/update-node-20 b/projects/plugins/social/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/social/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/social/package.json b/projects/plugins/social/package.json index 3738861bbe6d4..1374e5ef38d37 100644 --- a/projects/plugins/social/package.json +++ b/projects/plugins/social/package.json @@ -66,9 +66,5 @@ "sass-loader": "12.4.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/plugins/social/tests/e2e/package.json b/projects/plugins/social/tests/e2e/package.json index 2478f73b2b483..7f2e63bda477f 100644 --- a/projects/plugins/social/tests/e2e/package.json +++ b/projects/plugins/social/tests/e2e/package.json @@ -36,9 +36,6 @@ "config": "3.3.7", "jetpack-e2e-commons": "workspace:*" }, - "engines": { - "node": "^18.13.0" - }, "browserslist": [], "ci": { "pluginSlug": "social", diff --git a/projects/plugins/starter-plugin/changelog/update-node-20 b/projects/plugins/starter-plugin/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/starter-plugin/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/starter-plugin/package.json b/projects/plugins/starter-plugin/package.json index 6a0989bdeaa45..576a45b06f43c 100644 --- a/projects/plugins/starter-plugin/package.json +++ b/projects/plugins/starter-plugin/package.json @@ -52,9 +52,5 @@ "sass-loader": "12.4.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/plugins/starter-plugin/tests/e2e/package.json b/projects/plugins/starter-plugin/tests/e2e/package.json index 5af3c5bc6436d..2464b6dc97aaa 100644 --- a/projects/plugins/starter-plugin/tests/e2e/package.json +++ b/projects/plugins/starter-plugin/tests/e2e/package.json @@ -34,9 +34,6 @@ "config": "3.3.7", "jetpack-e2e-commons": "workspace:*" }, - "engines": { - "node": "^18.13.0" - }, "browserslist": [], "ci": { "targets": [ diff --git a/projects/plugins/super-cache/changelog/update-node-20 b/projects/plugins/super-cache/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/super-cache/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/super-cache/package.json b/projects/plugins/super-cache/package.json index e930d31428ad3..99d5f42a76afc 100644 --- a/projects/plugins/super-cache/package.json +++ b/projects/plugins/super-cache/package.json @@ -21,9 +21,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/projects/plugins/super-cache/tests/e2e/package.json b/projects/plugins/super-cache/tests/e2e/package.json index fbe95ec96e2eb..39492a4d7d392 100644 --- a/projects/plugins/super-cache/tests/e2e/package.json +++ b/projects/plugins/super-cache/tests/e2e/package.json @@ -31,9 +31,5 @@ "shell-escape": "0.2.0", "ts-jest": "29.0.3", "typescript": "5.0.4" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/plugins/videopress/changelog/update-node-20 b/projects/plugins/videopress/changelog/update-node-20 new file mode 100644 index 0000000000000..ef9e5a461a1ce --- /dev/null +++ b/projects/plugins/videopress/changelog/update-node-20 @@ -0,0 +1,5 @@ +Significance: patch +Type: removed +Comment: Remove "engines" from package.json. No change to the project itself; note the build formerly removed this before mirroring. + + diff --git a/projects/plugins/videopress/package.json b/projects/plugins/videopress/package.json index 04396892a5973..11b114fe26881 100644 --- a/projects/plugins/videopress/package.json +++ b/projects/plugins/videopress/package.json @@ -37,9 +37,5 @@ "sass-loader": "12.4.0", "webpack": "5.76.0", "webpack-cli": "4.9.1" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/projects/plugins/videopress/tests/e2e/package.json b/projects/plugins/videopress/tests/e2e/package.json index a957834ba34a9..7f8fd697764a5 100644 --- a/projects/plugins/videopress/tests/e2e/package.json +++ b/projects/plugins/videopress/tests/e2e/package.json @@ -34,9 +34,6 @@ "config": "3.3.7", "jetpack-e2e-commons": "workspace:*" }, - "engines": { - "node": "^18.13.0" - }, "browserslist": [], "ci": { "pluginSlug": "videopress", diff --git a/tools/cli/commands/build.js b/tools/cli/commands/build.js index fce0456b494ac..b6348d51f94ab 100644 --- a/tools/cli/commands/build.js +++ b/tools/cli/commands/build.js @@ -878,16 +878,13 @@ async function buildProject( t ) { ); } - // Remove engines, workspace refs, and jetpack:src from package.json. + // Remove workspace refs and jetpack:src from package.json. let packageJson; if ( await fsExists( `${ buildDir }/package.json` ) ) { packageJson = JSON.parse( await fs.readFile( `${ buildDir }/package.json`, { encoding: 'utf8' } ) ); - packageJson.engines = packageJson.publish_engines; // May be undefined, that's ok. - delete packageJson.publish_engines; - const depTypes = [ 'dependencies', 'devDependencies', diff --git a/tools/cli/package.json b/tools/cli/package.json index e377af44c56bf..eac04e6c45691 100644 --- a/tools/cli/package.json +++ b/tools/cli/package.json @@ -47,9 +47,5 @@ "devDependencies": { "jest": "29.4.3", "jest-extended": "2.0.0" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } } diff --git a/tools/cli/skeletons/common/package.json b/tools/cli/skeletons/common/package.json index df8923ba4f379..6097e7f1cd3b2 100644 --- a/tools/cli/skeletons/common/package.json +++ b/tools/cli/skeletons/common/package.json @@ -20,9 +20,5 @@ "build-production-js": "echo 'Not implemented.'", "clean": "true" }, - "devDependencies": {}, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - } + "devDependencies": {} } diff --git a/tools/e2e-commons/package.json b/tools/e2e-commons/package.json index 375bdc82128c2..10051d68653d3 100644 --- a/tools/e2e-commons/package.json +++ b/tools/e2e-commons/package.json @@ -32,10 +32,6 @@ "winston": "3.8.1", "yargs": "17.6.2" }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" - }, "browserslist": [], "bin": { "e2e-env": "./bin/e2e-env.sh", diff --git a/tools/js-tools/package.json b/tools/js-tools/package.json index 1fdef08460278..c6d4b593ec76f 100644 --- a/tools/js-tools/package.json +++ b/tools/js-tools/package.json @@ -58,9 +58,5 @@ "svelte": "3.58.0", "typescript": "5.0.4", "yaml": "2.2.2" - }, - "engines": { - "node": "^18.13.0", - "yarn": "use pnpm instead - see docs/yarn-upgrade.md" } }