yarn-3-workspaces-to-typescript-project-references
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

yarn-workspaces-to-typescript-project-references

npm

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] check project references, to be run on CI.
  • [x] write project references, to be run locally to update them.
  • [x] 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

Readme

Keywords

none

Package Sidebar

Install

npm i yarn-3-workspaces-to-typescript-project-references

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

9.44 kB

Total Files

6

Last publish

Collaborators

  • aearly