svelte-migrate

1.4.0 • Public • Published

svelte-migrate

A CLI for migrating Svelte(Kit) codebases.

Run it using

npx svelte-migrate [migration]

Or if you're using pnpm:

pnpm dlx svelte-migrate [migration]

Migrations

Migration From To Guide
sveltekit-2 SvelteKit 1.0 SvelteKit 2.0 Website
svelte-4 Svelte 3 Svelte 4 Website
package @sveltejs/package@1 @sveltejs/package@2 #8922
routes SvelteKit pre-1.0 SvelteKit 1.0 #5774

Some migrations may annotate your codebase with tasks for completion that you can find by searching for @migration.

Changelog

The Changelog for this package is available on GitHub.

Readme

Keywords

none

Package Sidebar

Install

npm i svelte-migrate

Weekly Downloads

518

Version

1.4.0

License

MIT

Unpacked Size

97.3 kB

Total Files

24

Last publish

Collaborators

  • svelte-admin