builder.io 1.11.38 → 1.11.40
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 +304 -302
- package/cli/index.cjs.map +4 -4
- 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 +43 -43
- package/server/index.mjs +44 -44
- package/types/cli/backup.d.ts +3 -1
- package/types/cli/launch/InitStateMachine.d.ts +1 -0
- package/types/cli/repo-indexing/repo-indexing.d.ts +1 -1
- package/types/cli/utils/git.d.ts +11 -0
- package/types/tsconfig.tsbuildinfo +1 -1
package/types/cli/backup.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ type InitialCommitHashResult = {
|
|
|
53
53
|
* For partial backups, we fetch the latest state of the chosen upstream branch from origin
|
|
54
54
|
* to ensure the backup has the correct commit range reference.
|
|
55
55
|
*/
|
|
56
|
-
export declare function getInitialCommitHash({ sys, repoPath, featureBranch, debug, workspace, isConnectedToProvider, forcedFullBackup, }: {
|
|
56
|
+
export declare function getInitialCommitHash({ sys, repoPath, featureBranch, debug, workspace, isConnectedToProvider, forcedFullBackup, credentials, projectId, }: {
|
|
57
57
|
sys: DevToolsSys;
|
|
58
58
|
repoPath: string;
|
|
59
59
|
featureBranch: string;
|
|
@@ -61,6 +61,8 @@ export declare function getInitialCommitHash({ sys, repoPath, featureBranch, deb
|
|
|
61
61
|
workspace: WorkspaceConfiguration | undefined;
|
|
62
62
|
isConnectedToProvider: boolean;
|
|
63
63
|
forcedFullBackup: boolean;
|
|
64
|
+
credentials: Credentials;
|
|
65
|
+
projectId: string;
|
|
64
66
|
}): Promise<InitialCommitHashResult>;
|
|
65
67
|
/**
|
|
66
68
|
* Requests a signed upload URL for git backup
|
|
@@ -2,7 +2,7 @@ import type { DevToolsSys } from "../../types";
|
|
|
2
2
|
import type { CLIArgs } from "../index";
|
|
3
3
|
import { type Credentials } from "../credentials";
|
|
4
4
|
import type { Component, ComponentIssue } from "./types";
|
|
5
|
-
export declare const displayComponentLibrarySummary: (components: Component[], indexedComponents: Component[], startTime: number, numFailed: number | undefined, isForce: boolean | undefined, designSystemName: string, issues?: ComponentIssue[]) => void;
|
|
5
|
+
export declare const displayComponentLibrarySummary: (components: Component[], indexedComponents: Component[], startTime: number, numFailed: number | undefined, isForce: boolean | undefined, designSystemName: string, issues?: ComponentIssue[], designSystemId?: string) => void;
|
|
6
6
|
export interface RepoIndexingDoc {
|
|
7
7
|
name: string;
|
|
8
8
|
content: string | {
|
package/types/cli/utils/git.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { DevToolsSys } from "types";
|
|
2
|
+
import type { Credentials } from "../credentials";
|
|
3
|
+
import type { GitConfigs } from "$/ai-utils";
|
|
2
4
|
export interface RunCommandOptions {
|
|
3
5
|
cwd?: string;
|
|
4
6
|
debug?: boolean;
|
|
@@ -7,5 +9,14 @@ export interface RunCommandOptions {
|
|
|
7
9
|
stdin?: string;
|
|
8
10
|
retry?: number;
|
|
9
11
|
}
|
|
12
|
+
type FetchGitConfigsResult = {
|
|
13
|
+
success: true;
|
|
14
|
+
gitConfigs: GitConfigs;
|
|
15
|
+
} | {
|
|
16
|
+
success: false;
|
|
17
|
+
error: Error;
|
|
18
|
+
};
|
|
10
19
|
export declare function runCommand(cmd: string, args: string[], opts: RunCommandOptions): Promise<string>;
|
|
11
20
|
export declare const isGitRepoCorrupted: (stdout: string, stderr: string) => boolean;
|
|
21
|
+
export declare function fetchGitConfigs(credentials: Credentials, projectId: string): Promise<FetchGitConfigsResult>;
|
|
22
|
+
export {};
|