@builder.io/dev-tools 1.28.14-dev.202602260017.682c3e9e9 → 1.28.15-dev.202602271233.f563c361b
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 +150 -49
- package/cli/index.cjs.map +3 -3
- 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/launch/InitStateMachine.d.ts +2 -1
- package/types/cli/launch/dev-server-orchestrator.d.ts +2 -1
- package/types/cli/utils/agents/project-setup-agent.d.ts +2 -0
- package/types/common/utils.d.ts +1 -1
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -80,7 +80,8 @@ export declare class InitStateMachine {
|
|
|
80
80
|
*/
|
|
81
81
|
private restoreFromPartialBackup;
|
|
82
82
|
private initializeGitRepo;
|
|
83
|
-
private
|
|
83
|
+
private fetchGitConfigsOnce;
|
|
84
|
+
private applyGitConfig;
|
|
84
85
|
runInitializationCommand({ repo, tempCloningDir, repoPath, initCommand, }: {
|
|
85
86
|
repo: ValidatedWorkspaceFolder;
|
|
86
87
|
tempCloningDir: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DevToolsSys } from "@builder.io/dev-tools/core";
|
|
2
2
|
import type { ProxyMiddleware } from "../../types/proxy-middleware";
|
|
3
|
-
import type { DevCommandResult, DevCommandState, EnvironmentVariable, HttpServerData, HttpServerState, ProxyServerSelection, SetupCommandResult, SetupDependency, ValidateCommandResult, ValidateCommandState } from "$/ai-utils";
|
|
3
|
+
import type { DevCommandResult, DevCommandState, EnvironmentVariable, FusionMetrics, HttpServerData, HttpServerState, ProxyServerSelection, SetupCommandResult, SetupDependency, ValidateCommandResult, ValidateCommandState } from "$/ai-utils";
|
|
4
4
|
import EventEmitter from "events";
|
|
5
5
|
import type { FusionConfig, SetupCommandState } from "$/ai-utils";
|
|
6
6
|
export type DevServerState = Exclude<SetupCommandState | DevCommandState, "installed" | "starting">;
|
|
@@ -110,6 +110,7 @@ export interface DevServerOrchestrator {
|
|
|
110
110
|
httpServerState: [HttpServerState];
|
|
111
111
|
validateState: [ValidateCommandState];
|
|
112
112
|
urlDetected: [string];
|
|
113
|
+
metrics: [FusionMetrics];
|
|
113
114
|
}>;
|
|
114
115
|
close: () => Promise<void>;
|
|
115
116
|
}
|
package/types/common/utils.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare function clone<T>(obj: T): T;
|
|
|
19
19
|
export declare function shouldSkipFolder(sys: DevToolsSys, skipFolders: Set<string>, fileName: string): boolean;
|
|
20
20
|
export declare function getPackageManager(): string;
|
|
21
21
|
export declare function isWindows(): boolean;
|
|
22
|
-
export declare function builderNpxPackage(): "@builder.io/agent" | "\"@builder.io/dev-tools\""
|
|
22
|
+
export declare function builderNpxPackage(): "builder.io" | "@builder.io/agent" | "\"@builder.io/dev-tools\"";
|
|
23
23
|
/**
|
|
24
24
|
* Sanitizes a component name for use in filesystem paths by replacing invalid characters with underscores
|
|
25
25
|
* @param name The component name to sanitize
|