yarnpkg/yarn
Auf GitHub ansehen--ignore-scripts ignores lifecycle scripts in dependencies?
Open
#3.230 geöffnet am 22. Apr. 2017
cat-featurehelp wantedneeds-discussiontriaged
Repository-Metriken
- Stars
- (41.514 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Do you want to request a feature or report a bug?
Both
What is the current behavior?
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