pangu
Version:
Paranoid text spacing for good readability, to automatically insert whitespace between CJK (Chinese, Japanese, Korean) and half-width characters (alphabetical letters, numerical digits and symbols).
20 lines (19 loc) • 938 B
JSON
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"lib": ["ES2022"],
// The published .d.ts files are checked the way consumers resolve them, so an extensionless relative import fails the build here instead of breaking anyone using moduleResolution node16/nodenext
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "../../dist",
"rootDir": "..",
"noEmit": false,
"declaration": true,
"sourceMap": true,
"types": ["node"]
},
"include": ["./**/*.ts", "./**/*.cts", "../shared/**/*.ts"],
// Must stay, and stay empty: `exclude` is otherwise inherited from the base config, whose entry for src/node/index.cts would silently drop the file from this project too — no typecheck, no emitted
// index.d.cts, and tsc exits 0 the whole time. This project is exactly where that file must be checked, since NodeNext is the only module setting that models it
"exclude": []
}