@ahiho/tsconfig
Ahiho's TSConfig.
Read the TSConfig docs for more information.
Requirement
- NodeJS (version >= 14.x and <= 21)
Installation
yarn add --dev @ahiho/tsconfig
Usage
Create tsconfig.json
file in the package directory to add the following content.
{
"extends": "@ahiho/tsconfig"
}
Create tsconfig.release.json
file to add the following content and use it for CI.
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "build"
},
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
}
Packages build
directories should be added eslintIgnore
in root package.json
in a Lerna project.
"eslintIgnore": [
"packages/**/build"
],