Skip to content

Instantly share code, notes, and snippets.

@bjankord
Created October 16, 2018 18:51
Show Gist options
  • Save bjankord/56bbfff964b0ba32f84602612a81cbc4 to your computer and use it in GitHub Desktop.
Save bjankord/56bbfff964b0ba32f84602612a81cbc4 to your computer and use it in GitHub Desktop.

Get all packages

Get all packages by running lerna ls. Convert this to an array Save array as a const named all.

Get updated packages

Get updated package by running lerna updated Convert this to an array Save array as a const named updated.

all.filter(x => !updated.includes(x));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment