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

is this package not worked on yarn v1.0.x versions #2

Closed
chilijung opened this issue Sep 15, 2017 · 3 comments
Closed

is this package not worked on yarn v1.0.x versions #2

chilijung opened this issue Sep 15, 2017 · 3 comments

Comments

@chilijung
Copy link

Before v1.0.x version this package worked normal. After upgraded to v1.0.x use-yarn can't detect I'm using yarn.

➜  projects git:(master) yarn
yarn install v1.0.2
$ use-yarn || yarn global add use-yarn
This project uses yarn instead of npm. Please upgrade!
See https://yarnpkg.com.

To install dependencies:
$ yarn install

To install a new package (also adds to package.json):
$ yarn add [packagename]

To upgrade a package:
$ yarn upgrade [packagename]
@chilijung
Copy link
Author

After some research, yarnpkg/yarn#4330 after yarn v1.0.1 version npm_lifecycle_script is added in process.env, so I think this package is broken?

@chilijung chilijung changed the title is this package worked on yarn v1.0.x versions? is this package not worked on yarn v1.0.x versions Sep 15, 2017
@chilijung
Copy link
Author

chilijung commented Sep 15, 2017

AndersDJohnson/is-npm-not-yarn#1 , this will fix this issue.

@AndersDJohnson
Copy link
Owner

@chilijung Thanks. Updated and published as 2.0.0.

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

2 participants