Provides TypeScript support by dynamically generating a
tsconfig.json config file.
If using workspaces, the driver will assume and use project references, by injecting
referencesinto the root config automatically, and separating compiler options into a
- TypeScript ^4.0.0
Can be listened to on the
|Called before a workspace package config file is written when using project references.|
In your configuration module, install the driver and TypeScript.
Create a file at
js) in which to house your TypeScript configuration.
In your consuming project, enable the driver by adding
typescript to your
Managing project references
manually can be tedious, and honestly, quite hard. Beemo mitigates this by automating the creation
tsconfig.json files, with correct project references (based on package dependencies), in every
Run the following command in your project root to make use of this.
By default, the config will compile a
src folder into a
lib folder, while including a local and
types folder. A
tests folder will receive a custom config file, which type checks the
folder but does not compile. A represenation of this is as follows:
To customize this process, the following options are available.
string) - Name of output directory relative to package root. Defaults to
boolean) - Only emit declaration files for all packages instead of source files. Defaults to
boolean) - Include global types defined in the root (usually cwd). Defaults to
string) - Name of source directory relative to package root. Defaults to
string) - Name of tests directory relative to package root. Defaults to
string) - Name of local and global types directory. Defaults to
If your tests are co-located with your source files, the tests specific
tsconfig.jsonfile will be skipped.