You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--ignore-scripts ignores lifecycle scripts in dependencies? #3230
yarn install --ignore-scripts ignores lifecycle scripts of dependencies.
What is the expected behavior?
yarn install --ignore-scripts should only ignore lifecycle scripts of package being installed. I am not sure if this is intentional but if it is, having a separate flag for just ignoring the "postinstall" of the local package would be very useful (esp. in Dockerfile).
Please mention your node.js, yarn and operating system version.
node v7
yarn v0.22.0
Reacted by Moved to @ad-si, Benjamin DANIEL, Simon Marchi, Will Shown, Furkan Tunalı, Nathan Broadbent, Tao Wang, Edmundo Santos, Kevin C, Denis Fäcke and 3 more
Activity
bestander commentedon Jun 29, 2017
Yeah, afaik there is no way to ignore only script of top level package.
BYK commentedon Oct 26, 2017
I think this is by design so I'm marking this as a feature request. Also see yarnpkg/rfcs#76 which is related.