Skip to content

Repository files navigation

openeventkit widgets

The widget layer for next-event-site: the legacy openstack event-site widgets (schedule, registration, my-tickets, …) packaged so a modern React host can mount them without inheriting their era. A pnpm workspace of two packages:

  • packages/widgets (@openeventkit/widgets) — the uicore isolation layer and the hosting machinery: per-widget manifests + vendor styles, the framework-free kernel (./core), the React-19 mount layer (./mount, ./host), and the per-widget runtime entries a host imports (<widget>/web-component · <widget>/react). A host's runtime dependency.
  • packages/web-components (@openeventkit/web-components) — the web-component build: esbuild bundles each widget as a self-contained custom element on its own React 18.3.1, plus the shared runtime/ chunks, the import map, and the footprint analyzer. Ships the widgets-build / widgets-analyze bins; a host's devDependency.

Hosts consume both as link:/git-ref deps until the packages publish to npm.

Commands

pnpm install
pnpm test                   # vitest + web-components script tests + typecheck
pnpm build:wc               # runtime/ chunks + import-map.json + *.shared.js
pnpm build:wc:standalone    # *.standalone.js only
pnpm analyze:check          # footprint analyzer (CI guard)
pnpm assets                 # regenerate vendor CSS modules from installed dists

Docs

About

Event Site Widgets

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages