I exposed the internals. On purpose. You can import from depfresh and do whatever you want with your dependency graph. ESM-only, obviously. It's not 2019.
-
Overview -- Quick start, defaults, workflow examples. The "just show me some code" page.
-
Functions -- Every exported function:
check,resolveConfig,loadPackages,resolvePackage,writePackage, and the rest. Includes lifecycle callbacks, addon plugin hooks, and built-in addons. -
Types -- The full type catalogue.
depfreshOptions,depfreshAddon,PackageMeta,ResolvedDepChange, and everything your editor wants to autocomplete. -
Errors -- Structured error classes:
RegistryError,CacheError,ConfigError,WriteError,ResolveError,AddonError. All extenddepfreshError, all have stable codes.