-
Notifications
You must be signed in to change notification settings - Fork 607
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
[rush] Add support for PNPM's --strict-peer-dependencies feature #817
Conversation
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.
Approved
// @public | ||
class PnpmOptionsConfiguration { | ||
// WARNING: The type "IPnpmOptionsJson" needs to be exported by the package (e.g. added to index.ts) | ||
// @internal |
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.
internal [](start = 6, length = 8)
@Private ? #WontFix
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.
Good idea. But this is an API Extractor feature request that's out of scope for this PR.
In reply to: 216065927 [](ancestors = 216065927)
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.
@patmill FYI |
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.
🕐
eead140
to
fe57944
Compare
We recently got broken again by unsatisfied peer dependencies. PNPM prints a warning, but everyone ignored this warning because it was buried under a bunch of other warnings.
The GitHub issue pnpm/pnpm#1142 was resolved in PNPM 2.15.0. This PR adds a Rush configuration option to enable this feature.
To enable this validation in your repo, add this to your
rush.json
file: