Respect package.json's engines.node field when used as a node-version-file (#485)

* Allow reading 'package.json' as node-version-file

* Run 'npm run build'

* Read package.json contents directly during tests

- this eliminates OS-specific line-ending issues

* Run project Prettier 💅
This commit is contained in:
mannie.exe authored and GitHub committed 2022-07-21 13:17:21 -04:00
1 parent 2fddd8803e
commit 2a814b57e1
4 files changed
+66 -14

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
{
"engines": {
"node": ">=14.0.0"
}
}