Skip to content
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

docs: add self-closing-tags migration #349

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

manuel3108
Copy link
Member

Closes #348
Additionally re-orders the migrations inside the packages/migrate/README.md to the same order as displayed on the website, which seem way more logical.

Copy link

changeset-bot bot commented Dec 4, 2024

🦋 Changeset detected

Latest commit: 4d08b28

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-migrate Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Rich-Harris
Copy link
Member

preview: https://svelte-dev-git-preview-cli-349-svelte.vercel.app/

this is an automated message

Copy link

pkg-pr-new bot commented Dec 4, 2024

Open in Stackblitz

npm i https://pkg.pr.new/sveltejs/cli/sv@349
npm i https://pkg.pr.new/sveltejs/cli/svelte-migrate@349

commit: 4d08b28

@@ -18,6 +18,10 @@ npx sv migrate [migration]

Upgrades a Svelte 4 app to use Svelte 5, and updates individual components to use [runes](../svelte/what-are-runes) and other Svelte 5 syntax ([see migration guide](../svelte/v5-migration-guide)).

### `self-closing-tags`

Replaces all the self-closing non-void elements in your `.svelte` files. See the [pull request](https://github.com/sveltejs/kit/pull/12128) for more details.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is probably a better wording for the first part, this was stolen from the linked pr.

@manuel3108 manuel3108 merged commit cf2d2bc into main Dec 14, 2024
8 checks passed
@manuel3108 manuel3108 deleted the docs/self-closing-tags.migration branch December 14, 2024 12:39
@github-actions github-actions bot mentioned this pull request Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

npx sv migrate self-closing-tags is not documented
2 participants