-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add readme to svelte-migrate (#5817)
- Loading branch information
1 parent
743f1c0
commit b901efe
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'svelte-migrate': patch | ||
--- | ||
|
||
Add a README' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# svelte-migrate | ||
|
||
A CLI for migrating Svelte(Kit) codebases. | ||
|
||
``` | ||
npx svelte-migrate [migration] | ||
``` | ||
|
||
## Migrations | ||
|
||
Right now, there's only one migration — `routes`: | ||
|
||
``` | ||
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`. |