-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List out options for npx sv migrate
#302
Comments
That would be awesome, especially if multiple migrations can be chosen and run in the correct order! |
Running the migrations in the correct order brings other problems though. What if the first migration fails or introduces |
That may not be worth the work though |
You'd still have to put them in the correct order. Will the devs guard against that too? Not worth the complexity in my opinion. Just a single select seems like a quick win. |
Each migration declares its dependencies (it already kind of does!) and svelte-migrate resolves the dependency tree to process the migrations in the right order. No need for the user to specify the migrations in the right order or to have guards this way. |
Expected
> npx sv migrate ( ) svelte-5 ( ) svelte-4 ( ) sveltekit-2 ( ) ...
list of current commands: https://svelte.dev/docs/cli/sv-migrate#Migrations
Actual
The text was updated successfully, but these errors were encountered: