@pacaf/wizard-ux 3.3.9 → 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 +2 -2
- package/server/steps/07-scaffold.mjs +8 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pacaf/wizard-ux",
|
|
3
|
-
"version": "3.3.
|
|
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.
|
|
41
|
+
"@pacaf/wizard": "3.3.11"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/react": "^19.0.0",
|
|
@@ -94,17 +94,14 @@ 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
|
-
//
|
|
98
|
-
//
|
|
99
|
-
//
|
|
100
|
-
//
|
|
101
|
-
//
|
|
102
|
-
// that every new repo always picks up the latest published capabilities.
|
|
103
|
-
// See issue #81 follow-up.
|
|
104
|
-
const freshArgs = ['--prefer-online', ...baseArgs];
|
|
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.
|
|
105
102
|
const noisyArgs = pnpm
|
|
106
|
-
? ['--reporter=append-only', ...
|
|
107
|
-
: ['--loglevel=http', '--no-audit', '--no-fund', ...
|
|
103
|
+
? ['--reporter=append-only', ...baseArgs]
|
|
104
|
+
: ['--loglevel=http', '--no-audit', '--no-fund', ...baseArgs];
|
|
108
105
|
return runFile(log, bin, noisyArgs, { cwd: projectDir, env: installEnv() });
|
|
109
106
|
}
|
|
110
107
|
|
|
@@ -316,7 +313,7 @@ export default {
|
|
|
316
313
|
log.warn('[2/3] Some runtime packages failed to install.');
|
|
317
314
|
}
|
|
318
315
|
|
|
319
|
-
const devPkgs = SCAFFOLD.
|
|
316
|
+
const devPkgs = SCAFFOLD.freshDevPackageSpecs();
|
|
320
317
|
if (await runInstall(log, { stage: '3/3', label: 'Installing dev dependencies (Vitest, ESLint, Playwright, @pacaf/scripts)', projectDir, pnpm, mode: 'dev', packages: devPkgs, workspaceRoot })) {
|
|
321
318
|
log.ok('[3/3] Dev packages installed');
|
|
322
319
|
} else {
|