From 0be170a42c224219863031ca7b50c453656a3f60 Mon Sep 17 00:00:00 2001 From: Hyunbin Seo <47051820+hyunbinseo@users.noreply.github.com> Date: Mon, 25 Nov 2024 23:18:56 +0900 Subject: [PATCH 1/2] chore: replace svelte-5-preview link --- .changeset/six-moose-admire.md | 5 +++++ packages/migrate/migrations/svelte-5/index.js | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .changeset/six-moose-admire.md diff --git a/.changeset/six-moose-admire.md b/.changeset/six-moose-admire.md new file mode 100644 index 000000000..9df0f0d1d --- /dev/null +++ b/.changeset/six-moose-admire.md @@ -0,0 +1,5 @@ +--- +'sv': patch +--- + +chore: replace svelte-5-preview link diff --git a/packages/migrate/migrations/svelte-5/index.js b/packages/migrate/migrations/svelte-5/index.js index a6b17d421..9d4d45b47 100644 --- a/packages/migrate/migrations/svelte-5/index.js +++ b/packages/migrate/migrations/svelte-5/index.js @@ -190,10 +190,8 @@ export async function migrate() { "install the updated dependencies ('npm i' / 'pnpm i' / etc) " + '(note that there may be peer dependency issues when not all your libraries officially support Svelte 5 yet. In this case try installing with the --force option)', use_git && cyan('git commit -m "migration to Svelte 5"'), - 'Review the breaking changes at https://svelte-5-preview.vercel.app/docs/breaking-changes' - // replace with this once it's live: - // 'Review the migration guide at https://svelte.dev/docs/svelte/v5-migration-guide', - // 'Read the updated docs at https://svelte.dev/docs/svelte' + 'Review the migration guide at https://svelte.dev/docs/svelte/v5-migration-guide', + 'Read the updated docs at https://svelte.dev/docs/svelte' ].filter(Boolean); tasks.forEach((task, i) => { From 55410065d5c2da1217ac1880401e0295e132be32 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:55:57 -0800 Subject: [PATCH 2/2] Update packages/migrate/migrations/svelte-5/index.js --- packages/migrate/migrations/svelte-5/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/migrate/migrations/svelte-5/index.js b/packages/migrate/migrations/svelte-5/index.js index 9d4d45b47..186a0ee39 100644 --- a/packages/migrate/migrations/svelte-5/index.js +++ b/packages/migrate/migrations/svelte-5/index.js @@ -190,8 +190,7 @@ export async function migrate() { "install the updated dependencies ('npm i' / 'pnpm i' / etc) " + '(note that there may be peer dependency issues when not all your libraries officially support Svelte 5 yet. In this case try installing with the --force option)', use_git && cyan('git commit -m "migration to Svelte 5"'), - 'Review the migration guide at https://svelte.dev/docs/svelte/v5-migration-guide', - 'Read the updated docs at https://svelte.dev/docs/svelte' + 'Review the migration guide at https://svelte.dev/docs/svelte/v5-migration-guide' ].filter(Boolean); tasks.forEach((task, i) => {