Skip to content

780 vite update dependencies#794

Open
bourgeoa wants to merge 6 commits into
stagingfrom
780-vite-update-dependencies
Open

780 vite update dependencies#794
bourgeoa wants to merge 6 commits into
stagingfrom
780-vite-update-dependencies

Conversation

@bourgeoa

Copy link
Copy Markdown
Contributor

No description provided.

NoelDeMartin and others added 6 commits June 9, 2026 12:27
- Include staging branch in CI
- Run type checks
- Changed build config from webpack to vite (see details below).
- Moved root files to /lib for better code organization, leaving main entry points in root.
- Implemented custom customElement decorator to work around duplicated registrations.

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
@bourgeoa bourgeoa requested a review from NoelDeMartin June 14, 2026 16:46
@bourgeoa bourgeoa assigned bourgeoa and NoelDeMartin and unassigned bourgeoa Jun 14, 2026
@bourgeoa bourgeoa moved this to In review in SolidOS NLNet UI Jun 14, 2026
@bourgeoa bourgeoa moved this from In review to In progress in SolidOS NLNet UI Jun 14, 2026
@bourgeoa bourgeoa removed the request for review from NoelDeMartin June 14, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants