1.10.1 • Published 2 years ago
@ahiho/tsconfig v1.10.1
@ahiho/tsconfig
Ahiho's TSConfig.
Read the TSConfig docs for more information.
Requirement
- NodeJS (version >= 14.x and <= 21)
Installation
yarn add --dev @ahiho/tsconfigUsage
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"
],