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

Build: Upgrade scripts dependencies #30182

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented Jan 3, 2025

What I did

  • upgrade script dependencies, removing the warning from chromatic that we use an out-dated version

Checklist for Contributors

Testing

The changes in this PR are covered in the following automated tests:

  • stories
  • unit tests
  • integration tests
  • end-to-end tests

Manual testing

This section is mandatory for all contributions. If you believe no manual test is necessary, please state so explicitly. Thanks!

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found in code/lib/cli-storybook/src/sandbox-templates.ts

  • Make sure this PR contains one of the labels below:

    Available labels
    • bug: Internal changes that fixes incorrect behavior.
    • maintenance: User-facing maintenance tasks.
    • dependencies: Upgrading (sometimes downgrading) dependencies.
    • build: Internal-facing build tooling & test updates. Will not show up in release changelog.
    • cleanup: Minor cleanup style change. Will not show up in release changelog.
    • documentation: Documentation only changes. Will not show up in release changelog.
    • feature request: Introducing a new feature.
    • BREAKING CHANGE: Changes that break compatibility in some way with current major version.
    • other: Changes that don't fit in the above categories.

🦋 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>

name before after diff z %
createSize 0 B 0 B 0 B - -
generateSize 77.8 MB 77.8 MB 0 B 1.47 0%
initSize 131 MB 131 MB 0 B -1 0%
diffSize 53 MB 53 MB 0 B -1 0%
buildSize 7.19 MB 7.19 MB 0 B -0.79 0%
buildSbAddonsSize 1.85 MB 1.85 MB 0 B -0.79 0%
buildSbCommonSize 195 kB 195 kB 0 B - 0%
buildSbManagerSize 1.87 MB 1.87 MB 0 B 0.55 0%
buildSbPreviewSize 0 B 0 B 0 B - -
buildStaticSize 0 B 0 B 0 B - -
buildPrebuildSize 3.91 MB 3.91 MB 0 B -0.79 0%
buildPreviewSize 3.28 MB 3.28 MB 0 B - 0%
testBuildSize 0 B 0 B 0 B - -
testBuildSbAddonsSize 0 B 0 B 0 B - -
testBuildSbCommonSize 0 B 0 B 0 B - -
testBuildSbManagerSize 0 B 0 B 0 B - -
testBuildSbPreviewSize 0 B 0 B 0 B - -
testBuildStaticSize 0 B 0 B 0 B - -
testBuildPrebuildSize 0 B 0 B 0 B - -
testBuildPreviewSize 0 B 0 B 0 B - -
name before after diff z %
createTime 18s 21.3s 3.3s 1.76 🔺15.7%
generateTime 19s 19.8s 750ms -0.18 3.8%
initTime 12.6s 12.8s 171ms -0.79 1.3%
buildTime 11.1s 8s -3s -120ms -1.14 -38.9%
testBuildTime 0ms 0ms 0ms - -
devPreviewResponsive 6.8s 4.8s -2s -55ms -0.62 -42.4%
devManagerResponsive 4.5s 3.6s -875ms -0.44 -23.8%
devManagerHeaderVisible 773ms 640ms -133ms -0.09 -20.8%
devManagerIndexVisible 800ms 669ms -131ms -0.09 -19.6%
devStoryVisibleUncached 3.8s 1.8s -2s -14ms -0.3 -107.9%
devStoryVisible 801ms 670ms -131ms -0.17 -19.6%
devAutodocsVisible 780ms 585ms -195ms 0 -33.3%
devMDXVisible 755ms 597ms -158ms 0.19 -26.5%
buildManagerHeaderVisible 716ms 579ms -137ms -0.49 -23.7%
buildManagerIndexVisible 843ms 675ms -168ms -0.42 -24.9%
buildStoryVisible 678ms 561ms -117ms -0.53 -20.9%
buildAutodocsVisible 629ms 526ms -103ms 0.16 -19.6%
buildMDXVisible 575ms 484ms -91ms -0.21 -18.8%

Greptile Summary

Updates script dependencies in Storybook, primarily upgrading the chromatic package from 11.5.5 to 11.20.2 to address outdated version warnings.

  • Upgrades chromatic from 11.5.5 to 11.20.2 in /scripts/package.json
  • Updates Node.js engine requirement to >=22.0.0
  • Specifies yarn package manager version to 4.4.0
  • Maintains all existing functionality while modernizing dependencies
  • No breaking changes or migration steps required

@ndelangen ndelangen changed the title Buikd: Upgrade scripts dependencies Build: Upgrade scripts dependencies Jan 3, 2025
@ndelangen ndelangen self-assigned this Jan 3, 2025
@ndelangen ndelangen added build Internal-facing build tooling & test updates ci:normal labels Jan 3, 2025
Copy link

nx-cloud bot commented Jan 3, 2025

View your CI Pipeline Execution ↗ for commit 78537d4.

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 38s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-03 12:45:58 UTC

@ndelangen ndelangen requested a review from JReinhold January 3, 2025 13:02
@ndelangen ndelangen marked this pull request as ready for review January 3, 2025 13:02
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Internal-facing build tooling & test updates ci:normal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant