Skip to content

Commit d80f7c2

Browse files
committed
feat!: drop node 18, require node 20.19+
This time, we're truly dropping support for Node 18, as Vite 7 was recently released and has also dropped it.
1 parent 416d637 commit d80f7c2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
os: [ubuntu-latest, windows-latest]
45-
node: [18, 20, 22, 24]
45+
node: [20, 22, 24]
4646
fail-fast: false
4747
runs-on: ${{ matrix.os }}
4848

docs/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bun add -D tsdown
3737
:::
3838

3939
:::tip Compatibility Note
40-
`tsdown` requires Node.js version 18 or higher. Please ensure your development environment meets this requirement before installing. While `tsdown` is primarily tested with Node.js, support for Deno and Bun is experimental and may not work as expected.
40+
`tsdown` requires Node.js version 20.19 or higher. Please ensure your development environment meets this requirement before installing. While `tsdown` is primarily tested with Node.js, support for Deno and Bun is experimental and may not work as expected.
4141
:::
4242

4343
### Starter Templates {#starter-templates}

docs/zh-CN/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bun add -D tsdown
3737
:::
3838

3939
:::tip 兼容性说明
40-
`tsdown` 需要 Node.js 18 或更高版本。请确保您的开发环境满足此要求后再进行安装。虽然 `tsdown` 主要在 Node.js 下测试,但对 Deno 和 Bun 的支持仍为实验性,可能无法正常工作。
40+
`tsdown` 需要 Node.js 20.19 或更高版本。请确保您的开发环境满足此要求后再进行安装。虽然 `tsdown` 主要在 Node.js 下测试,但对 Deno 和 Bun 的支持仍为实验性,可能无法正常工作。
4141
:::
4242

4343
### 起步模板 {#starter-templates}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"vue": "catalog:docs"
129129
},
130130
"engines": {
131-
"node": ">=18.0.0"
131+
"node": ">=20.19.0"
132132
},
133133
"resolutions": {
134134
"rolldown": "catalog:prod",

0 commit comments

Comments
 (0)