@commencis/commitlint-config 3.0.1 → 3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @commencis/commitlint-config
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - chore: update core dependencies and minimum supported versions ([#433](https://github.com/Commencis/js-toolkit/pull/433))
8
+
9
+ ## 3.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - chore: update core dependencies ([#427](https://github.com/Commencis/js-toolkit/pull/427))
14
+
3
15
  ## 3.0.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- //#region ../../node_modules/.pnpm/@commitlint+types@20.2.0/node_modules/@commitlint/types/lib/rules.js
2
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/rules.js
3
3
  /**
4
4
  * Rules always have a severity.
5
5
  * Severity indicates what to do if the rule is found to be broken
@@ -8,15 +8,15 @@
8
8
  * 2 - Error for violations
9
9
  */
10
10
  var RuleConfigSeverity;
11
- (function(RuleConfigSeverity$1) {
12
- RuleConfigSeverity$1[RuleConfigSeverity$1["Disabled"] = 0] = "Disabled";
13
- RuleConfigSeverity$1[RuleConfigSeverity$1["Warning"] = 1] = "Warning";
14
- RuleConfigSeverity$1[RuleConfigSeverity$1["Error"] = 2] = "Error";
11
+ (function(RuleConfigSeverity) {
12
+ RuleConfigSeverity[RuleConfigSeverity["Disabled"] = 0] = "Disabled";
13
+ RuleConfigSeverity[RuleConfigSeverity["Warning"] = 1] = "Warning";
14
+ RuleConfigSeverity[RuleConfigSeverity["Error"] = 2] = "Error";
15
15
  })(RuleConfigSeverity || (RuleConfigSeverity = {}));
16
16
  var RuleConfigQuality;
17
- (function(RuleConfigQuality$1) {
18
- RuleConfigQuality$1[RuleConfigQuality$1["User"] = 0] = "User";
19
- RuleConfigQuality$1[RuleConfigQuality$1["Qualified"] = 1] = "Qualified";
17
+ (function(RuleConfigQuality) {
18
+ RuleConfigQuality[RuleConfigQuality["User"] = 0] = "User";
19
+ RuleConfigQuality[RuleConfigQuality["Qualified"] = 1] = "Qualified";
20
20
  })(RuleConfigQuality || (RuleConfigQuality = {}));
21
21
 
22
22
  //#endregion
@@ -49,7 +49,6 @@ const config = {
49
49
  ]
50
50
  }
51
51
  };
52
- var src_default = config;
53
52
 
54
53
  //#endregion
55
- module.exports = src_default;
54
+ module.exports = config;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,186 @@
1
- import { UserConfig } from "@commitlint/types";
2
-
1
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/ensure.d.ts
2
+ type TargetCaseType = "camel-case" | "kebab-case" | "snake-case" | "pascal-case" | "start-case" | "upper-case" | "uppercase" | "sentence-case" | "sentencecase" | "lower-case" | "lowercase" | "lowerCase";
3
+ //#endregion
4
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/prompt.d.ts
5
+ type RuleField = "header" | "type" | "scope" | "subject" | "body" | "footer";
6
+ type PromptName = RuleField | "isBreaking" | "breakingBody" | "breaking" | "isIssueAffected" | "issuesBody" | "issues";
7
+ type PromptConfig = {
8
+ settings: {
9
+ scopeEnumSeparator: string;
10
+ enableMultipleScopes: boolean;
11
+ };
12
+ messages: PromptMessages;
13
+ questions: Partial<Record<PromptName, {
14
+ description?: string;
15
+ messages?: {
16
+ [K: string]: string;
17
+ };
18
+ enum?: {
19
+ [enumName: string]: {
20
+ description?: string;
21
+ title?: string;
22
+ emoji?: string;
23
+ };
24
+ };
25
+ emojiInHeader?: boolean;
26
+ }>>;
27
+ };
28
+ type PromptMessages = {
29
+ skip: string;
30
+ max: string;
31
+ min: string;
32
+ emptyWarning: string;
33
+ upperLimitWarning: string;
34
+ lowerLimitWarning: string;
35
+ [_key: string]: string;
36
+ };
37
+ type UserPromptConfig = DeepPartial<PromptConfig>;
38
+ type DeepPartial<T> = { [P in keyof T]?: { [K in keyof T[P]]?: T[P][K] } };
39
+ //#endregion
40
+ //#region ../../node_modules/.pnpm/conventional-commits-parser@6.2.1/node_modules/conventional-commits-parser/dist/types.d.ts
41
+ interface CommitReference {
42
+ raw: string;
43
+ action: string | null;
44
+ owner: string | null;
45
+ repository: string | null;
46
+ issue: string;
47
+ prefix: string;
48
+ }
49
+ interface CommitNote {
50
+ title: string;
51
+ text: string;
52
+ }
53
+ type CommitMeta = Record<string, string | null>;
54
+ interface CommitBase {
55
+ merge: string | null;
56
+ revert: CommitMeta | null;
57
+ header: string | null;
58
+ body: string | null;
59
+ footer: string | null;
60
+ notes: CommitNote[];
61
+ mentions: string[];
62
+ references: CommitReference[];
63
+ }
64
+ type Commit = CommitBase & CommitMeta;
65
+ //#endregion
66
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/rules.d.ts
67
+ /**
68
+ * Rules match the input either as successful or failed.
69
+ * For example, when `header-full-stop` detects a full stop and is set as "always"; it's true.
70
+ * If the `header-full-stop` discovers a full stop but is set to "never"; it's false.
71
+ */
72
+ type RuleOutcome = Readonly<[boolean, string?]>;
73
+ /**
74
+ * Rules receive a parsed commit, condition, and possible additional settings through value.
75
+ * All rules should provide the most sensible rule condition and value.
76
+ */
77
+ type RuleType = "async" | "sync" | "either";
78
+ type BaseRule<Value = never, Type extends RuleType = "either"> = (parsed: Commit, when?: RuleConfigCondition, value?: Value) => Type extends "either" ? RuleOutcome | Promise<RuleOutcome> : Type extends "async" ? Promise<RuleOutcome> : Type extends "sync" ? RuleOutcome : never;
79
+ type Rule<Value = never> = BaseRule<Value, "either">;
80
+ type AsyncRule<Value = never> = BaseRule<Value, "async">;
81
+ type SyncRule<Value = never> = BaseRule<Value, "sync">;
82
+ /**
83
+ * Rules always have a severity.
84
+ * Severity indicates what to do if the rule is found to be broken
85
+ * 0 - Disable this rule
86
+ * 1 - Warn for violations
87
+ * 2 - Error for violations
88
+ */
89
+ declare enum RuleConfigSeverity {
90
+ Disabled = 0,
91
+ Warning = 1,
92
+ Error = 2
93
+ }
94
+ /**
95
+ * Rules always have a condition.
96
+ * It can be either "always" (as tested), or "never" (as tested).
97
+ * For example, `header-full-stop` can be enforced as "always" or "never".
98
+ */
99
+ type RuleConfigCondition = "always" | "never";
100
+ type RuleConfigTuple<T> = T extends void ? Readonly<[RuleConfigSeverity.Disabled]> | Readonly<[RuleConfigSeverity, RuleConfigCondition]> : Readonly<[RuleConfigSeverity.Disabled]> | Readonly<[RuleConfigSeverity, RuleConfigCondition, T]>;
101
+ declare enum RuleConfigQuality {
102
+ User = 0,
103
+ Qualified = 1
104
+ }
105
+ type QualifiedRuleConfig<T> = (() => RuleConfigTuple<T>) | (() => Promise<RuleConfigTuple<T>>) | RuleConfigTuple<T>;
106
+ type RuleConfig<V = RuleConfigQuality.Qualified, T = void> = V extends RuleConfigQuality.Qualified ? RuleConfigTuple<T> : QualifiedRuleConfig<T>;
107
+ type CaseRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, TargetCaseType | TargetCaseType[]>;
108
+ type LengthRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, number>;
109
+ type EnumRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, string[]>;
110
+ type ObjectRuleConfig<V = RuleConfigQuality.User, T = Record<string, unknown>> = RuleConfig<V, T>;
111
+ type RulesConfig<V = RuleConfigQuality.User> = {
112
+ "body-case": CaseRuleConfig<V>;
113
+ "body-empty": RuleConfig<V>;
114
+ "body-full-stop": RuleConfig<V, string>;
115
+ "body-leading-blank": RuleConfig<V>;
116
+ "body-max-length": LengthRuleConfig<V>;
117
+ "body-max-line-length": LengthRuleConfig<V>;
118
+ "body-min-length": LengthRuleConfig<V>;
119
+ "breaking-change-exclamation-mark": CaseRuleConfig<V>;
120
+ "footer-empty": RuleConfig<V>;
121
+ "footer-leading-blank": RuleConfig<V>;
122
+ "footer-max-length": LengthRuleConfig<V>;
123
+ "footer-max-line-length": LengthRuleConfig<V>;
124
+ "footer-min-length": LengthRuleConfig<V>;
125
+ "header-case": CaseRuleConfig<V>;
126
+ "header-full-stop": RuleConfig<V, string>;
127
+ "header-max-length": LengthRuleConfig<V>;
128
+ "header-min-length": LengthRuleConfig<V>;
129
+ "header-trim": RuleConfig<V>;
130
+ "references-empty": RuleConfig<V>;
131
+ "scope-case": CaseRuleConfig<V> | ObjectRuleConfig<V, {
132
+ cases: TargetCaseType[];
133
+ delimiters?: string[];
134
+ }>;
135
+ "scope-delimiter-style": EnumRuleConfig<V>;
136
+ "scope-empty": RuleConfig<V>;
137
+ "scope-enum": EnumRuleConfig<V> | ObjectRuleConfig<V, {
138
+ scopes: string[];
139
+ delimiters?: string[];
140
+ }>;
141
+ "scope-max-length": LengthRuleConfig<V>;
142
+ "scope-min-length": LengthRuleConfig<V>;
143
+ "signed-off-by": RuleConfig<V, string>;
144
+ "subject-case": CaseRuleConfig<V>;
145
+ "subject-empty": RuleConfig<V>;
146
+ "subject-full-stop": RuleConfig<V, string>;
147
+ "subject-max-length": LengthRuleConfig<V>;
148
+ "subject-min-length": LengthRuleConfig<V>;
149
+ "trailer-exists": RuleConfig<V, string>;
150
+ "type-case": CaseRuleConfig<V>;
151
+ "type-empty": RuleConfig<V>;
152
+ "type-enum": EnumRuleConfig<V>;
153
+ "type-max-length": LengthRuleConfig<V>;
154
+ "type-min-length": LengthRuleConfig<V>;
155
+ [key: string]: AnyRuleConfig<V>;
156
+ };
157
+ type AnyRuleConfig<V> = RuleConfig<V, unknown> | RuleConfig<V, void>;
158
+ //#endregion
159
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/load.d.ts
160
+ interface Plugin {
161
+ rules: {
162
+ [ruleName: string]: Rule | AsyncRule | SyncRule;
163
+ };
164
+ }
165
+ interface UserConfig {
166
+ extends?: string | string[];
167
+ formatter?: string;
168
+ rules?: Partial<RulesConfig>;
169
+ parserPreset?: string | ParserPreset | Promise<ParserPreset>;
170
+ ignores?: ((commit: string) => boolean)[];
171
+ defaultIgnores?: boolean;
172
+ plugins?: (string | Plugin)[];
173
+ helpUrl?: string;
174
+ prompt?: UserPromptConfig;
175
+ [key: string]: unknown;
176
+ }
177
+ interface ParserPreset {
178
+ name?: string;
179
+ path?: string;
180
+ parserOpts?: unknown;
181
+ parser?: unknown;
182
+ }
183
+ //#endregion
3
184
  //#region src/index.d.ts
4
185
  declare const config: UserConfig;
5
186
  export = config;
package/dist/index.d.mts CHANGED
@@ -1,5 +1,186 @@
1
- import { UserConfig } from "@commitlint/types";
2
-
1
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/ensure.d.ts
2
+ type TargetCaseType = "camel-case" | "kebab-case" | "snake-case" | "pascal-case" | "start-case" | "upper-case" | "uppercase" | "sentence-case" | "sentencecase" | "lower-case" | "lowercase" | "lowerCase";
3
+ //#endregion
4
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/prompt.d.ts
5
+ type RuleField = "header" | "type" | "scope" | "subject" | "body" | "footer";
6
+ type PromptName = RuleField | "isBreaking" | "breakingBody" | "breaking" | "isIssueAffected" | "issuesBody" | "issues";
7
+ type PromptConfig = {
8
+ settings: {
9
+ scopeEnumSeparator: string;
10
+ enableMultipleScopes: boolean;
11
+ };
12
+ messages: PromptMessages;
13
+ questions: Partial<Record<PromptName, {
14
+ description?: string;
15
+ messages?: {
16
+ [K: string]: string;
17
+ };
18
+ enum?: {
19
+ [enumName: string]: {
20
+ description?: string;
21
+ title?: string;
22
+ emoji?: string;
23
+ };
24
+ };
25
+ emojiInHeader?: boolean;
26
+ }>>;
27
+ };
28
+ type PromptMessages = {
29
+ skip: string;
30
+ max: string;
31
+ min: string;
32
+ emptyWarning: string;
33
+ upperLimitWarning: string;
34
+ lowerLimitWarning: string;
35
+ [_key: string]: string;
36
+ };
37
+ type UserPromptConfig = DeepPartial<PromptConfig>;
38
+ type DeepPartial<T> = { [P in keyof T]?: { [K in keyof T[P]]?: T[P][K] } };
39
+ //#endregion
40
+ //#region ../../node_modules/.pnpm/conventional-commits-parser@6.2.1/node_modules/conventional-commits-parser/dist/types.d.ts
41
+ interface CommitReference {
42
+ raw: string;
43
+ action: string | null;
44
+ owner: string | null;
45
+ repository: string | null;
46
+ issue: string;
47
+ prefix: string;
48
+ }
49
+ interface CommitNote {
50
+ title: string;
51
+ text: string;
52
+ }
53
+ type CommitMeta = Record<string, string | null>;
54
+ interface CommitBase {
55
+ merge: string | null;
56
+ revert: CommitMeta | null;
57
+ header: string | null;
58
+ body: string | null;
59
+ footer: string | null;
60
+ notes: CommitNote[];
61
+ mentions: string[];
62
+ references: CommitReference[];
63
+ }
64
+ type Commit = CommitBase & CommitMeta;
65
+ //#endregion
66
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/rules.d.ts
67
+ /**
68
+ * Rules match the input either as successful or failed.
69
+ * For example, when `header-full-stop` detects a full stop and is set as "always"; it's true.
70
+ * If the `header-full-stop` discovers a full stop but is set to "never"; it's false.
71
+ */
72
+ type RuleOutcome = Readonly<[boolean, string?]>;
73
+ /**
74
+ * Rules receive a parsed commit, condition, and possible additional settings through value.
75
+ * All rules should provide the most sensible rule condition and value.
76
+ */
77
+ type RuleType = "async" | "sync" | "either";
78
+ type BaseRule<Value = never, Type extends RuleType = "either"> = (parsed: Commit, when?: RuleConfigCondition, value?: Value) => Type extends "either" ? RuleOutcome | Promise<RuleOutcome> : Type extends "async" ? Promise<RuleOutcome> : Type extends "sync" ? RuleOutcome : never;
79
+ type Rule<Value = never> = BaseRule<Value, "either">;
80
+ type AsyncRule<Value = never> = BaseRule<Value, "async">;
81
+ type SyncRule<Value = never> = BaseRule<Value, "sync">;
82
+ /**
83
+ * Rules always have a severity.
84
+ * Severity indicates what to do if the rule is found to be broken
85
+ * 0 - Disable this rule
86
+ * 1 - Warn for violations
87
+ * 2 - Error for violations
88
+ */
89
+ declare enum RuleConfigSeverity {
90
+ Disabled = 0,
91
+ Warning = 1,
92
+ Error = 2
93
+ }
94
+ /**
95
+ * Rules always have a condition.
96
+ * It can be either "always" (as tested), or "never" (as tested).
97
+ * For example, `header-full-stop` can be enforced as "always" or "never".
98
+ */
99
+ type RuleConfigCondition = "always" | "never";
100
+ type RuleConfigTuple<T> = T extends void ? Readonly<[RuleConfigSeverity.Disabled]> | Readonly<[RuleConfigSeverity, RuleConfigCondition]> : Readonly<[RuleConfigSeverity.Disabled]> | Readonly<[RuleConfigSeverity, RuleConfigCondition, T]>;
101
+ declare enum RuleConfigQuality {
102
+ User = 0,
103
+ Qualified = 1
104
+ }
105
+ type QualifiedRuleConfig<T> = (() => RuleConfigTuple<T>) | (() => Promise<RuleConfigTuple<T>>) | RuleConfigTuple<T>;
106
+ type RuleConfig<V = RuleConfigQuality.Qualified, T = void> = V extends RuleConfigQuality.Qualified ? RuleConfigTuple<T> : QualifiedRuleConfig<T>;
107
+ type CaseRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, TargetCaseType | TargetCaseType[]>;
108
+ type LengthRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, number>;
109
+ type EnumRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, string[]>;
110
+ type ObjectRuleConfig<V = RuleConfigQuality.User, T = Record<string, unknown>> = RuleConfig<V, T>;
111
+ type RulesConfig<V = RuleConfigQuality.User> = {
112
+ "body-case": CaseRuleConfig<V>;
113
+ "body-empty": RuleConfig<V>;
114
+ "body-full-stop": RuleConfig<V, string>;
115
+ "body-leading-blank": RuleConfig<V>;
116
+ "body-max-length": LengthRuleConfig<V>;
117
+ "body-max-line-length": LengthRuleConfig<V>;
118
+ "body-min-length": LengthRuleConfig<V>;
119
+ "breaking-change-exclamation-mark": CaseRuleConfig<V>;
120
+ "footer-empty": RuleConfig<V>;
121
+ "footer-leading-blank": RuleConfig<V>;
122
+ "footer-max-length": LengthRuleConfig<V>;
123
+ "footer-max-line-length": LengthRuleConfig<V>;
124
+ "footer-min-length": LengthRuleConfig<V>;
125
+ "header-case": CaseRuleConfig<V>;
126
+ "header-full-stop": RuleConfig<V, string>;
127
+ "header-max-length": LengthRuleConfig<V>;
128
+ "header-min-length": LengthRuleConfig<V>;
129
+ "header-trim": RuleConfig<V>;
130
+ "references-empty": RuleConfig<V>;
131
+ "scope-case": CaseRuleConfig<V> | ObjectRuleConfig<V, {
132
+ cases: TargetCaseType[];
133
+ delimiters?: string[];
134
+ }>;
135
+ "scope-delimiter-style": EnumRuleConfig<V>;
136
+ "scope-empty": RuleConfig<V>;
137
+ "scope-enum": EnumRuleConfig<V> | ObjectRuleConfig<V, {
138
+ scopes: string[];
139
+ delimiters?: string[];
140
+ }>;
141
+ "scope-max-length": LengthRuleConfig<V>;
142
+ "scope-min-length": LengthRuleConfig<V>;
143
+ "signed-off-by": RuleConfig<V, string>;
144
+ "subject-case": CaseRuleConfig<V>;
145
+ "subject-empty": RuleConfig<V>;
146
+ "subject-full-stop": RuleConfig<V, string>;
147
+ "subject-max-length": LengthRuleConfig<V>;
148
+ "subject-min-length": LengthRuleConfig<V>;
149
+ "trailer-exists": RuleConfig<V, string>;
150
+ "type-case": CaseRuleConfig<V>;
151
+ "type-empty": RuleConfig<V>;
152
+ "type-enum": EnumRuleConfig<V>;
153
+ "type-max-length": LengthRuleConfig<V>;
154
+ "type-min-length": LengthRuleConfig<V>;
155
+ [key: string]: AnyRuleConfig<V>;
156
+ };
157
+ type AnyRuleConfig<V> = RuleConfig<V, unknown> | RuleConfig<V, void>;
158
+ //#endregion
159
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/load.d.ts
160
+ interface Plugin {
161
+ rules: {
162
+ [ruleName: string]: Rule | AsyncRule | SyncRule;
163
+ };
164
+ }
165
+ interface UserConfig {
166
+ extends?: string | string[];
167
+ formatter?: string;
168
+ rules?: Partial<RulesConfig>;
169
+ parserPreset?: string | ParserPreset | Promise<ParserPreset>;
170
+ ignores?: ((commit: string) => boolean)[];
171
+ defaultIgnores?: boolean;
172
+ plugins?: (string | Plugin)[];
173
+ helpUrl?: string;
174
+ prompt?: UserPromptConfig;
175
+ [key: string]: unknown;
176
+ }
177
+ interface ParserPreset {
178
+ name?: string;
179
+ path?: string;
180
+ parserOpts?: unknown;
181
+ parser?: unknown;
182
+ }
183
+ //#endregion
3
184
  //#region src/index.d.ts
4
185
  declare const config: UserConfig;
5
186
  //#endregion
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@commitlint+types@20.2.0/node_modules/@commitlint/types/lib/rules.js
1
+ //#region ../../node_modules/.pnpm/@commitlint+types@20.4.0/node_modules/@commitlint/types/lib/rules.js
2
2
  /**
3
3
  * Rules always have a severity.
4
4
  * Severity indicates what to do if the rule is found to be broken
@@ -7,15 +7,15 @@
7
7
  * 2 - Error for violations
8
8
  */
9
9
  var RuleConfigSeverity;
10
- (function(RuleConfigSeverity$1) {
11
- RuleConfigSeverity$1[RuleConfigSeverity$1["Disabled"] = 0] = "Disabled";
12
- RuleConfigSeverity$1[RuleConfigSeverity$1["Warning"] = 1] = "Warning";
13
- RuleConfigSeverity$1[RuleConfigSeverity$1["Error"] = 2] = "Error";
10
+ (function(RuleConfigSeverity) {
11
+ RuleConfigSeverity[RuleConfigSeverity["Disabled"] = 0] = "Disabled";
12
+ RuleConfigSeverity[RuleConfigSeverity["Warning"] = 1] = "Warning";
13
+ RuleConfigSeverity[RuleConfigSeverity["Error"] = 2] = "Error";
14
14
  })(RuleConfigSeverity || (RuleConfigSeverity = {}));
15
15
  var RuleConfigQuality;
16
- (function(RuleConfigQuality$1) {
17
- RuleConfigQuality$1[RuleConfigQuality$1["User"] = 0] = "User";
18
- RuleConfigQuality$1[RuleConfigQuality$1["Qualified"] = 1] = "Qualified";
16
+ (function(RuleConfigQuality) {
17
+ RuleConfigQuality[RuleConfigQuality["User"] = 0] = "User";
18
+ RuleConfigQuality[RuleConfigQuality["Qualified"] = 1] = "Qualified";
19
19
  })(RuleConfigQuality || (RuleConfigQuality = {}));
20
20
 
21
21
  //#endregion
@@ -48,7 +48,6 @@ const config = {
48
48
  ]
49
49
  }
50
50
  };
51
- var src_default = config;
52
51
 
53
52
  //#endregion
54
- export { src_default as default };
53
+ export { config as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commencis/commitlint-config",
3
- "version": "3.0.1",
3
+ "version": "3.2.0",
4
4
  "description": "Commencis Commitlint config",
5
5
  "author": "Commencis WEB Team",
6
6
  "license": "Apache-2.0",
@@ -29,11 +29,19 @@
29
29
  "require": "./dist/index.cjs"
30
30
  },
31
31
  "dependencies": {
32
- "@commitlint/config-conventional": "20.3.0"
32
+ "@commitlint/config-conventional": "20.4.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@commencis/ts-config": "1.0.0",
36
- "@commitlint/types": "20.2.0"
36
+ "@commitlint/types": "20.4.0"
37
+ },
38
+ "peerDependencies": {
39
+ "@commitlint/cli": ">=20"
40
+ },
41
+ "peerDependenciesMeta": {
42
+ "@commitlint/cli": {
43
+ "optional": true
44
+ }
37
45
  },
38
46
  "scripts": {
39
47
  "dev": "tsdown --watch",