Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.17 KB

File metadata and controls

34 lines (22 loc) · 1.17 KB

yarn-workspaces-to-typescript-project-references

npm

Sync Yarn workspaces dependencies in package.json files with TypeScript project references in tsconfig.json files.

This project may be deprecated when this is resolved: microsoft/TypeScript#25376

Features/Roadmap:

  • check project references, to be run on CI.
  • write project references, to be run locally to update them.
  • Writes tsconfig.json solutions file to the repo root.
  • Detects test.tsconfig.json files in packages and correct references.

Usage

Install this package:

yarn add -D yarn-workspaces-to-typescript-project-references

Check that references are synced with dependencies:

yarn yarn-workspaces-to-typescript-project-references check

Sync references with dependencies:

yarn yarn-workspaces-to-typescript-project-references write