chore: Update version in main for embeds that are already released. (#9822)

* Release latest embeds

* Release latest embeds

* Ensure that unpublished packages arent imported

* linter is important to catch unexpected imports

* Create new release

* Add a new patch
This commit is contained in:
Hariom Balhara authored and GitHub committed 2023-07-21 16:46:18 +05:30
1 parent 1566a80e40
commit 2a8eca7885
13 files changed
+162 -21

No files matched your search

+5 -5
View File
@@ -1,7 +1,7 @@
{
"name": "@calcom/embed-react",
"sideEffects": false,
"version": "1.1.1",
"version": "1.3.0",
"description": "Embed Cal Link as a React Component",
"license": "SEE LICENSE IN LICENSE",
"repository": {
@@ -11,7 +11,7 @@
},
"scripts": {
"dev": "vite --port=3101 --open",
"build": "rm -rf dist && vite build && tsc --emitDeclarationOnly --declarationDir dist",
"build": "rm -rf dist && vite build && cp ./dist/Cal.es.js ./dist/Cal.es.mjs && tsc --emitDeclarationOnly --declarationDir dist",
"preview": "vite preview",
"type-check": "tsc --pretty --noEmit",
"type-check:ci": "tsc-absolute --pretty --noEmit",
@@ -21,13 +21,13 @@
"embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",
"packaged:tests": "cd test/packaged && yarn tsc --noEmit && yarn run -T test -- --packaged-embed-tests-only",
"withEmbedPublishEnv": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn",
"prepack": "yarn withEmbedPublishEnv build && yarn packaged:tests",
"prepack": "yarn ../../../ lint --filter='@calcom/embed-react' && yarn withEmbedPublishEnv build && yarn packaged:tests",
"embed-web-start": "yarn workspace @calcom/web start",
"embed-dev": "yarn workspace @calcom/embed-react dev",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"main": "./dist/Cal.umd.js",
"module": "./dist/Cal.es.js",
"module": "./dist/Cal.es.mjs",
"types": "./dist/embed-react/src/index.d.ts",
"peerDependencies": {
"react": "^18.2.0",
@@ -38,7 +38,7 @@
],
"exports": {
".": {
"import": "./dist/Cal.es.js",
"import": "./dist/Cal.es.mjs",
"require": "./dist/Cal.umd.js"
}
},