Please enable JavaScript.
Coggle requires JavaScript to display documents.
resolveDependencies, resolve
const resolutionResult = await resolveModule…
resolveDependencies
packages
const dependencyErrors
= getPackageDependenciesErrors (dependencyInfo)
array of errors: dependencyInfo.dependenciesErrors + dependencyInfo.missingDependencies.direct + dependencyInfo.missingDependencies.indirect returned with a corresponding label and type, DependenciesError
or UpmError
const errors = [dependencyInfo.error, ...dependencyErrors, ...resolutionErrors]
flattens dependencyInfo.error
, dependencyErrors
, resolutionErrors
into errors
and adds them into packageInfo
: no benefit on having split dependency error and direct errors?
-
-
-
const dependencyErrors
= getPackageDependenciesErrors (dependencyInfo)
array of errors: dependencyInfo.dependenciesErrors + dependencyInfo.missingDependencies.direct + dependencyInfo.missingDependencies.indirect returned with a corresponding label and type, DependenciesError
or UpmError
const errors = [dependencyInfo.error, ...dependencyErrors, ...resolutionErrors]
flattens dependencyInfo.error
, dependencyErrors
, resolutionErrors
into errors
and adds them into packageInfo
: no benefit on having split dependency error and direct errors?
-
resolve
const resolutionResult = await resolveModule.resolvePackages
-
-