Skip to content

Commit

Permalink
add package.json engines and corresponding .nvmrc (#68)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chadoh authored Nov 28, 2022
1 parent 26c33fa commit 30a258d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
17
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@
"eslint": "8.14.0",
"eslint-config-next": "12.1.5",
"typescript": "4.6.4"
},
"engines": {
"node": "17",
"npm": "8"
}
}

0 comments on commit 30a258d

Please sign in to comment.