a0bf5b4067
* 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> |
||
---|---|---|
.. | ||
embed-core | ||
embed-react | ||
embed-snippet | ||
README.md | ||
vite.config.js |
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.
yarn changeset
-> Creates changelog files and adds summary to changelog. Select embed packages only here.yarn changeset version
-> Bumps the versions as required- Get the PR reviewed and merged
yarn publish-embed
-> Releases all packages. We can't useyarn changeset publish
because it doesn't support workspace: prefix removal yet. See https://github.com/changesets/changesets/issues/432#issuecomment-1016365428