Skip to content

Commit 307c328

Browse files
authored
build: enforce local node version (NASA-AMMOS#39)
- specified engines field in package.json - added .nvmrc file for nvm users to easily use correct node version
1 parent 4993584 commit 307c328

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v16.14.0

package-lock.json

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"type": "git",
1010
"url": "https://github.com/NASA-AMMOS/aerie-ui.git"
1111
},
12+
"engines": {
13+
"node": ">=16.14.0",
14+
"npm": ">=8.3.1"
15+
},
1216
"scripts": {
1317
"build": "rm -rf build && svelte-kit build",
1418
"check": "svelte-check --tsconfig ./tsconfig.json",

0 commit comments

Comments
 (0)