@kriac/commitlint-config 0.1.0 → 0.2.0
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 +23 -0
- package/package.json +2 -1
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# @kriac/commitlint-config
|
|
2
|
+
|
|
3
|
+
用于 commitlint 的统一配置插件
|
|
4
|
+
|
|
5
|
+
## 使用
|
|
6
|
+
|
|
7
|
+
### commitlint.config.mjs
|
|
8
|
+
|
|
9
|
+
```mjs
|
|
10
|
+
import config from "@kriac/commitlint-config";
|
|
11
|
+
|
|
12
|
+
export default config({
|
|
13
|
+
scopes: [],
|
|
14
|
+
});
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### 选项
|
|
18
|
+
|
|
19
|
+
- scopes: 用于配置提交范围,默认值为空数组
|
|
20
|
+
|
|
21
|
+
## 报告错误
|
|
22
|
+
|
|
23
|
+
欢迎提交 issue 与我们讨论。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kriac/commitlint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"description": "@kriac/commitlint-config",
|
|
6
6
|
"author": "Kriac",
|
|
7
7
|
"homepage": "https://github.com/Kriac/lint-kit",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"czg": "1.12.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
+
"@types/node": "25.0.10",
|
|
25
26
|
"unbuild": "3.6.1",
|
|
26
27
|
"vue-tsc": "3.2.1"
|
|
27
28
|
},
|