@digo-labs/tsconfig
v0.1.1
Published
Shared TypeScript configs for digo-labs repos
Readme
@digo-labs/tsconfig
Shared TypeScript configs for digo-labs repos. Extend via:
{ "extends": "@digo-labs/tsconfig/app.json" }Profiles
| File | Extends | For |
|---|---|---|
| base.json | — | Shared strictness/module options (ES2023, strict, bundler resolution) |
| app.json | base.json | React workspaces (jsx: react-jsx) |
| vite-app.json | app.json | Vite app source (noEmit, allowImportingTsExtensions, resolveJsonModule, vite/client types) |
| node.json | base.json | Node-side config files of Vite apps (node types, no DOM, erasableSyntaxOnly) |
Constraints
node.jsonrequires TypeScript >= 5.8 (erasableSyntaxOnly). app-template and its clones run TS 6; core (TS 5.7) must not extend this profile.customConditionsis deliberately not set here. The core monorepo addscustomConditions: ["development"]in its roottsconfig.base.jsonoverride — published packages don't shipsrc/, so that condition would break resolution in consuming apps.- Files are strict JSON (no comments): editors validate non-
tsconfig*-named.jsonfiles as plain JSON.
