Supports all Melos filtering flags, except --diff, which is
given as the argument of this command.
List the local packages that have changed since a given commit or tag.
melos changedA package counts as changed when a file inside its directory changed, so
changes outside of the workspace packages, such as to the root pubspec.yaml
or to the CI configuration, are not attributed to any package. A package
directory does contain its nested packages, which means a change to
packages/a/example is also a change to packages/a, and with
useRootAsPackage enabled any change in the repository is a change to the root
package.
Without an argument, each package is compared against its own latest release
tag, so the output is the list of packages that have changes to release.
Packages that have no release tag yet, which includes packages without a
version in their pubspec.yaml, have never been released and are therefore
always listed as changed.
A commit or tag to compare against can be given as an argument:
melos changed v1.2.0
melos changed 4ba1b8fA range of commits can be given using the git shorthand syntax
<start-commit>..<end-commit> and <start-commit>...<end-commit>:
melos changed HEAD~5..HEADTo also list the packages that depend on the changed packages, for example to
only build the apps that are affected by a change in a shared package, use
--include-dependents:
melos changed --include-dependentsThe output can be formatted with the same options as the
list command.
Show extended/verbose information. Defaults to false.
melos changed --long
melos changed -lWhen printing output, use package paths relative to the root of the workspace.
Defaults to false (or full paths).
melos changed --relative
melos changed -rShow parsable output instead of columnified view. Defaults to false.
melos changed --parsable
melos changed -pShow information as a JSON array. Defaults to false.
melos changed --jsonShow dependency graph as a JSON-formatted adjacency list. Defaults to false.
melos changed --graphShow dependency graph in Graphviz DOT language. Defaults to false.
melos changed --gvizShow dependency graph in Mermaid Diagram. Defaults to false.
melos changed --mermaid
