Skip to content

Commit 02412a7

Browse files
committed
Fix Node.js 18 CI failure by aligning engine requirement with Vite 8
Vite 8 uses util.styleText internally which requires Node.js 20.12+, so the plugin cannot be tested against Node 18 when Vite 8 is the devDependency. Drop Node 18 from the CI matrix and set engines to >=20.19.0 to match Vite 8's minimum requirement. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011e6SYiDYZZazmdKsssrG5D
1 parent c51c1c9 commit 02412a7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18.x, 20.x, 22.x]
15+
node-version: [20.x, 22.x]
1616

1717
steps:
1818
- name: Checkout code

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The CFML/BoxLang side of the integration is provided by the [**coldbox-vite** Co
2424

2525
| Dependency | Version |
2626
|---|---|
27-
| Node.js |18 (≥ 20.19 when using Vite 8) |
27+
| Node.js | ≥ 20.19 |
2828
| Vite | 3, 4, 5, 6, 7, or 8 |
2929

3030
---

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
5757
},
5858
"engines": {
59-
"node": ">=18"
59+
"node": ">=20.19.0"
6060
},
6161
"dependencies": {
6262
"picocolors": "^1.1.1",

0 commit comments

Comments
 (0)