@goatlab/tsconfig
v0.1.0
Published
Shared TypeScript configuration presets for the Goat Fluent monorepo and related projects.
Keywords
Readme
@goatlab/tsconfig
Shared TypeScript configuration presets for the Goat Fluent monorepo and related projects.
Installation
pnpm add -D @goatlab/tsconfigUsage
Extend one of the available configurations in your tsconfig.json:
{
"extends": "@goatlab/tsconfig/base.json",
"compilerOptions": {
"outDir": "./dist"
}
}Available Configurations
base.json- Base TypeScript configuration with strict type checking, ES2022 target, and decorator supportinternal.json- Extends base config for declaration-only builds (generates.d.tsfiles without JavaScript output)tsconfig.json- CommonJS configuration with Node.js types and ts-node support
Features
- Strict type checking enabled
- Decorator and metadata support for TypeORM/class-based APIs
- Source maps and incremental compilation
- Path mapping for
@src/*imports - Optimized for modern ES2022+ environments
