Embed: Bump Versions and update Readmes and descriptions (#2507)

This commit is contained in:
Hariom Balhara 2022-04-15 23:25:36 +05:30 committed by GitHub
parent 063d40aa0a
commit 6843347dd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 11 deletions

View file

@ -1,10 +1,12 @@
# embed-core # embed-core
See [index.html](index.html) to see various examples This is the vanilla JS core script that embeds Cal Link.
## How to use embed on any webpage no matter what framework ## How to use embed on any webpage no matter what framework
See <https://docs.cal.com/integrations/embed> See <https://docs.cal.com/integrations/embed>
You can also see various example usages [here](https://github.com/calcom/cal.com/blob/main/packages/embeds/embed-core/index.html)
## Development ## Development
Run the following command and then you can test the embed in the automatically opened page `http://localhost:3002` Run the following command and then you can test the embed in the automatically opened page `http://localhost:3002`

View file

@ -1,7 +1,7 @@
{ {
"name": "@calcom/embed-core", "name": "@calcom/embed-core",
"version": "0.1.0", "version": "1.0.0",
"description": "The core script adds the booking embed", "description": "This is the vanilla JS core script that embeds Cal Link",
"main": "./index.ts", "main": "./index.ts",
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",

View file

@ -1,7 +1,5 @@
# cal-react # cal-react
Makes the embed available as a React component. Embed Cal Link as a React Component
To add the embed on a webpage built using React. Follow the steps To know how to use it, follow the steps at <https://docs.cal.com/integrations/embed>
See docs.cal.com/integrations/embed

View file

@ -1,7 +1,7 @@
{ {
"name": "@calcom/embed-react", "name": "@calcom/embed-react",
"version": "0.1.0", "version": "1.0.0",
"description": "Embed Cal Booking anywhere", "description": "Embed Cal Link as a React Component",
"scripts": { "scripts": {
"dev": "vite --port=3003 --open", "dev": "vite --port=3003 --open",
"build": "vite build", "build": "vite build",
@ -10,6 +10,9 @@
"lint": "eslint --ext .ts,.js,.tsx,.jsx ./src" "lint": "eslint --ext .ts,.js,.tsx,.jsx ./src"
}, },
"main": "src/Cal.tsx", "main": "src/Cal.tsx",
"dependencies": {
"@calcom/embed-snippet": "^1.0.0"
},
"devDependencies": { "devDependencies": {
"vite": "^2.8.6", "vite": "^2.8.6",
"eslint": "^8.10.0" "eslint": "^8.10.0"

View file

@ -1,6 +1,6 @@
# embed-snippet # embed-snippet
This is the code snippet that is to be installed by the user on his website. Vanilla JS embed snippet that is responsible to fetch @calcom/embed-core and thus show Cal Link as an embed on a page.
## Development ## Development

View file

@ -1,7 +1,8 @@
{ {
"name": "@calcom/embed-snippet", "name": "@calcom/embed-snippet",
"version": "0.1.0", "version": "1.0.0",
"main": "src/index.ts", "main": "src/index.ts",
"description": "Vanilla JS embed snippet that is responsible to fetch @calcom/embed-core and thus show Cal Link as an embed on a page.",
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",
"type-check": "tsc --pretty --noEmit", "type-check": "tsc --pretty --noEmit",