Skip to content

Commit

Permalink
chore: update vite and related packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunbinseo committed Jan 18, 2025
1 parent 6536cbf commit ebff8ef
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-cougars-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'sv': patch
---

chore: update `vite@6` and related packages
2 changes: 1 addition & 1 deletion packages/addons/vitest-addon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineAddon({
run: ({ sv, typescript }) => {
const ext = typescript ? 'ts' : 'js';

sv.devDependency('vitest', '^2.1.8');
sv.devDependency('vitest', '^3.0.0');

sv.file('package.json', (content) => {
const { data, generateCode } = parseJson(content);
Expand Down
8 changes: 4 additions & 4 deletions packages/create/templates/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"devDependencies": {
"@fontsource/fira-mono": "^5.0.0",
"@neoconfetti/svelte": "^2.0.0",
"@sveltejs/adapter-auto": "^3",
"@sveltejs/kit": "^2",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@sveltejs/adapter-auto": "^4.0.0",
"@sveltejs/kit": "^2.9.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"svelte": "^5.0.0",
"typescript": "^5.3.3",
"vite": "^5.4.11"
"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 @@ -12,9 +12,9 @@
"@fontsource/fira-mono": "^5.0.0",
"@neoconfetti/svelte": "^2.0.0",
"@sveltejs/adapter-auto": "^4.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.4.11"
"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 @@ -23,12 +23,12 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^4.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.3.2",
"svelte": "^5.0.0",
"typescript": "^5.3.2",
"vite": "^5.4.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 @@ -10,9 +10,9 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^4.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.4.11"
"vite": "^6.0.0"
}
}

0 comments on commit ebff8ef

Please sign in to comment.