builder.io 1.11.33 → 1.11.35
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 +316 -311
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +11 -11
- package/node/index.mjs +11 -11
- package/package.json +1 -1
- package/server/index.cjs +69 -69
- package/server/index.mjs +57 -57
- package/types/cli/launch/helpers.d.ts +14 -0
- package/types/cli/launch/helpers.test.d.ts +1 -0
- package/types/cli/sync-utils.d.ts +2 -1
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import type { FusionConfig } from "$/ai-utils";
|
|
2
2
|
import type { DevToolsSys } from "types";
|
|
3
|
+
export declare const getTempFolder: () => string;
|
|
4
|
+
export declare const cleanupTempFolder: () => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Detects if a command is multi-line (contains newlines)
|
|
7
|
+
*/
|
|
8
|
+
export declare const isMultiLineCommand: (command: string) => boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Creates a temporary script file for multi-line commands
|
|
11
|
+
*/
|
|
12
|
+
export declare const createTempScript: (command: string, shell: string) => string;
|
|
13
|
+
/**
|
|
14
|
+
* Cleans up a temporary script file
|
|
15
|
+
*/
|
|
16
|
+
export declare const cleanupTempScript: (scriptPath: string) => void;
|
|
3
17
|
export declare const getCommandWithShellArgs: (command: string, shell: string) => string[];
|
|
4
18
|
export declare const isInRemoteContainer: () => boolean;
|
|
5
19
|
export declare const getVolumePath: (fusionConfig: FusionConfig) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -5,6 +5,7 @@ export declare function extractSignatureInfo(content: string): {
|
|
|
5
5
|
snippetId?: string;
|
|
6
6
|
};
|
|
7
7
|
export interface GetAllProjectFilesOptions {
|
|
8
|
+
sys?: DevToolsSys;
|
|
8
9
|
basePath: string;
|
|
9
10
|
globPattern?: string | string[];
|
|
10
11
|
extraIgnorePatterns?: string[];
|
|
@@ -12,7 +13,7 @@ export interface GetAllProjectFilesOptions {
|
|
|
12
13
|
deep?: number;
|
|
13
14
|
gitignore?: boolean;
|
|
14
15
|
}
|
|
15
|
-
export declare function getAllProjectFiles({ basePath, globPattern, extraIgnorePatterns, dot, deep, gitignore, }: GetAllProjectFilesOptions): Promise<string[]>;
|
|
16
|
+
export declare function getAllProjectFiles({ basePath, globPattern, extraIgnorePatterns, dot, deep, gitignore, sys, }: GetAllProjectFilesOptions): Promise<string[]>;
|
|
16
17
|
export declare function findBuilderFiles(basePath: string, targetContentId: string, targetSessionKey: string): Promise<FileNode[]>;
|
|
17
18
|
export declare function filterNonImportantFiles(files: string[]): string[];
|
|
18
19
|
export declare function getIgnorePatterns(basePath: string): (path: string) => boolean;
|