Add support for the workspace protocol
See original GitHub issueAffected Packages
Problem
Both pnpm and Yarn v2 support workspace ranges.
When I ran changeset status
on the pnpm monorepo, I got lots of the following errors:
Package "@pnpm/tarball-fetcher" must depend on the current version of "@pnpm/error": "1.2.0" vs "workspace:1.2.0"
Workspace ranges are really useful in monorepos, so I think it is crucial to support them. And it shouldn’t be hard to support. You could probably just strip the workspace:
part. Only workspace:*
is a special case. Before publish, it is replaced with the current version present in the monorepo.
Proposed solution
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Add support for the workspace protocol · Issue #307 - GitHub
Workspace ranges are really useful in monorepos, so I think it is crucial to support them. And it shouldn't be hard to support....
Read more >Protocols for Amazon WorkSpaces
Learn about the features of the two protocols supported by Amazon WorkSpaces: PCoIP and WorkSpaces Streaming Protocol (WSP).
Read more >Workspace | pnpm
Workspace. pnpm has built-in support for monorepositories (AKA multi-package repositories, multi-project repositories, or monolithic repositories).
Read more >Workshop Studio - Getting Started with Amazon WorkSpaces
Amazon WorkSpaces supports two protocols: PCoIP and WorkSpaces Streaming Protocol (WSP). The protocol that you choose depends on several factors, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll take a look into adding support for this in the following days.
I don’t think so. This was added by @arcanis to Yarn, I liked the idea and implemented the same in pnpm.