Skip to content

Commit

Permalink
chore: update installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloricciuti committed Oct 19, 2024
1 parent 9a0d338 commit 062b804
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/migrate/migrations/svelte-5/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ export async function migrate() {
({ migrate } = await import_from_cwd('svelte/compiler'));
if (!migrate) throw new Error('found Svelte 4');
} catch {
// TODO replace with svelte@5 once it's released
execSync('npm install svelte@next --no-save', {
execSync('npm install svelte@^5.0.0 --no-save', {
stdio: 'inherit',
cwd: dirname(fileURLToPath(import.meta.url))
});
Expand Down

0 comments on commit 062b804

Please sign in to comment.