Skip to content

Commit

Permalink
Add consistent publish command and update versions to published versi…
Browse files Browse the repository at this point in the history
…on (calcom#3008)

* Add consistent publish command and update versions to published version

* v1.0.8

* Bump version to released version

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
  • Loading branch information
hariombalhara and PeerRich committed Jun 10, 2022
1 parent 65d8b2d commit 1f1e364
Show file tree
Hide file tree
Showing 4 changed files with 345 additions and 656 deletions.
9 changes: 5 additions & 4 deletions packages/embeds/embed-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@calcom/embed-core",
"version": "1.1.0",
"version": "1.1.2",
"description": "This is the vanilla JS core script that embeds Cal Link",
"main": "./dist/embed/embed.js",
"types": "./dist/index.d.ts",
Expand All @@ -27,7 +27,8 @@
"embed-tests": "yarn playwright test --config=playwright/config/playwright.config.ts",
"embed-tests-quick": "QUICK=true yarn embed-tests",
"embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",
"prepare": "NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build"
"prepare": "NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build",
"publish-prod:patch": "yarn publish --access public --patch"
},
"files": [
"dist"
Expand All @@ -43,9 +44,9 @@
"autoprefixer": "^10.4.7",
"eslint": "^8.15.0",
"postcss": "^8.4.13",
"vite": "^2.9.9",
"tailwindcss": "^3.0.24",
"typescript": "^4.6.4"
"typescript": "^4.6.4",
"vite": "^2.9.9"
},
"dependencies": {}
}
15 changes: 7 additions & 8 deletions packages/embeds/embed-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@calcom/embed-react",
"version": "1.0.6",
"version": "1.0.9",
"description": "Embed Cal Link as a React Component",
"license": "SEE LICENSE IN LICENSE",
"repository": {
Expand All @@ -17,11 +17,10 @@
"lint": "eslint --ext .ts,.js,.tsx,.jsx ./src",
"embed-tests": "yarn playwright test --config=./playwright/config/playwright.config.ts",
"embed-tests-quick": "QUICK=true yarn embed-tests",
"publish-prod": "npm version patch && npm publish --access public",
"publish-beta": "npm version prepatch && npm publish --access public --tag beta",
"embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",
"embed-web-start": "yarn workspace @calcom/web start",
"embed-dev": "yarn workspace @calcom/embed-react dev"
"embed-dev": "yarn workspace @calcom/embed-react dev",
"publish-prod:patch": "yarn publish --access public --patch"
},
"main": "./dist/Cal.umd.js",
"module": "./dist/Cal.es.js",
Expand All @@ -44,12 +43,12 @@
"@types/react-dom": "18.0.4",
"@vitejs/plugin-react": "^1.3.2",
"eslint": "^8.15.0",
"vite": "^2.9.9",
"playwright": "^1.22.1",
"typescript": "^4.6.4"
"typescript": "^4.6.4",
"vite": "^2.9.9"
},
"dependencies": {
"@calcom/embed-snippet": "1.0.1",
"@calcom/embed-core": "1.1.0"
"@calcom/embed-core": "^1.1.0",
"@calcom/embed-snippet": "^1.0.1"
}
}
5 changes: 3 additions & 2 deletions packages/embeds/embed-snippet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@calcom/embed-snippet",
"version": "1.0.1",
"version": "1.0.4",
"main": "./dist/snippet.umd.js",
"module": "./dist/snippet.es.js",
"description": "Vanilla JS embed snippet that is responsible to fetch @calcom/embed-core and thus show Cal Link as an embed on a page.",
Expand All @@ -14,7 +14,8 @@
"build": "vite build && tsc --emitDeclarationOnly --declarationDir dist",
"type-check": "tsc --pretty --noEmit",
"lint": "eslint --ext .ts,.js src",
"prepare": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build"
"prepare": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build",
"publish-prod:patch": "yarn publish --access public --patch"
},
"files": [
"dist"
Expand Down

0 comments on commit 1f1e364

Please sign in to comment.