mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-13 16:14:20 +00:00
build(npm): mandate Node.js engine version
This change mandates a particular version of Node.js when running `npm install`. When using a version of Node.js that does not meet these expectations, a warning will be emitted to the user to let them know that they are using an unsupported version of Node.js Change-Id: I3f9bcf8be483a80b5882d65b034c6655013df19f Signed-off-by: Chris Kay <chris.kay@arm.com>
This commit is contained in:
parent
ba748f3c35
commit
0501d48b81
2 changed files with 6 additions and 0 deletions
3
package-lock.json
generated
3
package-lock.json
generated
|
@ -18,6 +18,9 @@
|
|||
"husky": "^7.0.4",
|
||||
"js-yaml": "^4.1.0",
|
||||
"standard-version": "^9.3.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/code-frame": {
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
"postinstall": "husky install",
|
||||
"release": "standard-version"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^16.1.0",
|
||||
"@commitlint/config-conventional": "^16.0.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue