@varlet/cli 2.9.3 → 2.9.4-alpha.1679850560801

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/README.md CHANGED
@@ -184,6 +184,13 @@ varlet-cli lint
184
184
  varlet-cli commit-lint
185
185
  ```
186
186
 
187
+ #### Show checklist
188
+
189
+ ```shell
190
+ # playground-ignore
191
+ varlet-cli checklist
192
+ ```
193
+
187
194
  #### Generate changelog
188
195
 
189
196
  ```shell
package/README.zh-CN.md CHANGED
@@ -184,6 +184,13 @@ varlet-cli lint
184
184
  varlet-cli commit-lint
185
185
  ```
186
186
 
187
+ #### 显示检查清单
188
+
189
+ ```shell
190
+ # playground-ignore
191
+ varlet-cli checklist
192
+ ```
193
+
187
194
  #### 生成更新日志
188
195
 
189
196
  ```shell
@@ -55,6 +55,9 @@ export async function checklist(gitParams) {
55
55
  const typeChildren = (_c = (_b = checkBlocks.find((checkBlock) => checkBlock.type === type)) === null || _b === void 0 ? void 0 : _b.list) !== null && _c !== void 0 ? _c : [];
56
56
  const commonChildren = (_e = (_d = checkBlocks.find((checkBlock) => checkBlock.type === 'common')) === null || _d === void 0 ? void 0 : _d.list) !== null && _e !== void 0 ? _e : [];
57
57
  const list = [...commonChildren, ...typeChildren];
58
+ if (!list.length) {
59
+ return;
60
+ }
58
61
  logger.title('\nIt is recommended that you check the following information before pushing:\n');
59
62
  logger.warning(`${list.map((item) => `🔔 ${item}`).join('\n')}\n`);
60
63
  logger.title('If there are changes that need to be amended, please use git commit --amend to resolve.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/cli",
3
- "version": "2.9.3",
3
+ "version": "2.9.4-alpha.1679850560801",
4
4
  "type": "module",
5
5
  "description": "cli of varlet",
6
6
  "bin": {
@@ -70,8 +70,8 @@
70
70
  "vue-jest": "^5.0.0-alpha.8",
71
71
  "webfont": "^9.0.0",
72
72
  "markdown-it": "^12.2.3",
73
- "@varlet/shared": "2.9.3",
74
- "@varlet/vite-plugins": "2.9.3"
73
+ "@varlet/shared": "2.9.4-alpha.1679850560801",
74
+ "@varlet/vite-plugins": "2.9.4-alpha.1679850560801"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@types/babel__core": "^7.1.12",
@@ -85,8 +85,8 @@
85
85
  "@types/semver": "^7.3.9",
86
86
  "@types/sharp": "0.31.1",
87
87
  "@types/markdown-it": "^12.2.3",
88
- "@varlet/icons": "2.9.3",
89
- "@varlet/touch-emulator": "2.9.3"
88
+ "@varlet/touch-emulator": "2.9.4-alpha.1679850560801",
89
+ "@varlet/icons": "2.9.4-alpha.1679850560801"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@vue/runtime-core": "3.2.16",
@@ -96,8 +96,8 @@
96
96
  "lodash-es": "^4.17.21",
97
97
  "vue": "3.2.25",
98
98
  "vue-router": "4.0.12",
99
- "@varlet/icons": "2.9.3",
100
- "@varlet/touch-emulator": "2.9.3"
99
+ "@varlet/touch-emulator": "2.9.4-alpha.1679850560801",
100
+ "@varlet/icons": "2.9.4-alpha.1679850560801"
101
101
  },
102
102
  "scripts": {
103
103
  "dev": "tsc --watch",