From eba1e9cc8eace78323f6ac489369c1859a5aa194 Mon Sep 17 00:00:00 2001 From: Sander Declerck Date: Fri, 18 Jul 2025 15:58:49 +0200 Subject: [PATCH] Add wrappers for pnpm and pnpx in the script --- src/shell-integration/startup-scripts/init-posix.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/shell-integration/startup-scripts/init-posix.sh b/src/shell-integration/startup-scripts/init-posix.sh index b936eeb..09a5926 100644 --- a/src/shell-integration/startup-scripts/init-posix.sh +++ b/src/shell-integration/startup-scripts/init-posix.sh @@ -69,6 +69,14 @@ function yarn() { wrapCommand "yarn" "aikido-yarn" "$@" } +function pnpm() { + wrapCommand "pnpm" "aikido-pnpm" "$@" +} + +function pnpx() { + wrapCommand "pnpx" "aikido-pnpx" "$@" +} + function npm() { if [[ "$1" == "-v" || "$1" == "--version" ]] && [[ $# -eq 1 ]]; then # If args is just -v or --version and nothing else, just run the npm version command