Shared TypeScript base config.
$ npm install --save-dev tsconfig-oy
Future-proofed for TypeScript 6/7 and ESM:
- Removed deprecated options that error in TS 6 and are removed in TS 7:
baseUrl,downlevelIteration,alwaysStrict. Consumers no longer need"ignoreDeprecations". - Added
isolatedModulesandverbatimModuleSyntax(modern single-file transpilation + explicitimport type). - Dropped project-specific bits that don't belong in a shared base:
jsx/jsxFactory,experimentalDecorators/emitDecoratorMetadata,paths(@cutepilot/*),incremental, and thetypes/typeRoots(set these per-project). - Kept the established strictness convention:
strict: truewithnoImplicitAny: false,strictBindCallApply: false,noUnusedParameters: false. module/moduleResolutionset toNodeNext(PascalCase is fine in TS 6).
Projects set outDir, declarationDir, rootDir, types, and include
themselves.