1.0.0 • Published 2 years ago

@pnxdxt/tsconfig v1.0.0

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

tsconfig

Shared TypeScript config for my projects

This config is intended to be used in nextjs projects.

Install

yarn add -D @pnxdxt/tsconfig

This config requires TypeScript 4.7 or later.

Usage

tsconfig.json

{
	"extends": "@pnxdxt/tsconfig",
	"compilerOptions": {
		"baseUrl": ".",
		"paths": {
			"@/pages/*": ["pages/*"],
			"@/api/*": ["pages/api/*"]
		}
	},
	"include": [
		"next-env.d.ts",
		"**/*.ts",
		"**/*.tsx",
		"**/*.cjs",
		"**/*.mjs",
		".next/types/**/*.ts"
	],
	"exclude": ["node_modules"]
}
1.0.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago