TSConfig
@theholocron/tsconfig provides TypeScript base configurations for the two common project targets used across theholocron repositories.
Install
Section titled “Install”pnpm add -D @theholocron/tsconfigPresets
Section titled “Presets”node-lts
Section titled “node-lts”For Node.js libraries and tools. Targets the current Node.js LTS release.
{ "extends": "@theholocron/tsconfig/node-lts"}nextjs
Section titled “nextjs”For Next.js apps. Extends the Next.js recommended TypeScript configuration.
{ "extends": "@theholocron/tsconfig/nextjs"}For browser-targeted React component libraries and Vite apps. Includes DOM lib, ESNext module with bundler resolution, and the react-jsx transform.
{ "extends": "@theholocron/tsconfig/react"}