BREAKING: This fixes a critical issue where compiled .js files were being committed directly into src/ alongside .ts files, breaking the app and polluting source control. Changes: - Fix tsconfig.server.json: outDir "." → "./dist", rootDir "." → "./src" - Remove 23 tracked .js files from src/ directory - Update .gitignore to block src/**/*.js and /dist - Clean working directory of all .js artifacts This ensures TypeScript compilation outputs to dist/ folder, not src/. Fixes player ownership implementation and all future builds.
34 lines
791 B
JSON
34 lines
791 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "es2020",
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"noEmit": false,
|
|
"incremental": false,
|
|
"skipLibCheck": true,
|
|
"skipDefaultLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"moduleResolution": "node",
|
|
"types": ["node", "react"]
|
|
},
|
|
"include": [
|
|
"src/db/index.ts",
|
|
"src/db/schema.ts",
|
|
"src/db/migrate.ts",
|
|
"src/lib/arcade/**/*.ts",
|
|
"src/app/games/matching/context/types.ts",
|
|
"src/app/games/matching/utils/cardGeneration.ts",
|
|
"src/app/games/matching/utils/matchValidation.ts",
|
|
"socket-server.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"**/*.test.ts",
|
|
"**/*.test.tsx",
|
|
"**/*.spec.ts"
|
|
]
|
|
}
|