@wroud/ts-project-linker is a CLI tool that helps synchronize TypeScript's project references with package dependencies. It supports sub-configurations such as tsconfig.*.json
and provides commands for linking project references.
- Sync Project References: Automatically sync your TypeScript project references with package dependencies.
-
Supports Sub Configs: Handles multiple TypeScript configuration files like
tsconfig.*.json
. - CLI Tool: Simple command-line interface for ease of use.
Install via npm:
npm install @wroud/ts-project-linker
Install via yarn:
yarn add @wroud/ts-project-linker
ts-link [paths..]
-
ts-link glob [patterns..]
: Provide a single glob pattern fortsconfig.json
locations. -
ts-link link [paths..]
: Link TypeScript project references (default command).
-
--immutable
: Do not modify thetsconfig.json
files, will exit with 1 if changes are needed. -
--verbose
: Print verbose output.
ts-link ./packages/\*
This will link all TypeScript project references found in the ./packages/
directory.
For more information and detailed documentation, visit the documentation site.
All notable changes to this project will be documented in the CHANGELOG file.
This project is licensed under the MIT License. See the LICENSE file for details.