cal.pub0.org/packages/embeds
GitStart-Cal.com 2dbc73c75b
chore: fix all Typescript warnings (#8618)
* [CAL-1517] fix all Typescript warnings

* solve conflicts

* Update stripeCheckoutSession.handler.ts

Parse is a guard, so even though the variable is unused the parse itself is needed.

* Update ToolbarPlugin.tsx

Don't change dependency tree

---------

Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-06-06 11:59:57 +00:00
..
embed-core test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00
embed-react chore: fix all Typescript warnings (#8618) 2023-06-06 11:59:57 +00:00
embed-snippet test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00
README.md Add changesets/cli to release embed (#8126) 2023-05-13 08:22:31 +00:00
vite.config.js HotFix - Embed Flicker for newly converted static availability page (#3277) 2022-07-12 14:18:53 +00:00

README.md

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 - Soon to 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