Release Notes
This page lists breaking changes and notable new features. Please be sure to read the release notes before upgrading from previous version.
The detailed changelog can be found in TSTyche repository on GitHub .
TSTyche 7.0
TSTyche 7.0 ships with a revamped implementation of the tsconfig option, allowing users to pass an inline JSON string directly.
Keep in mind that TSTyche 7.0 is still in beta. More breaking changes may be introduced before the stable version is released. To install the latest beta version, use the next distribution tag:
npm
npm add -D tstyche@nextConfiguration File
Breaking! Default configuration file location has changed. Now ./tstyche.json is loaded instead of ./tstyche.config.json.
rootPath
Breaking! The rootPath configuration option is removed.
Now the root directory is always set to the current directory. Or, when the --root command line option is set, to the provided path.
tsconfig
baseline is the new name of ignore.
{
- "tsconfig": "ignore"
+ "tsconfig": "baseline"
}Inline JSON
TSConfig can be provided as an inline JSON string. The implementation creates a synthetic TSConfig file in the root directory.
Configuration file:
{
"tsconfig": "{\"extends\":\"./tsconfig.json\",\"compilerOptions\":{\"lib\":[\"es2020\"]},\"include\":[\"**/*\"]}"
}Command line:
tstyche --tsconfig '{"extends":"./tsconfig.json","compilerOptions":{"lib":["es2020"]},"include":["**/*"]}'