yarnpkg/yarn

--ignore-scripts ignores lifecycle scripts in dependencies?

Open

#3,230 建立於 2017年4月22日

在 GitHub 查看
 (2 留言) (15 反應) (0 負責人)JavaScript (2,731 fork)batch import
cat-featurehelp wantedneeds-discussiontriaged

倉庫指標

Star
 (41,514 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南