@0x-lerna-fork/clean

Remove the node_modules directory from all packages

Usage no npm install needed!

<script type="module">
  import 0xLernaForkClean from 'https://cdn.skypack.dev/@0x-lerna-fork/clean';
</script>

README

@0x-lerna-fork/clean

Remove the node_modules directory from all packages

Install lerna for access to the lerna CLI.

Usage

$ lerna clean

Remove the node_modules directory from all packages.

lerna clean respects the --ignore, --scope, and --yes flags (see Filter Flags).

lerna clean does not remove modules from the root node_modules directory, even if you have the --hoist option enabled.