Skip to content

Commit

Permalink
add readme to svelte-migrate (#5817)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Aug 4, 2022
1 parent 743f1c0 commit b901efe
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-parrots-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-migrate': patch
---

Add a README'
17 changes: 17 additions & 0 deletions packages/migrate/README.md
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`.

0 comments on commit b901efe

Please sign in to comment.