svelte-add / svelte-add

Easily add integrations and other functionality to Svelte(kit) apps
https://svelte-add.com
MIT License
1.42k stars 32 forks source link

state of `svelte-add` #334

Open manuel3108 opened 1 month ago

manuel3108 commented 1 month ago

svelte-add has some major issues, most of them are properly outlined in #328 for those interested. These issues cannot be handled correctly, without rewriting most of the codebase.

With the help of #328 that's exactly what I decided to do, and it's time to share the progress with everyone.

Based on the rewrite I was also able to add small website in order to improve the visibility of different adders and increase the composability of different adders. For the sake of simplicity let's call the rewrite v2

Usage FAQ's

@svelte-add/create-kit and @svelte-add/create-vite are now deprecated. What should I use now.

You can simply just use the svelte-add package with npx svelte-add. The functionality of creating new project if no valid project was detected was now backed in into the core package.

Adder xxx does not exist anymore

Adders have been ported by relevance. The adders with the most stars in their respective github repository were ported to v2. In order to reintroduce the adder, it need's to be ported. In order to start the process, please consider creating a new issue requesting a new adder

If you need to be able to use the old version of svelte-add to get your project up to speed, consider using npx svelte-add@2024.4.9-0.0

How to migrate syntax from the previous svelte-add

If you are still using syntax like this npx svelte-add@latest --with bulma+mdsvex, please consider the configurator inside the website to generate the new syntax.

Other notable changes

benmccann commented 1 month ago

Cool to see work happening on the rewrite! I hate git sub-modules, so happy about that part particularly πŸ˜† Having a website is a nice addition as well.

The only thing that gives me pause is losing the svelte-add name, which is well-known in the community and nice and concise. svelte-compose is a bit longer and doesn't have the same ring to it. Could we just publish new versions keeping the svelte-add name or using the @svelte-add scope?

manuel3108 commented 1 month ago

Sometimes things are just too obvious to see them by yourself. Up until your comment I was under the impression that this would not be possible, because I don't have access to the NPM Org, but it didn't came to my mind to just request access. That's what I have just done.

If everything works as I expect, this is the new plan!

manuel3108 commented 1 month ago

Hey @babichjacob, hope you don't mind the ping. Would you mind adding me (manuel3108) to the NPM org?

Thanks for your help!

babichjacob commented 1 month ago

No problem, I've sent you an invite!

Sorry for my absence 😰

manuel3108 commented 1 month ago

@babichjacob Wow, that was a fast one. No problem at all. Thank you

manuel3108 commented 4 weeks ago

@babichjacob Totally forgot about https://www.npmjs.com/package/svelte-add, could you do the same there?

babichjacob commented 4 weeks ago

I added the svelte-add package to the organization, I think, did that work?

manuel3108 commented 4 weeks ago

Yes, that worked, thanks!

dummdidumm commented 3 weeks ago

Hi @manuel3108, Svelte maintainer here πŸ‘‹ We have interest in making svelte-add a bit more official/formal. Are you available for a chat on the Svelte Discord to discuss details? If so, just put a message in the #contributing channel and we can take it from there.