标签: lerna
根据文档,当我运行data时
data
sortOrder
由于引导与发布无关,为什么引导运行lerna bootstrap?为什么是默认值?
lerna bootstrap
答案 0 :(得分:1)
因为try container.decodeIfPresent(Int.self, forKey: .trackPrice) 也触发了npm install脚本。如果不希望触发预发布脚本,请使用prepublish脚本。 您可以在NPM script documentation
try container.decodeIfPresent(Int.self, forKey: .trackPrice)
npm install
prepublish