scripts/run_plan library

Classes

RunPlan
How to run a command across workspace packages.

Functions

planPackages(List<WorkspacePackage> packages, {int? concurrency, bool failFast = false, bool dependencyOrder = false}) → RunPlan
A plan that runs in exactly packages.
planRun({required Workspace workspace, List<String>? runInPackages, List<String> filters = const [], bool allPackagesByDefault = false, int? concurrency, bool failFast = false, bool dependencyOrder = false}) → RunPlan
Chooses the packages a command runs in.
workspaceDependenciesOf(Workspace workspace, List<WorkspacePackage> packages) → List<WorkspacePackage>
The workspace packages that packages depend on through dependencies, directly or through other workspace packages, in workspace order. A package in packages is included only when another package depends on it.

Exceptions / Errors

RunPlanException
A run plan could not be built, for example because a glob matched no workspace package.