dsh-commit-msg-check 0.3.0 → 0.3.1

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/bin/cli.js CHANGED
File without changes
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Commit message check",
4
+ "description": "Commit-message hygiene from a single message: a type prefix from a known set, a subject that fits a git log line, no trailing period, a blank line before the body, and breaking changes announced in a trailer."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "提交信息检查清单",
4
+ "description": "一条提交信息就能判定:主题长度(git log 折行处)、标题不写句号、正文前必须有空行、破坏性变更用 trailer 而不是埋主题里、以及可选的类型前缀。可以直接挂 commit-msg 钩子。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "dsh-commit-msg-check",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Commit-message hygiene from a single message: a type prefix from a known set, a subject that fits a git log line, no trailing period, a blank line before the body, and breaking changes announced in a trailer.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "exports": {
8
8
  ".": "./src/index.js",
9
- "./package.json": "./package.json"
9
+ "./package.json": "./package.json",
10
+ "./locale/*.json": "./locale/*.json"
10
11
  },
11
12
  "bin": {
12
13
  "commit-msg-check": "./bin/cli.js"
@@ -25,7 +26,8 @@
25
26
  "bin",
26
27
  "cordis.patch.yml",
27
28
  "README.md",
28
- "LICENSE"
29
+ "LICENSE",
30
+ "locale"
29
31
  ],
30
32
  "keywords": [
31
33
  "dsh",