Skip to content

Commit 4a18dc7

Browse files
committed
chore: fix devEngines declaration in root package
This change fixes the `devEngines` declaration in the root package to match the spec. In npm 10.9.0 (released in October), a breaking change was introduced that checks the `devEngines` property, which causes `npm pack` calls to fail, due to the malformed `devEngines`. The new declaration is also now aligned with the version of node specified in the repo's `.nvmrc`. I can change it to be the more relaxed set of versions like it was before, but it seemed to make sense to have those be aligned.
1 parent 037b25c commit 4a18dc7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@
107107
"yargs": "^15.3.1"
108108
},
109109
"devEngines": {
110-
"node": "16.x || 18.x || 20.x || 22.x"
110+
"runtime": {
111+
"name": "node",
112+
"version": "18.20.1"
113+
}
111114
},
112115
"jest": {
113116
"testRegex": "/scripts/jest/dont-run-jest-directly\\.js$"

0 commit comments

Comments
 (0)