Skip to content

Commit

Permalink
Upgrade to Node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
paleite committed Jul 15, 2022
1 parent 88a46fe commit 9e9dd22
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@
"eslint": ">=6.7.0"
},
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
}
10 changes: 7 additions & 3 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"extends": "@paleite/tsconfig-node16",
"compilerOptions": {
// #region Support running on Node 12 until EOL, April 30th, 2022
"lib": ["es2019", "es2020.promise", "es2020.bigint", "es2020.string"],
"target": "es2019"
// #region Support running on Node 14 until EOL, April 30th, 2023
// Recommended Node TSConfig settings (Node Target Mapping):
// https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping#recommended-node-tsconfig-settings
// Node release EOLs:
// https://nodejs.org/en/about/releases/
"lib": ["ES2020"],
"target": "ES2020"
// #endregion
}
}
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"composite": true,
"composite": false,
"declaration": false,
"outDir": "./dist",
"rootDir": "./src",
"resolveJsonModule": true
Expand Down

0 comments on commit 9e9dd22

Please sign in to comment.