@commitlint/load 17.3.0 → 17.4.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-config.d.ts","sourceRoot":"","sources":["../../src/utils/load-config.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAsB,UAAU,CAC/B,GAAG,EAAE,MAAM,EACX,UAAU,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"load-config.d.ts","sourceRoot":"","sources":["../../src/utils/load-config.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAsB,UAAU,CAC/B,GAAG,EAAE,MAAM,EACX,UAAU,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAsClC"}
|
package/lib/utils/load-config.js
CHANGED
|
@@ -24,10 +24,13 @@ async function loadConfig(cwd, configPath) {
|
|
|
24
24
|
`${moduleName}.config.cjs`,
|
|
25
25
|
// files supported by TypescriptLoader
|
|
26
26
|
`.${moduleName}rc.ts`,
|
|
27
|
+
`.${moduleName}rc.cts`,
|
|
27
28
|
`${moduleName}.config.ts`,
|
|
29
|
+
`${moduleName}.config.cts`,
|
|
28
30
|
],
|
|
29
31
|
loaders: {
|
|
30
32
|
'.ts': (0, cosmiconfig_typescript_loader_1.TypeScriptLoader)(),
|
|
33
|
+
'.cts': (0, cosmiconfig_typescript_loader_1.TypeScriptLoader)(),
|
|
31
34
|
},
|
|
32
35
|
});
|
|
33
36
|
const explicitPath = configPath ? path_1.default.resolve(cwd, configPath) : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-config.js","sourceRoot":"","sources":["../../src/utils/load-config.ts"],"names":[],"mappings":";;;;;;AAAA,6CAAwC;AACxC,iFAA+D;AAC/D,gDAAwB;AAQjB,KAAK,UAAU,UAAU,CAC/B,GAAW,EACX,UAAmB;IAEnB,MAAM,UAAU,GAAG,YAAY,CAAC;IAChC,MAAM,QAAQ,GAAG,IAAA,yBAAW,EAAC,UAAU,EAAE;QACxC,YAAY,EAAE;YACb,uGAAuG;YACvG,gHAAgH;YAChH,cAAc;YACd,IAAI,UAAU,IAAI;YAClB,IAAI,UAAU,SAAS;YACvB,IAAI,UAAU,SAAS;YACvB,IAAI,UAAU,QAAQ;YACtB,IAAI,UAAU,OAAO;YACrB,IAAI,UAAU,QAAQ;YACtB,GAAG,UAAU,YAAY;YACzB,GAAG,UAAU,aAAa;YAE1B,sCAAsC;YACtC,IAAI,UAAU,OAAO;YACrB,GAAG,UAAU,YAAY;
|
|
1
|
+
{"version":3,"file":"load-config.js","sourceRoot":"","sources":["../../src/utils/load-config.ts"],"names":[],"mappings":";;;;;;AAAA,6CAAwC;AACxC,iFAA+D;AAC/D,gDAAwB;AAQjB,KAAK,UAAU,UAAU,CAC/B,GAAW,EACX,UAAmB;IAEnB,MAAM,UAAU,GAAG,YAAY,CAAC;IAChC,MAAM,QAAQ,GAAG,IAAA,yBAAW,EAAC,UAAU,EAAE;QACxC,YAAY,EAAE;YACb,uGAAuG;YACvG,gHAAgH;YAChH,cAAc;YACd,IAAI,UAAU,IAAI;YAClB,IAAI,UAAU,SAAS;YACvB,IAAI,UAAU,SAAS;YACvB,IAAI,UAAU,QAAQ;YACtB,IAAI,UAAU,OAAO;YACrB,IAAI,UAAU,QAAQ;YACtB,GAAG,UAAU,YAAY;YACzB,GAAG,UAAU,aAAa;YAE1B,sCAAsC;YACtC,IAAI,UAAU,OAAO;YACrB,IAAI,UAAU,QAAQ;YACtB,GAAG,UAAU,YAAY;YACzB,GAAG,UAAU,aAAa;SAC1B;QACD,OAAO,EAAE;YACR,KAAK,EAAE,IAAA,gDAAgB,GAAE;YACzB,MAAM,EAAE,IAAA,gDAAgB,GAAE;SAC1B;KACD,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,cAAI,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,MAAM,OAAO,GAAG,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;IAC/D,MAAM,UAAU,GAAG,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC;IACrD,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;IAExC,IAAI,KAAK,EAAE;QACV,OAAO,KAAK,CAAC;KACb;IAED,OAAO,IAAI,CAAC;AACb,CAAC;AAzCD,gCAyCC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ParserPreset } from '@commitlint/types';
|
|
2
|
-
|
|
2
|
+
type Awaitable<T> = T | PromiseLike<T>;
|
|
3
3
|
export declare function loadParserOpts(pendingParser: string | Awaitable<ParserPreset> | (() => Awaitable<ParserPreset>) | undefined): Promise<ParserPreset | undefined>;
|
|
4
4
|
export {};
|
|
5
5
|
//# sourceMappingURL=load-parser-opts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-parser-opts.d.ts","sourceRoot":"","sources":["../../src/utils/load-parser-opts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAE/C,
|
|
1
|
+
{"version":3,"file":"load-parser-opts.d.ts","sourceRoot":"","sources":["../../src/utils/load-parser-opts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAE/C,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;AAgBvC,wBAAsB,cAAc,CACnC,aAAa,EACV,MAAM,GACN,SAAS,CAAC,YAAY,CAAC,GACvB,CAAC,MAAM,SAAS,CAAC,YAAY,CAAC,CAAC,GAC/B,SAAS,GACV,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CA0DnC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commitlint/load",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.4.1",
|
|
4
4
|
"description": "Load shared commitlint configuration",
|
|
5
5
|
"main": "lib/load.js",
|
|
6
6
|
"types": "lib/load.d.ts",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@commitlint/test": "^17.
|
|
39
|
-
"@commitlint/utils": "^17.
|
|
38
|
+
"@commitlint/test": "^17.4.0",
|
|
39
|
+
"@commitlint/utils": "^17.4.0",
|
|
40
40
|
"@types/lodash.isplainobject": "^4.0.7",
|
|
41
41
|
"@types/lodash.merge": "^4.6.7",
|
|
42
42
|
"@types/lodash.uniq": "^4.5.7",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"execa": "^5.0.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@commitlint/config-validator": "^17.
|
|
48
|
-
"@commitlint/execute-rule": "^17.
|
|
49
|
-
"@commitlint/resolve-extends": "^17.
|
|
50
|
-
"@commitlint/types": "^17.
|
|
51
|
-
"@types/node": "
|
|
47
|
+
"@commitlint/config-validator": "^17.4.0",
|
|
48
|
+
"@commitlint/execute-rule": "^17.4.0",
|
|
49
|
+
"@commitlint/resolve-extends": "^17.4.0",
|
|
50
|
+
"@commitlint/types": "^17.4.0",
|
|
51
|
+
"@types/node": "*",
|
|
52
52
|
"chalk": "^4.1.0",
|
|
53
|
-
"cosmiconfig": "^
|
|
53
|
+
"cosmiconfig": "^8.0.0",
|
|
54
54
|
"cosmiconfig-typescript-loader": "^4.0.0",
|
|
55
55
|
"lodash.isplainobject": "^4.0.6",
|
|
56
56
|
"lodash.merge": "^4.6.2",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"ts-node": "^10.8.1",
|
|
60
60
|
"typescript": "^4.6.4"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "317d0444d69a08ea0b6ec2f69ec495a4010fa9d9"
|
|
63
63
|
}
|