commitlint-plugin-cspell 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/dist/types.d.ts +3 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +41 -31
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Plugin } from '@commitlint/types';
|
|
2
|
-
|
|
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
|
+
};
|
|
3
5
|
export type CommitLintRule = Plugin['rules'][string];
|
|
4
6
|
export type RuleParameters = Parameters<CommitLintRule>;
|
|
5
7
|
export type Commit = RuleParameters[0];
|
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,MAAM,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"./src/","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,IAAI,MAAM,SAAS,CAAC,GAAG,KAAK,GAAG,MAAM,SAAS,CAAC,GAAG,KAAK,GAAG,MAAM,SAAS,CAAC,GAAG,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAC3G,CAAC;AAEF,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,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAExD,eAAO,MAAM,UAAU,iEAA0F,CAAC;AAElH,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG,CAAC,QAAQ,EAAE,UAAU,cAAc,EAAE,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":"AAcA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,CAAgC,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.2.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"commitlint",
|
|
7
7
|
"commitlintplugin",
|
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
"author": "Eric King <eric@webdeveric.com> (https://webdeveric.com/)",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "
|
|
14
|
+
"url": "git+ssh://git@github.com/webdeveric/commitlint-plugin-cspell.git"
|
|
15
15
|
},
|
|
16
16
|
"bugs": {
|
|
17
17
|
"url": "https://github.com/webdeveric/commitlint-plugin-cspell/issues"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
|
+
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
|
|
20
21
|
"sideEffects": false,
|
|
21
22
|
"type": "module",
|
|
22
23
|
"main": "./dist/index.js",
|
|
@@ -31,33 +32,6 @@
|
|
|
31
32
|
"files": [
|
|
32
33
|
"dist"
|
|
33
34
|
],
|
|
34
|
-
"prettier": "@webdeveric/prettier-config",
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"@commitlint/types": "^19.0.3",
|
|
37
|
-
"@webdeveric/utils": "^0.32.0",
|
|
38
|
-
"cspell-lib": "^8.12.1"
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@types/node": "^20.14.12",
|
|
42
|
-
"@vitest/coverage-v8": "^2.0.4",
|
|
43
|
-
"@webdeveric/eslint-config-ts": "^0.8.0",
|
|
44
|
-
"@webdeveric/prettier-config": "^0.3.0",
|
|
45
|
-
"cspell": "^8.12.1",
|
|
46
|
-
"eslint": "^8.57.0",
|
|
47
|
-
"eslint-config-prettier": "^9.1.0",
|
|
48
|
-
"eslint-import-resolver-typescript": "^3.6.1",
|
|
49
|
-
"eslint-plugin-import": "^2.29.1",
|
|
50
|
-
"husky": "^9.1.3",
|
|
51
|
-
"lint-staged": "^15.2.7",
|
|
52
|
-
"prettier": "^3.3.3",
|
|
53
|
-
"rimraf": "^6.0.1",
|
|
54
|
-
"typescript": "^5.5.4",
|
|
55
|
-
"validate-package-exports": "^0.6.0",
|
|
56
|
-
"vitest": "^2.0.4"
|
|
57
|
-
},
|
|
58
|
-
"peerDependencies": {
|
|
59
|
-
"@commitlint/lint": ">=7.6.0"
|
|
60
|
-
},
|
|
61
35
|
"scripts": {
|
|
62
36
|
"clean": "rimraf ./dist/",
|
|
63
37
|
"prebuild": "pnpm clean",
|
|
@@ -69,6 +43,42 @@
|
|
|
69
43
|
"test": "vitest",
|
|
70
44
|
"coverage": "vitest run -c vitest.config.mts --coverage",
|
|
71
45
|
"spellcheck": "cspell './{.github,src,test}/**/*.{ts,json}' './*.{js,json,md,mjs,mts}' './package.json' --no-progress",
|
|
72
|
-
"
|
|
46
|
+
"prepublishOnly": "pnpm typecheck && pnpm spellcheck && pnpm lint && pnpm coverage && pnpm build",
|
|
47
|
+
"format": "prettier --write ./*.{js,json,md,mjs,mts} ./src/ ./test/",
|
|
48
|
+
"prepare": "husky"
|
|
49
|
+
},
|
|
50
|
+
"prettier": "@webdeveric/prettier-config",
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@commitlint/types": "^19.8.0",
|
|
53
|
+
"cspell-lib": "^9.0.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/node": "^22.15.12",
|
|
57
|
+
"@vitest/coverage-v8": "^3.1.3",
|
|
58
|
+
"@webdeveric/eslint-config-ts": "^0.11.0",
|
|
59
|
+
"@webdeveric/prettier-config": "^0.3.0",
|
|
60
|
+
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
61
|
+
"cspell": "^9.0.0",
|
|
62
|
+
"eslint": "^8.57.1",
|
|
63
|
+
"eslint-config-prettier": "^10.1.2",
|
|
64
|
+
"eslint-import-resolver-typescript": "^3.10.1",
|
|
65
|
+
"eslint-plugin-import": "^2.31.0",
|
|
66
|
+
"husky": "^9.1.7",
|
|
67
|
+
"lint-staged": "^15.5.2",
|
|
68
|
+
"prettier": "^3.5.3",
|
|
69
|
+
"rimraf": "^6.0.1",
|
|
70
|
+
"semantic-release": "^24.2.3",
|
|
71
|
+
"typescript": "^5.8.3",
|
|
72
|
+
"validate-package-exports": "^0.9.0",
|
|
73
|
+
"vitest": "^3.1.3"
|
|
74
|
+
},
|
|
75
|
+
"peerDependencies": {
|
|
76
|
+
"@commitlint/lint": ">=7.6.0"
|
|
77
|
+
},
|
|
78
|
+
"pnpm": {
|
|
79
|
+
"onlyBuiltDependencies": [
|
|
80
|
+
"esbuild",
|
|
81
|
+
"unrs-resolver"
|
|
82
|
+
]
|
|
73
83
|
}
|
|
74
|
-
}
|
|
84
|
+
}
|