Skip to content

Commit afad5d0

Browse files
authored
build: drop node 18 (#1655)
BREAKING CHANGE: drop node 18
1 parent b24bec9 commit afad5d0

File tree

15 files changed

+19
-19
lines changed

15 files changed

+19
-19
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os: [ubuntu-latest, windows-latest, macos-latest]
22-
node: ['18', '20', '22']
22+
node: ['20', '22', '24']
2323

2424
runs-on: ${{ matrix.os }}
2525

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os: [ubuntu-latest, windows-latest, macos-latest]
22-
node: ['18', '20', '22']
22+
node: ['20', '22', '24']
2323
bundler: ['webpack', 'vite']
2424

2525
runs-on: ${{ matrix.os }}

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ Bundler and related packages:
2727

2828
Pre-requirement:
2929

30-
- [Node.js](http://nodejs.org) **version 18.16.0+**
31-
- [pnpm](https://pnpm.io/) **version 9+**
30+
- [Node.js](http://nodejs.org) **version 20.9.0+**
3231

3332
Clone the repo, and install dependencies:
3433

3534
```bash
35+
corepack enable
3636
pnpm install
3737
```
3838

CONTRIBUTING_zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ Bundler 及其相关 Packages :
2727

2828
开发要求:
2929

30-
- [Node.js](http://nodejs.org) **version 18.16.0+**
31-
- [pnpm](https://pnpm.io/zh/) **version 9+**
30+
- [Node.js](http://nodejs.org) **version 20.9.0+**
3231

3332
克隆代码仓库,并安装依赖:
3433

3534
```bash
35+
corepack enable
3636
pnpm install
3737
```
3838

packages/bundler-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
],
6868
"outDir": "./dist",
6969
"sourcemap": false,
70-
"target": "es2022",
70+
"target": "es2023",
7171
"tsconfig": "../../tsconfig.dts.json"
7272
}
7373
}

packages/bundler-webpack/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const shared = defineConfig({
55
clean: true,
66
outDir: './dist',
77
sourcemap: false,
8-
target: 'es2022',
8+
target: 'es2023',
99
tsconfig: '../tsconfig.dts.json',
1010
}) as Options
1111

packages/bundlerutils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
],
5454
"outDir": "./dist",
5555
"sourcemap": false,
56-
"target": "es2022",
56+
"target": "es2023",
5757
"tsconfig": "../../tsconfig.dts.json"
5858
}
5959
}

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
],
6262
"outDir": "./dist",
6363
"sourcemap": false,
64-
"target": "es2022",
64+
"target": "es2023",
6565
"tsconfig": "../../tsconfig.dts.json"
6666
}
6767
}

packages/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
],
6767
"outDir": "./dist",
6868
"sourcemap": false,
69-
"target": "es2022",
69+
"target": "es2023",
7070
"tsconfig": "./tsconfig.dts.json"
7171
}
7272
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
],
5252
"outDir": "./dist",
5353
"sourcemap": false,
54-
"target": "es2022",
54+
"target": "es2023",
5555
"tsconfig": "../../tsconfig.dts.json"
5656
}
5757
}

0 commit comments

Comments
 (0)