@pandablessing/dsh-user-sync 1.0.18 → 1.0.19
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/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -431,7 +431,7 @@ export function apply(ctx) {
|
|
|
431
431
|
if (!rt)
|
|
432
432
|
return json({ ok: false, error: 'E_NO_PNPM' }, 503);
|
|
433
433
|
// 新版本刚发布时 pnpm 的 minimumReleaseAge 会拒绝安装,显式放行;同时避免 frozen-lockfile 阻断
|
|
434
|
-
await runCommand(rt.node, [rt.pnpmCjs, 'add', spec, '--config.minimumReleaseAge=0'
|
|
434
|
+
await runCommand(rt.node, [rt.pnpmCjs, 'add', spec, '--config.minimumReleaseAge=0'], {
|
|
435
435
|
cwd: paths.profileDir,
|
|
436
436
|
timeout: 240_000,
|
|
437
437
|
});
|