tsconfig.json•1.66 kB
{
"compilerOptions": {
"target": "ES2020",
"module": "NodeNext", // Changed to NodeNext for consistency
"moduleResolution": "NodeNext", // Changed to NodeNext for consistency
"esModuleInterop": true,
"strict": true, // Enabled strict mode
"noImplicitAny": true, // Enabled noImplicitAny
"skipLibCheck": true,
"noEmitOnError": false,
"forceConsistentCasingInFileNames": true,
"outDir": "./dist",
// "rootDir": "./src", // ルートの src は使わないのでコメントアウト
"declaration": true,
"preserveConstEnums": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"isolatedModules": true, // Added as recommended by ts-jest
"noUnusedLocals": true, // Enabled noUnusedLocals
"noUnusedParameters": true, // Enabled noUnusedParameters
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"resolveJsonModule": true
},
"references": [ // references を元に戻す!
{ "path": "./packages/mcp" },
{ "path": "./packages/schemas" }
],
"include": [
"test/**/*.ts", // テストファイルを含める
// "vitest.config.ts", // 不要になったので削除
"vitest.workspace.ts" // Vitestワークスペース設定も対象に
],
"files": [], // ビルド対象ファイルを明示的に空にする
"exclude": [
"node_modules",
"dist",
"**/__tests__/**", // __tests__ ディレクトリは除外
// "**/*.test.ts", // テストファイルは除外しない
"packages/**/dist",
"packages/**/node_modules"
]
}