czg 1.11.2-beta.1 → 1.12.0-beta.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +6 -3
  2. package/lib/main.js +105 -105
  3. package/package.json +2 -2
package/lib/index.d.ts CHANGED
@@ -278,7 +278,7 @@ interface GenerateAIPromptType {
278
278
  type?: string;
279
279
  defaultScope?: string | string[];
280
280
  maxSubjectLength?: number;
281
- upperCaseSubject?: boolean;
281
+ upperCaseSubject?: boolean | null;
282
282
  diff?: string;
283
283
  }
284
284
  /** cz-git configure */
@@ -470,9 +470,12 @@ interface CommitizenGitOptions {
470
470
  /**
471
471
  * Subject is need upper case first.
472
472
  *
473
- * @default false
473
+ * - `null`: Do not process
474
+ * - `true`: Automatically capitalize the first letter
475
+ * - `false`: Automatically lowercase the first letter
476
+ * @default null
474
477
  */
475
- upperCaseSubject?: boolean;
478
+ upperCaseSubject?: boolean | null;
476
479
  /**
477
480
  * Whether to add extra prompt BREAKCHANGE ask. to add an extra "!" to the header
478
481
  *