tsconfig

Solid

Opinionated TypeScript config layout for single-package repos and pnpm monorepos — a strict shared tsconfig.base.json, per-project tsconfig.json with the @/ path alias, a tsconfig.build.json emit variant, and (in a workspace) project references. Auto-applies when editing any tsconfig file.

Data & Documents 1 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
10
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# TypeScript Configuration Three layers, each with one job: 1. `tsconfig.base.json` — shared strict compiler settings. 2. `tsconfig.json` — extends base, adds the `@/` alias (+ references in a workspace); used for editor/type-checking (`noEmit`). 3. `tsconfig.build.json` — extends the local config, flips the emit flags on; used by `tsc` and `tsc-alias` to produce `dist/`. This split applies to **any repo shape**. In a **single-package** repo all three files sit at the root and `tsconfig.json` extends `./tsconfig.base.json`. In a **monorepo** `tsconfig.base.json` lives at the repo root and each package's `tsconfig.json` extends it via a relative path and adds project `references` — the extra machinery is called out in each section below. ## tsconfig.base.json (root) Strict, modern, bundler-style resolution, declarations on for project refs: ```jsonc { "compilerOptions": { "strict": true, "target": "ESNext", "lib": ["esnext"], "module": "Preserve", "moduleResolution": "bundler", "moduleDetection": "force", "verbatimModuleSyntax": true, "allowImportingTsExtensions": true, "composite": true, "declaration": true, "declarationMap": true, "noEmit": true, "skipLibCheck": true, "noUncheckedIndexedAccess": true, "noFallthroughCasesInSwitch": true, "noImplicitOverride": true, "noUnusedLocals": true, "noUnusedParameters": true, "types": ["node"], "plugins": [{ "name": "@effect/language-service" ...

Details

Author
virajp
Repository
virajp/ai-plugins
Created
2 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category