1.0.5 • Published 6 months ago

@tronite/tsconfig v1.0.5

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

This package provides TypeScript configuration for Tronite projects. It is intended to be used with @tronite/eslint-config and @tronite/prettier-config.

Installation

To install this package, run the following command:

pnpm add -D @tronite/tsconfig

You will also need to install the following peer dependencies:

pnpm add -D typescript

Usage

Add the following to your tsconfig.json file, depending on your project type:

Next.js

{
  "extends": "@tronite/tsconfig/nextjs",
  "include": ["**/*.ts", "**/*.tsx"],
  "exclude": ["node_modules", ".next"]
}

NestJS

{
  "extends": "@tronite/tsconfig/nestjs",
  "include": ["**/*.ts"],
  "exclude": ["node_modules", "dist"]
}

React

{
  "extends": "@tronite/tsconfig/react",
  "include": ["**/*.ts", "**/*.tsx"],
  "exclude": ["node_modules", "dist"]
}

ESM

{
  "extends": "@tronite/tsconfig/esm",
  "include": ["**/*.ts", "**/*.mts"],
  "exclude": ["node_modules", "dist"]
}
1.0.5

6 months ago

1.0.4

9 months ago

1.0.3

1 year ago