windmill-cli 1.589.2 → 1.589.3
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/gen/core/OpenAPI.js
CHANGED
|
@@ -244,17 +244,16 @@ async function updateAppInlineScripts(workspace, appValue, remotePath, appFolder
|
|
|
244
244
|
log.warn(colors.yellow(`Inline script at ${context.path.join(".")} is still an !inline reference, skipping`));
|
|
245
245
|
return inlineScript;
|
|
246
246
|
}
|
|
247
|
-
// Skip frontend scripts - they don't need locks
|
|
248
|
-
if (language === "frontend") {
|
|
249
|
-
return inlineScript;
|
|
250
|
-
}
|
|
251
247
|
// Get the name from the parent object (following extractInlineScriptsForApps pattern)
|
|
252
248
|
// For normal apps, the name is stored in the component's "name" property
|
|
253
249
|
const scriptName = context.parentObject?.["name"] || "unnamed";
|
|
254
250
|
const scriptPath = `${remotePath}/${context.path.join("/")}`;
|
|
255
|
-
log.info(colors.gray(`Generating lock for inline script "${scriptName}" at ${context.path.join(".")} (${language})`));
|
|
256
251
|
try {
|
|
257
|
-
|
|
252
|
+
let lock;
|
|
253
|
+
if (language !== "frontend") {
|
|
254
|
+
log.info(colors.gray(`Generating lock for inline script "${scriptName}" at ${context.path.join(".")} (${language})`));
|
|
255
|
+
lock = await generateInlineScriptLock(workspace, content, language, scriptPath, rawDeps);
|
|
256
|
+
}
|
|
258
257
|
// Determine file extension for this language (following extractInlineScriptsForApps pattern)
|
|
259
258
|
const [basePathO, ext] = pathAssigner.assignPath(scriptName, language);
|
|
260
259
|
const basePath = basePathO.replaceAll(SEP, "/");
|
|
@@ -273,7 +272,7 @@ async function updateAppInlineScripts(workspace, appValue, remotePath, appFolder
|
|
|
273
272
|
return {
|
|
274
273
|
...inlineScript,
|
|
275
274
|
content: inlineContentRef,
|
|
276
|
-
lock: inlineLockRef,
|
|
275
|
+
...(lock ? { lock: inlineLockRef } : {}),
|
|
277
276
|
};
|
|
278
277
|
}
|
|
279
278
|
catch (error) {
|
package/esm/src/main.js
CHANGED
|
@@ -40,7 +40,7 @@ export { flow, app, script, workspace, resource, resourceType, user, variable, h
|
|
|
40
40
|
// console.error(JSON.stringify(event.error, null, 4));
|
|
41
41
|
// }
|
|
42
42
|
// });
|
|
43
|
-
export const VERSION = "1.589.
|
|
43
|
+
export const VERSION = "1.589.3";
|
|
44
44
|
export const WM_FORK_PREFIX = "wm-fork";
|
|
45
45
|
const command = new Command()
|
|
46
46
|
.name("wmill")
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app_metadata.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/app/app_metadata.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"app_metadata.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/app/app_metadata.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAgB/C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAOtD,OAAO,EAA6B,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAK5E,eAAO,MAAM,kBAAkB,YAAY,CAAC;AA2C5C;;GAEG;AACH,wBAAsB,wBAAwB,CAC5C,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,aAAa,GAAG;IACpB,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CAC5B,EACD,sBAAsB,CAAC,EAAE,OAAO,EAChC,cAAc,CAAC,EAAE,OAAO,GACvB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CA8HxB;AAqWD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,GAAG,CAAC;CACb;AAED;;;;;;;;GAQG;AACH,wBAAsB,2BAA2B,CAC/C,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CA2E3C;AAQD,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,aAAa,GAAG;IACpB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CAC5B,GAAG,WAAW,EACf,OAAO,EAAE,MAAM,GAAG,SAAS,iBA+H5B"}
|
package/types/src/main.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import { pull as hubPull } from "./commands/hub/hub.js";
|
|
|
22
22
|
import { pull, push } from "./commands/sync/sync.js";
|
|
23
23
|
import { add as workspaceAdd } from "./commands/workspace/workspace.js";
|
|
24
24
|
export { flow, app, script, workspace, resource, resourceType, user, variable, hub, folder, schedule, trigger, sync, gitsyncSettings, instance, dev, hubPull, pull, push, workspaceAdd, };
|
|
25
|
-
export declare const VERSION = "1.589.
|
|
25
|
+
export declare const VERSION = "1.589.3";
|
|
26
26
|
export declare const WM_FORK_PREFIX = "wm-fork";
|
|
27
27
|
declare const command: Command<{
|
|
28
28
|
workspace?: (import("../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined;
|