Open manuel3108 opened 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?
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!
Hey @babichjacob, hope you don't mind the ping. Would you mind adding me (manuel3108) to the NPM org?
Thanks for your help!
No problem, I've sent you an invite!
Sorry for my absence π°
@babichjacob Wow, that was a fast one. No problem at all. Thank you
@babichjacob Totally forgot about https://www.npmjs.com/package/svelte-add, could you do the same there?
I added the svelte-add
package to the organization, I think, did that work?
Yes, that worked, thanks!
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.
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 withnpx 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 anymoreAdders 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 adderIf you need to be able to use the old version of
svelte-add
to get your project up to speed, consider usingnpx 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