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>
diff --git a/package.json b/package.json
index 3556dc5..e5cd924 100644
--- a/package.json
+++ b/package.json
@@ -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",