Migrating to SvelteKit v3 • SvelteKit documentation
1 comment
jphabout 2 hours ago
The simple command is:
sv@next migrate sveltekit-3
I'm upgrading hundreds of projects right now and it's going great so far. Here's the shell script I'm using; adjust as you like. find ~/git -path '*/.*' -prune \
-o -path '\*/node_modules' -prune \
-o -type f -name 'svelte.config.js' -exec dirname {} \; |
while read -r x; do
cd "$x"
echo "y" |
pnpx sv@next migrate sveltekit-3 \
--tasks all \
--confirm \
--install pnpm < /dev/null
doneRead the full thread on Hacker News →
Related stories
- DEV Community · 0 points · 8 days ago
- DEV Community · 21 points · 6 days ago
- DEV Community · 0 points · 6 days ago
- Hacker News · 1 points · about 7 hours ago
- Lobsters · 5 points · over 8 years ago
- Hacker News · 2 points · 10 days ago