fix(npm): npm 11.10-12.0 support min-release-age but NOT min-release-age-exclude.

that would break stuff :)
This commit is contained in:
ethernet 2026-07-31 12:45:30 -04:00
parent 9c85d68bcc
commit 3975e9d753
4 changed files with 10 additions and 2 deletions

3
.npmrc
View file

@ -1,3 +1,6 @@
# needed to prevent bad npm that has min-release-age but not exclude
engine-strict=true
min-release-age=14
# allow assistant-ui packages & a couple specific deps since they update a LOT.
# remove this when we stabilize (or we haven't updated in 2 wks)

View file

@ -53,7 +53,8 @@
"brace-expansion": "5.0.8"
},
"engines": {
"node": ">=20.0.0"
"node": ">=20.0.0",
"npm": "<11.10.0 || >=12.0.0"
},
"allowScripts": {
"unicode-animations": false,

View file

@ -1,3 +1,6 @@
# needed to prevent bad npm that has min-release-age but not exclude
engine-strict=true
min-release-age=14
# fast-uri 3.1.4 includes fixes for vulns. remove this when 3.1.4 is > 2wks old

View file

@ -53,7 +53,8 @@
]
},
"engines": {
"node": ">=20.0"
"node": ">=20.0",
"npm": "<11.10.0 || >=12.0.0"
},
"allowScripts": {
"core-js@3.49.0": true,