-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug] Yarn 2 does not run prepare script for git dependencies #957
Comments
This is expected, cf: Tldr: use |
@arcanis Ah, interesting. Does Yarn have plans to be compatible with the same scripts as npm? I hadn't known about |
(updated my last comment, accidentally wrote "Lerna" instead of "Yarn") |
From the page I linked:
As for
No, |
Why doesn't One major feature, imho, of how Npm runs If instead the What is the intended way for Yarn to support adding/installing from (git) sources and automatically building after? |
It does. |
My mistake. I was accidentally testing with Yarn 1. However, my point remains, how is a package maintainer expected to make their git package work for both Yarn and Npm? Lifecycle scripts run on "git install".
A Edit: Did some more tests: https://github.com/cinderblock/test-npm-yarn-lifecycle-scripts |
even prepack doesnt seem to work in yarn 3 lol |
This issue is basically the same as described at yarnpkg/yarn#7910, but for Yarn 2.
The text was updated successfully, but these errors were encountered: