@soybeanjs/cli 0.5.3 → 0.5.5

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/dist/index.d.ts CHANGED
@@ -1,13 +1,46 @@
1
1
  import { ChangelogOption } from '@soybeanjs/changelog';
2
2
 
3
3
  interface CliOption {
4
- name?: string;
4
+ /**
5
+ * the project root directory
6
+ */
7
+ cwd: string;
8
+ /**
9
+ * cleanup dirs
10
+ * @default
11
+ * ```json
12
+ * ["** /dist", "** /pnpm-lock.yaml", "** /node_modules", "!node_modules/**"]
13
+ * ```
14
+ * @description glob pattern syntax {@link https://github.com/isaacs/minimatch}
15
+ */
16
+ cleanupDirs: string[];
17
+ /**
18
+ * git commit types
19
+ */
20
+ gitCommitTypes: [string, string][];
21
+ /**
22
+ * git commit scopes
23
+ */
24
+ gitCommitScopes: [string, string][];
25
+ /**
26
+ * npm-check-updates command args
27
+ * @default ["--deep","-u"]
28
+ */
29
+ ncuCommandArgs: string[];
5
30
  /**
6
31
  * options of generate changelog
7
32
  * @link https://github.com/soybeanjs/changelog
8
33
  */
9
- changelogOptions?: Partial<ChangelogOption>;
10
- prettierFormatFiles?: string[];
34
+ changelogOptions: Partial<ChangelogOption>;
35
+ /**
36
+ * prettier write glob
37
+ * @description glob pattern syntax {@link https://github.com/micromatch/micromatch}
38
+ */
39
+ prettierWriteGlob: string[];
40
+ /**
41
+ * lint-staged config
42
+ */
43
+ lintStagedConfig: Record<string, string | string[]>;
11
44
  }
12
45
 
13
46
  declare function defineConfig(config?: Partial<CliOption>): Partial<CliOption> | undefined;