Add option to install() to pass parameters to package manager #321
manuschillerdev
started this conversation in
Ideas
Replies: 1 comment
-
Could be helpful for me too :) In the meantime I use this workaround: install(['node-app'], { pnpm: true, dev: false }, (command, args, options = {}) => {
args.push('--workspace');
spawnSync(command, args, options);
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to use mrm to set up pnpm monorepos.
pnpm will throw an error if you try to install dependencies at the workspace level without providing the
-w
or--workspace-root
flag:I'd love to be able to pass extra flags to the package manager to circumvent that:
Beta Was this translation helpful? Give feedback.
All reactions