windmill-cli 1.612.3 → 1.613.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/gen/core/OpenAPI.js +1 -1
- package/esm/src/commands/app/lint.js +2 -2
- package/esm/src/commands/instance/instance.js +9 -9
- package/esm/src/main.js +1 -1
- package/package.json +2 -2
- package/types/src/commands/app/lint.d.ts.map +1 -1
- package/types/src/commands/instance/instance.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
package/esm/gen/core/OpenAPI.js
CHANGED
|
@@ -3,11 +3,11 @@ import * as dntShim from "../../../_dnt.shims.js";
|
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path from "node:path";
|
|
5
5
|
import process from "node:process";
|
|
6
|
-
import {
|
|
6
|
+
import { colors, Command, log, yamlParseFile } from "../../../deps.js";
|
|
7
7
|
import { createBundle } from "./bundle.js";
|
|
8
8
|
import { APP_BACKEND_FOLDER } from "./app_metadata.js";
|
|
9
9
|
import { loadRunnablesFromBackend } from "./raw_apps.js";
|
|
10
|
-
import { hasFolderSuffix,
|
|
10
|
+
import { getFolderSuffix, hasFolderSuffix, } from "../../utils/resource_folders.js";
|
|
11
11
|
/**
|
|
12
12
|
* Validates the structure of raw_app.yaml
|
|
13
13
|
*/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Command, Confirm, path, Select, setClient, Table, yamlParseFile, yamlStringify, } from "../../../deps.js";
|
|
3
3
|
import * as wmill from "../../../gen/services.gen.js";
|
|
4
|
-
import {
|
|
4
|
+
import { colors, Input, log } from "../../../deps.js";
|
|
5
5
|
import { loginInteractive } from "../../core/login.js";
|
|
6
|
-
import { getActiveInstanceFilePath, getInstancesConfigFilePath } from "../../../windmill-utils-internal/src/config/config.js";
|
|
7
|
-
import {
|
|
6
|
+
import { getActiveInstanceFilePath, getInstancesConfigFilePath, } from "../../../windmill-utils-internal/src/config/config.js";
|
|
7
|
+
import { pull, push } from "../sync/sync.js";
|
|
8
8
|
import { showDiff } from "../../types.js";
|
|
9
|
-
import {
|
|
9
|
+
import { pullInstanceGroups, pullInstanceUsers, pushInstanceGroups, pushInstanceUsers, } from "../user/user.js";
|
|
10
10
|
import { add as workspaceSetup, addWorkspace, removeWorkspace, setActiveWorkspace, } from "../workspace/workspace.js";
|
|
11
|
-
import {
|
|
11
|
+
import { pullInstanceConfigs, pullInstanceSettings, pushInstanceConfigs, pushInstanceSettings, } from "../../core/settings.js";
|
|
12
12
|
import { deepEqual } from "../../utils/utils.js";
|
|
13
13
|
import { getActiveWorkspace } from "../workspace/workspace.js";
|
|
14
14
|
export async function allInstances() {
|
|
@@ -369,7 +369,7 @@ async function instancePush(opts) {
|
|
|
369
369
|
throw new Error("Workspace folder not found, are you in the right directory?");
|
|
370
370
|
}
|
|
371
371
|
try {
|
|
372
|
-
const workspaceSettings = (await yamlParseFile("settings.yaml"));
|
|
372
|
+
const workspaceSettings = (await yamlParseFile(path.join(dntShim.Deno.cwd(), "settings.yaml")));
|
|
373
373
|
await workspaceSetup({
|
|
374
374
|
token: instance.token,
|
|
375
375
|
workspace: undefined,
|
|
@@ -380,8 +380,8 @@ async function instancePush(opts) {
|
|
|
380
380
|
createUsername: undefined,
|
|
381
381
|
}, localWorkspace.dir, localWorkspace.id, instance.remote);
|
|
382
382
|
}
|
|
383
|
-
catch (
|
|
384
|
-
log.error(
|
|
383
|
+
catch (e) {
|
|
384
|
+
log.error(`Settings file not found in workspace ${localWorkspace.id} or error setting up workspace ${e.message}, skipping`);
|
|
385
385
|
continue;
|
|
386
386
|
}
|
|
387
387
|
await push({
|
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.
|
|
43
|
+
export const VERSION = "1.613.1";
|
|
44
44
|
// Re-exported from constants.ts to maintain backwards compatibility
|
|
45
45
|
export { WM_FORK_PREFIX } from "./core/constants.js";
|
|
46
46
|
const command = new Command()
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/app/lint.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/app/lint.ts"],"names":[],"mappings":"AAMA,OAAO,EAAU,OAAO,EAAsB,MAAM,kBAAkB,CAAC;AAgOvE,QAAA,MAAM,OAAO;;;;;;;;mBAIS,CAAC;AAEvB,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/instance/instance.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/instance/instance.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAQR,MAAM,kBAAkB,CAAC;AAkC1B,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,YAAY,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC,CAiBxD;AACD,wBAAsB,WAAW,CAC/B,IAAI,EAAE,EAAE,EACR,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,KAAK,EAAE,MAAM,GAAG,SAAS;;;;;GA2C1B;AA4BD,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI;KACpC,CAAC,IAAI,CAAC,GAAG,MAAM;CACjB,CAAC;AACF,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,MAAM,EACrD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,EAC/B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,EAC7B,MAAM,EAAE,CAAC,EACT,UAAU,EAAE,MAAM,UAwBnB;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,wBAAsB,YAAY,CAChC,IAAI,EAAE,mBAAmB,EACzB,QAAQ,EAAE,OAAO,qBAuElB;AAwXD,wBAAsB,iBAAiB,CAAC,IAAI,EAAE;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAS9B;AAgBD,QAAA,MAAM,OAAO;;;;;;oBA4GW,CAAC;AAEzB,eAAe,OAAO,CAAC"}
|
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.
|
|
25
|
+
export declare const VERSION = "1.613.1";
|
|
26
26
|
export { WM_FORK_PREFIX } from "./core/constants.js";
|
|
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;
|