I have a lerna setup with n
packages located under packages/
. Let us take an example where one of the packages uses express where the others do not.
How can I remove express from this package in a lerna-aware manner so the root package.json is updated?
I can add packages with lerna add --scope
but it seems there is no corresponding remove functionality.
Just remove the packages from your package.json
then run
$lerna bootstrap