cal/packages/embeds
Hariom Balhara 4f0e843ac6
test: Make embed tests stable. (#9718)
* Wait for /embed/embed.js to be servable

* Change something in embeds/ to make embed tests run
2023-06-22 17:38:51 +02:00
..
embed-core fix: New Booker Rewrites (#9557) 2023-06-16 12:31:57 +02:00
embed-react fix: embed non-transparent dark background on success page (#9085) 2023-06-06 23:52:13 +00:00
embed-snippet test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00
README.md test: Make embed tests stable. (#9718) 2023-06-22 17:38:51 +02:00
vite.config.js HotFix - Embed Flicker for newly converted static availability page (#3277) 2022-07-12 14:18:53 +00:00

Embeds

This folder contains all the various flavours of embeds.

core contains the core library written in vanilla JS that manages the embed. snippet contains the Vanilla JS Code Snippet that can be installed on any website and would automatically fetch the core library.

Please see the respective folder READMEs for details on them.

Publishing to NPM. It will soon be automated using changesets github action

To publish the packages. Following steps should be followed. All commands are to be run at the root.

  1. yarn changeset -> Creates changelog files and adds summary to changelog. Select embed packages only here.
  2. yarn changeset version -> Bumps the versions as required
  3. Get the PR reviewed and merged
  4. yarn publish-embed -> Releases all packages. We can't use yarn changeset publish because it doesn't support workspace: prefix removal yet. See https://github.com/changesets/changesets/issues/432#issuecomment-1016365428