@soybeanjs/cli 0.5.4 → 0.5.6
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.cjs +219 -7469
- package/dist/index.d.ts +39 -4
- package/dist/index.mjs +217 -7453
- package/package.json +12 -12
- package/dist/lint-staged.config.cjs +0 -7
- package/dist/lint-staged.config.d.ts +0 -3
- package/dist/lint-staged.config.mjs +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,50 @@
|
|
|
1
1
|
import { ChangelogOption } from '@soybeanjs/changelog';
|
|
2
2
|
|
|
3
3
|
interface CliOption {
|
|
4
|
-
|
|
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
|
|
10
|
-
|
|
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
|
|
|
46
|
+
declare const SOYBEAN_GITHUB_TOKEN = "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";
|
|
47
|
+
|
|
13
48
|
declare function defineConfig(config?: Partial<CliOption>): Partial<CliOption> | undefined;
|
|
14
49
|
|
|
15
|
-
export { CliOption, defineConfig };
|
|
50
|
+
export { CliOption, SOYBEAN_GITHUB_TOKEN, defineConfig };
|