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

Add support for dependencies using local paths #345

Open
ddzz opened this issue Feb 9, 2022 · 2 comments
Open

Add support for dependencies using local paths #345

ddzz opened this issue Feb 9, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ddzz
Copy link
Collaborator

ddzz commented Feb 9, 2022

CDVC reports inconsistencies for the following local dependencies:

{
  "name": "@scope1/package1",
  "dependencies": {
    "foo": "file:./my-local-package"
  }
}
{
  "name": "@scope1/package2",
  "dependencies": {
    "foo": "link:./my-local-package"
  }
}

But running --fix does not resolve the inconsistency.

@bmish bmish added the bug Something isn't working label Feb 9, 2022
@kachkaev
Copy link
Contributor

kachkaev commented Feb 9, 2022

Seems related to #344

@bmish
Copy link
Owner

bmish commented Feb 18, 2022

It may not be safe to fix this since they have different behavior? I'm not sure what the behavior should be.

name Example Description
File file:./my-package Copies the target location into the cache
Link link:./my-folder Creates a link to the ./my-folder folder (ignore dependencies)

https://yarnpkg.com/features/protocols

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants