@pacaf/wizard-ux 3.3.8 → 3.3.10

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.8",
3
+ "version": "3.3.10",
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.9"
41
+ "@pacaf/wizard": "3.3.11"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "^19.0.0",
@@ -94,6 +94,11 @@ async function runInstall(log, { stage, label, projectDir, pnpm, mode, packages
94
94
  const baseArgs = pnpm
95
95
  ? (mode === 'base' ? ['install'] : mode === 'dev' ? ['add', '-D', ...rootFlag, ...packages] : ['add', ...rootFlag, ...packages])
96
96
  : (mode === 'base' ? ['install'] : mode === 'dev' ? ['install', '-D', ...packages] : ['install', ...packages]);
97
+ // Freshness of the first-party @pacaf/* packages is guaranteed by pinning
98
+ // their exact latest version at spec-build time (see
99
+ // SCAFFOLD.freshDevPackageSpecs / resolveFirstPartyLatest), NOT by a
100
+ // package-manager flag. `--prefer-online` is npm-only — pnpm aborts on it —
101
+ // so it must never be passed to the actual install. See issue #81 follow-up.
97
102
  const noisyArgs = pnpm
98
103
  ? ['--reporter=append-only', ...baseArgs]
99
104
  : ['--loglevel=http', '--no-audit', '--no-fund', ...baseArgs];
@@ -308,7 +313,7 @@ export default {
308
313
  log.warn('[2/3] Some runtime packages failed to install.');
309
314
  }
310
315
 
311
- const devPkgs = SCAFFOLD.packageSpecs(SCAFFOLD.REQUIRED_DEV_PACKAGES);
316
+ const devPkgs = SCAFFOLD.freshDevPackageSpecs();
312
317
  if (await runInstall(log, { stage: '3/3', label: 'Installing dev dependencies (Vitest, ESLint, Playwright, @pacaf/scripts)', projectDir, pnpm, mode: 'dev', packages: devPkgs, workspaceRoot })) {
313
318
  log.ok('[3/3] Dev packages installed');
314
319
  } else {