@commitlint/prompt 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.
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import inquirer from 'inquirer';
2
- declare type Commit = (input: string) => void;
2
+ type Commit = (input: string) => void;
3
3
  /**
4
4
  * Entry point for commitizen
5
5
  * @param cz inquirer instance passed by commitizen, unused
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,aAAK,MAAM,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;AAEtC;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,OAAO,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAIlE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,KAAK,MAAM,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;AAEtC;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,OAAO,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAIlE"}
@@ -1,6 +1,6 @@
1
1
  import type { RuleConfigCondition, RuleConfigSeverity } from '@commitlint/types';
2
- export declare type RuleEntry = [string, Readonly<[RuleConfigSeverity.Disabled]>] | [string, Readonly<[RuleConfigSeverity, RuleConfigCondition]>] | [string, Readonly<[RuleConfigSeverity, RuleConfigCondition, unknown]>];
3
- export declare type InputSetting = {
2
+ export type RuleEntry = [string, Readonly<[RuleConfigSeverity.Disabled]>] | [string, Readonly<[RuleConfigSeverity, RuleConfigCondition]>] | [string, Readonly<[RuleConfigSeverity, RuleConfigCondition, unknown]>];
3
+ export type InputSetting = {
4
4
  description?: string;
5
5
  enumerables?: Record<string, {
6
6
  description: string;
@@ -10,6 +10,6 @@ export declare type InputSetting = {
10
10
  length?: number;
11
11
  };
12
12
  };
13
- export declare type ResultPart = 'type' | 'scope' | 'subject' | 'body' | 'footer';
14
- export declare type Result = Partial<Record<ResultPart, string | undefined>>;
13
+ export type ResultPart = 'type' | 'scope' | 'subject' | 'body' | 'footer';
14
+ export type Result = Partial<Record<ResultPart, string | undefined>>;
15
15
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/library/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAE,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AAE/E,oBAAY,SAAS,GAClB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,GACjD,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAC7D,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAE1E,oBAAY,YAAY,GAAG;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CACnB,MAAM,EACN;QACC,WAAW,EAAE,MAAM,CAAC;KACpB,CACD,CAAC;IACF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACF,CAAC;AAEF,oBAAY,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE1E,oBAAY,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/library/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAE,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AAE/E,MAAM,MAAM,SAAS,GAClB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,GACjD,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAC7D,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAE1E,MAAM,MAAM,YAAY,GAAG;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CACnB,MAAM,EACN;QACC,WAAW,EAAE,MAAM,CAAC;KACpB,CACD,CAAC;IACF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACF,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE1E,MAAM,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commitlint/prompt",
3
- "version": "17.3.0",
3
+ "version": "17.4.1",
4
4
  "description": "commitizen prompt using commitlint.config.js",
5
5
  "main": "./lib/index.js",
6
6
  "files": [
@@ -37,19 +37,19 @@
37
37
  "node": ">=v14"
38
38
  },
39
39
  "devDependencies": {
40
- "@commitlint/config-angular": "^17.3.0",
40
+ "@commitlint/config-angular": "^17.4.0",
41
41
  "@commitlint/types": "^14.0.0",
42
- "@commitlint/utils": "^17.0.0",
42
+ "@commitlint/utils": "^17.4.0",
43
43
  "@types/inquirer": "^6.5.0",
44
44
  "commitizen": "^4.2.4",
45
45
  "inquirer": "^6.5.2"
46
46
  },
47
47
  "dependencies": {
48
- "@commitlint/ensure": "^17.3.0",
49
- "@commitlint/load": "^17.3.0",
50
- "@commitlint/types": "^17.0.0",
48
+ "@commitlint/ensure": "^17.4.0",
49
+ "@commitlint/load": "^17.4.1",
50
+ "@commitlint/types": "^17.4.0",
51
51
  "chalk": "^4.1.0",
52
52
  "inquirer": "^6.5.2"
53
53
  },
54
- "gitHead": "618aee50a953ab06e736d985009f7182bd1a8ae1"
54
+ "gitHead": "317d0444d69a08ea0b6ec2f69ec495a4010fa9d9"
55
55
  }