Skip to content

Commit be91130

Browse files
authored
chore: remove devEngines declaration in root package (#32398)
This change removes the `devEngines` declaration in the root package. It didn't match the package.json spec and in npm 10.9.0 (released in October), a breaking change was introduced that checks the `devEngines` property. This causes `npm pack` calls to fail, due to the malformed `devEngines`. Since there's already an `.nvmrc` defined in the repo, and no strong need to enforce a specific node version for local development, this removes the declaration altogether.
1 parent 5adf402 commit be91130

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@
106106
"web-streams-polyfill": "^3.1.1",
107107
"yargs": "^15.3.1"
108108
},
109-
"devEngines": {
110-
"node": "16.x || 18.x || 20.x || 22.x"
111-
},
112109
"jest": {
113110
"testRegex": "/scripts/jest/dont-run-jest-directly\\.js$"
114111
},
@@ -122,7 +119,7 @@
122119
"lint": "node ./scripts/tasks/eslint.js",
123120
"lint-build": "node ./scripts/rollup/validate/index.js",
124121
"extract-errors": "node scripts/error-codes/extract-errors.js",
125-
"postinstall": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json && node ./scripts/flow/createFlowConfigs.js",
122+
"postinstall": "node ./scripts/flow/createFlowConfigs.js",
126123
"test": "node ./scripts/jest/jest-cli.js",
127124
"test-stable": "node ./scripts/jest/jest-cli.js --release-channel=stable",
128125
"test-www": "node ./scripts/jest/jest-cli.js --release-channel=www-modern",

0 commit comments

Comments
 (0)