@typescript-tools/internal-dependers
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

internal-dependers

License NPM Package Build Status semantic-release

Calculate dependents of a package in the same monorepo

Install

npm install --save-dev @typescript-tools/internal-dependers

Use

Usage:
    internal-dependers [--root <root>] [--path] <package>...

Options:
    packages         Package names or paths to print dependers of (also reads from stdin)
    --root=<root>    Root of lerna mono-repository
    --path           Print the relative path to each package from root

internal-dependers reads one or more packages either as arguments or from stdin, and outputs the internal packages that depend on that list, either directly or transitively.

Packages may be specified by path or by (scoped) name.

Examples

Note: all examples run from the root of this monorepo

$ node ./packages/internal-dependers/dist/src/index.js @typescript-tools/hoisted-packages
@typescript-tools/hoisted-package-json
@typescript-tools/use-hoisted-version
$ npx internal-dependers --path @typescript-tools/hoisted-packages
packages/hoisted-package-json
packages/use-hoisted-version

Readme

Keywords

Package Sidebar

Install

npm i @typescript-tools/internal-dependers

Weekly Downloads

3

Version

2.0.1

License

ISC

Unpacked Size

13.7 kB

Total Files

7

Last publish

Collaborators

  • hamroctopus
  • amchelle