-
-
Notifications
You must be signed in to change notification settings - Fork 672
Add yarn option to asinit #495
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
Comments
Afaik yarn should be mostly compatible with a standard package.json. Could you elaborate a bit what's not working? |
There isn't anything broken, this is just a feature request :-)
|
Thanks, I see, |
If we’re going to support yarn, then we should also support pnpm, which is the third largest node package manager. |
There is packages like yarpm or yarn-or-npm, which come at the cost of an additional dev dependency. I'd be in favour of letting |
npm v7 will be compatible and sync with |
Closing this issue as part of 2020 vacuum because it seems unlikely to be picked up, and this would establish a case to support all sorts of package managers even though npm does fine, and is present on a system with node anyway. |
It won't, and this thread should be reopened imo. Regardless of what npm says about their next major, they will not support the way Yarn does its installs, nor should you expect them to do it. Tools are different for a reason, and cannot be swapped at will - they will differ in ever so subtle ways. I can even find a few right now:
|
As for detecting which script to use during scaffolding:
|
asinit
should have an option to bypass npm entirely and instead use yarn for all options (including the scripts in the package.json).The text was updated successfully, but these errors were encountered: