@openfn/project 0.14.0 → 0.14.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/dist/index.js +6 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1368,8 +1368,14 @@ var find_changed_workflows_default = (project) => {
1368
1368
  if (hash !== base[wf.id]) {
1369
1369
  changed.push(wf);
1370
1370
  }
1371
+ delete base[wf.id];
1372
+ } else {
1373
+ changed.push(wf);
1371
1374
  }
1372
1375
  }
1376
+ for (const removedId in base) {
1377
+ changed.push({ id: removedId, $deleted: true });
1378
+ }
1373
1379
  return changed;
1374
1380
  };
1375
1381
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/project",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Read, serialize, replicate and sync OpenFn projects",
5
5
  "type": "module",
6
6
  "exports": {