2.0.1 • Published 12 months ago

@meltstudio/tsconfig v2.0.1

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

@meltstudio/tsconfig

Melt Studio's TypeScript configurations.

Important: This configurations require TypeScript 5 or higher, if you want to use TypeScript 4 install version 1.

Installation

yarn add --dev @meltstudio/tsconfig

Usage

This project exports multiple TSConfig's:

nextjs.json

{
 ...
 "extends": ["@meltstudio/tsconfig/next.json"],
 ...
}

Note: Remember to include next-env.d.ts and .next/types/**/*.ts in the includes array of your TSConfig.

node16.json

{
 ...
 "extends": ["@meltstudio/tsconfig/node16.json"],
 ...
}

node18.json

{
 ...
 "extends": ["@meltstudio/tsconfig/node18.json"],
 ...
}

react-native.json

{
 ...
 "extends": ["@meltstudio/tsconfig/react-native.json"],
 ...
}

react.json

{
 ...
 "extends": ["@meltstudio/tsconfig/react.json"],
 ...
}
2.0.1

12 months ago

2.0.0

1 year ago

1.0.0

1 year ago