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

Yarn 1.x: Parse package.json to gather workspace metadata #630

Open
taylormadore opened this issue Sep 4, 2024 · 0 comments
Open

Yarn 1.x: Parse package.json to gather workspace metadata #630

taylormadore opened this issue Sep 4, 2024 · 0 comments
Labels
yarn Pull requests/issues related to our yarn handling module

Comments

@taylormadore
Copy link
Contributor

taylormadore commented Sep 4, 2024

Yarn 1.x yarn.lock files usually do not contain metadata for workspaces, so they will need to be parsed from package.json. Some inspiration for this change may be found in Cachito's yarn module.

Some examples of how workspaces are specified and under what conditions they are added to the lockfile can be found here: https://github.com/cachito-testing/cachito-yarn-workspaces

Acceptance criteria

  • Workspace dependency metadata is parsed from package.json into dataclasses
  • Adapt the cachito integration test for yarn workspaces
  • Ensure that path dependencies leading outside the repo are detected and an exception is raised
@taylormadore taylormadore added the yarn Pull requests/issues related to our yarn handling module label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
yarn Pull requests/issues related to our yarn handling module
Projects
None yet
Development

No branches or pull requests

1 participant