Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/drop-vite-below-8-compiler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@vanilla-extract/compiler': major
---

Update `vite` dependency to `^8.0.0` and `vite-node` dependency to `^6.0.0`

**BREAKING CHANGE**: The compiler now uses Vite 8 internally. Any Vite plugins or config passed via the `viteConfig`, `vitePlugins` or `viteResolve` options must be compatible with Vite 8.

**MIGRATION GUIDE**: Ensure any Vite plugins and config passed to `createCompiler` are compatible with Vite 8.
9 changes: 9 additions & 0 deletions .changeset/drop-vite-below-8-vite-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@vanilla-extract/vite-plugin': major
---

Drop support for Vite versions below 8

**BREAKING CHANGE**: The `vite` peer dependency is now `^8.0.0`.

**MIGRATION GUIDE**: Upgrade `vite` to version `8.0.0` or later.
4 changes: 2 additions & 2 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"@vanilla-extract/css": "workspace:^",
"@vanilla-extract/integration": "workspace:^",
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
"vite-node": "^3.2.2 || ^5.0.0 || ^6.0.0"
"vite": "^8.0.0",
"vite-node": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/turbopack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"next": "^16.0.0",
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
"vite": "^8.0.0"
},
"peerDependencies": {
"next": "^16.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/vite-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"@vanilla-extract/integration": "workspace:^"
},
"devDependencies": {
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
"vite": "^8.0.0"
},
"peerDependencies": {
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
"vite": "^8.0.0"
}
}
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"shiki": "^4.5.0",
"tailwindcss": "^4.1.18",
"typescript": "^5.8.3",
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
"vite": "^8.0.0"
}
}
2 changes: 1 addition & 1 deletion test-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"prettier": "^3.8.1",
"serve-handler": "^6.1.3",
"style-loader": "^2.0.0",
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
"vite": "^8.0.0",
"vite-plugin-inspect": "^11.3.0",
"webpack": "^5.90.0",
"webpack-dev-server": "^5.2.2",
Expand Down
2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@vanilla-extract/recipes": "workspace:*",
"@vanilla-extract/sprinkles": "workspace:*",
"@vanilla-extract/vite-plugin": "workspace:*",
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
"vite": "^8.0.0",
"vite-tsconfig-paths": "^5.1.4"
}
}
Loading