@builder.io/dev-tools 1.9.18-dev.202508070547.81cb44683 → 1.9.19
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/angular/index.cjs +1 -46
- package/angular/index.mjs +1 -21
- package/cli/index.cjs +3841 -110606
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +944 -14283
- package/core/index.mjs +945 -14274
- package/figma/index.cjs +1 -47
- package/figma/index.mjs +1 -27
- package/node/index.cjs +105 -25310
- package/node/index.mjs +105 -25314
- package/package.json +1 -1
- package/remix/build.cjs +1 -132
- package/remix/index.mjs +1 -113
- package/server/index.cjs +1508 -22016
- package/server/index.mjs +1507 -22014
- package/types/cli/backup.d.ts +2 -2
- package/types/cli/launch/InitStateMachine.d.ts +1 -0
- package/types/common/ast/component-input-types.d.ts +1 -1
- package/types/common/ast/convert-values.d.ts +1 -1
- package/types/common/utils.d.ts +1 -1
- package/types/tsconfig.tsbuildinfo +1 -1
- package/vite/index.cjs +3 -153
- package/vite/index.mjs +3 -119
- package/webpack/index.cjs +27 -2883
- package/webpack/index.mjs +27 -2871
- package/types/cli/repo-indexing.d.ts +0 -17
- package/types/cli/repo-indexing.mock.d.ts +0 -5
- package/types/cli/utils/repo-indexing-group-prompts.d.ts +0 -1
- package/types/scripts/analyze-projects.d.ts +0 -18
- package/types/scripts/call-ensure-container.d.ts +0 -4
- package/types/scripts/check-backup.d.ts +0 -1
- package/types/scripts/cli.d.ts +0 -1
- package/types/scripts/download-projects.d.ts +0 -12
- package/types/scripts/utils/db.d.ts +0 -3
- package/types/scripts/utils/ensure-container.d.ts +0 -7
- package/types/scripts/utils/remove-machine-and-volume.d.ts +0 -5
package/types/cli/backup.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DevToolsSys } from "../types";
|
|
2
2
|
import type { Credentials } from "./credentials";
|
|
3
|
-
import { type GitBackupUploadUrlResult, type GitBackupUploadUrlOptions, type GitBackupRecordOptions, type GitBackupRecordResult, type BackupMetadata, type WorkspaceConfiguration, type
|
|
3
|
+
import { type GitBackupUploadUrlResult, type GitBackupUploadUrlOptions, type GitBackupRecordOptions, type GitBackupRecordResult, type BackupMetadata, type WorkspaceConfiguration, type CodegenRuntimeStatus } from "$/ai-utils";
|
|
4
4
|
interface BackupGitRepoOptions {
|
|
5
5
|
sys: DevToolsSys;
|
|
6
6
|
credentials: Credentials;
|
|
@@ -102,7 +102,7 @@ export declare function computeMD5Hash(bundlePath: string): Promise<{
|
|
|
102
102
|
* This is called frequently throughout the codebase (after every commit creation)
|
|
103
103
|
* to track the current state and determine if backups are up-to-date.
|
|
104
104
|
*/
|
|
105
|
-
export declare function
|
|
105
|
+
export declare function setRuntimeStatus(sys: DevToolsSys, credentials: Credentials, data: CodegenRuntimeStatus): Promise<any>;
|
|
106
106
|
/**
|
|
107
107
|
* Computes a unique backup reference string that combines version, repo URL, and commit hash.
|
|
108
108
|
* This reference can be used to identify and retrieve specific backups.
|
|
@@ -31,6 +31,7 @@ export declare class InitStateMachine {
|
|
|
31
31
|
success?: boolean;
|
|
32
32
|
}): void;
|
|
33
33
|
clearInitLogs(): void;
|
|
34
|
+
hasFilesButNoGit(repoPath: string): Promise<boolean>;
|
|
34
35
|
step1CheckDirectories(config: InitConfig, repositories: Required<WorkspaceFolder>[]): Promise<void>;
|
|
35
36
|
step2ConfigureGitRepositories(config: InitConfig, repositories: Required<WorkspaceFolder>[]): Promise<void>;
|
|
36
37
|
step3ConfigureGitUser(config: InitConfig, repositories: Required<WorkspaceFolder>[]): Promise<void>;
|
|
@@ -17,7 +17,7 @@ export declare const NUMBER_TYPES: string[];
|
|
|
17
17
|
export declare const BOOLEAN_TYPES: string[];
|
|
18
18
|
export declare const ARRAY_TYPES: string[];
|
|
19
19
|
export declare const OBJECT_TYPES: string[];
|
|
20
|
-
export declare function getPrimitiveType(t: string): "
|
|
20
|
+
export declare function getPrimitiveType(t: string): "number" | "string" | "boolean" | "object" | "array";
|
|
21
21
|
export declare function removeQuotes(text: string): string;
|
|
22
22
|
export declare const resolveType: (sys: DevToolsSys, checker: ts.TypeChecker, type: ts.Type) => string[] | undefined;
|
|
23
23
|
export declare const typeToString: (sys: DevToolsSys, checker: ts.TypeChecker, type: ts.Type) => string;
|
|
@@ -8,4 +8,4 @@ export declare function objectExpressionToObjectValue(sys: DevToolsSys, objectLi
|
|
|
8
8
|
};
|
|
9
9
|
export declare function convertArrayExpressionToJsArray(sys: DevToolsSys, arr: ts.ArrayLiteralExpression): any[];
|
|
10
10
|
export declare function getTextOfPropertyName(sys: DevToolsSys, prop: ts.PropertyAssignment | ts.ObjectLiteralElementLike | undefined): string | undefined;
|
|
11
|
-
export declare function valueToExpression(sys: DevToolsSys, val: any): ts.ObjectLiteralExpression | ts.
|
|
11
|
+
export declare function valueToExpression(sys: DevToolsSys, val: any): ts.ObjectLiteralExpression | ts.Identifier | ts.StringLiteral | ts.NumericLiteral | ts.TrueLiteral | ts.FalseLiteral | ts.ArrayLiteralExpression;
|
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(): "
|
|
22
|
+
export declare function builderNpxPackage(): "\"@builder.io/dev-tools\"" | "builder.io";
|
|
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
|