0.3.2 • Published 2 years ago

@giotramu/tsc v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

TS Configs

A collection of TSConfigs to extend in your own apps, tuned to a particular runtime environment.

NPM Version NPM Downloads

Install

# NPM
npm add --save-dev @giotramu/tsc typescript

# PNPM
pnpm add --save-dev @giotramu/tsc typescript

# Yarn
yarn add --dev @giotramu/tsc typescript

Available Configurations

⚠️ The following configuration supports a version of Node >= 16.

Add to your tsconfig.json:

{
  "extends": "@giotramu/tsc/node/tsconfig.cjs.json",
  "compilerOptions": {
    "declarationDir": "./types",
    "typeRoots": ["./types", "./node_modules/@types"]
  }
}

⚠️ The following configuration supports a version of Node >= 16.

Add to your tsconfig.json:

{
  "extends": "@giotramu/tsc/node/tsconfig.esm.json",
  "compilerOptions": {
    "declarationDir": "./types",
    "typeRoots": ["./types", "./node_modules/@types"]
  }
}

⚠️ The following configuration is helpful in projects based on Create React App and Next.js.

Add to your tsconfig.json:

{
  "extends": "@giotramu/tsc/react/tsconfig.json"
}

License

MIT License

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago