codify-plugin-lib 1.0.111 → 1.0.112

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.
@@ -3,6 +3,10 @@ export interface SpawnResult {
3
3
  exitCode: number;
4
4
  data: string;
5
5
  }
6
+ export declare enum SpawnStatus {
7
+ SUCCESS = "success",
8
+ ERROR = "error"
9
+ }
6
10
  export interface SpawnOptions {
7
11
  cwd?: string;
8
12
  env?: Record<string, unknown>;
package/dist/pty/index.js CHANGED
@@ -1,4 +1,9 @@
1
1
  import { ptyLocalStorage } from '../utils/pty-local-storage.js';
2
+ export var SpawnStatus;
3
+ (function (SpawnStatus) {
4
+ SpawnStatus["SUCCESS"] = "success";
5
+ SpawnStatus["ERROR"] = "error";
6
+ })(SpawnStatus || (SpawnStatus = {}));
2
7
  export class SpawnError extends Error {
3
8
  data;
4
9
  cmd;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-plugin-lib",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
4
4
  "description": "Library plugin library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
package/src/pty/index.ts CHANGED
@@ -6,6 +6,11 @@ export interface SpawnResult {
6
6
  data: string;
7
7
  }
8
8
 
9
+ export enum SpawnStatus {
10
+ SUCCESS = 'success',
11
+ ERROR = 'error',
12
+ }
13
+
9
14
  export interface SpawnOptions {
10
15
  cwd?: string;
11
16
  env?: Record<string, unknown>,