"workspace:*"
vs "*"
in package.json
's dependencies
#7687
-
Summary
Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Answered by
anthonyshew
Mar 12, 2024
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
anthonyshew
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
workspace:*
is a protocol specific to pnpm and later versions of yarn to reference Internal Packages. It will never reach out to npm for a package with the name being asked for.*
means "any version" and can reference either External Dependencies or Internal Packages in npm and early yarn. This makes it's usage somewhat murky so your confusion is understandable.