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 CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict'
3
- require('../lib/index.js')
3
+ require('../lib/main.js')
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 { CommitizenGitOptions, UserConfig };
675
+ export { type CommitizenGitOptions, type UserConfig, defineConfig, definePrompt };