@tempo-booking/tempo-booking-widget
v0.6.0
Published
Embeddable booking widget built with React, TypeScript, Vite, and shadcn/ui.
Readme
Tempo Booking Widget
Embeddable booking widget built with React, TypeScript, Vite, and shadcn/ui.
What this repo contains
- iframe-based widget application build output under
dist/ - production loader bundle:
dist/tempo-booking-widget.js - localhost-only dev loader bundle:
dist/tempo-booking-widget.dev.js - widget origin service scaffold under
apps/widget-origin
Environment model
- production Laravel app:
https://dashboard.tempo-booking.com - staging Laravel app:
https://staging.tempo-booking.com - production widget origin:
https://widget.tempo-booking.com - staging widget origin:
https://widget-staging.tempo-booking.com
The production loader should point to the production widget origin. Staging prerelease loaders should point to the staging widget origin.
Common commands
npm run dev
npm run build
npm run build:staging
npm run glitchtip:upload-sourcemapsLoader publishing
- staging: publish a prerelease version and use the npm
stagingdist-tag - production: publish a stable version and use
latest(or pin an explicit stable version)
Recommended customer-facing distribution is npm + jsDelivr.
Documentation
- deployment checklist:
docs/widget-deploy-manual.md - hosting architecture:
docs/hosting-embeddable-widget.md - release workflow:
docs/git-and-release-workflow.md - local testing:
docs/widget-local-testing.md
