cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Add changesets/cli to release embed

Open hariombalhara opened this issue 2 years ago • 10 comments

What does this PR do?

Closes #8196

  • [x] Adds changesets to publish embed packages
  • [x] Publish packages using changesets

To publish the packages. Following commands should be run at the root.

  1. yarn changeset -> Creates changelog files and adds summary to changelog.
  2. yarn changeset version -> Bumps the versions as required
  3. yarn publish-embed -> Releases all packages

Follow up

  • Automate tagging and releasing npm packages

Environment: Staging(main branch) / Production

Type of change

  • Chore (refactoring code, technical debt, workflow improvements)

hariombalhara avatar Apr 06 '23 15:04 hariombalhara

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cal ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 12, 2023 4:13pm
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 12, 2023 4:13pm
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 12, 2023 4:13pm

vercel[bot] avatar Apr 06 '23 15:04 vercel[bot]

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Three Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/apps/[slug]/[...pages] 456.81 KB 607.72 KB 173.63% (🟡 +0.17%)
/auth/setup 174.8 KB 325.71 KB 93.06% (🟡 +0.16%)
/event-types/[type] 468.75 KB 619.66 KB 177.05% (🟡 +0.19%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/-

github-actions[bot] avatar Apr 06 '23 15:04 github-actions[bot]

Current Playwright Test Results Summary

✅ 112 Passing - ⚠️ 2 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 05/12/2023 04:18:52pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: aab0ce384d9dc50fd1486c389679a9a730e4f4d5

Started: 05/12/2023 04:09:39pm UTC

⚠️ Flakes

📄   apps/web/playwright/booking-seats.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking with Seats -- new-booker Reschedule for booking with seats -- old-booker Should reschedule booking with seats and if everyone rescheduled it should be deleted
Retry 1Initial Attempt
0% (0) 0 / 345 runs
failed over last 7 days
48.99% (169) 169 / 345 runs
flaked over last 7 days
Booking with Seats -- old-booker Reschedule for booking with seats -- new-booker Should reschedule booking with seats and if everyone rescheduled it should be deleted
Retry 2Retry 1Initial Attempt
0% (0) 0 / 343 runs
failed over last 7 days
13.99% (48) 48 / 343 runs
flaked over last 7 days

View Detailed Build Results


deploysentinel[bot] avatar Apr 06 '23 15:04 deploysentinel[bot]

No dependency changes detected. Learn more about Socket for GitHub ↗︎


👍 No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

Pull request alert summary
Issue Status
Install scripts ✅ 0 issues
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues

socket-security[bot] avatar Apr 12 '23 14:04 socket-security[bot]

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Two Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/apps/[slug]/[...pages] 387.8 KB 620.6 KB 177.31% (🟡 +0.15%)
/auth/setup 80.87 KB 313.67 KB 89.62% (🟡 +0.19%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/-

github-actions[bot] avatar Apr 12 '23 14:04 github-actions[bot]

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Two Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/apps/[slug]/[...pages] 387.8 KB 620.6 KB 177.31% (🟡 +0.15%)
/auth/setup 80.87 KB 313.67 KB 89.62% (🟡 +0.19%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/-

github-actions[bot] avatar Apr 12 '23 14:04 github-actions[bot]

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 232.8 KB (🟡 +1.77 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Sixty-three Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/[user] 69.03 KB 301.83 KB 86.24% (🟢 -0.61%)
/[user]/[type] 91.17 KB 323.97 KB 92.56% (🟢 -0.87%)
/[user]/[type]/embed 91.19 KB 324 KB 92.57% (🟢 -0.87%)
/[user]/book 183.09 KB 415.89 KB 118.83% (🟢 -1.47%)
/[user]/embed 69.09 KB 301.9 KB 86.26% (🟢 -0.62%)
/apps 161.05 KB 393.85 KB 112.53% (🟢 -0.47%)
/apps/[slug] 182.66 KB 415.46 KB 118.70% (🟢 -0.45%)
/apps/[slug]/[...pages] 387.8 KB 620.6 KB 177.31% (🟢 -0.37%)
/apps/categories 144.09 KB 376.89 KB 107.68% (🟢 -0.48%)
/apps/categories/[category] 147.71 KB 380.51 KB 108.72% (🟢 -0.44%)
/apps/installed/[category] 191.04 KB 423.84 KB 121.10% (🟢 -0.43%)
/auth/forgot-password 25.69 KB 258.49 KB 73.85% (🟢 -0.25%)
/auth/forgot-password/[id] 32.9 KB 265.7 KB 75.91% (🟢 -0.26%)
/auth/login 40.23 KB 273.03 KB 78.01% (🟢 -0.40%)
/auth/setup 80.87 KB 313.67 KB 89.62% (🟢 -0.36%)
/availability 149.62 KB 382.42 KB 109.26% (🟢 -0.44%)
/availability/[schedule] 263.26 KB 496.06 KB 141.73% (🟢 -0.47%)
/availability/troubleshoot 144.78 KB 377.58 KB 107.88% (🟢 -0.49%)
/booking/[uid] 122.92 KB 355.72 KB 101.63% (🟢 -0.61%)
/bookings/[status] 283.95 KB 516.75 KB 147.64% (🟢 -1.02%)
/d/[link]/[slug] 90.8 KB 323.6 KB 92.46% (🟢 -0.88%)
/d/[link]/[slug]/embed 90.84 KB 323.64 KB 92.47% (🟢 -0.88%)
/d/[link]/book 182.74 KB 415.54 KB 118.73% (🟢 -1.47%)
/event-types 344.17 KB 576.97 KB 164.85% (🟢 -1.25%)
/event-types/[type] 378.29 KB 611.09 KB 174.60% (🟢 -2.05%)
/getting-started/[[...step]] 303.58 KB 536.38 KB 153.25% (🟢 -0.49%)
/insights 380.22 KB 613.02 KB 175.15% (🟢 -0.48%)
/more 143.72 KB 376.52 KB 107.58% (🟢 -0.49%)
/settings/admin 149.17 KB 381.97 KB 109.13% (🟢 -0.47%)
/settings/admin/apps 160.59 KB 393.39 KB 112.40% (🟢 -0.46%)
/settings/admin/apps/[category] 160.58 KB 393.38 KB 112.39% (🟢 -0.45%)
/settings/admin/flags 152.11 KB 384.91 KB 109.97% (🟢 -0.51%)
/settings/admin/impersonation 149.45 KB 382.25 KB 109.22% (🟢 -0.48%)
/settings/billing 149.29 KB 382.09 KB 109.17% (🟢 -0.48%)
/settings/developer/api-keys 178.41 KB 411.21 KB 117.49% (🟢 -0.46%)
/settings/developer/webhooks 151.93 KB 384.73 KB 109.92% (🟢 -0.47%)
/settings/developer/webhooks/[id] 182.55 KB 415.35 KB 118.67% (🟢 -0.49%)
/settings/developer/webhooks/new 182.41 KB 415.21 KB 118.63% (🟢 -0.49%)
/settings/my-account/appearance 163.92 KB 396.72 KB 113.35% (🟢 -0.48%)
/settings/my-account/calendars 183.46 KB 416.26 KB 118.93% (🟢 -0.48%)
/settings/my-account/conferencing 155.08 KB 387.88 KB 110.82% (🟢 -0.43%)
/settings/my-account/general 258.27 KB 491.07 KB 140.31% (🟢 -0.49%)
/settings/my-account/profile 266.75 KB 499.55 KB 142.73% (🟢 -0.58%)
/settings/security/impersonation 151.29 KB 384.09 KB 109.74% (🟢 -0.48%)
/settings/security/password 186.9 KB 419.71 KB 119.92% (🟢 -1.00%)
/settings/security/sso 159.01 KB 391.81 KB 111.94% (🟢 -0.47%)
/settings/security/two-factor-auth 153.81 KB 386.62 KB 110.46% (🟢 -0.48%)
/settings/teams 148.92 KB 381.72 KB 109.06% (🟢 -0.48%)
/settings/teams/[id]/appearance 163.77 KB 396.57 KB 113.31% (🟢 -0.48%)
/settings/teams/[id]/billing 149.16 KB 381.96 KB 109.13% (🟢 -0.48%)
/settings/teams/[id]/members 289.85 KB 522.65 KB 149.33% (🟢 -0.47%)
/settings/teams/[id]/onboard-members 50.05 KB 282.86 KB 80.82% (🟢 -0.31%)
/settings/teams/[id]/profile 261.44 KB 494.24 KB 141.21% (🟢 -0.57%)
/settings/teams/[id]/sso 159.1 KB 391.9 KB 111.97% (🟢 -0.48%)
/signup 25.61 KB 258.41 KB 73.83% (🟢 -0.26%)
/team/[slug] 106.05 KB 338.85 KB 96.81% (🟢 -0.83%)
/team/[slug]/[type] 90.8 KB 323.61 KB 92.46% (🟢 -0.88%)
/team/[slug]/[type]/embed 90.84 KB 323.64 KB 92.47% (🟢 -0.88%)
/team/[slug]/book 182.74 KB 415.54 KB 118.73% (🟢 -1.47%)
/team/[slug]/embed 106.11 KB 338.92 KB 96.83% (🟢 -0.83%)
/teams 143.96 KB 376.76 KB 107.65% (🟢 -0.44%)
/workflows 156.92 KB 389.72 KB 111.35% (🟢 -0.49%)
/workflows/[workflow] 286.82 KB 519.62 KB 148.46% (🟢 -1.06%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/-

github-actions[bot] avatar Apr 13 '23 05:04 github-actions[bot]

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 232.8 KB (🟡 +1.53 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Sixty-four Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/[user] 69.03 KB 301.83 KB 86.24% (🟢 -0.62%)
/[user]/[type] 91.17 KB 323.97 KB 92.56% (🟢 -5.91%)
/[user]/[type]/embed 91.19 KB 323.99 KB 92.57% (🟢 -5.91%)
/[user]/book 183.09 KB 415.89 KB 118.83% (🟢 -1.66%)
/[user]/embed 69.09 KB 301.89 KB 86.26% (🟢 -0.63%)
/apps 161.05 KB 393.85 KB 112.53% (🟢 -0.48%)
/apps/[slug] 182.66 KB 415.46 KB 118.70% (🟢 -0.46%)
/apps/[slug]/[...pages] 387.8 KB 620.6 KB 177.31% (🟢 -0.34%)
/apps/categories 144.09 KB 376.89 KB 107.68% (🟢 -0.49%)
/apps/categories/[category] 147.71 KB 380.5 KB 108.72% (🟢 -0.46%)
/apps/installed/[category] 191.04 KB 423.84 KB 121.10% (🟢 -0.45%)
/auth/forgot-password 25.69 KB 258.49 KB 73.85% (🟢 -0.28%)
/auth/forgot-password/[id] 32.9 KB 265.7 KB 75.91% (🟢 -0.29%)
/auth/login 40.23 KB 273.03 KB 78.01% (🟢 -0.41%)
/auth/setup 80.87 KB 313.67 KB 89.62% (🟢 -0.20%)
/availability 149.62 KB 382.42 KB 109.26% (🟢 -0.45%)
/availability/[schedule] 263.26 KB 496.06 KB 141.73% (🟢 -0.49%)
/availability/troubleshoot 144.78 KB 377.58 KB 107.88% (🟢 -0.50%)
/booking/[uid] 122.92 KB 355.72 KB 101.63% (🟢 -0.65%)
/bookings/[status] 283.95 KB 516.75 KB 147.64% (🟢 -1.12%)
/d/[link]/[slug] 90.8 KB 323.6 KB 92.46% (🟢 -5.92%)
/d/[link]/[slug]/embed 90.84 KB 323.64 KB 92.47% (🟢 -5.92%)
/d/[link]/book 182.74 KB 415.54 KB 118.73% (🟢 -1.66%)
/event-types 344.17 KB 576.97 KB 164.85% (🟢 -1.26%)
/event-types/[type] 378.29 KB 611.09 KB 174.60% (🟢 -2.05%)
/getting-started/[[...step]] 303.58 KB 536.38 KB 153.25% (🟢 -0.49%)
/insights 380.22 KB 613.02 KB 175.15% (🟢 -0.49%)
/more 143.72 KB 376.52 KB 107.58% (🟢 -0.50%)
/settings/admin 149.17 KB 381.97 KB 109.13% (🟢 -0.49%)
/settings/admin/apps 160.59 KB 393.39 KB 112.40% (🟢 -0.39%)
/settings/admin/apps/[category] 160.58 KB 393.38 KB 112.39% (🟢 -0.38%)
/settings/admin/flags 152.11 KB 384.91 KB 109.97% (🟢 -0.52%)
/settings/admin/impersonation 149.45 KB 382.25 KB 109.22% (🟢 -0.50%)
/settings/billing 149.29 KB 382.08 KB 109.17% (🟢 -0.50%)
/settings/developer/api-keys 178.41 KB 411.21 KB 117.49% (🟢 -0.48%)
/settings/developer/webhooks 151.93 KB 384.73 KB 109.92% (🟢 -0.48%)
/settings/developer/webhooks/[id] 182.55 KB 415.35 KB 118.67% (🟢 -0.51%)
/settings/developer/webhooks/new 182.41 KB 415.21 KB 118.63% (🟢 -0.51%)
/settings/my-account/appearance 163.92 KB 396.72 KB 113.35% (🟢 -0.49%)
/settings/my-account/calendars 183.46 KB 416.26 KB 118.93% (🟢 -0.49%)
/settings/my-account/conferencing 155.08 KB 387.88 KB 110.82% (🟢 -0.44%)
/settings/my-account/general 258.27 KB 491.07 KB 140.31% (🟢 -0.50%)
/settings/my-account/profile 266.75 KB 499.55 KB 142.73% (🟢 -0.60%)
/settings/security/impersonation 151.29 KB 384.09 KB 109.74% (🟢 -0.50%)
/settings/security/password 186.9 KB 419.7 KB 119.92% (🟢 -1.02%)
/settings/security/sso 159.01 KB 391.81 KB 111.94% (🟢 -0.49%)
/settings/security/two-factor-auth 153.81 KB 386.61 KB 110.46% (🟢 -0.49%)
/settings/teams 148.92 KB 381.72 KB 109.06% (🟢 -0.49%)
/settings/teams/[id]/appearance 163.77 KB 396.57 KB 113.31% (🟢 -0.49%)
/settings/teams/[id]/billing 149.16 KB 381.96 KB 109.13% (🟢 -0.49%)
/settings/teams/[id]/members 289.85 KB 522.65 KB 149.33% (🟢 -0.49%)
/settings/teams/[id]/onboard-members 50.05 KB 282.85 KB 80.82% (🟢 -0.30%)
/settings/teams/[id]/profile 261.44 KB 494.24 KB 141.21% (🟢 -0.59%)
/settings/teams/[id]/sso 159.1 KB 391.9 KB 111.97% (🟢 -0.49%)
/signup 25.61 KB 258.41 KB 73.83% (🟢 -0.27%)
/team/[slug] 106.05 KB 338.85 KB 96.81% (🟢 -0.84%)
/team/[slug]/[type] 90.8 KB 323.6 KB 92.46% (🟢 -5.92%)
/team/[slug]/[type]/embed 90.84 KB 323.64 KB 92.47% (🟢 -5.92%)
/team/[slug]/book 182.74 KB 415.54 KB 118.73% (🟢 -1.66%)
/team/[slug]/embed 106.11 KB 338.91 KB 96.83% (🟢 -0.84%)
/teams 143.96 KB 376.76 KB 107.65% (🟢 -0.46%)
/video/[uid] 43.66 KB 276.46 KB 78.99% (🟢 -3.27%)
/workflows 156.92 KB 389.72 KB 111.35% (🟢 -0.51%)
/workflows/[workflow] 286.82 KB 519.62 KB 148.46% (🟢 -1.08%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/-

github-actions[bot] avatar Apr 14 '23 10:04 github-actions[bot]

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar May 04 '23 00:05 github-actions[bot]

Tagging you @zomars, so that it doesn't stay stale.

hariombalhara avatar May 09 '23 16:05 hariombalhara