Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 824 Bytes

README.md

File metadata and controls

46 lines (33 loc) · 824 Bytes

@ahiho/tsconfig

Ahiho's TSConfig.

Read the TSConfig docs for more information.

Requirement

  • NodeJS (version >= 18.0.0 and <= 21.x.x)

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"
],