We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 656801b commit bff6289Copy full SHA for bff6289
config/cz.config.js
@@ -1,3 +1,8 @@
1
+const {readdirSync} = require('node:fs')
2
+const {resolve} = require('node:path')
3
+
4
+const packages = readdirSync(resolve(__dirname, '..', 'packages'))
5
6
// prettier-ignore
7
/** @type {import('cz-git').UserConfig['prompt']} */
8
module.exports = {
@@ -34,7 +39,7 @@ module.exports = {
34
39
useAI: false,
35
40
aiNumber: 1,
36
41
themeColorCode: '',
37
- scopes: [],
42
+ scopes: [...packages],
38
43
allowCustomScopes: true,
44
allowEmptyScopes: true,
45
customScopesAlign: 'bottom',
0 commit comments