为什么lerna在引导时会运行“预发布”?

时间:2019-04-03 07:50:58

标签: lerna

根据文档,当我运行data

sortOrder

由于引导与发布无关,为什么引导运行lerna bootstrap?为什么是默认值?

1 个答案:

答案 0 :(得分:1)

因为try container.decodeIfPresent(Int.self, forKey: .trackPrice) 也触发了npm install脚本。如果不希望触发预发布脚本,请使用prepublish脚本。 您可以在NPM script documentation

中阅读所有相关信息