question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: lerna remove

See original GitHub issue

Removes dependency from packages, the inverse of @lerna/add

Currently there’s no way to remove a dependency from a lerna package, the closest way we can do is to manually remove from package.json, lerna clean --yes --scope=xxx + lerna bootstrap --scope=xxx.

This command provides the remove dependency feature. Just like npm uninstall or yarn remove.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:298
  • Comments:36

github_iconTop GitHub Comments

106reactions
davidmurdochcommented, Nov 7, 2020

If lerna remove shouldn’t be a lerna feature, then shouldn’t lerna add be removed from lerna?

66reactions
diminutivesloopcommented, Mar 13, 2020

What’s the status of this feature? This issue is already over a year old.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove dependency from nested Lerna Package
I can add packages with lerna add --scope but it seems there is no corresponding remove functionality. package.json · lerna · Share.
Read more >
Lerna: Documentation
Lerna is a fast modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
Read more >
@lerna/clean | Yarn - Package Manager
BREAKING CHANGES. prompt: The ambiguous 'confirm', 'select', and 'input' exports have been removed. Please use the renamed exports 'promptConfirmation', ' ...
Read more >
Lerna reborn — What's new in v6?. Lerna v6 is out ... - Nx Blog
But surprisingly many still haven't heard that Lerna is back, far from obsolete or deprecated and is getting brand new features.
Read more >
A guide through The Wild Wild West of setting up a mono repo ...
We will be using TypeScript, Yarn workspaces, Lerna, and Jest. ... Yarn Workspaces is a feature that allows users to install dependencies from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found