windmill-cli 1.393.3 → 1.393.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/esm/main.js CHANGED
@@ -10,8 +10,6 @@ import workspace, { getActiveWorkspace } from "./workspace.js";
10
10
  import resource from "./resource.js";
11
11
  import user from "./user.js";
12
12
  import variable from "./variable.js";
13
- import lgeacyPush from "./push.js";
14
- import legacyPull from "./pull.js";
15
13
  import hub from "./hub.js";
16
14
  import folder from "./folder.js";
17
15
  import schedule from "./schedule.js";
@@ -25,14 +23,14 @@ import { NpmProvider } from "./upgrade.js";
25
23
  import { pull as hubPull } from "./hub.js";
26
24
  import { pull, push } from "./sync.js";
27
25
  import { add as workspaceAdd } from "./workspace.js";
28
- export { flow, app, script, workspace, resource, user, variable, hub, folder, schedule, sync, instance, dev, lgeacyPush, legacyPull, hubPull, pull, push, workspaceAdd, };
26
+ export { flow, app, script, workspace, resource, user, variable, hub, folder, schedule, sync, instance, dev, hubPull, pull, push, workspaceAdd, };
29
27
  // addEventListener("error", (event) => {
30
28
  // if (event.error) {
31
29
  // console.error("Error details of: " + event.error.message);
32
30
  // console.error(JSON.stringify(event.error, null, 4));
33
31
  // }
34
32
  // });
35
- export const VERSION = "1.393.2";
33
+ export const VERSION = "1.393.4";
36
34
  let command = new Command()
37
35
  .name("wmill")
38
36
  .action(() => log.info(`Welcome to Windmill CLI ${VERSION}. Use -h for help.`))
@@ -87,9 +85,6 @@ let command = new Command()
87
85
  provider: new NpmProvider({ package: "windmill-cli" }),
88
86
  }))
89
87
  .command("completions", new CompletionsCommand());
90
- if (Number.parseInt(VERSION.replace("v", "").replace(".", "")) > 1700) {
91
- command = command.command("push", lgeacyPush).command("pull", legacyPull);
92
- }
93
88
  export let showDiffs = false;
94
89
  async function main() {
95
90
  try {
@@ -128,20 +123,23 @@ async function main() {
128
123
  throw e;
129
124
  }
130
125
  }
131
- //@ts-ignore
132
- if (esMain.default(import.meta)) {
126
+ function isMain() {
127
+ // dnt-shim-ignore
128
+ const { Deno } = globalThis;
129
+ const isDeno = Deno != undefined;
130
+ if (isDeno) {
131
+ const isMain = (import.meta.url === ("file:///" + process.argv[1].replace(/\\/g, "/")).replace(/\/{3,}/, "///"));
132
+ if (isMain) {
133
+ log.warn("Using the deno runtime for the Windmill CLI is deprecated, you can now use node: deno uninstall wmill && npm install -g windmill-cli");
134
+ }
135
+ return isMain;
136
+ }
137
+ else {
138
+ //@ts-ignore
139
+ return esMain.default(import.meta);
140
+ }
141
+ }
142
+ if (isMain()) {
133
143
  main();
134
- // test1();
135
- // test2();
136
- // module was not imported but called directly
137
144
  }
138
- // function test1() {
139
- // // dnt-shim-ignore deno-lint-ignore no-explicit-any
140
- // const { Deno, process } = globalThis as any;
141
- // console.log(Deno);
142
- // }
143
- // function test2() {
144
- // const { Deno, process } = globalThis as any;
145
- // console.log(Deno);
146
- // }
147
145
  export default command;
package/esm/sync.js CHANGED
@@ -666,7 +666,9 @@ export async function ignoreF(wmillconf) {
666
666
  return ((!wmillconf.includes ||
667
667
  wmillconf.includes?.some((i) => minimatch(file, i))) &&
668
668
  (!wmillconf?.excludes ||
669
- wmillconf.excludes.every((i) => !minimatch(file, i))));
669
+ wmillconf.excludes.every((i) => !minimatch(file, i))) &&
670
+ (!wmillconf.extraIncludes ||
671
+ wmillconf.extraIncludes.some((i) => minimatch(file, i))));
670
672
  },
671
673
  };
672
674
  }
@@ -1083,7 +1085,7 @@ const command = new Command()
1083
1085
  .description("sync local with a remote workspaces or the opposite (push or pull)")
1084
1086
  .action(() => log.info("2 actions available, pull and push. Use -h to display help."))
1085
1087
  .command("pull")
1086
- .description("Pull any remote changes and apply them locally. Use --raw for usage without local state tracking.")
1088
+ .description("Pull any remote changes and apply them locally.")
1087
1089
  .option("--fail-conflicts", "Error on conflicts (both remote and local have changes on the same item)")
1088
1090
  .option("--raw", "Push without using state, just overwrite. (Default, has no effect)")
1089
1091
  .option("--yes", "Pull without needing confirmation")
@@ -1098,12 +1100,13 @@ const command = new Command()
1098
1100
  .option("--include-groups", "Include syncing groups")
1099
1101
  .option("--include-settings", "Include syncing workspace settings")
1100
1102
  .option("--include-key", "Include workspace encryption key")
1101
- .option("-i --includes <patterns:file[]>", "Comma separated patterns to specify which file to take into account (among files that are compatible with windmill). Patterns can include * (any string until '/') and ** (any string)")
1102
- .option("-e --excludes <patterns:file[]>", "Comma separated patterns to specify which file to NOT take into account.")
1103
+ .option("-i --includes <patterns:file[]>", "Comma separated patterns to specify which file to take into account (among files that are compatible with windmill). Patterns can include * (any string until '/') and ** (any string). Overrides wmill.yaml includes")
1104
+ .option("-e --excludes <patterns:file[]>", "Comma separated patterns to specify which file to NOT take into account. Overrides wmill.yaml excludes")
1105
+ .option("--extra-includes <patterns:file[]>", "Comma separated patterns to specify which file to take into account (among files that are compatible with windmill). Patterns can include * (any string until '/') and ** (any string). Useful to still take wmill.yaml into account and act as a second pattern to satisfy")
1103
1106
  // deno-lint-ignore no-explicit-any
1104
1107
  .action(pull)
1105
1108
  .command("push")
1106
- .description("Push any local changes and apply them remotely. Use --raw for usage without local state tracking.")
1109
+ .description("Push any local changes and apply them remotely.")
1107
1110
  .option("--fail-conflicts", "Error on conflicts (both remote and local have changes on the same item)")
1108
1111
  .option("--raw", "Push without using state, just overwrite. (Default, has no effect)")
1109
1112
  .option("--stateful", "Pull using state tracking (use .wmill folder and needed for --fail-conflicts)w")
@@ -1121,6 +1124,7 @@ const command = new Command()
1121
1124
  .option("--include-key", "Include workspace encryption key")
1122
1125
  .option("-i --includes <patterns:file[]>", "Comma separated patterns to specify which file to take into account (among files that are compatible with windmill). Patterns can include * (any string until '/') and ** (any string)")
1123
1126
  .option("-e --excludes <patterns:file[]>", "Comma separated patterns to specify which file to NOT take into account.")
1127
+ .option("--extra-includes <patterns:file[]>", "Comma separated patterns to specify which file to take into account (among files that are compatible with windmill). Patterns can include * (any string until '/') and ** (any string). Useful to still take wmill.yaml into account and act as a second pattern to satisfy")
1124
1128
  .option("--message <message:string>", "Include a message that will be added to all scripts/flows/apps updated during this push")
1125
1129
  // deno-lint-ignore no-explicit-any
1126
1130
  .action(push);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.393.3",
3
+ "version": "1.393.4",
4
4
  "description": "CLI for Windmill",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,4 +45,4 @@
45
45
  "picocolors": "^1.0.0"
46
46
  },
47
47
  "_generatedBy": "dnt@dev"
48
- }
48
+ }
@@ -1,3 +1,27 @@
1
+ declare global {
2
+ interface ImportMeta {
3
+ /** A flag that indicates if the current module is the main module that was
4
+ * called when starting the program under Deno.
5
+ *
6
+ * ```ts
7
+ * if (import.meta.main) {
8
+ * // this was loaded as the main module, maybe do some bootstrapping
9
+ * }
10
+ * ```
11
+ */
12
+ main: boolean;
13
+ /** A function that returns resolved specifier as if it would be imported
14
+ * using `import(specifier)`.
15
+ *
16
+ * ```ts
17
+ * console.log(import.meta.resolve("./foo.js"));
18
+ * // file:///dev/foo.js
19
+ * ```
20
+ */
21
+ resolve(specifier: string): string;
22
+ }
23
+ }
24
+ export {};
1
25
  declare global {
2
26
  interface Object {
3
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"_dnt.polyfills.d.ts","sourceRoot":"","sources":["../src/_dnt.polyfills.ts"],"names":[],"mappings":"AAeA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd;;;;WAIG;QACH,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC;KAC5C;CACF;AAED,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,gBAAgB;QACxB,SAAS,CAAC,CAAC,EACP,mBAAmB,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,GAAG,OAAO,C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,GAAG,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,EAClE,KAAK,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,EAC/B,OAAO,CAAC,EAAE,GAAG,GACd,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;KAC1B;CACF;AAoID,OAAO,EAAE,CAAC"}
package/types/main.d.ts CHANGED
@@ -8,8 +8,6 @@ import workspace from "./workspace.js";
8
8
  import resource from "./resource.js";
9
9
  import user from "./user.js";
10
10
  import variable from "./variable.js";
11
- import lgeacyPush from "./push.js";
12
- import legacyPull from "./pull.js";
13
11
  import hub from "./hub.js";
14
12
  import folder from "./folder.js";
15
13
  import schedule from "./schedule.js";
@@ -19,8 +17,8 @@ import dev from "./dev.js";
19
17
  import { pull as hubPull } from "./hub.js";
20
18
  import { pull, push } from "./sync.js";
21
19
  import { add as workspaceAdd } from "./workspace.js";
22
- export { flow, app, script, workspace, resource, user, variable, hub, folder, schedule, sync, instance, dev, lgeacyPush, legacyPull, hubPull, pull, push, workspaceAdd, };
23
- export declare const VERSION = "1.393.2";
20
+ export { flow, app, script, workspace, resource, user, variable, hub, folder, schedule, sync, instance, dev, hubPull, pull, push, workspaceAdd, };
21
+ export declare const VERSION = "1.393.4";
24
22
  declare let command: any;
25
23
  export declare let showDiffs: boolean;
26
24
  export default command;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";AACA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,qBAAqB,CAAC;AAW7B,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,GAAG,MAAM,WAAW,CAAC;AAC5B,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,SAAiC,MAAM,gBAAgB,CAAC;AAC/D,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,IAAI,MAAM,WAAW,CAA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,MAAM,WAAW,CAAC;AAC7B,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,GAAG,MAAM,UAAU,CAAC;AAM3B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,GAAG,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAErD,OAAO,EACL,IAAI,EACJ,GAAG,EACH,MAAM,EACN,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,GAAG,EACH,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,GAAG,EACH,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,YAAY,GACb,CAAC;AASF,eAAO,MAAM,OAAO,YAAY,CAAC;AAEjC,QAAA,IAAI,OAAO,EAAE,GA+EsC,CAAC;AAEpD,eAAO,IAAI,SAAS,SAAQ,CAAC;AAgE7B,eAAe,OAAO,CAAC"}
package/types/sync.d.ts CHANGED
@@ -49,6 +49,7 @@ export declare const isWhitelisted: (p: string) => boolean;
49
49
  export declare function ignoreF(wmillconf: {
50
50
  includes?: string[];
51
51
  excludes?: string[];
52
+ extraIncludes?: string[];
52
53
  }): Promise<(p: string, isDirectory: boolean) => boolean>;
53
54
  export declare function pull(opts: GlobalOptions & SyncOptions): Promise<void>;
54
55
  export declare function push(opts: GlobalOptions & SyncOptions): Promise<void>;
@@ -86,6 +87,8 @@ declare const command: Command<void, void, {
86
87
  includes?: import("./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").FileType[] | undefined;
87
88
  } & {
88
89
  excludes?: import("./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").FileType[] | undefined;
90
+ } & {
91
+ extraIncludes?: import("./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").FileType[] | undefined;
89
92
  } & {
90
93
  message?: import("./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType | undefined;
91
94
  }, [], void, void, void, Command<void, void, void, [], void, {
@@ -1 +1 @@
1
- {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../src/sync.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,OAAO,EAaP,UAAU,EASX,MAAM,WAAW,CAAC;AACnB,OAAO,EAEL,aAAa,EAKd,MAAM,YAAY,CAAC;AAapB,OAAO,EAAE,WAAW,EAA6B,MAAM,WAAW,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAqB,MAAM,eAAe,CAAC;AAMhE,KAAK,YAAY,GAAG;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IAEb,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAClC,WAAW,IAAI,aAAa,CAAC,YAAY,CAAC,CAAC;CAC5C,CAAC;AAEF,wBAAgB,YAAY,CAC1B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,YAAY,EAAE,GACxB,YAAY,GAAG,SAAS,CAiC1B;AAsCD,wBAAsB,WAAW,CAC/B,CAAC,EAAE,MAAM,EACT,SAAS,EAAE,YAAY,EAAE,GACxB,OAAO,CAAC,YAAY,CAAC,CAoCvB;AAmBD,eAAO,MAAM,WAAW;kBACR,GAAG,KAAK,GAAG;;;;CAM1B,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,UAAU,EAAE,EACrB,YAAY,EAAE,YAAY,GACzB,YAAY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pC,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACtC,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAClC;AAkJD,eAAO,MAAM,aAAa,MAAO,MAAM,YAUtC,CAAC;AAEF,wBAAsB,OAAO,CAAC,SAAS,EAAE;IACvC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,KAAK,OAAO,CAAC,CAoCxD;AAED,wBAAsB,IAAI,CAAC,IAAI,EAAE,aAAa,GAAG,WAAW,iBA2O3D;AA+CD,wBAAsB,IAAI,CAAC,IAAI,EAAE,aAAa,GAAG,WAAW,iBA6R3D;AAED,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA0FS,CAAC;AAEvB,eAAe,OAAO,CAAC"}
package/esm/push.js DELETED
@@ -1,10 +0,0 @@
1
- // deno-lint-ignore-file no-explicit-any
2
- import { colors, Command, log } from "./deps.js";
3
- function stub(_opts, _dir) {
4
- log.info(colors.red.underline('Push is deprecated. Use "sync push --raw" instead. See <TODO_LINK_HERE> for more information.'));
5
- }
6
- const command = new Command()
7
- .description("Push all files from a folder")
8
- .arguments("[dir:string]")
9
- .action(stub);
10
- export default command;
package/types/push.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import { Command } from "./deps.js";
2
- declare const command: Command<void, void, void, [((import("./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined)?], void, {
3
- number: number;
4
- integer: number;
5
- string: string;
6
- boolean: boolean;
7
- file: string;
8
- }, void, undefined>;
9
- export default command;
10
- //# sourceMappingURL=push.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../src/push.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,OAAO,EAAO,MAAM,WAAW,CAAC;AAWjD,QAAA,MAAM,OAAO;;;;;;mBAGS,CAAC;AAEvB,eAAe,OAAO,CAAC"}