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

fix: pnpm link --global <pkg> should not change the type of the dependency #5512

Merged
merged 5 commits into from Oct 19, 2022

Conversation

lvqq
Copy link
Member

@lvqq lvqq commented Oct 17, 2022

Close #5478

@lvqq lvqq requested a review from zkochan as a code owner October 17, 2022 22:16
@lvqq lvqq force-pushed the fix-link-global-dependency branch from dc818ed to d6471f6 Compare October 17, 2022 23:33
@lvqq lvqq force-pushed the fix-link-global-dependency branch from d6471f6 to 6fb896b Compare October 18, 2022 00:30
@@ -1,5 +1,7 @@
export type DependenciesField = 'optionalDependencies' | 'dependencies' | 'devDependencies'

export type DependenciesManifestField = DependenciesField | 'peerDependencies'
Copy link
Member

Choose a reason for hiding this comment

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

This name doesn't make sense. Maybe rename it to DependenciesAndPeersField

@zkochan zkochan merged commit 844e82f into pnpm:main Oct 19, 2022
@Anoesj
Copy link

Anoesj commented Oct 20, 2022

❤️

@zkochan zkochan added this to the v7.13 milestone Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pnpm link --global <pkg> turns devDependency into dependency
3 participants