Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 18, 2025

Closes #

What I did

Updated nx tooling to v22 and added cache invalidation for script changes. The upgrade removes deprecated useLegacyCache option and adds runtime script tracking to bust cache when files in scripts/ directory change.

Changes:

  • Upgraded nx, @nx/vite, @nx/workspace from 20.8.2 to 22.0.3
  • Removed useLegacyCache: false from nx.json (no longer supported in v22)
  • Added autoExit: true to tui config for better CI automation
  • Added runtime script-change tracking to sharedGlobals:
    "sharedGlobals": [
      "{workspaceRoot}/tsconfig.json",
      {
        "runtime": "cd .. && git ls-files scripts | sort | git hash-object --stdin-paths | git hash-object --stdin"
      }
    ]
  • Resolved merge conflicts with latest next branch (regenerated yarn.lock)

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

No manual testing required. Dependency upgrade with configuration changes that will be validated by existing CI workflows.

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 publish.yml --field pr=<PR_NUMBER>


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

yannbf and others added 30 commits October 9, 2025 16:30
- Introduced a `--fix` option to the script for automatically correcting parallelism counts in workflow files.
- Implemented logic to read and update parallelism values in the corresponding YAML files while preserving formatting and comments.
- Enhanced error messages to guide users on regenerating the main config file after fixes.
…com:storybookjs/storybook into yann/do-not-remove-used-types-csf-factories
- Replace Dockerfile-based Danger build with ghcr.io/danger/danger-js:13.0.5
- Dangerfile cleaned up (ESM, no execSync/lodash)
This reverts commit 709bbf1.
This reverts commit e36c039.
Build: Improve snapshots for some stories
jonniebigodes and others added 21 commits November 17, 2025 16:43
Docs: Fix grammar in the monorepo readme
Docs: Improve error statement on empty stories configuration
Vue: Cleanup comments in Vue templates
…ories

Docs: Fix broken links in Jest portable stories
Build: Remove local Danger Docker build and use ghcr.io runtime
…pes-csf-factories

CLI: In csf-factories codemod only remove types which are unused
…xtension and add new Dangerfile script for PR label checks
…xtension and add new Dangerfile script for PR label validation and title checks
…tension and add new Dangerfile script for PR label validation and title checks
Copilot AI changed the title [WIP] Update nx to version 22 and invalidate cache on script changes Build: Update nx to 22 and invalidate cache when scripts change Nov 18, 2025
Copilot AI requested a review from kasperpeulen November 18, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants