Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stable annotations #203

Merged
merged 5 commits into from
Jun 20, 2022
Merged

Stable annotations #203

merged 5 commits into from
Jun 20, 2022

Conversation

pomber
Copy link
Contributor

@pomber pomber commented Jun 20, 2022 β€’

Fix #118

πŸ“¦ Published PR as canary version: 0.6.1--canary.203.603da42.0

✨ Test out this PR locally via:

npm install @code-hike/mdx@0.6.1--canary.203.603da42.0
# or 
yarn add @code-hike/mdx@0.6.1--canary.203.603da42.0

Version

Published prerelease version: v0.6.1-next.0

Changelog

πŸ› Bug Fix

Authors: 1

pomber added 3 commits June 19, 2022 00:08

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
@pomber pomber added patch release PR created automatically for new releases labels Jun 20, 2022
@vercel
Copy link

vercel bot commented Jun 20, 2022 β€’

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated
chtest βœ… Ready (Inspect) Visit Preview Jun 20, 2022 at 5:29PM (UTC)
playground βœ… Ready (Inspect) Visit Preview Jun 20, 2022 at 5:29PM (UTC)

@vercel vercel bot temporarily deployed to Preview – playground June 20, 2022 16:40 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest June 20, 2022 16:41 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Jun 20, 2022 β€’

πŸ“¦ Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action πŸ€–

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 71.77 KB (🟑 +26 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!

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)
/just-code 32.06 KB 103.84 KB 29.67% (🟑 +0.01%)
/scrollycoding-preview 35.16 KB 106.93 KB 30.55% (🟑 +0.01%)
/spotlight 32.64 KB 104.42 KB 29.83% (🟑 +0.02%)
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.

@vercel vercel bot temporarily deployed to Preview – chtest June 20, 2022 17:20 Inactive
@pomber
Copy link
Contributor Author

pomber commented Jun 20, 2022

Fix #168

@vercel vercel bot temporarily deployed to Preview – playground June 20, 2022 17:21 Inactive
@vercel vercel bot temporarily deployed to Preview – chtest June 20, 2022 17:28 Inactive
@vercel vercel bot temporarily deployed to Preview – playground June 20, 2022 17:29 Inactive
@pomber pomber merged commit b29057f into next Jun 20, 2022
@pomber pomber deleted the stable-annotations branch June 20, 2022 17:31
@github-actions
Copy link
Contributor

πŸš€ PR was released in v0.6.1 πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release PR created automatically for new releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[mdx] Better errors for annotations
1 participant