cal.pub0.org/packages/embeds/embed-snippet
Hariom Balhara a0bf5b4067
test: Smoke Tests for packaged embeds and build improvements (#9169)
* Fix 2 Factor Auth

* Add a sandbox to verify types of embed-react

* Add fault types location

* Fix type location again

* Break types

* Ensure that builds are done again when doing pbublish

* Debug failure in CI

* Make sure unit test files arent used by playwright

* Fix embed-react test description

* Update .github/workflows/e2e-embed-react.yml

Co-authored-by: Omar López <zomars@me.com>

* Remove unnecessary log

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Omar López <zomars@me.com>
2023-06-01 20:41:30 +00:00
..
src Embed: Strictly type the codebase and fixes a few bugs found (#7536) 2023-03-28 11:17:40 -07:00
CHANGELOG.md fix: location for `@calcom/embed-react` types (#9090) 2023-05-29 20:30:52 -07:00
LICENSE change /ee to /commercial (#8948) 2023-05-25 17:50:30 +00:00
README.md Runs format script 2022-06-24 07:37:56 -06:00
env.d.ts [Feature]Booking Embed (#2227) 2022-03-31 09:45:47 +01:00
package.json test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00
tsconfig.json Fixes embeds tsconfig (#7995) 2023-03-30 16:20:39 +00:00
vite.config.js Hotfix/ Fix failing build due to terser missing (#7294) 2023-02-23 13:55:02 +01:00

README.md

embed-snippet

Vanilla JS embed snippet that is responsible to fetch @calcom/embed-core and thus show Cal Link as an embed on a page.

Development

yarn build will generate dist/snippet.es.js

  • which can be used as <script type="module" src=...
  • You can also copy the appropriate portion of the code and install it directly as <script>CODE_SUGGESTED_TO_BE_COPIED</script>