Home > @microsoft/package-deps-hash

package-deps-hash package

This package builds a JSON object containing the git hashes of all files used to produce a given NPM package. The Rush tool uses this library to implement incremental build detection.

Remarks

For more info, please see the package README.

Functions

Function Description
getPackageDeps(packagePath, excludedPaths) Builds an object containing hashes for the files under the specified packagePath folder.

Interfaces

Interface Description
IPackageDeps The data structure returned by getPackageDeps().