-
Notifications
You must be signed in to change notification settings - Fork 815
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
Update pnpm to v10 #41821
Merged
Merged
Update pnpm to v10 #41821
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
fce782f
Update pnpm to v10
renovate-bot 939d785
Bump monorepo version reqs
tbradsha ac3c8ef
pnpm link is always global now
tbradsha 9680549
Add new options to config
tbradsha 38499cf
Allow install scripts for specific dependencies
tbradsha 867dbda
Set ignoredBuiltDependencies instead
tbradsha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,12 +35,19 @@ | |
}, | ||
"engines": { | ||
"node": "^22.9.0", | ||
"pnpm": "^9.15.0" | ||
"pnpm": "^10.4.0" | ||
}, | ||
"packageManager": "pnpm@9.15.0", | ||
"packageManager": "pnpm@10.4.0", | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"@wordpress/dataviews": ".pnpm-patches/@[email protected]" | ||
} | ||
}, | ||
"onlyBuiltDependencies": [ | ||
"@swc/core", | ||
"core-js", | ||
"esbuild", | ||
"svelte-preprocess", | ||
"swiper" | ||
] | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we don't seem to actually need any of these, I might do
instead. At the least we might drop
core-js
,svlte-preprocess
, andswiper
in there since their builds do nothing useful.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I was hoping to do this, but when I ran it locally (with either
ignoredBuiltDependencies
orneverBuiltDependencies
) I was still getting theERR_PNPM_IGNORED_BUILDS
error, and I didn't see any support for overrides in a brief skim of the source (pnpm/pnpm#9071). Does it work for you? 🤔There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, seems to work for me with
ignoredBuiltDependencies
and 10.4.0 or 10.4.1.I had a typo earlier, copied from a typo in https://github.com/pnpm/pnpm/releases/tag/v10.4.1 😀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it was my end (surprise!); clearing
node_modules
fixed it.