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

state of svelte-add #334

Open
manuel3108 opened this issue Apr 14, 2024 · 9 comments
Open

state of svelte-add #334

manuel3108 opened this issue Apr 14, 2024 · 9 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request solved-by-rewrite

Comments

@manuel3108
Copy link
Member

manuel3108 commented Apr 14, 2024

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

  • We moved away from submodules. They are horrible for maintainers, and even worse for contributors. We now use a monorepo.
  • A website as a main entry point, always displaying the latest adders: https://svelte-add.com/ and support cli command configuration.
  • Automatic release management
  • Other usual rewrite stuff: maintainability, extensibility, etc.
@manuel3108 manuel3108 added documentation Improvements or additions to documentation enhancement New feature or request solved-by-rewrite labels Apr 14, 2024
@manuel3108 manuel3108 pinned this issue Apr 14, 2024
@benmccann
Copy link
Contributor

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
Copy link
Member Author

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

This comment was marked as outdated.

@babichjacob

This comment was marked as outdated.

@manuel3108

This comment was marked as outdated.

@manuel3108

This comment was marked as outdated.

@babichjacob

This comment was marked as outdated.

@manuel3108

This comment was marked as outdated.

@dummdidumm
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request solved-by-rewrite
Projects
None yet
Development

No branches or pull requests

4 participants