sadan4
a2591e8cda
fix(shell-completion): give correct suggestions when command line ends with a space ( #10607 )
...
* fix(shell-completion): give correct suggestions when command line ends with a space
fixes an issue where if you tried to complete any part of any subcommand
with a space before <TAB> (eg: `pnpm run <TAB>`, `pnpm rm react <TAB>`),
pnpm would give you suggestions for the root command, as if you had
typed `pnpm <TAB>`
close #7964
close #5426
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2026-02-25 11:37:48 +01:00
Trevor Burnham
0ecff5b85c
fix(completion): correct documentation URL in help output ( #10511 )
...
The completion command's help text was showing a URL that redirects to a 404 page
(https://pnpm.io/10.x/cli/completion \). This changes it to the correct URL
(https://pnpm.io/completion \) where the documentation actually exists.
close #10281
2026-01-26 01:30:08 +01:00
Zoltan Kochan
46a65def8e
Merge remote-tracking branch 'origin/main' into v11
2025-08-29 13:30:11 +02:00
Zoltan Kochan
491a84fb26
feat: use ESM instead of commonjs ( #9870 )
2025-08-25 10:02:00 +02:00
Zoltan Kochan
27cbc09206
style: fix jest-related linting issues ( #9894 )
2025-08-22 21:56:49 +02:00
btea
05dd45ea82
perf: replace startsWith with strict equality ( #9881 )
2025-08-21 14:14:26 +02:00
Zoltan Kochan
facd7656e8
refactor: always use extensions in relative imports ( #9878 )
2025-08-19 15:25:11 +02:00
Zoltan Kochan
39c53852ea
fix: some commands should not fail if a different package manager is set in package.json ( #8802 )
...
close #7959
2024-11-25 10:13:23 +01:00
btea
9797a1e889
refactor: remove useless parameters from the catch statement ( #8583 )
2024-09-29 12:08:48 +02:00
Brandon Cheng
75a98e12b3
refactor: improve type checking when finding workspace packages ( #8214 )
...
---------
Co-authored-by: Zoltan Kochan <z@kochan.io >
2024-06-17 17:34:54 +02:00
Khải
bd70096c83
refactor(completion): return type annotations ( #7919 )
2024-04-13 22:01:54 +02:00
Khải
004addf63e
feat(completion): print completion code to stdout ( #7597 )
...
* feat(completion): generate-completion
close #3083
* feat: better error message
* test: generate-completion
* feat(completion): add powershell
* chore(deps): update @pnpm/tabtab to 0.3.0
* switch to provided type declarations
* fix typings
* update tests
* update bundle scripts
* refactor: remove unnecessary `??`
* refactor: replace a type def with provided types
* chore(deps): update @pnpm/tabtab to 0.4.0
* feat(cli): rename completion command
* chore(deps): update @pnpm/tabtab to 0.4.1
* refactor: use tabtab's new features
* fix: pass shell
* chore(deps): update @pnpm/tabtab to 0.5.0
* chore(deps): update @pnpm/tabtab to 0.5.1
* fix: remove unused import
* refactor: move completion to plugins
* feat: remove `{install,uninstall}-completion`
Just `pnpm completion` is enough
* test: fix
* refactor: direct import
* refactor: move tests to next to the lib
* refactor: merge 2 packages into 1
* fix: update changeset and remove install-completion
2024-02-06 23:18:17 +01:00