Skip to content

Commit 123f62e

Browse files
authored
add package.json engines and corresponding .nvmrc (#68)
I wish the nvmrc were not necessary, but it still is. See nvm-sh/nvm#651 I think nvmrc is the most popular Node version manager, so it _probably_ makes sense to add the `.nvmrc`. If we want to skip this and go just with the `package.json`, that's fine too.
1 parent a51b12a commit 123f62e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
17

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@
3030
"eslint": "8.14.0",
3131
"eslint-config-next": "12.1.5",
3232
"typescript": "4.6.4"
33+
},
34+
"engines": {
35+
"node": "17",
36+
"npm": "8"
3337
}
3438
}

0 commit comments

Comments
 (0)