2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-04-07 12:18:40 +00:00

chore: refuse to use npm version that does not support min-release-age

This commit is contained in:
Jan Laupetin
2026-04-03 10:17:44 +02:00
parent 514700a41f
commit 52bd60a799
3 changed files with 11 additions and 1 deletions

View File

@@ -5,4 +5,5 @@ ignore-scripts=true
save-exact=true
# Only take packages that are at least 3 days old since most supply-chain attacks may be mitigated until then
min-release-age=3
# Refuse to use engines lower than specified
engine-strict=true

View File

@@ -37,6 +37,9 @@
"vite-plugin-vue-devtools": "8.1.1",
"vitest": "4.1.2",
"vue-tsc": "3.2.6"
},
"engines": {
"npm": ">=11.10.0"
}
},
"node_modules/@asamuzakjp/css-color": {

View File

@@ -42,5 +42,11 @@
"vite-plugin-vue-devtools": "8.1.1",
"vitest": "4.1.2",
"vue-tsc": "3.2.6"
},
"enginesComment":{
"npm": "Required for min-release-age setting"
},
"engines": {
"npm": ">=11.10.0"
}
}