-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add engines.node
to package.json
#227
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,9 @@ | |
"type": "git", | ||
"url": "https://github.com/nodejs/corepack.git" | ||
}, | ||
"engines": { | ||
"node": ">=14.14.0" | ||
}, | ||
"license": "MIT", | ||
"packageManager": "[email protected]+sha224.7fa5c1d1875b041cea8fcbf9a364667e398825364bf5c5c8cd5f6601", | ||
"devDependencies": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ module.exports = { | |
loader: `ts-loader`, | ||
options: { | ||
compilerOptions: { | ||
module: `es2020`, | ||
module: `ES2020`, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if this should read from tsconfig.json here to keep them in sync? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a good idea however my next PR will replace webpack with esbuild so they shouldn't have time to go out of sync. |
||
noEmit: false, | ||
}, | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://node.green/#ES2020 Node.js v14.14.0 doesn't fully support ES2020 but we're not using
spread parameters after optional chaining
so that's fine, if we ever do use it the CI will catch it assuming v14 doesn't update to a version of v8 that supports it.In a future PR I'll ensure
spread parameters after optional chaining
is transpiled.