Skip to content

Commit

Permalink
feat: update templates to vite@6 (#340)
Browse files Browse the repository at this point in the history
* update to vite 6

* changeset

* update sveltekit version
  • Loading branch information
AdrianGonz97 authored Dec 2, 2024
1 parent ce9f771 commit 6403af5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .changeset/modern-rules-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'sv': patch
---

feat: update `create` templates to Vite 6
4 changes: 2 additions & 2 deletions packages/create/templates/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"@neoconfetti/svelte": "^2.0.0",
"@sveltejs/adapter-auto": "workspace:*",
"@sveltejs/kit": "workspace:*",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"svelte": "^5.0.0",
"typescript": "^5.3.3",
"vite": "^5.3.2"
"vite": "^6.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/create/templates/demo/package.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"@fontsource/fira-mono": "^5.0.0",
"@neoconfetti/svelte": "^2.0.0",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@sveltejs/kit": "^2.9.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"svelte": "^5.0.0",
"vite": "^5.0.3"
"vite": "^6.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/create/templates/library/package.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/kit": "^2.9.0",
"@sveltejs/package": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"publint": "^0.2.0",
"svelte": "^5.0.0",
"typescript": "^5.3.2",
"vite": "^5.0.11"
"vite": "^6.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/create/templates/minimal/package.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@sveltejs/kit": "^2.9.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"svelte": "^5.0.0",
"vite": "^5.0.3"
"vite": "^6.0.0"
}
}

0 comments on commit 6403af5

Please sign in to comment.