@wagq/wa-cli 0.6.37-beta.1 → 0.6.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/changesetDoc/index.js +11 -1
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ const changesetDoc = (mode) => {
|
|
|
17
17
|
case "ver":
|
|
18
18
|
bins.push("npx changeset version");
|
|
19
19
|
break;
|
|
20
|
-
case "
|
|
20
|
+
case "tBuild":
|
|
21
21
|
bins.push("echo 准备打包 @author: wa 1224362143@qq.com");
|
|
22
22
|
bins.push("npx turbo build");
|
|
23
23
|
break;
|
|
@@ -29,6 +29,16 @@ const changesetDoc = (mode) => {
|
|
|
29
29
|
bins.push("echo 退出beta模式 @author: wa 1224362143@qq.com");
|
|
30
30
|
bins.push("npx changeset pre exit");
|
|
31
31
|
break;
|
|
32
|
+
case "pub":
|
|
33
|
+
bins.push("echo 准备发布正式包 @author: wa 1224362143@qq.com");
|
|
34
|
+
bins.push("npx pnpm build && changeset publish");
|
|
35
|
+
break;
|
|
36
|
+
case "pubBeta":
|
|
37
|
+
bins.push("echo 准备发布beta包 @author: wa 1224362143@qq.com");
|
|
38
|
+
bins.push("npx pnpm build && changeset publish --tag beta");
|
|
39
|
+
break;
|
|
40
|
+
default:
|
|
41
|
+
break;
|
|
32
42
|
}
|
|
33
43
|
|
|
34
44
|
if (bins.length > 0) {
|