@pipelab/plugin-core 1.0.1-beta.2 → 1.0.1-beta.4

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/dist/index.d.cts DELETED
@@ -1,160 +0,0 @@
1
- import { BrowserWindow } from "electron";
2
- import { Options, Subprocess } from "execa";
3
- import { z as schema } from "zod";
4
-
5
- //#region src/pipelab.d.ts
6
- type RunnerCallbackFnArgument = {
7
- done: () => void;
8
- id: string;
9
- log: (...args: Parameters<(typeof console)["log"]>) => void;
10
- };
11
- type ActionRunnerData<ACTION extends Action> = {
12
- log: typeof console.log;
13
- setOutput: SetOutputActionFn<ACTION>;
14
- inputs: ExtractInputsFromAction<ACTION>;
15
- setMeta: (callback: (data: ACTION["meta"]) => ACTION["meta"]) => void;
16
- meta: ACTION["meta"];
17
- cwd: string;
18
- paths: {
19
- assets: string;
20
- cache: string;
21
- pnpm: string;
22
- node: string;
23
- userData: string;
24
- modules: string;
25
- thirdparty: string;
26
- };
27
- api: {
28
- fetchAsset: (packageName: string, version?: string) => Promise<string>;
29
- [key: string]: any;
30
- };
31
- browserWindow: BrowserWindow;
32
- abortSignal: AbortSignal;
33
- };
34
- type ActionRunner<ACTION extends Action> = (data: ActionRunnerData<ACTION>) => Promise<void>;
35
- declare const createActionRunner: <ACTION extends Action>(runner: ActionRunner<ACTION>) => ActionRunner<ACTION>;
36
- type ConditionRunner<CONDITION extends Condition> = (data: {
37
- log: typeof console.log;
38
- inputs: ExtractInputsFromCondition<CONDITION>;
39
- setMeta: (callback: (data: CONDITION["meta"]) => CONDITION["meta"]) => void;
40
- meta: CONDITION["meta"];
41
- cwd: string;
42
- }) => Promise<boolean>;
43
- declare const createConditionRunner: <CONDITION extends Condition>(runner: ConditionRunner<CONDITION>) => ConditionRunner<CONDITION>;
44
- type LoopRunner<LOOP extends Loop> = (data: {
45
- log: typeof console.log;
46
- setOutput: SetOutputLoopFn<LOOP>;
47
- inputs: ExtractInputsFromLoop<LOOP>;
48
- setMeta: (callback: (data: LOOP["meta"]) => LOOP["meta"]) => void;
49
- meta: LOOP["meta"];
50
- cwd: string;
51
- }) => Promise<"step" | "exit">;
52
- declare const createLoopRunner: <LOOP extends Loop>(runner: LoopRunner<LOOP>) => LoopRunner<LOOP>;
53
- type ExpressionRunner<EXPRESSION extends Expression> = (data: {
54
- log: typeof console.log;
55
- setOutput: SetOutputExpressionFn<EXPRESSION>;
56
- inputs: ExtractInputsFromExpression<EXPRESSION>;
57
- setMeta: (callback: (data: EXPRESSION["meta"]) => EXPRESSION["meta"]) => void;
58
- meta: EXPRESSION["meta"];
59
- cwd: string;
60
- }) => Promise<string>;
61
- declare const createExpressionRunner: <EXPRESSION extends Expression>(runner: ExpressionRunner<EXPRESSION>) => ExpressionRunner<EXPRESSION>;
62
- type EventRunner<EVENT extends Event> = (data: {
63
- log: typeof console.log;
64
- inputs: ExtractInputsFromEvent<EVENT>;
65
- setMeta: (callback: (data: EVENT["meta"]) => EVENT["meta"]) => void;
66
- meta: EVENT["meta"];
67
- cwd: string;
68
- }) => Promise<void>;
69
- declare const createEventRunner: <EVENT extends Event>(runner: EventRunner<EVENT>) => EventRunner<EVENT>;
70
- type Runner = ActionRunner<any> | LoopRunner<any> | EventRunner<any> | ConditionRunner<any>;
71
- declare const sleep: (duration: number) => Promise<unknown>;
72
- //#endregion
73
- //#region src/create-plugin.d.ts
74
- type Plugin = {
75
- nodes: Record<string, any>;
76
- runtime: () => Promise<void>;
77
- };
78
- declare const createPlugin: (plugin: Plugin) => Plugin;
79
- //#endregion
80
- //#region src/utils.d.ts
81
- declare const fileExists: (path: string) => Promise<boolean>;
82
- declare const runWithLiveLogs: (command: string, args: string[], execaOptions: Options, log: typeof console.log, hooks?: {
83
- onStdout?: (data: string, subprocess: Subprocess) => void;
84
- onStderr?: (data: string, subprocess: Subprocess) => void;
85
- onExit?: (code: number) => void;
86
- }) => Promise<void>;
87
- declare const runWithLiveLogsPTY: (command: string, args: string[], execaOptions: Options, log: typeof console.log, hooks?: {
88
- onStdout?: (data: string, subprocess: Subprocess) => void;
89
- onStderr?: (data: string, subprocess: Subprocess) => void;
90
- onExit?: (code: number) => void;
91
- onCreated?: (subprocess: Subprocess) => void;
92
- }, abortSignal?: AbortSignal) => Promise<void>;
93
- interface Hooks {
94
- onProgress?: (data: {
95
- progress: number;
96
- downloadedSize: number;
97
- }) => void;
98
- }
99
- /**
100
- * Downloads a file from a given URL to a specified local path with progress tracking.
101
- *
102
- * @param url - The URL of the file to download.
103
- * @param localPath - The local file path to save the downloaded file.
104
- * @returns A promise that resolves when the file is downloaded.
105
- */
106
- declare const downloadFile: (url: string, localPath: string, hooks?: Hooks, abortSignal?: AbortSignal) => Promise<void>;
107
- /**
108
- * Installs an NPM package from the npm registry as a tarball if not already present.
109
- * @param thirdpartyDir The directory where third-party tools are stored.
110
- * @param name The name of the package (e.g., 'pnpm' or '@poki/cli').
111
- * @param version The version of the package.
112
- * @param options (Optional) configuration for dependency installation.
113
- * @returns A Promise that resolves to the path of the extracted package (the 'package' subfolder).
114
- */
115
- declare const ensureNPMPackage: (thirdpartyDir: string, name: string, version: string, options?: {
116
- nodePath?: string;
117
- pnpmPath?: string;
118
- installDeps?: boolean;
119
- }) => Promise<string>;
120
- //#endregion
121
- //#region src/fs-utils.d.ts
122
- declare const ensure: (filesPath: string, defaultContent?: string) => Promise<void>;
123
- declare const generateTempFolder: (base?: string) => Promise<string>;
124
- //#endregion
125
- //#region src/archive-utils.d.ts
126
- /**
127
- * Extracts a .tar.gz archive.
128
- * @param archivePath The full path to the .tar.gz file.
129
- * @param destinationDir The directory to extract contents into.
130
- * @returns A Promise that resolves when extraction is complete.
131
- */
132
- declare function extractTarGz(archivePath: string, destinationDir: string): Promise<void>;
133
- /**
134
- * Extracts a .zip archive.
135
- * @param archivePath The full path to the .zip file.
136
- * @param destinationDir The directory to extract contents into.
137
- * @returns A Promise that resolves when extraction is complete.
138
- */
139
- declare function extractZip(archivePath: string, destinationDir: string): Promise<void>;
140
- declare const zipFolder: (from: string, to: string, log: typeof console.log) => Promise<string>;
141
- //#endregion
142
- //#region src/custom-errors.d.ts
143
- declare class ExternalCommandError extends Error {
144
- code: number;
145
- constructor(message: string, code: number);
146
- }
147
- //#endregion
148
- //#region src/node-utils.d.ts
149
- type OutputRuntimes = "construct" | "godot";
150
- /**
151
- * Detects the runtime of an app folder by checking for specific files.
152
- * This function depends on Node.js APIs and should only be used in Node environments.
153
- */
154
- declare const detectRuntime: (appFolder: string | undefined) => Promise<OutputRuntimes | undefined>;
155
- //#endregion
156
- //#region src/index.d.ts
157
- type NoData = { [index in string]?: unknown };
158
- //#endregion
159
- export { ActionRunner, ActionRunnerData, ConditionRunner, EventRunner, ExpressionRunner, ExternalCommandError, Hooks, LoopRunner, NoData, OutputRuntimes, Plugin, Runner, RunnerCallbackFnArgument, createActionRunner, createConditionRunner, createEventRunner, createExpressionRunner, createLoopRunner, createPlugin, detectRuntime, downloadFile, ensure, ensureNPMPackage, extractTarGz, extractZip, fileExists, generateTempFolder, runWithLiveLogs, runWithLiveLogsPTY, schema, sleep, zipFolder };
160
- //# sourceMappingURL=index.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/pipelab.ts","../src/create-plugin.ts","../src/utils.ts","../src/fs-utils.ts","../src/archive-utils.ts","../src/custom-errors.ts","../src/node-utils.ts","../src/index.ts"],"mappings":";;;;;KAmBY,wBAAA;EACV,IAAA;EACA,EAAA;EACA,GAAA,MAAS,IAAA,EAAM,UAAA,SAAmB,OAAA;AAAA;AAAA,KAGxB,gBAAA,gBAAgC,MAAA;EAC1C,GAAA,SAAY,OAAA,CAAQ,GAAA;EACpB,SAAA,EAAW,iBAAA,CAAkB,MAAA;EAC7B,MAAA,EAAQ,uBAAA,CAAwB,MAAA;EAChC,OAAA,GAAU,QAAA,GAAW,IAAA,EAAM,MAAA,aAAmB,MAAA;EAC9C,IAAA,EAAM,MAAA;EACN,GAAA;EACA,KAAA;I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Y,IAAA,UAAc,UAAA,EAAY,UAAA;EACtC,QAAA,IAAY,IAAA,UAAc,UAAA,EAAY,UAAA;EACtC,MAAA,IAAU,IAAA;EACV,SAAA,IAAa,UAAA,EAAY,UAAA;AAAA,GAE3B,WAAA,GAAc,WAAA,KACb,OAAA;AAAA,UAgDc,KAAA;EACf,UAAA,IAAc,IAAA;IAAQ,QAAA;IAAkB,cAAA;EAAA;AAAA;;;;;;;;cAU7B,YAAA,GACX,GAAA,UACA,SAAA,UACA,KAAA,GAAQ,KAAA,EACR,WAAA,GAAc,WAAA,KACb,OAAA;;;;;;;;;cAsDU,gBAAA,GACX,aAAA,UACA,IAAA,UACA,OAAA,UACA,OAAA;EACE,QAAA;EACA,QAAA;EACA,WAAA;AAAA,MACD,OAAA;;;cCtNU,MAAA,GAAgB,SAAA,UAAmB,cAAA,cAAqB,OAAA;AAAA,cAexD,kBAAA,GAA4B,IAAA,cAAa,OAAA;;;;;;;;AHDtD;iBILsB,YAAA,CAAa,WAAA,UAAqB,cAAA,WAAyB,OAAA;;;;;;;iBA8B3D,UAAA,CAAW,WAAA,UAAqB,cAAA,WAAyB,OAAA;AAAA,cAuDlE,SAAA,GAAmB,IAAA,UAAc,EAAA,UAAY,GAAA,SAAY,OAAA,CAAQ,GAAA,KAAG,OAAA;;;cCnGpE,oBAAA,SAA6B,KAAA;EACxC,IAAA;cAEY,OAAA,UAAiB,IAAA;AAAA;;;KCAnB,cAAA;;;;;cAeC,aAAA,GACX,SAAA,yBACC,OAAA,CAAQ,cAAA;;;KCXC,MAAA"}
package/dist/index.d.mts DELETED
@@ -1,160 +0,0 @@
1
- import { Options, Subprocess } from "execa";
2
- import { z as schema } from "zod";
3
- import { BrowserWindow } from "electron";
4
-
5
- //#region src/pipelab.d.ts
6
- type RunnerCallbackFnArgument = {
7
- done: () => void;
8
- id: string;
9
- log: (...args: Parameters<(typeof console)["log"]>) => void;
10
- };
11
- type ActionRunnerData<ACTION extends Action> = {
12
- log: typeof console.log;
13
- setOutput: SetOutputActionFn<ACTION>;
14
- inputs: ExtractInputsFromAction<ACTION>;
15
- setMeta: (callback: (data: ACTION["meta"]) => ACTION["meta"]) => void;
16
- meta: ACTION["meta"];
17
- cwd: string;
18
- paths: {
19
- assets: string;
20
- cache: string;
21
- pnpm: string;
22
- node: string;
23
- userData: string;
24
- modules: string;
25
- thirdparty: string;
26
- };
27
- api: {
28
- fetchAsset: (packageName: string, version?: string) => Promise<string>;
29
- [key: string]: any;
30
- };
31
- browserWindow: BrowserWindow;
32
- abortSignal: AbortSignal;
33
- };
34
- type ActionRunner<ACTION extends Action> = (data: ActionRunnerData<ACTION>) => Promise<void>;
35
- declare const createActionRunner: <ACTION extends Action>(runner: ActionRunner<ACTION>) => ActionRunner<ACTION>;
36
- type ConditionRunner<CONDITION extends Condition> = (data: {
37
- log: typeof console.log;
38
- inputs: ExtractInputsFromCondition<CONDITION>;
39
- setMeta: (callback: (data: CONDITION["meta"]) => CONDITION["meta"]) => void;
40
- meta: CONDITION["meta"];
41
- cwd: string;
42
- }) => Promise<boolean>;
43
- declare const createConditionRunner: <CONDITION extends Condition>(runner: ConditionRunner<CONDITION>) => ConditionRunner<CONDITION>;
44
- type LoopRunner<LOOP extends Loop> = (data: {
45
- log: typeof console.log;
46
- setOutput: SetOutputLoopFn<LOOP>;
47
- inputs: ExtractInputsFromLoop<LOOP>;
48
- setMeta: (callback: (data: LOOP["meta"]) => LOOP["meta"]) => void;
49
- meta: LOOP["meta"];
50
- cwd: string;
51
- }) => Promise<"step" | "exit">;
52
- declare const createLoopRunner: <LOOP extends Loop>(runner: LoopRunner<LOOP>) => LoopRunner<LOOP>;
53
- type ExpressionRunner<EXPRESSION extends Expression> = (data: {
54
- log: typeof console.log;
55
- setOutput: SetOutputExpressionFn<EXPRESSION>;
56
- inputs: ExtractInputsFromExpression<EXPRESSION>;
57
- setMeta: (callback: (data: EXPRESSION["meta"]) => EXPRESSION["meta"]) => void;
58
- meta: EXPRESSION["meta"];
59
- cwd: string;
60
- }) => Promise<string>;
61
- declare const createExpressionRunner: <EXPRESSION extends Expression>(runner: ExpressionRunner<EXPRESSION>) => ExpressionRunner<EXPRESSION>;
62
- type EventRunner<EVENT extends Event> = (data: {
63
- log: typeof console.log;
64
- inputs: ExtractInputsFromEvent<EVENT>;
65
- setMeta: (callback: (data: EVENT["meta"]) => EVENT["meta"]) => void;
66
- meta: EVENT["meta"];
67
- cwd: string;
68
- }) => Promise<void>;
69
- declare const createEventRunner: <EVENT extends Event>(runner: EventRunner<EVENT>) => EventRunner<EVENT>;
70
- type Runner = ActionRunner<any> | LoopRunner<any> | EventRunner<any> | ConditionRunner<any>;
71
- declare const sleep: (duration: number) => Promise<unknown>;
72
- //#endregion
73
- //#region src/create-plugin.d.ts
74
- type Plugin = {
75
- nodes: Record<string, any>;
76
- runtime: () => Promise<void>;
77
- };
78
- declare const createPlugin: (plugin: Plugin) => Plugin;
79
- //#endregion
80
- //#region src/utils.d.ts
81
- declare const fileExists: (path: string) => Promise<boolean>;
82
- declare const runWithLiveLogs: (command: string, args: string[], execaOptions: Options, log: typeof console.log, hooks?: {
83
- onStdout?: (data: string, subprocess: Subprocess) => void;
84
- onStderr?: (data: string, subprocess: Subprocess) => void;
85
- onExit?: (code: number) => void;
86
- }) => Promise<void>;
87
- declare const runWithLiveLogsPTY: (command: string, args: string[], execaOptions: Options, log: typeof console.log, hooks?: {
88
- onStdout?: (data: string, subprocess: Subprocess) => void;
89
- onStderr?: (data: string, subprocess: Subprocess) => void;
90
- onExit?: (code: number) => void;
91
- onCreated?: (subprocess: Subprocess) => void;
92
- }, abortSignal?: AbortSignal) => Promise<void>;
93
- interface Hooks {
94
- onProgress?: (data: {
95
- progress: number;
96
- downloadedSize: number;
97
- }) => void;
98
- }
99
- /**
100
- * Downloads a file from a given URL to a specified local path with progress tracking.
101
- *
102
- * @param url - The URL of the file to download.
103
- * @param localPath - The local file path to save the downloaded file.
104
- * @returns A promise that resolves when the file is downloaded.
105
- */
106
- declare const downloadFile: (url: string, localPath: string, hooks?: Hooks, abortSignal?: AbortSignal) => Promise<void>;
107
- /**
108
- * Installs an NPM package from the npm registry as a tarball if not already present.
109
- * @param thirdpartyDir The directory where third-party tools are stored.
110
- * @param name The name of the package (e.g., 'pnpm' or '@poki/cli').
111
- * @param version The version of the package.
112
- * @param options (Optional) configuration for dependency installation.
113
- * @returns A Promise that resolves to the path of the extracted package (the 'package' subfolder).
114
- */
115
- declare const ensureNPMPackage: (thirdpartyDir: string, name: string, version: string, options?: {
116
- nodePath?: string;
117
- pnpmPath?: string;
118
- installDeps?: boolean;
119
- }) => Promise<string>;
120
- //#endregion
121
- //#region src/fs-utils.d.ts
122
- declare const ensure: (filesPath: string, defaultContent?: string) => Promise<void>;
123
- declare const generateTempFolder: (base?: string) => Promise<string>;
124
- //#endregion
125
- //#region src/archive-utils.d.ts
126
- /**
127
- * Extracts a .tar.gz archive.
128
- * @param archivePath The full path to the .tar.gz file.
129
- * @param destinationDir The directory to extract contents into.
130
- * @returns A Promise that resolves when extraction is complete.
131
- */
132
- declare function extractTarGz(archivePath: string, destinationDir: string): Promise<void>;
133
- /**
134
- * Extracts a .zip archive.
135
- * @param archivePath The full path to the .zip file.
136
- * @param destinationDir The directory to extract contents into.
137
- * @returns A Promise that resolves when extraction is complete.
138
- */
139
- declare function extractZip(archivePath: string, destinationDir: string): Promise<void>;
140
- declare const zipFolder: (from: string, to: string, log: typeof console.log) => Promise<string>;
141
- //#endregion
142
- //#region src/custom-errors.d.ts
143
- declare class ExternalCommandError extends Error {
144
- code: number;
145
- constructor(message: string, code: number);
146
- }
147
- //#endregion
148
- //#region src/node-utils.d.ts
149
- type OutputRuntimes = "construct" | "godot";
150
- /**
151
- * Detects the runtime of an app folder by checking for specific files.
152
- * This function depends on Node.js APIs and should only be used in Node environments.
153
- */
154
- declare const detectRuntime: (appFolder: string | undefined) => Promise<OutputRuntimes | undefined>;
155
- //#endregion
156
- //#region src/index.d.ts
157
- type NoData = { [index in string]?: unknown };
158
- //#endregion
159
- export { ActionRunner, ActionRunnerData, ConditionRunner, EventRunner, ExpressionRunner, ExternalCommandError, Hooks, LoopRunner, NoData, OutputRuntimes, Plugin, Runner, RunnerCallbackFnArgument, createActionRunner, createConditionRunner, createEventRunner, createExpressionRunner, createLoopRunner, createPlugin, detectRuntime, downloadFile, ensure, ensureNPMPackage, extractTarGz, extractZip, fileExists, generateTempFolder, runWithLiveLogs, runWithLiveLogsPTY, schema, sleep, zipFolder };
160
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/pipelab.ts","../src/create-plugin.ts","../src/utils.ts","../src/fs-utils.ts","../src/archive-utils.ts","../src/custom-errors.ts","../src/node-utils.ts","../src/index.ts"],"mappings":";;;;;KAmBY,wBAAA;EACV,IAAA;EACA,EAAA;EACA,GAAA,MAAS,IAAA,EAAM,UAAA,SAAmB,OAAA;AAAA;AAAA,KAGxB,gBAAA,gBAAgC,MAAA;EAC1C,GAAA,SAAY,OAAA,CAAQ,GAAA;EACpB,SAAA,EAAW,iBAAA,CAAkB,MAAA;EAC7B,MAAA,EAAQ,uBAAA,CAAwB,MAAA;EAChC,OAAA,GAAU,QAAA,GAAW,IAAA,EAAM,MAAA,aAAmB,MAAA;EAC9C,IAAA,EAAM,MAAA;EACN,GAAA;EACA,KAAA;IACE,MAAA;IACA,KAAA;IACA,IAAA;IACA,IAAA;IACA,QAAA;IACA,OAAA;IACA,UAAA;EAAA;EAEF,GAAA;IACE,UAAA,GAAa,WAAA,UAAqB,OAAA,cAAqB,OAAA;IAAA,CACtD,GAAA;EAAA;EAEH,aAAA,EAAe,aAAA;EACf,WAAA,EAAa,WAAA;AAAA;AAAA,KAGH,YAAA,gBAA4B,MAAA,KAAW,IAAA,EAAM,gBAAA,CAAiB,MAAA,MAAY,OAAA;AAAA,cACzE,kBAAA,kBAAqC,MAAA,EAAQ,MAAA,EAAQ,YAAA,CAAa,MAAA,MAAO,YAAA,CAAA,MA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