Skip to content

Commit c45d4ef

Browse files
update(deps): Upgrade Vite to v8 & bump related dev dependencies (#799)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 754c5f2 commit c45d4ef

6 files changed

Lines changed: 662 additions & 351 deletions

File tree

.changeset/deps-vite-8.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vivliostyle/cli': major
3+
---
4+
5+
Upgrade Vite to v8 and bump related dev dependencies (`vitest`, `@vitest/coverage-v8` to v4). The required Vite peer dependency is now `>=8`, and the minimum Node.js version is `^20.19.0 || >=22.12.0` to match Vite v7+ requirements.

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
node: [20, 22, 24]
17+
# Node 26 is excluded for now due to upstream issues:
18+
# - extract-zip 2.0.1 corrupts Chrome cache on Node 26.1 (puppeteer/puppeteer#14957)
19+
# - libuv fs-event assertion failure on Windows (libuv/libuv#5010)
20+
node: [22, 24]
1821
os:
1922
- ubuntu-latest
2023
- macos-latest

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v24.11.1
1+
v24.15.0

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"prepare": "husky"
1919
},
2020
"peerDependencies": {
21-
"vite": ">=6"
21+
"vite": ">=8"
2222
},
2323
"dependencies": {
2424
"@babel/code-frame": "7.26.2",
@@ -74,7 +74,7 @@
7474
"uuid": "11.1.0",
7575
"valibot": "1.2.0",
7676
"vfile": "4.2.1",
77-
"vite": "^6.3.5",
77+
"vite": "8.0.12",
7878
"w3c-xmlserializer": "5.0.0",
7979
"whatwg-mimetype": "4.0.0",
8080
"yocto-spinner": "0.2.2",
@@ -103,7 +103,7 @@
103103
"@types/uuid": "10.0.0",
104104
"@types/w3c-xmlserializer": "2.0.4",
105105
"@types/whatwg-mimetype": "3.0.2",
106-
"@vitest/coverage-v8": "3.1.2",
106+
"@vitest/coverage-v8": "4.1.6",
107107
"adm-zip": "0.5.16",
108108
"file-type": "21.3.2",
109109
"husky": "9.1.7",
@@ -115,12 +115,12 @@
115115
"pretty-quick": "4.1.1",
116116
"shx": "0.4.0",
117117
"supertest": "7.2.2",
118-
"tsup": "8.4.0",
118+
"tsup": "8.5.1",
119119
"typedoc": "^0.28.3",
120120
"typedoc-plugin-markdown": "4.6.3",
121121
"typescript": "5.8.3",
122122
"unified": "9.2.2",
123-
"vitest": "3.1.2"
123+
"vitest": "4.1.6"
124124
},
125125
"main": "dist/index.js",
126126
"module": "dist/index.js",
@@ -176,7 +176,7 @@
176176
],
177177
"license": "AGPL-3.0",
178178
"engines": {
179-
"node": "^20.0.0 || >=22.0.0"
179+
"node": "^20.19.0 || >=22.12.0"
180180
},
181181
"packageManager": "pnpm@10.25.0"
182182
}

packages/create-book/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "module",
77
"license": "AGPL-3.0",
88
"engines": {
9-
"node": "^20.0.0 || >=22.0.0"
9+
"node": "^20.19.0 || >=22.12.0"
1010
},
1111
"bin": "dist/cli.js",
1212
"keywords": [

0 commit comments

Comments
 (0)