fix: update all non-major dependencies - #580
Merged
Merged
Conversation
The jest 30.4.2 -> 30.5.1 bump in this branch pulls in @parcel/watcher
via jest-haste-map. pnpm 11 hard-errors on any package whose build
scripts it has not been told to run, so `pnpm install --frozen-lockfile`
fails the Verify Code check with:
[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: @parcel/watcher@2.6.0
Add it to both lists for the same reason the existing entries are in
both: pnpm 11 reads allowBuilds, pnpm 10 reads onlyBuiltDependencies,
and contributors may still be on 10.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019dUo24dvyCizU9GbU9dTww
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This does the same dependency updates as #575, plus a one-line config fix that makes the build pass. Open this instead of #575.
Why #575 is stuck
#575 bumps jest from 30.4.2 to 30.5.1. That new version of jest depends on a package called
@parcel/watcher, which runs a build script when it installs.We use pnpm 11. pnpm 11 refuses to run a package's build script unless you have listed that package as allowed. If it finds one that isn't listed, it stops with an error instead of just warning you. So
pnpm installfails and the Verify Code check goes red:Renovate will not merge a pull request whose checks are failing, so #575 has been sitting there.
The fix
Add
@parcel/watcherto the allow lists inpnpm-workspace.yaml:It goes in both lists because the two lists are for two different pnpm versions. pnpm 11 reads
allowBuilds. pnpm 10 reads the olderonlyBuiltDependencies. Listing it twice means someone still running pnpm 10 locally gets the same result as CI. The existing entries follow the same pattern.How I checked
Ran
pnpm verifylocally on this branch using pnpm 11, the same version CI uses:@parcel/watcherbuilt.Before the fix, the same command failed at the install step with the error above.
One thing to know
I have not changed anything about how
@parcel/watcheris used. Nothing imports it directly. Jest pulls it in for watch mode. Allowing its build script only lets it compile its native helper during install, which is what it already does in every other project that uses jest.After this merges
Close #575. Renovate will see the dependencies are already up to date and will not reopen it.
🤖 Generated with Claude Code
https://claude.ai/code/session_019dUo24dvyCizU9GbU9dTww