Skip to main content

resolve_from_settings

Function resolve_from_settings 

Source
pub fn resolve_from_settings(cwd: &Path) -> PackageResources
Expand description

Resolve packages for the explicitly enabled JS/TS runtime. Unlike the metadata-only discovery helpers, this mirrors native Pi by restoring a missing npm/Git source and reconciling an installed npm version that no longer satisfies its configured semver range. Callers must already have passed the project trust gate before selecting the project variant.