#780 Migrate to Vite, Vitest, and Storybook 10#787
Draft
NoelDeMartin wants to merge 5 commits into
Draft
Conversation
4506cca to
6ffa42d
Compare
- Include staging branch in CI - Run type checks
The new configuration produces the following outputs: - For npm consumers, *.esm.js and *.cjs.js files. The main export exposes helpers, all components can be registered with solid-ui/components, and individual components can be registered with solid-ui/components/*. - For modern CDNs, we have ESM bundles in *.js files, also allowing all components or invidiual imports. These now include solid-logic and rdflib, no need to load them separatedly. - For legacy CDNs, we still have the UMD bundles, but those are discouraged and not documented in the README anymore. These ones still externalize solid-logic and rdflib. References: - Lit Publishing docs: https://lit.dev/docs/tools/publishing - Web Awesome installation docs: https://webawesome.com/docs - Web Awesome discussion on CDN declarations: shoelace-style/webawesome#2146
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Still have some cleanup to do, that's why I'm opening this as a draft. But I think most of the changes are in the right direction. Will add more details after the final clean up, but the most relevant changes are probably the generated dist/ folder and the package.json export declarations. You can use the updates in
READMEas a guide, but they've been mostly AI generated and I haven't reviewed that yet (I have reviewed or written myself mostly everything else, though :D).