@wtfalch/foundry 0.51.1 → 0.51.2

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/dist/plan/diff.js CHANGED
@@ -600,8 +600,6 @@ export function computePlanDetail(org, live, recordedIds = {}, agoraHost = NO_AG
600
600
  (s.action.desired.homes ?? []).includes(DESKTOP_AUTH_HOME)),
601
601
  });
602
602
  claimed.add(resourceKey('coolify', 'desktop-auth', org.id));
603
- if (desktopAuth.step)
604
- plannedSteps.push(desktopAuth.step);
605
603
  // An own org's scheduler, before its registration below.
606
604
  const ownJobs = planOwnJobs({
607
605
  org,
@@ -714,6 +712,9 @@ export function computePlanDetail(org, live, recordedIds = {}, agoraHost = NO_AG
714
712
  plannedSteps.push(desktopCallbacks);
715
713
  // #444, last: a Postgres step that fails must not stop the zone, mail, app, Agora and Boule steps of a live company.
716
714
  plannedSteps.push(...orgPostgresSteps);
715
+ // After the org-postgres steps: the desktop sign-in service lives on a home they may create in this same plan.
716
+ if (desktopAuth.step)
717
+ plannedSteps.push(desktopAuth.step);
717
718
  plannedSteps.push(...orgPostgresMigration.steps);
718
719
  // #10 (resolved): "foundry manages only what the declared org names";
719
720
  // anything left unclaimed is listed, never proposed for deletion.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wtfalch/foundry",
3
- "version": "0.51.1",
3
+ "version": "0.51.2",
4
4
  "description": "Foundry's SDK: the declared org's types, the plan and apply contracts, and the state store's interface.",
5
5
  "repository": {
6
6
  "type": "git",