Skip to content

How do we run an arbitrary command (not in package.json) in every package? #3864

Answered by fahslaj
trusktr asked this question in Q&A
Discussion options

You must be logged in to vote

Check out Lerna exec. It does exactly what you're looking for.

$ lerna exec -- rm -rf something

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JamesHenry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants