windmill-cli 1.800.0 → 1.800.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.
Files changed (2) hide show
  1. package/esm/main.js +11 -6
  2. package/package.json +1 -1
package/esm/main.js CHANGED
@@ -16769,7 +16769,7 @@ var init_OpenAPI = __esm(() => {
16769
16769
  PASSWORD: undefined,
16770
16770
  TOKEN: getEnv3("WM_TOKEN"),
16771
16771
  USERNAME: undefined,
16772
- VERSION: "1.800.0",
16772
+ VERSION: "1.800.1",
16773
16773
  WITH_CREDENTIALS: true,
16774
16774
  interceptors: {
16775
16775
  request: new Interceptors,
@@ -27786,7 +27786,7 @@ var init_auth = __esm(async () => {
27786
27786
  });
27787
27787
 
27788
27788
  // src/core/constants.ts
27789
- var WM_FORK_PREFIX = "wm-fork", VERSION = "1.800.0";
27789
+ var WM_FORK_PREFIX = "wm-fork", VERSION = "1.800.1";
27790
27790
 
27791
27791
  // src/utils/git.ts
27792
27792
  var exports_git = {};
@@ -65853,7 +65853,7 @@ var init_openflow = __esm(() => {
65853
65853
  openflow_default = {
65854
65854
  openapi: "3.0.3",
65855
65855
  info: {
65856
- version: "1.800.0",
65856
+ version: "1.800.1",
65857
65857
  title: "OpenFlow Spec",
65858
65858
  contact: {
65859
65859
  name: "Ruben Fiszel",
@@ -74107,6 +74107,7 @@ __export(exports_sync, {
74107
74107
  countDatatableMigrationRecords: () => countDatatableMigrationRecords,
74108
74108
  dedupeLockfilesOnDisk: () => dedupeLockfilesOnDisk,
74109
74109
  default: () => sync_default,
74110
+ dropDeletions: () => dropDeletions,
74110
74111
  elementsToMap: () => elementsToMap,
74111
74112
  extractFieldsForRawApps: () => extractFieldsForRawApps,
74112
74113
  extractInlineScriptsForApps: () => extractInlineScriptsForApps,
@@ -75926,11 +75927,15 @@ function countDatatableMigrationRecords(changes) {
75926
75927
  function untrackedDatatableMigrationDeletions(changes, recorded) {
75927
75928
  return changes.filter((c5) => c5.name === "deleted" && isDatatableMigrationPath(c5.path) && !(recorded.kind === "known" && recorded.paths.has(c5.path)));
75928
75929
  }
75930
+ function removesDbtDescriptor(change) {
75931
+ return isDbtDescriptorPath(change.path) && (change.name === "added" && change.content === "" || change.name === "edited" && change.after === "");
75932
+ }
75929
75933
  function dropDeletions(changes, keptOn) {
75930
- const deletions = changes.filter((c5) => c5.name === "deleted");
75934
+ const isDeletion = (c5) => c5.name === "deleted" || keptOn === "local" && removesDbtDescriptor(c5);
75935
+ const deletions = changes.filter(isDeletion);
75931
75936
  if (deletions.length === 0)
75932
75937
  return;
75933
- const kept = changes.filter((c5) => c5.name !== "deleted");
75938
+ const kept = changes.filter((c5) => !isDeletion(c5));
75934
75939
  changes.length = 0;
75935
75940
  changes.push(...kept);
75936
75941
  info(colors.yellow(`--keep-deleted: keeping ${deletions.length} item(s) that exist only ` + (keptOn === "local" ? `on disk instead of deleting them locally` : `on the remote instead of deleting them from the workspace`)));
@@ -76252,7 +76257,7 @@ async function pull(opts) {
76252
76257
  }
76253
76258
  const target = path13.join(process.cwd(), targetPath);
76254
76259
  const stateTarget = path13.join(process.cwd(), ".wmill", targetPath);
76255
- if (isDbtDescriptorPath(change.path) && (change.name === "added" && change.content === "" || change.name === "edited" && change.after === "")) {
76260
+ if (removesDbtDescriptor(change)) {
76256
76261
  await rm3(target, { force: true });
76257
76262
  if (opts.stateful) {
76258
76263
  await rm3(stateTarget, { force: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.800.0",
3
+ "version": "1.800.1",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",