pnpm version 7.1.1
Take a project with a simple file at bin/command.mjs
#!/usr/bin/env node
console.log("hello world");
Configure it via the bin field of that project's package.json file.
"bin": { "myCommand": "./bin/command.mjs" }
Install this local project globally.
Unexpected output:
WARN undefined has no binaries
The associated bin file is available as expected despite this warning.
pnpm version 7.1.1
Take a project with a simple file at
bin/command.mjsConfigure it via the
binfield of that project'spackage.jsonfile.Install this local project globally.
Unexpected output:
The associated bin file is available as expected despite this warning.