Skip to main content

Module lockfile_write

Module lockfile_write 

Source
Expand description

Native lockfile writing: resolve dependency tree and emit package-lock.json.

Structs§

ResolvedPackage
One resolved package entry for the lockfile.

Functions§

resolve_full_tree
Resolve the full dependency tree from package.json with deterministic conflict handling. Prefetches direct deps in parallel, then uses cached packuments for the rest. For conflicts, prefers the highest version that satisfies the combined specs; errors if none match.
write_package_lock
Write package-lock.json to the given path.