@pacaf/wizard-ux 3.3.7 → 3.3.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pacaf/wizard-ux",
3
- "version": "3.3.7",
3
+ "version": "3.3.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Browser-based setup wizard for Power Apps Code Apps (parallel to @pacaf/wizard CLI).",
@@ -38,7 +38,7 @@
38
38
  "react-dom": "^19.0.0",
39
39
  "react-resizable-panels": "^2.1.7",
40
40
  "react-router-dom": "^7.1.0",
41
- "@pacaf/wizard": "3.3.8"
41
+ "@pacaf/wizard": "3.3.9"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "^19.0.0",
@@ -130,11 +130,16 @@ async function verifyAppInSolution(log, pac, projectDir, solutionUniqueName, { p
130
130
  return membership;
131
131
  }
132
132
  if (membership.status === 'absent') {
133
- const steps = SOLUTION_MEMBERSHIP.orphanRecoverySteps(solutionUniqueName, appDisplayName || 'this Code App');
134
- for (const line of steps) log.fail(line);
135
- // A confirmed orphan is a hard error in BOTH phases: pre-push (an UPDATE
136
- // cannot fix it) and post-create (the create silently failed to associate).
137
- throw new Error(`Code App is orphaned — NOT a component of solution "${solutionUniqueName}". ${phase === 'pre-push' ? 'A re-push will not fix this.' : 'The create did not associate it.'} See the recovery steps above.`);
133
+ // INFORMATIONAL ONLY never block the deploy on this signal. The documented
134
+ // contract (learn.microsoft.com/power-apps/developer/code-apps/how-to/alm)
135
+ // is simply `pac code push --solutionName <name>`; association happens as
136
+ // part of that push. The export+type-300 component count below is a
137
+ // best-effort cross-check, NOT an authoritative source of truth a clean
138
+ // export with zero Canvas App components does NOT reliably mean the app is
139
+ // orphaned. So we surface a hint and continue rather than throwing.
140
+ const hint = SOLUTION_MEMBERSHIP.orphanRecoverySteps(solutionUniqueName, appDisplayName || 'this Code App')[0];
141
+ log.warn(`${hint} If it is missing in the Maker Portal, add it with: Solutions → ${solutionUniqueName} → Add existing → App → Code app.`);
142
+ return membership;
138
143
  }
139
144
  log.warn(`Could not confirm solution membership for "${solutionUniqueName}" (${membership.detail}). Verify in the Maker Portal that the app is listed under it.`);
140
145
  return membership;