$ cnpm install @lerna/changed
@lerna/changedList local packages that have changed since the last tagged release
Install lerna for access to the lerna CLI.
The output of lerna changed is a list of packages that would be the subjects of the next lerna version or lerna publish execution.
$ lerna changed
package-1
package-2
Note: lerna.json configuration for lerna publish and lerna version also affects
lerna changed, e.g. command.publish.ignoreChanges.
lerna changed supports all of the flags supported by lerna ls:
Unlike lerna ls, however, lerna changed does not support filter options, as filtering is not supported by lerna version or lerna publish.
lerna changed supports the following options of lerna version (the others are irrelevant):
Copyright 2013 - present © cnpmjs.org