Modules§
Structs§
- Package
Info - Parsed
package.json
- Package
Json Metadata - Workspace
Item - Workspaces is a generic term that refers to the set of features in the npm cli that provides support to managing multiple packages from your local files system from within a singular top-level, root package.
Enums§
Functions§
- find_
git_ root - find_
package_ root - find_
workspace_ path - get_
all_ package_ json_ files - Get paths to every package.json in workspaces, given a cwd
- get_
change_ path - get_
dependent_ map - HashMap<PackageName, HashSet<Package’s dependcies/devDependcies>>
- get_
internal_ deps - Get deps of target package included in giving packages.
- get_
package_ graph - edges of dependency/devDependency => package
- get_
package_ infos - Get every Parsed
package.json
in workspaces, given a cwd - get_
pnpm_ workspace_ root - get_
pnpm_ wrokspaces - get_
scoped_ packages - Searches all package names based on “scoping” (i.e. “scope” in the sense of inclusion)
- get_
transitive_ consumers - for a package graph of a->b->c (where b depends on a), transitive consumers of a are b & c and their consumers (or what are the consequences of a)
- get_
transitive_ consumers_ with_ scope - for a package graph of a->b->c (where b depends on a), transitive consumers of a are b & c and their consumers (or what are the consequences of a)
- get_
transitive_ providers - for a package graph of a->b->c (where b depends on a), transitive providers of c are a & b and their providers (or what is needed to satisfy c)
- get_
workspace_ implementation - get_
workspace_ infos - get_
workspace_ root - get_
workspaces - is_
child_ of - search_
package_ json_ files - search_
up - Starting from
cwd
, searches up the directory hierarchy forpathName