Skip to content

What is difference between "@repo/math": "*" and "@repo/math": "workspace:^"? #9523

Closed Answered by anthonyshew
cjayyy asked this question in Help
Discussion options

You must be logged in to vote

They both do the same thing, but are for different Yarn versions. We show the * version in the docs because that's how Yarn 1 works, and way more Turborepo users use Yarn 1 compared to Yarn 2+.

For Yarn 1, you could also pin a version and update that as needed, but you'll notice it also doesn't have any workspace moniker in the docs: https://classic.yarnpkg.com/en/docs/workspaces

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anthonyshew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants