Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

License: MIT npm npm

@lerna-lite/changed

(lerna changed) - Changed command [optional] 🕜

List local packages that have changed since the last tagged release


Installation

npm install @lerna-lite/changed -D

# then use it (see usage below)
lerna changed
# or via pnpm
pnpm exec lerna changed

Usage

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.

Options

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):