builder.io 1.6.44 → 1.6.46

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.
@@ -13,11 +13,12 @@ export interface RunCommandCtx {
13
13
  getAllStdout: () => string;
14
14
  getAllStderr: () => string;
15
15
  getOutput: () => string;
16
+ waitUntilIdle: (initialWaitMs?: number, idleTimeMs?: number) => Promise<void>;
16
17
  pid: number | undefined;
17
18
  onClose: (callback: (code: number | null) => void) => void;
18
19
  onStdout: (callback: (data: string) => void) => void;
19
20
  onStderr: (callback: (data: string) => void) => void;
20
- restart: (waitMs?: number) => Promise<void>;
21
+ restart: () => Promise<void>;
21
22
  }
22
23
  export interface SessionContext {
23
24
  sessionId: string;
@@ -45,4 +45,6 @@ export interface CLIArgs {
45
45
  builderPrivateKey?: string;
46
46
  /** Builder public key, used for authentication. */
47
47
  builderPublicKey?: string;
48
+ /** Builder user ID, used for authentication. */
49
+ builderUserId?: string;
48
50
  }
@@ -1 +1,3 @@
1
- export declare function prettierFormat(code: string, parser?: string, filePath?: string): Promise<string>;
1
+ import builtInPrettier from "prettier";
2
+ export declare function loadPrettier(absoluteFilePath: string | undefined): typeof builtInPrettier;
3
+ export declare function prettierFormat(workingDirectory: string, code: string, parser?: string, filePath?: string): Promise<string>;