-
Hello 👋 from the docs I'm under the impression that I can run this command from the monorepo root to link a package from within the monorepo such as: pnpm link --dir packages/my-package --global where {
"name": "my-package",
"version": "0.1.0",
"private": true,
"bin": "./my-package.js"
} #!/usr/bin/env node
// my-package.js
console.log('hello from my package!') However this does not appear to change the current working directory of where the command is executed and instead creates a symlink to the directory in As a side note, I've also noticed I need to run |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
It has been fixed in v7.12.2, u need put
|
Beta Was this translation helpful? Give feedback.
-
Btw, I want to discuss the option For exmple, here we have a monorepo:
So should we add more information to the |
Beta Was this translation helpful? Give feedback.
It has been fixed in v7.12.2, u need put
--dir packages/my-package
beforelink
: