List local packages that have changed since the last tagged release
npm install @lerna-lite/changed -D
# then use it (see usage below)
lerna changed
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):