Skip to main content

has_dep_lifecycle_work

Function has_dep_lifecycle_work 

Source
pub fn has_dep_lifecycle_work(
    package_dir: &Path,
    manifest: &PackageJson,
) -> bool
Expand description

True if run_dep_hook would actually execute something for this package across any of the dependency lifecycle hooks. Callers use this to skip fan-out work for packages that have nothing to run — including the implicit node-gyp rebuild default.