npmClient does not work when lerna publish
See original GitHub issueExpected Behavior
when publish, lerna use the npmClient i specified
Current Behavior
when publish, lerna use npm to do it
Possible Solution
Steps to Reproduce (for bugs)
- set npmClient in lerna.json
- lerna publish
lerna.json
<!-- Please paste your `lerna.json` here -->
lerna-debug.log
<!-- If you have a `lerna-debug.log` available, please paste it here -->
<!-- Otherwise, feel free to delete this <details> block -->
Context
Your Environment
Executable | Version |
---|---|
lerna --version |
3.16.4 |
npm --version |
6.4.1 |
yarn --version |
1.13.0 |
node --version |
10.15.0 |
windows | 10 |
---|---|
NAME | VERSION |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:15 (5 by maintainers)
Top Results From Across the Web
A guide through The Wild Wild West of setting up a mono repo ...
In this part, I will explain step by step how to setup Lerna, Yarn Workspaces and Typescript in a mono repo. In the...
Read more >Managing Monorepo using Lerna and Yarn workspaces
You need to manage issues and pull requests in a single repository ... lerna publish command publishes npm packages that have changes.
Read more >Using pnpm with Lerna
If not already using workspaces, run lerna clean to remove the node_modules/ folder in all packages. Set "npmClient": "pnpm" and "useWorkspaces": true in ......
Read more >Lerna NPM | npm.io
When you run lerna publish , if a module has been updated since the last time a release ... Applicable are packages that...
Read more >@lerna/version - npm
3 ) and you run lerna version with and a non-prerelease bump ( major , minor , or patch ), it will publish...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Literally all of the code used is open source, so “security reasons” is weak tea. Anyway, it’s not going to change in Lerna going forward, so I’m closing this issue.
A quick solution: just use lerna@2.x