Skip to main content

@repo/typescript-config

Shared TypeScript config presets for apps and packages.

FileDisplayUse
base.jsonDefaultStrict base config with NodeNext modules, target: ES2022, and noUncheckedIndexedAccess.
nextjs.jsonNext.jsExtends base for apps/ui; uses Bundler module resolution and the Next.js TypeScript plugin.
react-library.jsonReact LibraryExtends base for React package builds with jsx: react-jsx.

Apps use these with extends, for example:

{
"extends": "@repo/typescript-config/nextjs.json"
}