commit-pack 1.1.9 → 1.1.10

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.
Files changed (2) hide show
  1. package/README.md +19 -26
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,63 +16,56 @@
16
16
 
17
17
  ## 🎬 Demo
18
18
 
19
- <p align="center">
20
- <video src="https://img.jett191.site/video/commitpack.mp4"
21
- controls
22
- muted
23
- width="800">
24
- </video>
25
- </p>
19
+ https://github.com/user-attachments/assets/8d99c810-81f2-4678-bf62-22bc5d2eee2a
20
+
21
+
26
22
 
27
23
  ## 🚀 快速开始
28
24
 
29
25
  ### 安装
26
+ 1. `pnpm`
30
27
  ```bash
31
- # 使用 pnpm
32
28
  pnpm add -D commit-pack@latest
33
29
  ```
34
-
30
+ 2. `bun`
35
31
  ```bash
36
- # 使用 bun
37
32
  bun add -d commit-pack@latest
38
33
  ```
39
-
34
+ 3. `npm`
40
35
  ```bash
41
- # 使用 npm
42
36
  npm install -D commit-pack@latest
43
37
  ```
44
-
38
+ 4. `yarn`
45
39
  ```bash
46
- # 使用 yarn
47
40
  yarn add -D commit-pack@latest
48
41
  ```
49
42
 
50
- ### 初始化
43
+ ### 在项目根目录初始化
44
+
45
+ 1. `pnpm`
51
46
  ```bash
52
- # 在项目根目录初始化
53
47
  pnpm exec commit-pack-init
54
48
  ```
55
-
49
+ 2. `bun`
56
50
  ```bash
57
- # 使用 bun
58
51
  bunx commit-pack-init
59
52
  ```
60
-
53
+ 3. `npm`
61
54
  ```bash
62
- # 使用 npx
63
55
  npx commit-pack-init
64
56
  ```
65
-
57
+ 4. `yarn`
66
58
  ```bash
67
- # 使用 yarn
68
59
  yarn dlx commit-pack-init
69
60
  ```
70
61
 
71
- ### Monorepo 支持
62
+ ### Monorepo
63
+ `为 monorepo 中的特定工作区初始化`
72
64
  ```bash
73
- # 为 monorepo 中的特定工作区初始化
74
65
  pnpm exec commit-pack-init -w workspace-name
75
- # 或
66
+
67
+
68
+
76
69
  pnpm exec commit-pack-init --workspace=workspace-name
77
70
  ```
78
71
 
@@ -262,4 +255,4 @@ module.exports = {
262
255
 
263
256
  ## ©️ 许可证
264
257
 
265
- 此项目根据 MIT 许可证授权 - 详见 [LICENSE](LICENSE) 文件。
258
+ 此项目根据 MIT 许可证授权 - 详见 [LICENSE](LICENSE) 文件。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commit-pack",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "A setup package to automatly check project's style and commit configuration",
5
5
  "main": "lib/index.js",
6
6
  "bin": {