Skip to content

weswigham/tsautoref

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsautoref

Usage

  1. Install the executable: npm i -g tsautoref
    • For local development: npm i and npm link
  2. tsref [./path/to/monorepo]
  3. tsc -b ./path/to/monoreop/tsconfig.build.json

tsref, given a path (or failing that, the current working directory) will scan for all package.json files within that path. It will then use the name of the located packages and their dependencies (or, failing that, the dependencies derived from the ts files within them) to build tsconfig files with project references for every package located, along with a top-level tsconfig with references to all the component ones. If a root tsconfig is present, it will be used as the base for all component configs. Additionally, it will generally ignore items found within node_modules folders.

About

GYPR - Generate Your Project References

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published