@builder.io/dev-tools 1.18.40-dev.202512081828.78246177d → 1.18.41-dev.202512091131.53e860cfb
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 +766 -612
- 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 +818 -657
- package/server/index.mjs +818 -657
- package/types/cli/index.d.ts +11 -0
- package/types/cli/launch/server.d.ts +2 -5
- package/types/cli/utils/gif-generator.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/types/cli/indexing.d.ts +0 -5
- package/types/cli/launch/github.d.ts +0 -3
- package/types/core/component-map-builder.d.ts +0 -42
package/types/cli/index.d.ts
CHANGED
|
@@ -143,4 +143,15 @@ export interface CLIArgs {
|
|
|
143
143
|
* Example: --acceptSelfSignedCertificates
|
|
144
144
|
*/
|
|
145
145
|
acceptSelfSigned?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Create a fusion example project after design system indexing completes.
|
|
148
|
+
* The project will be created with the design system pre-attached and a background
|
|
149
|
+
* agent will be spawned to install the design system using installation.md.
|
|
150
|
+
*/
|
|
151
|
+
createFusionExample?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Test creating a fusion example project without running indexing.
|
|
154
|
+
* Requires designSystemName to be provided or will prompt for it.
|
|
155
|
+
*/
|
|
156
|
+
testFusionExample?: boolean;
|
|
146
157
|
}
|
|
@@ -3,21 +3,18 @@ import type { LaunchServerStatus } from "$/ai-utils";
|
|
|
3
3
|
export declare const BUILDER_ENDPOINT_PREFIX = "/_builder.io";
|
|
4
4
|
export declare const BUILDER_API_ENDPOINT_PREFIX: string;
|
|
5
5
|
/**
|
|
6
|
-
* Endpoints that are not authenticated because they are used by the fly.io health check
|
|
7
|
-
* or are called from the customer's iframe.
|
|
6
|
+
* Endpoints that are not authenticated because they are used by the fly.io health check.
|
|
8
7
|
*/
|
|
9
8
|
export declare const NON_AUTHENTICATED_ENDPOINTS: {
|
|
10
9
|
readonly STATUS: "/status";
|
|
11
10
|
readonly PROXY_STATUS: "/proxy-status";
|
|
12
11
|
readonly STATUS_V2: "/status-v2";
|
|
13
12
|
readonly INIT_LOGS: "/init-logs";
|
|
14
|
-
readonly COMPONENT_MAP: "/component-map";
|
|
15
13
|
};
|
|
16
|
-
export declare const configureServer: ({ app, validBuilderPrivateKey, authenticateProxy, isLocal, sharedState,
|
|
14
|
+
export declare const configureServer: ({ app, validBuilderPrivateKey, authenticateProxy, isLocal, sharedState, }: {
|
|
17
15
|
app: Express;
|
|
18
16
|
validBuilderPrivateKey: string | undefined;
|
|
19
17
|
authenticateProxy: boolean;
|
|
20
18
|
isLocal: boolean;
|
|
21
19
|
sharedState: LaunchServerStatus;
|
|
22
|
-
sys?: any;
|
|
23
20
|
}) => 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): "boolean" | "string" | "object" | "number" | "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(): "\"@builder.io/dev-tools\""
|
|
22
|
+
export declare function builderNpxPackage(): "builder.io" | "\"@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
|