-
Hi, I have a hook to install pnpm node modules: [[watch_files]]
patterns = ["package.json", "pnpm-lock.yaml"]
run = "pnpm install" This installs a cli tool to local node modules: {
"name": "root",
"version": "1.0.0",
"description": "",
"devDependencies": {
"markdown-cli": "1.6.0"
}
} The bin path ends up at |
Beta Was this translation helpful? Give feedback.
Answered by
jdx
Dec 2, 2024
Replies: 1 comment 1 reply
-
just add [env]
_.path = ["./node_modules/.bin"] |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dudicoco
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just add
./node_modules/.bin
to PATH: