True when no packages patterns were configured and every directory had to be
searched for a package.json. Callers can surface this - discovery is then
implicit, and a repo that keeps packages outside the default location gets
different results from the commands that don't auto-search.
Remember resolved package for a name@<semver> ID to its name@version ID.
An empty string means no local version satisfies the semver.
Add a dependency relation
package that depends on another
package to depend on
section in package.json
OptionalindirectSteps: string[]
intermediate dep steps
boolean - whether dep is added (it's not if it already exist)
Add a dependency relation by package IDs
id of package depend from
id of package to depend on
section in package.json
OptionalindirectSteps: string[]
intermediate dep steps
Add a dependency relation by package paths
path of package depend from
path of package to depend on
section in package.json
OptionalindirectSteps: string[]
intermediate dep steps
Add depdencies from a list of dep relations
relations
Add a package to the graph using the data from its package.json
data from package.json
relative path from the top dir of fynpo to the package. It must use / only.
OptionalpkgStr: string
string form of package.json
Add a package to the graph by the path to its package.json file
path to the package.json file
check and update any circular dependency between packages
package that depends on
package to depend on
true if circular else false
Check if a dependency should NOT be resolved as a local package.
Checks both:
noFynLocal optionfyn.dependencies[name] setting (false or "no-fyn-local")the package that has the dependency
name of the dependency to check
true if the dependency should NOT be resolved locally
Get a package at a directory
directory of package to get
Return array of dep data sorted by dependency topological order
don't consider circular deps if true
array of paths of package dep data
paths of packages with circular deps
paths of packages sorted topoly, excluding ones with circular deps
paths of all packages sorted, include ones with circular deps
Return array of dep data sorted by dependency topological order
array of sorted package dep data
Read the packages of a fynpo monorepo.
patterns is empty, then look for all package.json files, except the top level one.resolve packages from fynpo and resolve their dependency relations
set true to resolve indirect deps also
Resolve a package by its name and semver against the fynpo packages
package name
semver
should use the first entry if semver didn't match any version
fynpo package info
update auxiliary package data
byId mapbyPath mapbyNameupdate package depdencies map
fynpo dep graph manager