Skip to main content

Crate qk_graph

Crate qk_graph 

Source
Expand description

Deterministic workspace project graphs. External lockfile nodes come later.

Structs§

Dependency
GraphReport
Node
ProjectGraph

Functions§

expand_implicit_dependencies
Nx’s normalizeImplicitDependencies: the projects the patterns select, the project itself left out, then a ! and the name of each project an exclusion matches, which removes any other edge to it.
graph_order
Orders project names as Nx orders its graph nodes: by name, then stably by descending root length (normalizeProjectNodes in Nx).
links
Whether a dependency declared with range in the package at root means the workspace package at target, as Nx decides it: a workspace: range, *, a file: path to it, or a semver range its version satisfies, prereleases included. Anything else, such as catalog:, npm: aliases or a range the version is outside of, is left to npm.
satisfies
Whether version satisfies the npm range, prereleases included.
select_projects
The projects --projects and --exclude select, as Nx’s run-many selects them: every project without patterns, else what the patterns match, in order, less what the exclusions match among those.