times-components
times-components copied to clipboard
depend is failing with error on dependencies with file specifiers
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.
- Add dependency with file specifiers-
file:<path>
- 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