@builder.io/dev-tools 1.17.24-dev.202511131301.7305ffc47 → 1.17.24-dev.202511131318.7305ffc47
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/cli/index.cjs +35 -20
- package/cli/index.cjs.map +2 -2
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +2 -2
- package/server/index.mjs +2 -2
- package/types/cli/index.d.ts +103 -100
- package/types/cli/repo-indexing/repo-indexing-utils.d.ts +1 -1
- package/types/tsconfig.tsbuildinfo +1 -1
package/types/cli/index.d.ts
CHANGED
|
@@ -1,102 +1,105 @@
|
|
|
1
|
+
import type { DesignSystemScope } from "$/ai-utils";
|
|
1
2
|
export interface CLIArgs {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
3
|
+
/** Figma access token */
|
|
4
|
+
figmaToken?: string;
|
|
5
|
+
/** GitHub access token */
|
|
6
|
+
githubToken?: string;
|
|
7
|
+
/** Run in CI mode without interactive prompts */
|
|
8
|
+
ci?: boolean;
|
|
9
|
+
/** Show help text */
|
|
10
|
+
help?: boolean;
|
|
11
|
+
/** Force operation even if there are warnings */
|
|
12
|
+
force?: boolean;
|
|
13
|
+
/** Print output as JSON */
|
|
14
|
+
verbose?: boolean;
|
|
15
|
+
/** Run in dry-run mode without making changes */
|
|
16
|
+
dryrun?: boolean;
|
|
17
|
+
/** Auto-confirm all prompts */
|
|
18
|
+
yes?: boolean;
|
|
19
|
+
/** Builder.io space ID */
|
|
20
|
+
spaceId?: string;
|
|
21
|
+
/** Component name to use */
|
|
22
|
+
componentName?: string;
|
|
23
|
+
/** Mapping directory to use */
|
|
24
|
+
mappingOutput?: string;
|
|
25
|
+
/** Skip package installation step */
|
|
26
|
+
skipInstallation?: boolean;
|
|
27
|
+
/** Skip detailed grouping in repo indexing */
|
|
28
|
+
skipDetailedGrouping?: boolean;
|
|
29
|
+
/** Skip display of header in repo indexing */
|
|
30
|
+
skipHeader?: boolean;
|
|
31
|
+
/** NPM package name to index */
|
|
32
|
+
designSystemPackage?: string;
|
|
33
|
+
/**
|
|
34
|
+
* A user-friendly design system name to index.
|
|
35
|
+
*
|
|
36
|
+
* This can be used in conjunction with designSystemPackage to index components
|
|
37
|
+
* where the design system name is different than the npm package name.
|
|
38
|
+
* Example: --designSystemPackage=@adobe/react-spectrum --designSystemName="Adobe React Spectrum"
|
|
39
|
+
*
|
|
40
|
+
* This flag can also be used with includeDirectories to specify a name for design systems
|
|
41
|
+
* that are not npm packages.
|
|
42
|
+
* Example: --includeDirectories="path/to/swift/ui/components" --designSystemName="Native UI"
|
|
43
|
+
**/
|
|
44
|
+
designSystemName?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Comma separated string of directories to look in for repo indexing.
|
|
47
|
+
* Use this when component implementations live in a different place
|
|
48
|
+
* than the workspace package you are indexing.
|
|
49
|
+
* Example: --includeDirectories "packages/foo, packages/bar"
|
|
50
|
+
**/
|
|
51
|
+
includeDirectories?: string;
|
|
52
|
+
/** The scope of the design system to index */
|
|
53
|
+
scope?: DesignSystemScope;
|
|
54
|
+
/** Token to use for figma */
|
|
55
|
+
token?: string;
|
|
56
|
+
/** Url to start from */
|
|
57
|
+
url?: string;
|
|
58
|
+
/** Node ID from Figma URL */
|
|
59
|
+
nodeId?: string;
|
|
60
|
+
/** Prompt text for non-interactive mode */
|
|
61
|
+
prompt?: string;
|
|
62
|
+
/** Generation mode */
|
|
63
|
+
mode?: "quality" | "quality-v3";
|
|
64
|
+
/** Working directory to run commands from */
|
|
65
|
+
cwd?: string;
|
|
66
|
+
/** Debug mode */
|
|
67
|
+
debug?: boolean;
|
|
68
|
+
/** Raw command line arguments */
|
|
69
|
+
_: string[];
|
|
70
|
+
/** Builder private key, used for authentication. */
|
|
71
|
+
builderPrivateKey?: string;
|
|
72
|
+
/** Builder public key, used for authentication. */
|
|
73
|
+
builderPublicKey?: string;
|
|
74
|
+
/** Builder user ID, used for authentication. */
|
|
75
|
+
builderUserId?: string;
|
|
76
|
+
/** Path to workspace configuration file */
|
|
77
|
+
workspace?: string;
|
|
78
|
+
/** Output structured JSON data instead of human-readable logs */
|
|
79
|
+
jsonOutput?: boolean;
|
|
80
|
+
/** Remove all mappings from the space, publishing zero mappings even if mapper files exist */
|
|
81
|
+
clearMappings?: boolean;
|
|
82
|
+
/** Enabled tools, list of strings separated by commas */
|
|
83
|
+
enabledTools?: string;
|
|
84
|
+
/** Disabled tools, list of strings separated by commas */
|
|
85
|
+
disabledTools?: string;
|
|
86
|
+
/** If true run brief indexing before running code generation */
|
|
87
|
+
index?: boolean;
|
|
88
|
+
/** If true list indexed repositories */
|
|
89
|
+
listIndexedRepos?: boolean;
|
|
90
|
+
/** Disable MCP support */
|
|
91
|
+
disableMcp?: boolean;
|
|
92
|
+
/** Clear all stored credentials (logout) */
|
|
93
|
+
reset?: boolean;
|
|
94
|
+
/** Comma-separated list of component names to reindex */
|
|
95
|
+
components?: string;
|
|
96
|
+
nativeApp?: boolean;
|
|
97
|
+
/** Install command to run for connect-repo (e.g., npm install) */
|
|
98
|
+
installCommand?: string;
|
|
99
|
+
/** Use development server instead of production for launch command */
|
|
100
|
+
dev?: boolean;
|
|
101
|
+
/** Use native builder:// protocol instead of https:// */
|
|
102
|
+
app?: boolean;
|
|
103
|
+
/** Skip browser auto-open (flag form) */
|
|
104
|
+
open?: boolean;
|
|
102
105
|
}
|
|
@@ -11,7 +11,7 @@ export interface UserSettings {
|
|
|
11
11
|
isAdminInOrganization: boolean;
|
|
12
12
|
email: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const promptForDesignSystemScope: (credentials: Credentials, userSettings: UserSettings | null) => Promise<DesignSystemScope | undefined>;
|
|
14
|
+
export declare const promptForDesignSystemScope: (credentials: Credentials, userSettings: UserSettings | null, selectedScope?: DesignSystemScope) => Promise<DesignSystemScope | undefined>;
|
|
15
15
|
export declare const parseDesignSystem: (sys: DevToolsSys, designSystemPackage?: string) => Promise<{
|
|
16
16
|
name: any;
|
|
17
17
|
version: string | undefined;
|