@manovaspace/tsconfig
Shared TypeScript presets so apps and libraries share the same strict baseline.
Install
Section titled “Install”pnpm add -D @manovaspace/tsconfigAlso works with npm or yarn.
Next.js app
{ "extends": "@manovaspace/tsconfig/nextjs.json", "include": ["**/*.ts", "**/*.tsx", "next-env.d.ts"], "exclude": ["node_modules"]}React library
{ "extends": "@manovaspace/tsconfig/react-library.json", "include": ["src"]}Presets
Section titled “Presets”| File | Purpose |
|---|---|
base.json |
Strict ES2022 defaults |
nextjs.json |
Next.js App Router apps |
react-library.json |
React packages (jsx: react-jsx) |