Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite 5 #11122

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Vite 5 #11122

Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
breaking: require vite 5
  • Loading branch information
benmccann committed Dec 1, 2023
commit ecf9752426507679999639d3853abeaec7441664
5 changes: 5 additions & 0 deletions .changeset/grumpy-sheep-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': major
---

breaking: require Vite 5.0.3+
5 changes: 5 additions & 0 deletions .changeset/itchy-bags-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': major
---

breaking: require Vite 5
2 changes: 1 addition & 1 deletion packages/adapter-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"sirv": "^2.0.3",
"svelte": "^4.2.7",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"peerDependencies": {
"@sveltejs/kit": "^1.5.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-static/test/apps/prerendered/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@sveltejs/kit": "workspace:^",
"sirv-cli": "^2.0.2",
"svelte": "^4.2.7",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/adapter-static/test/apps/spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"sirv-cli": "^2.0.2",
"svelte": "^4.2.7",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/create-svelte/templates/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:*",
"svelte": "^4.2.7",
"typescript": "^5.0.0",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.27.4",
"svelte": "^4.2.7",
"vite": "^4.4.2"
"vite": "^5.0.3"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.27.4",
"svelte": "^4.2.7",
"vite": "^4.4.2"
"vite": "^5.0.3"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"svelte": "^4.2.7",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.4.2"
"vite": "^5.0.3"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/enhanced-img/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"estree-walker": "^3.0.3",
"svelte": "^4.2.7",
"typescript": "^4.9.4",
"vite": "^4.4.2",
"vite": "^5.0.4",
"vitest": "^0.34.0"
}
}
6 changes: 3 additions & 3 deletions packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"homepage": "https://kit.svelte.dev",
"type": "module",
"dependencies": {
"@sveltejs/vite-plugin-svelte": "^2.5.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/cookie": "^0.5.1",
"cookie": "^0.5.0",
"devalue": "^4.3.1",
Expand All @@ -36,12 +36,12 @@
"svelte": "^4.2.7",
"svelte-preprocess": "^5.1.1",
"typescript": "^4.9.4",
"vite": "^4.4.9",
"vite": "^5.0.4",
"vitest": "^0.34.5"
},
"peerDependencies": {
"svelte": "^3.54.0 || ^4.0.0-next.0 || ^5.0.0-next.0",
"vite": "^4.0.0"
"vite": "^5.0.3"
},
"bin": {
"svelte-kit": "svelte-kit.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/apps/amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/apps/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/apps/dev-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/apps/embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/apps/options-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/apps/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/apps/writes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9",
"vite": "^5.0.4",
"vitest": "^0.34.5"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9",
"vite": "^5.0.4",
"vitest": "^0.34.5"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/paths-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"svelte": "^4.2.7",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"vite": "^4.4.9",
"vite": "^5.0.4",
"vitest": "^0.34.5"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@sveltejs/kit": "workspace:*",
"svelte": "^4.2.7",
"typescript": "^5.0.0",
"vite": "^4.4.9"
"vite": "^5.0.4"
},
"type": "module"
}
Loading