Skip to content
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 warning when using globalIgnoredOptionalDependencies in < pnpm 9.0.0 #5001

Conversation

witcher112
Copy link
Contributor

Summary

"globalIgnoredOptionalDependencies" doesn't work if Rush monorepo is not configured with pnpm 9+.

Details

I've added mentions about it in the schema and a warning during rush install/update.

image

How it was tested

Impacted documentation

https://rushjs.io/pages/configs/pnpm-config_json/

Copy link
Member

@iclanton iclanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be an error, not a warning. If someone configures something and that configuration isn't going to do anything, we usually error in that case.

witcher112 and others added 5 commits November 15, 2024 00:25
…endencies-pnpm-pre-9_2024-11-09-12-28.json

Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
@iclanton iclanton enabled auto-merge (squash) December 3, 2024 03:58
@iclanton iclanton merged commit 8f373ef into microsoft:main Dec 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants