Files
fusion/packages/dashboard/tsconfig.app.json
gsxdsm cb57093d03 refactor: domain folder layout (types, API, core, engine) (#2398)
## Summary

Wave 17 organizes Fusion into **domain folders** (stacks on #2397).

### Layout
- **core/types/** — board, task, agents, settings, merge, workflow,
mesh, …
- **core/src/** — agents, ai, async-stores, workflows, tasks, config,
db, …
- **dashboard/app/api/** — client, tasks, agents, git, missions,
planning, …
- **engine/src/** — agents, auth, execution, merge, missions, overseer,
worktree, …

Root keepers retained for large entrypoints (`store.ts`, `executor.ts`,
`merger.ts`, …).

Public barrels (`@fusion/core`, `@fusion/engine`, `app/api.ts` → legacy)
stay stable.

## Test plan
- [x] `@fusion/core` typecheck
- [x] `@fusion/engine` typecheck (pre-existing playwright-core noise
only)
- [ ] CI merge gate

**Stack:** #2394 → #2397 → **this PR**
2026-08-03 00:20:53 -07:00

32 lines
1.4 KiB
JSON

{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
/*
FNXC:CIGateSpeed 2026-07-23-00:05:
tsconfig.base.json points tsBuildInfoFile at ${configDir}/dist/.tsbuildinfo, and
configDir is packages/dashboard for BOTH this config and tsconfig.json — so the two
`pnpm typecheck` programs clobbered each other's buildinfo and tsc re-checked the
full program on every run. A distinct file restores real incremental typechecking
(and lets CI cache both files).
*/
"tsBuildInfoFile": "${configDir}/dist/.tsbuildinfo-app",
"rootDir": "..",
"jsx": "react-jsx",
"moduleResolution": "bundler",
"module": "ESNext",
"noEmit": true,
"types": ["vitest/globals", "@testing-library/jest-dom", "node", "vite/client"],
"paths": {
"node-pty": ["./src/types/node-pty/index.d.ts"],
"@fusion/dashboard/app/components/TaskCard": ["./app/components/TaskCard.tsx"],
"@fusion/dashboard/app/components/ViewHeader": ["./app/components/ViewHeader.tsx"],
"@fusion/dashboard/app/api/tasks/task-content": ["./app/api/tasks/task-content.ts"],
"@fusion/dashboard/app/plugins/types": ["./app/plugins/types.ts"],
"@fusion/dashboard/app/utils/projectStorage": ["./app/utils/projectStorage.ts"],
"@fusion/dashboard/app/utils/taskStuck": ["./app/utils/taskStuck.ts"]
}
},
"include": ["app/**/*"],
"exclude": ["app/**/*.test.ts", "app/**/*.test.tsx", "app/**/__tests__/**/*"]
}