Commit Graph

11 Commits

Author SHA1 Message Date
Zoltan Kochan
80306c4043 fix: honor --prefix when resolving workspace dir (#11550)
The `--prefix` option (renamed to `dir`) was applied to options after
`getWorkspaceDir` had already run, so workspace detection fell back to
`process.cwd()` and missed the manifest at the prefix dir. As a result,
running pnpm from outside the project (e.g. `pnpm --prefix=child install`
from the parent dir) silently skipped settings declared in
`child/pnpm-workspace.yaml`.

Backport of #11549 to release/10. Closes #11535.
2026-05-12 10:15:59 +02:00
Khải
778ba1e632 fix(dlx): regression with --help (#9830)
Fixes https://github.com/pnpm/pnpm/issues/9823
2025-08-09 02:05:49 +02:00
Khải
6bcfa69964 feat(cli): parse options after dlx (#9735)
close  #9719
2025-07-10 01:23:40 +02:00
Naru
48b487177e fix: allow scope registry cli option without --config. prefix (#9089)
close #9084.
close #9085
2025-02-25 02:29:39 +01:00
Zoltan Kochan
f066efcbd8 fix: every command should read settings from the root workspace project (#8671)
close #8667
2024-10-20 03:11:55 +02:00
Zoltan Kochan
26b065c193 feat: automatically switch to the right pnpm version (#8363)
close #8360
2024-08-06 21:59:43 +02:00
Simon He
b6acfcf8d1 refactor(cli): conditional branch (#8290) 2024-07-08 16:03:17 +02:00
Khải
1effaf012d refactor(cli): return type annotations (#7920) 2024-04-13 22:36:31 +02:00
await-ovo
32679f0ad4 fix: should not swallows empty string in params (#6871)
close #6594
2023-07-29 01:18:25 +03:00
Zoltan Kochan
583e3954be fix: remove suppressImplicitAnyIndexErrors from typescript settings (#5991) 2023-01-28 18:19:26 +02:00
Zoltan Kochan
4ca53b0b50 refactor: group projects in different subdirectories (#5659) 2022-11-20 01:35:22 +02:00