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

Allow referring to local package version with workspace: prefix #520

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

bmish
Copy link
Owner

@bmish bmish commented Sep 7, 2022

Referring to a local package package1 in the workspace with version "workspace:*" for example is fine as long as any package in the workspace depending on package1 uses "workspace:*".

Currently, inconsistencies with "workspace:*" are not autofixed.

Fixes #387.

https://yarnpkg.com/features/workspaces#workspace-ranges-workspace

@bmish bmish added the bug Something isn't working label Sep 7, 2022
@bmish bmish merged commit 4a005e1 into master Sep 7, 2022
@bmish bmish deleted the workspace-prefix branch September 7, 2022 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not complain about use of version "workspace:^"
1 participant