commitlint-plugin-cspell 0.3.0 → 0.5.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/dist/types.d.ts +5 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +17 -16
package/dist/types.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import type { Plugin } from '@commitlint/types';
|
|
2
|
-
export type RemoveIndex<T> = {
|
|
3
|
-
[K in keyof T as symbol extends K ? never : string extends K ? never : number extends K ? never : K]: T[K];
|
|
4
|
-
};
|
|
1
|
+
import type { AnyRuleConfig, Plugin, RuleConfigQuality } from '@commitlint/types';
|
|
5
2
|
export type CommitLintRule = Plugin['rules'][string];
|
|
6
3
|
export type RuleParameters = Parameters<CommitLintRule>;
|
|
7
4
|
export type Commit = RuleParameters[0];
|
|
8
|
-
export
|
|
9
|
-
export declare const properties: ("header" | "body" | "footer" | "type" | "scope" | "subject")[];
|
|
5
|
+
export declare const properties: string[];
|
|
10
6
|
export type CommitProperty = (typeof properties)[number];
|
|
11
|
-
export type
|
|
7
|
+
export type CspellRuleName = `cspell/${CommitProperty}`;
|
|
8
|
+
export type PluginRulesConfig = Record<CspellRuleName, AnyRuleConfig<RuleConfigQuality.User>>;
|
|
9
|
+
export type PluginRuleEntry = [ruleName: CspellRuleName, ruleFn: CommitLintRule];
|
|
12
10
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"./src/","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"./src/","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAElF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AAExD,MAAM,MAAM,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;AAEvC,eAAO,MAAM,UAAU,UAAsF,CAAC;AAE9G,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,cAAc,GAAG,UAAU,cAAc,EAAE,CAAC;AAExD,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,cAAc,EAAE,aAAa,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;AAE9F,MAAM,MAAM,eAAe,GAAG,CAAC,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,cAAc,CAAC,CAAC"}
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"./src/","sources":["types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"./src/","sources":["types.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,CAA4B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commitlint-plugin-cspell",
|
|
3
3
|
"description": "Spellcheck your commit messages with CSpell",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"commitlint",
|
|
7
7
|
"commitlintplugin",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"url": "https://github.com/webdeveric/commitlint-plugin-cspell/issues"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
|
-
"packageManager": "pnpm@10.
|
|
20
|
+
"packageManager": "pnpm@10.29.3+sha512.498e1fb4cca5aa06c1dcf2611e6fafc50972ffe7189998c409e90de74566444298ffe43e6cd2acdc775ba1aa7cc5e092a8b7054c811ba8c5770f84693d33d2dc",
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "./dist/index.js",
|
|
@@ -49,28 +49,29 @@
|
|
|
49
49
|
},
|
|
50
50
|
"prettier": "@webdeveric/prettier-config",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@commitlint/types": "^
|
|
53
|
-
"cspell-lib": "^9.
|
|
52
|
+
"@commitlint/types": "^20.4.0",
|
|
53
|
+
"cspell-lib": "^9.6.4"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
56
|
+
"@commitlint/lint": "^20.4.1",
|
|
57
|
+
"@types/node": "^22.19.11",
|
|
58
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
58
59
|
"@webdeveric/eslint-config-ts": "^0.11.0",
|
|
59
60
|
"@webdeveric/prettier-config": "^0.3.0",
|
|
60
|
-
"conventional-changelog-conventionalcommits": "^9.
|
|
61
|
-
"cspell": "^9.
|
|
61
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
62
|
+
"cspell": "^9.6.4",
|
|
62
63
|
"eslint": "^8.57.1",
|
|
63
|
-
"eslint-config-prettier": "^10.1.
|
|
64
|
+
"eslint-config-prettier": "^10.1.8",
|
|
64
65
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
65
66
|
"eslint-plugin-import": "^2.32.0",
|
|
66
67
|
"husky": "^9.1.7",
|
|
67
|
-
"lint-staged": "^16.
|
|
68
|
-
"prettier": "^3.
|
|
69
|
-
"rimraf": "^6.
|
|
70
|
-
"semantic-release": "^
|
|
71
|
-
"typescript": "^5.
|
|
72
|
-
"validate-package-exports": "^0.
|
|
73
|
-
"vitest": "^
|
|
68
|
+
"lint-staged": "^16.2.7",
|
|
69
|
+
"prettier": "^3.8.1",
|
|
70
|
+
"rimraf": "^6.1.2",
|
|
71
|
+
"semantic-release": "^25.0.3",
|
|
72
|
+
"typescript": "^5.9.3",
|
|
73
|
+
"validate-package-exports": "^0.18.0",
|
|
74
|
+
"vitest": "^4.0.18"
|
|
74
75
|
},
|
|
75
76
|
"peerDependencies": {
|
|
76
77
|
"@commitlint/lint": ">=7.6.0"
|