Skip to content

Commit

Permalink
Disallow Node.js v20 for now
Browse files Browse the repository at this point in the history
Revert once TypeStrong/ts-node#1997 is resolved.
  • Loading branch information
queengooborg committed Apr 22, 2023
1 parent 6caae10 commit 2c93aa5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This project is under the Apache License 2.0 license. See the LICENSE file for m

## Setup

This project requires Node.js 18 or greater.
This project requires Node.js 18 or 19. Node.js 20 is currently unsupported due to a [breaking change that impacts `ts-node`](https://github.com/TypeStrong/ts-node/issues/1997).

```sh
npm install
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/GooborgStudios/mdn-bcd-collector.git"
},
"engines": {
"node": ">=18"
"node": ">=18 <20"
},
"scripts": {
"prepare": "ts-node prepare.ts",
Expand Down

0 comments on commit 2c93aa5

Please sign in to comment.