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-lock.json b/package-lock.json
index 2176113..469c5f5 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -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": {