@icebreakers/commitlint-config 4.0.5 → 4.1.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 CHANGED
@@ -92,3 +92,9 @@ The factory keeps commit prompts in sync with any custom type definitions. If yo
92
92
  - If commitlint cannot find the config file, ensure it is named `commitlint.config.ts` (or `.cjs`) at the repository root.
93
93
  - For workspaces that ship custom prompts, pass a `prompt` object instead of re-building the schema by hand.
94
94
  - To disable commits in scripts (e.g. release bots), set `COMMITLINT_DISABLED=true` and skip the hook execution.
95
+
96
+ ## Project links
97
+
98
+ - Documentation: https://repoctl.icebreaker.top
99
+ - Repository: https://github.com/sonofmagic/repoctl/tree/main/packages/commitlint
100
+ - Issues: https://github.com/sonofmagic/repoctl/issues
package/README.zh.md CHANGED
@@ -90,3 +90,9 @@ export default icebreaker({
90
90
  - commitlint 找不到配置时,请确认文件名为 `commitlint.config.ts`(或 `.cjs`),且位于仓库根目录。
91
91
  - 如需扩展交互式提示,直接传入 `prompt` 即可,无需手动拼装 Schema。
92
92
  - 若需在某些脚本中临时关闭校验,可在环境变量中设置 `COMMITLINT_DISABLED=true` 并跳过钩子。
93
+
94
+ ## 项目链接
95
+
96
+ - 文档:https://repoctl.icebreaker.top
97
+ - 仓库:https://github.com/sonofmagic/repoctl/tree/main/packages/commitlint
98
+ - 问题反馈:https://github.com/sonofmagic/repoctl/issues
package/dist/index.d.cts CHANGED
@@ -44,9 +44,9 @@ interface IcebreakerCommitlintOptions {
44
44
  }
45
45
  //#endregion
46
46
  //#region src/index.d.ts
47
- declare function createIcebreakerCommitlintConfig(options?: IcebreakerCommitlintOptions): UserConfig$1;
48
- declare function icebreaker(options?: IcebreakerCommitlintOptions): UserConfig$1;
49
- type IcebreakerCommitlintConfig = ReturnType<typeof icebreaker>;
47
+ export declare function createIcebreakerCommitlintConfig(options?: IcebreakerCommitlintOptions): UserConfig$1;
48
+ export declare function icebreaker(options?: IcebreakerCommitlintOptions): UserConfig$1;
49
+ export type IcebreakerCommitlintConfig = ReturnType<typeof icebreaker>;
50
50
  declare const _default: UserConfig$1;
51
51
  //#endregion
52
- export { type CommitHeaderOptions, type CommitScopeOptions, type CommitSubjectOptions, type CommitTypeDefinition, type CommitTypesOptions, type UserConfig as CommitlintUserConfig, IcebreakerCommitlintConfig, type IcebreakerCommitlintOptions, RuleConfigSeverity, createIcebreakerCommitlintConfig, _default as default, icebreaker };
52
+ export { type CommitHeaderOptions, type CommitScopeOptions, type CommitSubjectOptions, type CommitTypeDefinition, type CommitTypesOptions, type UserConfig as CommitlintUserConfig, type IcebreakerCommitlintOptions, RuleConfigSeverity, _default as default };
package/dist/index.d.ts CHANGED
@@ -44,9 +44,9 @@ interface IcebreakerCommitlintOptions {
44
44
  }
45
45
  //#endregion
46
46
  //#region src/index.d.ts
47
- declare function createIcebreakerCommitlintConfig(options?: IcebreakerCommitlintOptions): UserConfig$1;
48
- declare function icebreaker(options?: IcebreakerCommitlintOptions): UserConfig$1;
49
- type IcebreakerCommitlintConfig = ReturnType<typeof icebreaker>;
47
+ export declare function createIcebreakerCommitlintConfig(options?: IcebreakerCommitlintOptions): UserConfig$1;
48
+ export declare function icebreaker(options?: IcebreakerCommitlintOptions): UserConfig$1;
49
+ export type IcebreakerCommitlintConfig = ReturnType<typeof icebreaker>;
50
50
  declare const _default: UserConfig$1;
51
51
  //#endregion
52
- export { type CommitHeaderOptions, type CommitScopeOptions, type CommitSubjectOptions, type CommitTypeDefinition, type CommitTypesOptions, type UserConfig as CommitlintUserConfig, IcebreakerCommitlintConfig, type IcebreakerCommitlintOptions, RuleConfigSeverity, createIcebreakerCommitlintConfig, _default as default, icebreaker };
52
+ export { type CommitHeaderOptions, type CommitScopeOptions, type CommitSubjectOptions, type CommitTypeDefinition, type CommitTypesOptions, type UserConfig as CommitlintUserConfig, type IcebreakerCommitlintOptions, RuleConfigSeverity, _default as default };
package/package.json CHANGED
@@ -1,21 +1,22 @@
1
1
  {
2
2
  "name": "@icebreakers/commitlint-config",
3
3
  "type": "module",
4
- "version": "4.0.5",
5
- "description": "Commitlint preset from Icebreaker's dev-configs",
6
- "author": "ice breaker <1324318532@qq.com>",
4
+ "version": "4.1.0",
5
+ "description": "Commitlint preset from the repoctl development toolchain",
6
+ "author": "ice breaker <hi@sonofmagic.top>",
7
7
  "license": "MIT",
8
+ "homepage": "https://repoctl.icebreaker.top",
8
9
  "repository": {
9
10
  "type": "git",
10
- "url": "git+https://github.com/sonofmagic/dev-configs.git",
11
+ "url": "git+https://github.com/sonofmagic/repoctl.git",
11
12
  "directory": "packages/commitlint"
12
13
  },
13
14
  "bugs": {
14
- "url": "https://github.com/sonofmagic/dev-configs/issues"
15
+ "url": "https://github.com/sonofmagic/repoctl/issues"
15
16
  },
16
17
  "keywords": [
17
18
  "commitlint",
18
- "dev-configs",
19
+ "repoctl",
19
20
  "icebreakers"
20
21
  ],
21
22
  "sideEffects": false,
@@ -30,10 +31,16 @@
30
31
  "module": "./dist/index.js",
31
32
  "types": "./dist/index.d.ts",
32
33
  "files": [
34
+ "README.md",
35
+ "README.zh.md",
33
36
  "dist"
34
37
  ],
35
38
  "engines": {
36
- "node": ">=22.12.0"
39
+ "node": ">=22.13.0"
40
+ },
41
+ "publishConfig": {
42
+ "access": "public",
43
+ "registry": "https://registry.npmjs.org"
37
44
  },
38
45
  "tsd": {
39
46
  "directory": "test-d",
@@ -42,7 +49,7 @@
42
49
  }
43
50
  },
44
51
  "peerDependencies": {
45
- "conventional-changelog-conventionalcommits": ">=9.0.0"
52
+ "conventional-changelog-conventionalcommits": ">=10.4.0"
46
53
  },
47
54
  "peerDependenciesMeta": {
48
55
  "conventional-changelog-conventionalcommits": {