@soybeanjs/cli 0.1.6 → 0.1.8

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
@@ -1,17 +1,54 @@
1
- # @soybeanjs/cli
2
-
3
- SoybeanJS's command lint tools
4
-
5
- ## Usage
6
-
7
- ### install
8
-
9
- ```bash
10
- pnpm i -D @soybeanjs/cli
11
- ```
12
-
13
- ### Use command
14
-
15
- ```bash
16
- pnpm soybean -h
17
- ```
1
+ # @soybeanjs/cli
2
+
3
+ SoybeanJS 的命令行工具
4
+
5
+ ## 用法
6
+
7
+ ### 安装
8
+
9
+ ```bash
10
+ pnpm i -D @soybeanjs/cli
11
+ ```
12
+
13
+ ### 使用
14
+
15
+ 示例:
16
+
17
+ ```bash
18
+ pnpm soy -h
19
+ ```
20
+
21
+ ## 命令介绍
22
+
23
+ | 命令 | 作用 |
24
+ | ----------------- | ---------------------------------------- |
25
+ | help | 查看全部命令用法 |
26
+ | git-commit | 生成符合 Angular 规范的 git 提交信息 |
27
+ | git-commit-verify | 校验 git 的提交信息是否符合 Angular 规范 |
28
+ | cleanup | 清空依赖和构建产物 |
29
+ | cleanup-deep | 清空依赖和构建产物(包含 深层级) |
30
+ | init-git-hooks | 初始化 simple-gi t-hooks 钩子 |
31
+ | update-pkg | 升级依赖 |
32
+ | prettier-format | prettier 格式化 |
33
+
34
+ ### prettier-format
35
+
36
+ 底层调用 prettier --write 达到格式化文件的目的
37
+
38
+ 默认忽略的格式化文件:
39
+
40
+ - js,jsx,mjs,cjs,json,ts,tsx,mts,cts,vue,svelte,astro
41
+ > 以上文件通过 eslint 去格式化
42
+ - node_modules
43
+ - _.min._
44
+ - CHANGELOG.md
45
+ - dist
46
+ - LICENSE\*
47
+ - output
48
+ - coverage
49
+ - public
50
+ - temp
51
+ - package-lock.json
52
+ - pnpm-lock.yaml
53
+ - yarn.lock
54
+ - **snapshots**