czg 1.10.1 → 1.11.0-beta.2
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/bin/index.js +1 -1
- package/lib/index.d.ts +14 -1
- package/lib/index.js +1 -319
- package/lib/index.mjs +1 -0
- package/lib/main.js +324 -0
- package/package.json +8 -3
package/bin/index.js
CHANGED
package/lib/index.d.ts
CHANGED
@@ -658,5 +658,18 @@ interface CommitizenGitOptions {
|
|
658
658
|
*/
|
659
659
|
formatMessageCB?: (messageMod: CommitMessageOptions) => string;
|
660
660
|
}
|
661
|
+
/**
|
662
|
+
* Used for `commitlint` configure file: `commitlint.config.*` or `.commitlintrc.*`
|
663
|
+
*/
|
664
|
+
declare const defineConfig$1: (config: UserConfig) => UserConfig;
|
665
|
+
/**
|
666
|
+
* Used for `cz-git` configure file: `cz.config.*` or `package.json`.config.commitizen.czConfig
|
667
|
+
*
|
668
|
+
* Used for `czg --config="xxx.js"`
|
669
|
+
*/
|
670
|
+
declare const definePrompt$1: (config: UserConfig["prompt"]) => CommitizenGitOptions | undefined;
|
671
|
+
|
672
|
+
declare const defineConfig: typeof defineConfig$1;
|
673
|
+
declare const definePrompt: typeof definePrompt$1;
|
661
674
|
|
662
|
-
export type
|
675
|
+
export { type CommitizenGitOptions, type UserConfig, defineConfig, definePrompt };
|