diff --git a/.changeset/wise-roses-develop.md b/.changeset/wise-roses-develop.md new file mode 100644 index 00000000..7ecd0627 --- /dev/null +++ b/.changeset/wise-roses-develop.md @@ -0,0 +1,5 @@ +--- +'sv': patch +--- + +fix: use `vite@5` again due to compatability issues with `vitest@2` (#341) diff --git a/packages/create/templates/demo/package.json b/packages/create/templates/demo/package.json index 2191d27a..ee2084f7 100644 --- a/packages/create/templates/demo/package.json +++ b/packages/create/templates/demo/package.json @@ -13,9 +13,9 @@ "@neoconfetti/svelte": "^2.0.0", "@sveltejs/adapter-auto": "workspace:*", "@sveltejs/kit": "workspace:*", - "@sveltejs/vite-plugin-svelte": "^5.0.0", + "@sveltejs/vite-plugin-svelte": "^4.0.0", "svelte": "^5.0.0", "typescript": "^5.3.3", - "vite": "^6.0.0" + "vite": "^5.4.11" } } diff --git a/packages/create/templates/demo/package.template.json b/packages/create/templates/demo/package.template.json index 05181b75..08538774 100644 --- a/packages/create/templates/demo/package.template.json +++ b/packages/create/templates/demo/package.template.json @@ -12,9 +12,9 @@ "@fontsource/fira-mono": "^5.0.0", "@neoconfetti/svelte": "^2.0.0", "@sveltejs/adapter-auto": "^3.0.0", - "@sveltejs/kit": "^2.9.0", - "@sveltejs/vite-plugin-svelte": "^5.0.0", + "@sveltejs/kit": "^2.0.0", + "@sveltejs/vite-plugin-svelte": "^4.0.0", "svelte": "^5.0.0", - "vite": "^6.0.0" + "vite": "^5.4.11" } } diff --git a/packages/create/templates/library/package.template.json b/packages/create/templates/library/package.template.json index a7810f88..d569abd8 100644 --- a/packages/create/templates/library/package.template.json +++ b/packages/create/templates/library/package.template.json @@ -24,12 +24,12 @@ }, "devDependencies": { "@sveltejs/adapter-auto": "^3.0.0", - "@sveltejs/kit": "^2.9.0", + "@sveltejs/kit": "^2.0.0", "@sveltejs/package": "^2.0.0", - "@sveltejs/vite-plugin-svelte": "^5.0.0", + "@sveltejs/vite-plugin-svelte": "^4.0.0", "publint": "^0.2.0", "svelte": "^5.0.0", "typescript": "^5.3.2", - "vite": "^6.0.0" + "vite": "^5.4.11" } } diff --git a/packages/create/templates/minimal/package.template.json b/packages/create/templates/minimal/package.template.json index 2a74c550..04d95bac 100644 --- a/packages/create/templates/minimal/package.template.json +++ b/packages/create/templates/minimal/package.template.json @@ -10,9 +10,9 @@ }, "devDependencies": { "@sveltejs/adapter-auto": "^3.0.0", - "@sveltejs/kit": "^2.9.0", - "@sveltejs/vite-plugin-svelte": "^5.0.0", + "@sveltejs/kit": "^2.0.0", + "@sveltejs/vite-plugin-svelte": "^4.0.0", "svelte": "^5.0.0", - "vite": "^6.0.0" + "vite": "^5.4.11" } }