List and run a command on changed workspaces and their dependents.
This plugin requires @yarnpkg/plugin-workspace-tools.
yarn plugin import workspace-toolsInstall the latest plugin.
yarn plugin import https://github.com/Dcard/yarn-plugins/releases/latest/download/plugin-changed.jsList changed workspaces and their dependents.
Find changed files within a Git range.
Example:
yarn changed list --git-range master
yarn changed list --git-range 93a9ed8..4ef2c61Look only at staged changes in git. Useful for local development.
Example:
yarn changed list --cachedInclude workspaces.
Example:
yarn changed list --include @foo/a --include @foo/bExclude workspaces.
Example:
yarn changed list --exclude @foo/a --exclude @foo/bOutput in NDJSON format.
Example:
yarn changed list --json
# {"name":"@foo/a","location":"packages/a"}
# {"name":"@foo/b","location":"packages/b"}Run a command on changed workspaces and their dependents. This command relies on yarn workspaces foreach command. See more information about the options here.
See yarn changed list.
See yarn changed list.
See yarn changed list.
See yarn changed list.
Print more information.
Run tasks in parallel.
Print the lines from the output immediately. Otherwise, Yarn will print the output after the source processes have exited.
Limit the number of parallel tasks.