avorelo 0.3.3 → 0.3.4
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/avorelo.mjs +4 -4
- package/package.json +1 -1
package/dist/avorelo.mjs
CHANGED
|
@@ -7449,7 +7449,7 @@ function runPreflight(targetDir) {
|
|
|
7449
7449
|
label: "npm cache directory accessible",
|
|
7450
7450
|
passed: false,
|
|
7451
7451
|
details: "cache path does not exist",
|
|
7452
|
-
recovery: isWindows ? 'Use a temporary cache. PowerShell: $env:npm_config_cache="$env:TEMP\\npm-cache-avorelo"; npx -y avorelo@latest activate
|
|
7452
|
+
recovery: isWindows ? 'Use a temporary cache. PowerShell: $env:npm_config_cache="$env:TEMP\\npm-cache-avorelo"; npx -y avorelo@latest activate --scope project-wide --claim <activation_claim>. cmd.exe: cmd /c "set npm_config_cache=%TEMP%\\npm-cache-avorelo && npx -y avorelo@latest activate --scope project-wide --claim <activation_claim>"' : "Use a temporary cache: npm_config_cache=$(mktemp -d) npx -y avorelo@latest activate --scope project-wide --claim <activation_claim>"
|
|
7453
7453
|
});
|
|
7454
7454
|
}
|
|
7455
7455
|
} catch {
|
|
@@ -7458,7 +7458,7 @@ function runPreflight(targetDir) {
|
|
|
7458
7458
|
label: "npm cache directory accessible",
|
|
7459
7459
|
passed: false,
|
|
7460
7460
|
details: "could not read npm cache config",
|
|
7461
|
-
recovery: isWindows ? 'Use a temporary cache. PowerShell: $env:npm_config_cache="$env:TEMP\\npm-cache-avorelo"; npx -y avorelo@latest activate
|
|
7461
|
+
recovery: isWindows ? 'Use a temporary cache. PowerShell: $env:npm_config_cache="$env:TEMP\\npm-cache-avorelo"; npx -y avorelo@latest activate --scope project-wide --claim <activation_claim>. cmd.exe: cmd /c "set npm_config_cache=%TEMP%\\npm-cache-avorelo && npx -y avorelo@latest activate --scope project-wide --claim <activation_claim>"' : "Use a temporary cache: npm_config_cache=$(mktemp -d) npx -y avorelo@latest activate --scope project-wide --claim <activation_claim>"
|
|
7462
7462
|
});
|
|
7463
7463
|
}
|
|
7464
7464
|
let tempOk = false;
|
|
@@ -7487,7 +7487,7 @@ function runPreflight(targetDir) {
|
|
|
7487
7487
|
label: "PowerShell execution policy",
|
|
7488
7488
|
passed: psOk,
|
|
7489
7489
|
details: `Policy: ${policy}`,
|
|
7490
|
-
recovery: blocked ? "PowerShell is blocking script execution. Use Command Prompt instead:\n cmd /c npx -y avorelo@latest activate" : void 0
|
|
7490
|
+
recovery: blocked ? "PowerShell is blocking script execution. Use Command Prompt instead:\n cmd /c npx -y avorelo@latest activate --scope project-wide --claim <activation_claim>" : void 0
|
|
7491
7491
|
});
|
|
7492
7492
|
} catch {
|
|
7493
7493
|
checks.push({ id: "powershell_execution_policy", label: "PowerShell execution policy", passed: true, details: "could not check (non-PowerShell shell)" });
|
|
@@ -7518,7 +7518,7 @@ function buildWindowsFallbackCommand() {
|
|
|
7518
7518
|
"mkdir %AVORELO_TEMP%",
|
|
7519
7519
|
"set npm_config_cache=%AVORELO_TEMP%\\npm-cache",
|
|
7520
7520
|
"cd /d %AVORELO_TEMP%",
|
|
7521
|
-
"npx -y avorelo@latest activate",
|
|
7521
|
+
"npx -y avorelo@latest activate --scope project-wide --claim <activation_claim>",
|
|
7522
7522
|
"npx -y avorelo@latest status"
|
|
7523
7523
|
].join("\n");
|
|
7524
7524
|
}
|
package/package.json
CHANGED