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

[RRFC] Support for workspace: protocol (Yarn 2) #765

Open
tassoevan opened this issue Apr 20, 2021 · 4 comments
Open

[RRFC] Support for workspace: protocol (Yarn 2) #765

tassoevan opened this issue Apr 20, 2021 · 4 comments

Comments

@tassoevan
Copy link

What / Why

Yarn 2 has a special URL protocol for packages that should be resolved within workspaces: https://yarnpkg.com/features/workspaces#workspace-ranges-workspace
Maybe it is related to a bug on Lerna.

When

  • n/a

Where

  • n/a

How

Try to parse workspace:xyz

Current Behavior

  • Throws the error Unsupported URL Type "workspace:": workspace:xyz

Expected Behavior

  • Outputs the version described at xyz/package.json.

Who

  • n/a

References

  • n/a
@ljharb
Copy link
Contributor

ljharb commented Apr 20, 2021

I think you may want to file an RFC for this?

@isaacs
Copy link
Contributor

isaacs commented Jun 1, 2021

Yes, this needs to be an RFC. Most of the change will be in https://github.com/npm/arborist (for installing) and https://github.com/npm/libnpmpublish and https://github.com/npm/libnpmpack (for publishing).

@isaacs isaacs closed this as completed Jun 1, 2021
@joezappie
Copy link

I tried searching the npm/rfcs but couldn't find anything on this topic. Google brings you here when googling workspace protocol for npm. Does anyone have a link to where this is being tracked if it was submitted elsewhere?

@lukekarrys lukekarrys transferred this issue from npm/npm-package-arg Apr 3, 2024
@lukekarrys lukekarrys reopened this Apr 3, 2024
@lukekarrys
Copy link
Contributor

This has been reopened and transferred to the RFCs repo.

@lukekarrys lukekarrys changed the title [FEATURE] Support for workspace: protocol (Yarn 2) [RRF ] Support for workspace: protocol (Yarn 2) Apr 3, 2024
@lukekarrys lukekarrys changed the title [RRF ] Support for workspace: protocol (Yarn 2) [RRFC] Support for workspace: protocol (Yarn 2) Apr 3, 2024
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

No branches or pull requests

5 participants