cal/packages/embeds
Hariom Balhara f044c2d7c7
fix: Embed: data-cal-origin not used by modal(which is used by both element click popup and floating button popup) (#12075)
2023-11-02 19:39:58 +00:00
..
embed-core fix: Embed: data-cal-origin not used by modal(which is used by both element click popup and floating button popup) (#12075) 2023-11-02 19:39:58 +00:00
embed-react fix: missing types export from @calcom/embed-react (ECMAScript modules) (#11432) 2023-10-12 00:15:11 +01:00
embed-snippet chore: Update version in main for embeds that are already released. (#9822) 2023-07-21 16:46:18 +05:30
.eslintrc.js feat: Embed - Introduce `prerender` instruction - Lightning fast popup experience (#11303) 2023-10-10 03:10:04 +00:00
README.md chore: Sync packages mismatches (#9725) 2023-06-22 15:25:37 -07: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