Skip to content

Commit

Permalink
build!: target node>=14.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 11, 2021
1 parent 47108c1 commit ad7bbdb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
PAT_GPR: ${{ secrets.PAT_GPR_ADMIN }}
strategy:
matrix:
node: [12.x, 14.x, 16.x]
node: [14.x, 16.x]
steps:
- id: checkout
name: Checkout branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
PAT_GPR: ${{ secrets.PAT_GPR_ADMIN }}
strategy:
matrix:
node: [12.x, 14.x, 16.x]
node: [14.x, 16.x]
steps:
- id: checkout
name: Checkout branch
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"yargs": "17.2.1"
},
"peerDependencies": {
"@types/node": ">=12.20.0",
"@types/node": ">=14.0.0",
"typescript": ">=2.7"
},
"peerDependenciesMeta": {
Expand All @@ -146,7 +146,7 @@
}
},
"engines": {
"node": ">=12.20.0",
"node": ">=14.18.0",
"yarn": "3.0.2"
},
"env": {
Expand Down
7 changes: 4 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
// See: https://github.com/tsconfig/bases/blob/main/bases/node14.json
"compilerOptions": {
"allowJs": true,
"baseUrl": "./",
"checkJs": false,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es2019", "es2020.bigint", "es2020.promise", "es2020.string"],
"lib": ["es2020"],
"module": "es2020",
"moduleResolution": "node",
"noEmit": true,
Expand All @@ -28,8 +29,8 @@
"resolveJsonModule": true,
"rootDir": "./",
"strict": true,
// Node.js 12
"target": "es2019"
// Node.js 14
"target": "es2020"
},
"exclude": ["./build", "./cjs", "./esm", "./node_modules", "./types"],
"include": ["**/*.cjs", "**/.*.cjs", "**/*.mjs", "**/*.ts", "**/.*.ts"],
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ __metadata:
typescript: 4.4.3
yargs: 17.2.1
peerDependencies:
"@types/node": ">=12.20.0"
"@types/node": ">=14.0.0"
typescript: ">=2.7"
peerDependenciesMeta:
"@types/node":
Expand Down

0 comments on commit ad7bbdb

Please sign in to comment.