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
# or via pnpm
pnpm exec lerna changedThe 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-2Note: 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):