Skip to content

Commit 410582e

Browse files
committed
Require node 20
1 parent b688c5f commit 410582e

13 files changed

Lines changed: 219 additions & 230 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
2626
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2727
with:
28-
node-version: 18
28+
node-version: 20
2929

3030
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3131
with:
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
4141
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4242
with:
43-
node-version: 18
43+
node-version: 20
4444

4545
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
4646
with:
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
5656
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5757
with:
58-
node-version: 18
58+
node-version: 20
5959

6060
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
6161
with:
@@ -70,7 +70,7 @@ jobs:
7070
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
7171
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
7272
with:
73-
node-version: 18
73+
node-version: 20
7474

7575
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
7676
with:
@@ -105,7 +105,7 @@ jobs:
105105
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
106106
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
107107
with:
108-
node-version: 18
108+
node-version: 20
109109

110110
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
111111
with:

build/templates/setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parameters:
22
- name: NODE_VERSION
33
type: string
4-
default: '18.x'
4+
default: '20.x'
55

66
steps:
77
- task: NodeTool@0

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"author": "Microsoft Corp.",
66
"license": "MIT",
77
"engines": {
8-
"node": ">= 18.0.0"
8+
"node": ">= 20.19.0 || >=22.12.0"
99
},
1010
"devDependencies": {
1111
"@eslint/js": "^9.32.0",
12-
"@types/node": "^18.19.122",
12+
"@types/node": "^20.14.8",
1313
"@typescript-eslint/eslint-plugin": "^8.39.0",
1414
"@typescript-eslint/parser": "^8.39.0",
1515
"dprint": "^0.49.1",
1616
"eslint": "^9.32.0",
1717
"eslint-plugin-simple-import-sort": "^12.1.1",
18-
"eslint-plugin-unicorn": "^59.0.1",
18+
"eslint-plugin-unicorn": "^60.0.0",
1919
"globals": "^16.3.0",
2020
"typescript": "^5.9.2",
2121
"typescript-eslint": "^8.39.0",

pnpm-lock.yaml

Lines changed: 200 additions & 211 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"type": "module",
88
"engines": {
9-
"node": ">= 18.0.0"
9+
"node": ">= 20.19.0 || >=22.12.0"
1010
},
1111
"devDependencies": {
1212
"@badrap/valita": "^0.4.6",
@@ -18,7 +18,7 @@
1818
"filenamify": "^6.0.0",
1919
"glob": "^11.0.3",
2020
"minimist": "^1.2.8",
21-
"octokit": "^4.1.4",
21+
"octokit": "^5.0.3",
2222
"ora": "^8.2.0",
2323
"pretty-ms": "^9.2.0",
2424
"sort-keys": "^5.1.0"

ts-perf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"author": "Microsoft Corp.",
1010
"license": "MIT",
1111
"engines": {
12-
"node": ">=18.0.0"
12+
"node": ">= 20.19.0 || >=22.12.0"
1313
},
1414
"scripts": {
1515
"build": "tsc -b ./packages/tsconfig.json"

ts-perf/packages/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Microsoft Corp.",
99
"license": "MIT",
1010
"engines": {
11-
"node": ">=18.0.0"
11+
"node": ">= 20.19.0 || >=22.12.0"
1212
},
1313
"bugs": {
1414
"url": "https://github.com/microsoft/typescript-benchmarking/issues"

ts-perf/packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Microsoft Corp.",
99
"license": "MIT",
1010
"engines": {
11-
"node": ">=18.0.0"
11+
"node": ">= 20.19.0 || >=22.12.0"
1212
},
1313
"bugs": {
1414
"url": "https://github.com/microsoft/typescript-benchmarking/issues"

ts-perf/packages/commands/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Microsoft Corp.",
99
"license": "MIT",
1010
"engines": {
11-
"node": ">=18.0.0"
11+
"node": ">= 20.19.0 || >=22.12.0"
1212
},
1313
"bugs": {
1414
"url": "https://github.com/microsoft/typescript-benchmarking/issues"

ts-perf/packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Microsoft Corp.",
99
"license": "MIT",
1010
"engines": {
11-
"node": ">=18.0.0"
11+
"node": ">= 20.19.0 || >=22.12.0"
1212
},
1313
"bugs": {
1414
"url": "https://github.com/microsoft/typescript-benchmarking/issues"

0 commit comments

Comments
 (0)