浏览代码

Yarn should be available when lerna is run, and the publish command should be non-interactive.

We switch away from lerna thinking the package manager is jlpm since lerna has some hardcoded logic to deal with “yarn”
Jason Grout 7 年之前
父节点
当前提交
6eb4fb03fe
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      lerna.json

+ 7 - 2
lerna.json

@@ -1,7 +1,12 @@
 {
   "lerna": "2.4.0",
   "version": "independent",
-  "npmClient": "jlpm",
+  "npmClient": "yarn",
   "registry": "https://registry.npmjs.org/",
-  "useWorkspaces": true
+  "useWorkspaces": true,
+  "command": {
+    "publish": {
+      "npmClientArgs": ["--non-interactive"]
+    }
+  }
 }