yarn-3-workspaces-to-typescript-project-references
v1.0.1
Published
[](https://www.npmjs.com/package/yarn-workspaces-to-typescript-project-references)
Readme
yarn-workspaces-to-typescript-project-references
Sync Yarn 3 workspaces dependencies in package.json files with TypeScript project references in tsconfig.json files.
This project may be deprecated when this is resolved: https://github.com/microsoft/TypeScript/issues/25376
Features/Roadmap:
- [x]
checkproject references, to be run on CI. - [x]
writeproject references, to be run locally to update them. - [x] Writes
tsconfig.jsonsolutions file to the repo root. - [ ] Detects
test.tsconfig.jsonfiles in packages and correct references.
Usage
Install this package:
yarn add -D yarn-workspaces-to-typescript-project-referencesCheck that references are synced with dependencies:
yarn yarn-workspaces-to-typescript-project-references checkSync references with dependencies:
yarn yarn-workspaces-to-typescript-project-references write