Feature request: commands to add/remove dependencies from managed packages
See original GitHub issueWithout some way of doing this built in to Lerna itself, usage of module hoisting alongside Yarn becomes impractical when adding or removing dependencies to packages.
- Yarn wants to download all the dependencies it’s missing, and is ignorant of hoisted ones. So you suffer the wait of re-downloading your packages whenever running
yarn add
directly within a module. Cleaning up this duplication also eats time. - Adding the dependency manually is also an option, but this requires re-running
lerna
and that takes far longer than a normal module install.
lerna add [--dev]
and lerna remove
commands which accept the target package as well as dependency would provide a smooth means of dealing with these problems.
Great package and desperately needed in the node ecosystem, keep up the great work!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:37
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Remove components from a managed package
In order to remove components from a managed-released package, there are two options: 1. Partners may request to enable the feature to Delete...
Read more >Dependencies | Twilio
Managing Dependencies · Enter the name and version of the npm module you want to include in the first row of empty fields....
Read more >3 Common Tasks — The Yocto Project ® 4.1.999 documentation
For example, use require recipes-core/ package / file .inc instead of require ... For help on the BitBake layer management tool, use the...
Read more >DISM App Package (.appx or .appxbundle) Servicing ...
You can use app package servicing commands to add, remove, ... For more information, see Deployment Imaging Servicing Management (DISM) ...
Read more >Consume NuGet packages | JetBrains Rider Documentation
JetBrains Rider: choosing a project to manage NuGet packages ... Every installed and available package has a lot of helpful commands in its ......
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 Free
Top 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
Workaround for now:
Still remains to be implemented.