Skip to content

upgrade nextjs to 13.2 version and replace @next/font for in built ne…#7440

Merged
zomars merged 5 commits intomainfrom
roae/upgrade-nextjs
Feb 28, 2023
Merged

upgrade nextjs to 13.2 version and replace @next/font for in built ne…#7440
zomars merged 5 commits intomainfrom
roae/upgrade-nextjs

Conversation

@roae
Copy link
Copy Markdown
Contributor

@roae roae commented Feb 28, 2023

What does this PR do?

Upgrade nextjs to 13.2 version and replace @next/font(deprecated) for in built next/font

@roae roae requested a review from a team February 28, 2023 20:39
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 28, 2023

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

Name Status Preview Comments Updated
cal ❌ Failed (Inspect) Feb 28, 2023 at 10:07PM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
ui ⬜️ Ignored (Inspect) Feb 28, 2023 at 10:07PM (UTC)

@zomars zomars requested review from a team February 28, 2023 21:56
@github-actions
Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 212.66 KB (🟢 -748 B)
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!

Seventy-five 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)
/404 8.02 KB 220.68 KB 63.05% (+/- <0.01%)
/500 5.77 KB 218.43 KB 62.41% (+/- <0.01%)
/[user] 109.45 KB 322.11 KB 92.03% (🟢 -0.06%)
/[user]/[type] 97.73 KB 310.39 KB 88.68% (🟢 -0.07%)
/[user]/[type]/embed 97.76 KB 310.42 KB 88.69% (🟢 -0.07%)
/[user]/book 156.99 KB 369.65 KB 105.62% (🟢 -0.11%)
/[user]/embed 109.51 KB 322.17 KB 92.05% (🟢 -0.06%)
/_error 36.56 KB 249.22 KB 71.21% (🟢 -0.03%)
/apps 166.7 KB 379.36 KB 108.39% (🟢 -0.11%)
/apps/[slug] 190.29 KB 402.95 KB 115.13% (🟢 -0.11%)
/apps/[slug]/[...pages] 388.27 KB 600.93 KB 171.69% (🟢 -0.14%)
/apps/categories 152.22 KB 364.88 KB 104.25% (🟢 -0.11%)
/apps/categories/[category] 155.5 KB 368.16 KB 105.19% (🟢 -0.11%)
/apps/installed/[category] 193.92 KB 406.58 KB 116.17% (🟢 -0.13%)
/auth/error 19.07 KB 231.73 KB 66.21% (🟢 -0.05%)
/auth/forgot-password 181.08 KB 393.74 KB 112.50% (🟢 -0.04%)
/auth/forgot-password/[id] 40.64 KB 253.3 KB 72.37% (🟢 -0.04%)
/auth/login 195.06 KB 407.73 KB 116.49% (🟢 -0.08%)
/auth/logout 7.4 KB 220.06 KB 62.88% (🟢 -0.01%)
/auth/setup 241.03 KB 453.69 KB 129.63% (🟢 -0.10%)
/auth/signin 475 B 213.13 KB 60.89% (+/- <0.01%)
/auth/verify 18.19 KB 230.85 KB 65.96% (🟢 -0.05%)
/availability 155.32 KB 367.98 KB 105.14% (🟢 -0.12%)
/availability/[schedule] 265.87 KB 478.53 KB 136.72% (🟢 -0.14%)
/availability/troubleshoot 152.91 KB 365.57 KB 104.45% (🟢 -0.11%)
/booking/[uid] 128.24 KB 340.9 KB 97.40% (🟢 -0.12%)
/bookings/[status] 261.95 KB 474.61 KB 135.60% (🟢 -0.13%)
/d/[link]/[slug] 97.38 KB 310.04 KB 88.58% (🟢 -0.07%)
/d/[link]/[slug]/embed 97.41 KB 310.07 KB 88.59% (🟢 -0.07%)
/d/[link]/book 156.65 KB 369.31 KB 105.52% (🟢 -0.11%)
/event-types 237.7 KB 450.36 KB 128.67% (🟢 -0.11%)
/event-types/[type] 265.79 KB 478.46 KB 136.70% (🟢 -0.13%)
/getting-started/[[...step]] 328.49 KB 541.15 KB 154.61% (🟢 -0.22%)
/maintenance 627 B 213.27 KB 60.94% (+/- <0.01%)
/more 151.85 KB 364.51 KB 104.15% (🟢 -0.11%)
/payment/[uid] 68.43 KB 281.09 KB 80.31% (🟢 -0.02%)
/settings/admin 156.7 KB 369.37 KB 105.53% (🟢 -0.10%)
/settings/admin/apps 189.37 KB 402.03 KB 114.86% (🟢 -0.11%)
/settings/admin/apps/[category] 189.35 KB 402.01 KB 114.86% (🟢 -0.11%)
/settings/admin/impersonation 156.99 KB 369.65 KB 105.61% (🟢 -0.10%)
/settings/billing 156.9 KB 369.56 KB 105.59% (🟢 -0.11%)
/settings/developer/api-keys 185.94 KB 398.6 KB 113.89% (🟢 -0.12%)
/settings/developer/webhooks 159.23 KB 371.89 KB 106.25% (🟢 -0.10%)
/settings/developer/webhooks/[id] 188.16 KB 400.82 KB 114.52% (🟢 -0.11%)
/settings/developer/webhooks/new 188.01 KB 400.67 KB 114.48% (🟢 -0.11%)
/settings/my-account/appearance 170.6 KB 383.26 KB 109.50% (🟢 -0.11%)
/settings/my-account/calendars 189.65 KB 402.31 KB 114.95% (🟢 -0.12%)
/settings/my-account/conferencing 161.2 KB 373.86 KB 106.82% (🟢 -0.11%)
/settings/my-account/general 261.52 KB 474.18 KB 135.48% (🟢 -0.13%)
/settings/my-account/profile 433.91 KB 646.57 KB 184.73% (🟢 -0.20%)
/settings/security/impersonation 158.81 KB 371.47 KB 106.13% (🟢 -0.10%)
/settings/security/password 327.76 KB 540.43 KB 154.41% (🟢 -0.11%)
/settings/security/sso 166.69 KB 379.35 KB 108.38% (🟢 -0.10%)
/settings/security/two-factor-auth 299.83 KB 512.49 KB 146.43% (🟢 -0.11%)
/settings/teams 156.45 KB 369.11 KB 105.46% (🟢 -0.11%)
/settings/teams/[id]/appearance 170.61 KB 383.27 KB 109.51% (🟢 -0.12%)
/settings/teams/[id]/billing 156.68 KB 369.34 KB 105.53% (🟢 -0.11%)
/settings/teams/[id]/members 292.24 KB 504.9 KB 144.26% (🟢 -0.15%)
/settings/teams/[id]/onboard-members 73.23 KB 285.89 KB 81.68% (🟢 -0.10%)
/settings/teams/[id]/profile 268.88 KB 481.54 KB 137.58% (🟢 -0.20%)
/settings/teams/[id]/sso 166.78 KB 379.44 KB 108.41% (🟢 -0.10%)
/settings/teams/new 112.05 KB 324.71 KB 92.77% (🟢 -0.10%)
/signup 25.19 KB 237.85 KB 67.96% (🟢 -0.04%)
/team/[slug] 112.65 KB 325.31 KB 92.95% (🟢 -0.07%)
/team/[slug]/[type] 97.38 KB 310.04 KB 88.58% (🟢 -0.07%)
/team/[slug]/[type]/embed 97.41 KB 310.07 KB 88.59% (🟢 -0.07%)
/team/[slug]/book 156.65 KB 369.31 KB 105.52% (🟢 -0.11%)
/team/[slug]/embed 112.72 KB 325.38 KB 92.97% (🟢 -0.07%)
/teams 151.92 KB 364.58 KB 104.17% (🟢 -0.11%)
/video/[uid] 34.65 KB 247.31 KB 70.66% (🟢 -0.06%)
/video/meeting-ended/[uid] 22.46 KB 235.12 KB 67.18% (🟢 -0.01%)
/video/meeting-not-started/[uid] 22.51 KB 235.17 KB 67.19% (+/- <0.01%)
/video/no-meeting-found 6.76 KB 219.42 KB 62.69% (+/- <0.01%)
/workflows 164.54 KB 377.2 KB 107.77% (🟢 -0.11%)
/workflows/[workflow] 292.28 KB 504.95 KB 144.27% (🟢 -0.20%)
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 "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@zomars zomars merged commit aa0a1fc into main Feb 28, 2023
@zomars zomars deleted the roae/upgrade-nextjs branch February 28, 2023 23:38
G3root pushed a commit that referenced this pull request Mar 2, 2023
#7440)

* upgrade nextjs to 13.2 version and replace @next/font for in built next/font

* Sync packages

* Update yarn.lock

* Updates edge configs

---------

Co-authored-by: zomars <zomars@me.com>
@emrysal emrysal mentioned this pull request Mar 4, 2023
dmkav pushed a commit to join-com/cal-com that referenced this pull request Mar 6, 2023
calcom#7440)

* upgrade nextjs to 13.2 version and replace @next/font for in built next/font

* Sync packages

* Update yarn.lock

* Updates edge configs

---------

Co-authored-by: zomars <zomars@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants