builder.io 1.18.10 → 1.18.12
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 +542 -541
- 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 +90 -89
- package/server/index.mjs +91 -90
- package/types/cli/utils/process-tracker.d.ts +8 -1
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -82,5 +82,12 @@ export declare const getTempScriptPath: (extension: string) => string;
|
|
|
82
82
|
*/
|
|
83
83
|
export declare const cleanupTempScript: (scriptPath: string) => void;
|
|
84
84
|
export declare const getCommandWithShellArgs: (command: string, shell: string) => string[];
|
|
85
|
-
|
|
85
|
+
/**
|
|
86
|
+
* Checks if a process with the given PID is still running.
|
|
87
|
+
* Uses process.kill(pid, 0) which sends a signal 0 to check process existence.
|
|
88
|
+
* @param pid - The process ID to check
|
|
89
|
+
* @returns true if the process is alive, false otherwise
|
|
90
|
+
*/
|
|
91
|
+
export declare function isProcessAlive(pid: number): boolean;
|
|
92
|
+
export declare function killProcess(sys: DevToolsSys | undefined, procOrPid: ChildProcess | DevCommandProcess | number | undefined, abortSignal?: AbortSignal, timeout?: number): Promise<Error | null>;
|
|
86
93
|
export {};
|