windmill-cli 1.507.0 → 1.507.1
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/esm/flow.js +5 -1
- package/esm/gen/core/OpenAPI.js +1 -1
- package/esm/main.js +1 -1
- package/package.json +1 -1
- package/types/flow.d.ts.map +1 -1
- package/types/main.d.ts +1 -1
package/esm/flow.js
CHANGED
|
@@ -13,7 +13,11 @@ import { FSFSElement, elementsToMap, ignoreF } from "./sync.js";
|
|
|
13
13
|
import { readInlinePathSync } from "./utils.js";
|
|
14
14
|
const alreadySynced = [];
|
|
15
15
|
export function replaceInlineScripts(modules, localPath, removeLocks) {
|
|
16
|
-
modules.forEach((m) => {
|
|
16
|
+
modules.forEach((m, i) => {
|
|
17
|
+
if (!m.value) {
|
|
18
|
+
throw Error(`Module value is undefined for flow module ${i} in ${localPath}`);
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
17
21
|
if (m.value.type == "rawscript") {
|
|
18
22
|
if (m.value.content.startsWith("!inline")) {
|
|
19
23
|
const path = m.value.content.split(" ")[1];
|
package/esm/gen/core/OpenAPI.js
CHANGED
package/esm/main.js
CHANGED
|
@@ -36,7 +36,7 @@ export { flow, app, script, workspace, resource, user, variable, hub, folder, sc
|
|
|
36
36
|
// console.error(JSON.stringify(event.error, null, 4));
|
|
37
37
|
// }
|
|
38
38
|
// });
|
|
39
|
-
export const VERSION = "1.507.
|
|
39
|
+
export const VERSION = "1.507.1";
|
|
40
40
|
const command = new Command()
|
|
41
41
|
.name("wmill")
|
|
42
42
|
.action(() => log.info(`Welcome to Windmill CLI ${VERSION}. Use -h for help.`))
|
package/package.json
CHANGED
package/types/flow.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../src/flow.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAc,MAAM,YAAY,CAAC;AAEvD,OAAO,EAAU,OAAO,E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AAC;AAE5B,eAAe,OAAO,CAAC"}
|
package/types/main.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { pull as hubPull } from "./hub.js";
|
|
|
21
21
|
import { pull, push } from "./sync.js";
|
|
22
22
|
import { add as workspaceAdd } from "./workspace.js";
|
|
23
23
|
export { flow, app, script, workspace, resource, user, variable, hub, folder, schedule, trigger, sync, gitsyncSettings, instance, dev, hubPull, pull, push, workspaceAdd, };
|
|
24
|
-
export declare const VERSION = "1.507.
|
|
24
|
+
export declare const VERSION = "1.507.1";
|
|
25
25
|
declare const command: Command<{
|
|
26
26
|
workspace?: (import("./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined;
|
|
27
27
|
} & {
|