@ux-ui/tsconfig-base
v0.1.0
Published
Shared base tsconfig for the ux-ui-pro npm portfolio (assembly.md §7).
Maintainers
Readme
@ux-ui/tsconfig-base
Shared base tsconfig.json for the ux-ui-pro npm portfolio. Encodes the TypeScript
compiler options fixed by the build standard (assembly.md §7) so packages inherit them
instead of copy-pasting.
Installation
npm install -D @ux-ui/tsconfig-baseUsage
In a package tsconfig.json:
{
"extends": "@ux-ui/tsconfig-base/tsconfig.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"include": ["src", "tsdown.config.ts"]
}The base sets only the shared compiler options (target, module, moduleResolution,
strict, isolatedModules, verbatimModuleSyntax, lib, skipLibCheck, etc.). Per-package
concerns — rootDir/outDir, include, declaration emit, and the opt-in
noUnusedLocals/noUnusedParameters (§7) — stay in the package's own config.
The companion tsconfig.build.json (public src only) is defined per package and extends
the package tsconfig.json:
{
"extends": "./tsconfig.json",
"compilerOptions": { "rootDir": "src", "declarationMap": false },
"include": ["src"]
}License
MIT
