0.3.2 • Published 5 months ago

@yafh/tsconfig v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@yafh/tsconfig

Requires TypeScript >= 5.0

Install

npm i -D @yafh/tsconfig

# or used yarn
yarn add -D @yafh/tsconfig

# or use pnpm
pnpm i -D @yafh/tsconfig

Usage

In your tsconfig.json

{
  "extends": "@yafh/tsconfig.json" // <-- add this
}

or

{
  "extends": ["@yafh/tsconfig.json", "@vue/tsconfig/tsconfig.json"],
  "compilerOptions": {
    // your options
  }
}

Supported scene presets

base

| scene | file name | | custom | @yafh/tsconfig/tsconfig.json |

web

scenefile name
vue@yafh/tsconfig/tsconfig.vue.json
solid@yafh/tsconfig/tsconfig.solid.json
react@yafh/tsconfig/tsconfig.react.json

nodejs

scenefile name
nodejs@yafh/tsconfig/tsconfig.node.json
lib@yafh/tsconfig/tsconfig.lib.json

optional scenarios

scenefile name
experimental decorators@yafh/tsconfig/tsconfig.dec.json
incremental compilation@yafh/tsconfig/tsconfig.inc.json
0.3.2

5 months ago

0.3.1

8 months ago

0.3.0

8 months ago

0.2.0

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago