Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed May 30, 2023
1 parent b78ef58 commit cefab90
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/migrate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ npx svelte-migrate [migration]

## Migrations

Right now, there's only one migration — `routes`:
The available migrations are:

```
npx svelte-migrate routes
```

This will update your codebase in readiness for https://github.com/sveltejs/kit/discussions/5748. The script will automate as much of the conversion as possible, then annotate your codebase with tasks for completion that you can find by searching for `@migration`.
- `routes` - This will update your pre-SvelteKit-1.0 codebase to the SvelteKit 1.0 routes format. The script will automate as much of the conversion as possible, then annotate your codebase with tasks for completion that you can find by searching for `@migration`. Read [the discussion](https://github.com/sveltejs/kit/discussions/5748) for full details.
- `package` - Migration to @sveltejs/package v2. Review the migration guide at [#8922](https://github.com/sveltejs/kit/pull/) and read the updated docs at https://kit.svelte.dev/docs/packaging
- `svelte-4` - This will migrate your codebase from Svelte 3 to Svelte 4

0 comments on commit cefab90

Please sign in to comment.