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

depend is failing with error on dependencies with file specifiers #2927

Open
shuhrat opened this issue Apr 25, 2022 · 0 comments
Open

depend is failing with error on dependencies with file specifiers #2927

shuhrat opened this issue Apr 25, 2022 · 0 comments

Comments

@shuhrat
Copy link

shuhrat commented Apr 25, 2022

Do you want to request a feature or report a bug? bug

What is the current behaviour?

  • Component: @times-components/depend
  • Version: 2.2.0

Have a private package with local path dependency. Package is in packages directory of out lerna monorepo, its's path declared in lerna.json, and package.json looks similar to

{
  "name": "baz",
  "dependencies": {
    "bar": "file:../bar"
  }
}

Command depend --lerna ./ --strategy progressive --hint --list --bail is failing with error - TypeError: Invalid Version: file:../../packages/bar.

If the current behaviour is a bug, please provide the steps to reproduce.

  1. Add dependency with file specifiers- file:<path>
  2. Run component cli

What is the expected behaviour?

Ignore packages with file specifiers in dependencies

If this is a feature request, what is the motivation or use case for changing
the behaviour?

Please mention other relevant information such as the browser version, Node.js
version and Operating System.

  • node.js - v14.15.1
  • macOS - 10.15.7
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

1 participant