mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
Add minimum npm & node version requirements
This change will prevent any old node or npm version from installing any packages. With this, npm will throw an error and exit immediately. This is to prevent the accidental use of unsupported versions which might cause some issues that are hard to pin-point.
This commit is contained in:
Generated
+4
@@ -16,6 +16,10 @@
|
||||
"jest": "^29.6.4",
|
||||
"jest-cli": "^29.6.4",
|
||||
"plop": "^4.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0",
|
||||
"npm": ">=8.5.5"
|
||||
}
|
||||
},
|
||||
"node_modules/@aashutoshrathi/word-wrap": {
|
||||
|
||||
@@ -22,6 +22,10 @@
|
||||
"jest-cli": "^29.6.4",
|
||||
"plop": "^4.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"npm": ">=8.5.5",
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
"generate": "plop"
|
||||
|
||||
Reference in New Issue
Block a user