mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
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.
This commit is contained in:
parent
5adf40208f
commit
be91130f18
|
|
@ -106,9 +106,6 @@
|
|||
"web-streams-polyfill": "^3.1.1",
|
||||
"yargs": "^15.3.1"
|
||||
},
|
||||
"devEngines": {
|
||||
"node": "16.x || 18.x || 20.x || 22.x"
|
||||
},
|
||||
"jest": {
|
||||
"testRegex": "/scripts/jest/dont-run-jest-directly\\.js$"
|
||||
},
|
||||
|
|
@ -122,7 +119,7 @@
|
|||
"lint": "node ./scripts/tasks/eslint.js",
|
||||
"lint-build": "node ./scripts/rollup/validate/index.js",
|
||||
"extract-errors": "node scripts/error-codes/extract-errors.js",
|
||||
"postinstall": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json && node ./scripts/flow/createFlowConfigs.js",
|
||||
"postinstall": "node ./scripts/flow/createFlowConfigs.js",
|
||||
"test": "node ./scripts/jest/jest-cli.js",
|
||||
"test-stable": "node ./scripts/jest/jest-cli.js --release-channel=stable",
|
||||
"test-www": "node ./scripts/jest/jest-cli.js --release-channel=www-modern",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user