Skip to content

Commit

Permalink
fix: rollback engines to >=16 (#383)
Browse files Browse the repository at this point in the history
This is a partial revert of PR #374

It was dropping support for node@16 in CI but it didn't modify target in
tsconfig so 16 is still supported.

Furthermore, 16 is going to be supported by Vercel a little longer.

https://vercel.com/changelog/node-js-14-and-16-are-being-deprecated

This fixes the warning when installing Vercel CLI using node@16

```
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@vercel/nft@0.26.1',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.18.1', npm: '8.19.2' }
npm WARN EBADENGINE }
```
  • Loading branch information
styfle authored Jan 3, 2024
1 parent e4ef36e commit adda8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"when": "^3.7.8"
},
"engines": {
"node": ">=18"
"node": ">=16"
},
"packageManager": "npm@10.2.5",
"publishConfig": {
Expand Down

0 comments on commit adda8f4

Please sign in to comment.