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 info to support local packages #7505

Open
dodtsair opened this issue Aug 29, 2019 · 0 comments
Open

yarn info to support local packages #7505

dodtsair opened this issue Aug 29, 2019 · 0 comments

Comments

@dodtsair
Copy link

What is the current behavior?
Currently with yarn you can get info about a package, either locally installed or remotely and not installed:

yarn info react name -s

react

What is the expected behavior?

But there is no way to use the same tool to get information about the current package.json or another locally developed dependency

yarn info myLocalPackageName name -s

error Received invalid response from npm.

yarn info ./ name -s

error Received invalid response from npm.

yarn info ./myOtherPackageName name -s

error Received invalid response from npm.

yarn info myOtherPackageName name -s

error Received invalid response from npm.

Please mention your node.js, yarn and operating system version.
$ node -v

v10.16.0

$ yarn -v

1.17.3

$ sw_vers

ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G87
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