@typescript-tools/packages-to-rebuild-on-changes
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

packages-to-rebuild-on-changes

License NPM Package Build Status semantic-release

Calculate packages required to rebuild when a given package changes

The Problem

A user has made changes to one or more internal packages, and we want to validate the minimum-but-sufficient subset of internal packages that may be affected by this change.

This set of packages is calculated as:

  1. the changed packages
  2. the set of packages consuming (1)
  3. the set of dependencies of (1) and (2)

Install

npm install --save-dev @typescript-tools/packages-to-rebuild-on-changes

API

export function packagesToRebuildOnChanges(
  root?: string,
): TE.TaskEither<PackagesToRebuildOnChangesError, Map<PackageName, PackageManifest[]>>

Related

Package Sidebar

Install

npm i @typescript-tools/packages-to-rebuild-on-changes

Weekly Downloads

10,800

Version

2.0.1

License

ISC

Unpacked Size

17.6 kB

Total Files

7

Last publish

Collaborators

  • hamroctopus
  • amchelle