Repository navigation
chore(deps): update syncpack to v15 and migrate its config - #1528
Merged
Merged
Conversation
syncpack 15 rejects the dependencyTypes, filter, semverRange and
workspace keys and has no default command, so:
- .syncpackrc.js drops the four keys; peerDependencies and the versions
of local packages, the two types the old dependencyTypes list left
out, are ignored by a version group instead.
- source names package.json, packages/*/package.json and
website/package.json: syncpack 15 finds no package through the
'./'-prefixed globs of package.json#workspaces, and these are the
manifests syncpack 11 read from them.
- sp:check runs `syncpack lint`, sp:fix runs `syncpack fix` in place of
fix-mismatches and sp:list runs `syncpack list`.
The lockfile was rebuilt with pnpm 9.15.9 (`pnpm install
--ignore-scripts` after changing the range): it adds syncpack 15.3.3
and its eight platform packages and drops the 27 packages only
syncpack 11.2.1 used, minimatch 9.0.3 among them.
Publish dates (npm): syncpack 15.3.3 2026-08-09T11:31:55Z;
syncpack-{darwin-arm64,darwin-x64,linux-arm64,linux-arm64-musl,
linux-x64,linux-x64-musl,windows-arm64,windows-x64} 15.3.3
2026-08-09T11:28Z to 11:30Z.
The label added for the ignored dependency types was one line over the print width, so prettier --check failed on .syncpackrc.js (the base file passes). pnpm lint does not report it because eslint skips dotfiles.
|
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.
Summary
syncpack goes from
^11.2.1to^15.3.3(published on 2026-08-09), and its config and the foursp:*scripts move to what syncpack 15 reads. Only these three files change.syncpackranlistin 11.2.1;sp:checkis nowsyncpack lint, still run bycheck:alland the pre-commit hook../packages/*and./websitepatterns inworkspaces, so withoutsourcethe check shrinks to the root manifest (42 instances, not 137).dependencyTypeslist did. Without it a clean tree fails on5x react(>=16against^16.14.0).Evidence
On scratch copies of the base and the branch, with Node 24.22.0 and pnpm 9.15.9:
pnpm sp:checkexits 0 on the branch (✓ No issues found, no config warning), as the base command does on the base.@babel/core^7.20.0inwebsite/package.jsonmakes both exit 1 and name@babel/core. A peer mismatch is reported by neither.pnpm install --frozen-lockfile --ignore-scriptsexits 0.syncpackentry; no other key changes, andminimatch@9.0.3is gone.sortAz,sortFirst,indentand the webpack4 version group equal the base.Left out
examples/is read by neither the base nor the branch; adding it tosourcereports six old mismatches under both versions.sp:listnow prints all 93 dependencies, wherelist-mismatchesprinted only mismatches.syncpack lintis the documented replacement but would duplicatesp:check.sp:formatleaves the same diff on a clean checkout of the base and of the branch (two reordered keys in the root manifest andpackages/postcss-linaria/package.json). Not fixed here.Not verified
masterat 1f2df81.