sveltejs / vite-plugin-svelte

Svelte plugin for http://vitejs.dev/
MIT License
844 stars 103 forks source link

fix: publish with npm tag version-2 #811

Closed dominikg closed 10 months ago

dominikg commented 10 months ago

to avoid overriding latest tag thats used for 3.x on main branch

see https://github.com/changesets/changesets/blob/main/docs/command-line-options.md#publish

caveat: this would also tag vite-plugin-svelte-inspector as version-2 even if that is 1.x today. But i don't think we are going to release another 1.x version and even if we could manually sync it.

A more future-proof solution could be to bump inspector to the same major as v-p-s or change to a more generic tag like previous.