tsconfig 1.9.2
Install from the command line:
Learn more about npm packages
$ npm install @ahiho/tsconfig@1.9.2
Install via package.json:
"@ahiho/tsconfig": "1.9.2"
About this version
Ahiho's TSConfig.
Read the TSConfig docs for more information.
- NodeJS (version >= 14.x and <= 19)
yarn add --dev @ahiho/tsconfig
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"
],