Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageInference ¶
type PackageInference struct { // PackageName, if set, means that we have determined that filters without a package-specifier // should get this package name PackageName string // DirectoryRoot is used to infer a "parentDir" for the filter in the event that we haven't // identified a specific package. If the filter already contains a parentDir, this acts as // a prefix. If the filter does not contain a parentDir, we consider this to be a glob for // all subdirectories DirectoryRoot turbopath.RelativeSystemPath }
PackageInference holds the information we have inferred from the working-directory (really --infer-filter-root flag) about which packages are of interest.
type PackagesChangedInRange ¶
PackagesChangedInRange is the signature of a function to provide the set of packages that have changed in a particular range of git refs.
type Resolver ¶
type Resolver struct { Graph *dag.AcyclicGraph WorkspaceInfos workspace.Catalog Cwd turbopath.AbsoluteSystemPath Inference *PackageInference PackagesChangedInRange PackagesChangedInRange Logger hclog.Logger }
type SelectedPackages ¶
type SelectedPackages struct {
// contains filtered or unexported fields
}
type TargetSelector ¶
type TargetSelector struct {
// contains filtered or unexported fields
}
func ParseTargetSelector ¶
func ParseTargetSelector(rawSelector string) (*TargetSelector, error)
ParseTargetSelector is a function that returns pnpm compatible --filter command line flags
func (*TargetSelector) IsValid ¶
func (ts *TargetSelector) IsValid() bool
Click to show internal directories.
Click to hide internal directories.