Production-ready TypeScript tsconfig presets for modern web apps and
libraries.
Built to keep PyColors projects consistent (UI, Tokens, Starters, Marketing) without re-inventing compiler options in every repo.
This repository is automatically synced from the PyColors monorepo.
Source of truth:
https://github.com/pycolors-io/pycolors/tree/main/packages/typescript-config
You can safely open Issues in this repository.
The source code lives in the private PyColors monorepo and changes are
synced here automatically.
pnpm add -D @pycolors/typescript-config
# or
npm i -D @pycolors/typescript-configtsconfig.json:
{
"extends": "@pycolors/typescript-config/base"
}tsconfig.json:
{
"extends": "@pycolors/typescript-config/nextjs"
}tsconfig.json:
{
"extends": "@pycolors/typescript-config/react-library"
}- base — strict modern defaults (ES2022 + DOM), NodeNext resolution
- nextjs — Next plugin + Bundler resolution +
noEmit - react-library — React JSX runtime for libraries
MIT