Files
Jyotisha/frontend/tests/home-surface.ts
T
jesse-uxandClaude Code 4d801e53c3
Independent Staging Quality Gate / validate (push) Successful in 16m28s
Independent Staging Quality Gate / publish (push) Successful in 3m33s
fix: integrate people archive, report reader and western chart corrections
Validate on Linux Node 22 and PostgreSQL 17: 3894 frontend tests and 64 database tests pass, with no removed test names or new failures. Preserve static Home, bounded gzip, assertion-change records and manual acceptance gaps.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-25 20:41:16 +08:00

39 lines
1.4 KiB
TypeScript

import { existsSync, readFileSync } from "node:fs";
const homeSurfaceFiles = [
"../src/app/(app)/page.tsx",
"../src/lib/home-types.ts",
"../src/components/onboarding-chat-message.tsx",
"../src/components/home-onboarding-shell.tsx",
"../src/components/home-bootstrap-error.tsx",
"../src/lib/home-profile.ts",
"../src/lib/home-cloud-sync.ts",
"../src/components/birth-location-fields.tsx",
"../src/components/profile-fields.tsx",
"../src/components/people/people-page.tsx",
"../src/components/chart-profile-form.tsx",
"../src/components/profile-panel.tsx",
"../src/components/starter-home.tsx",
] as const;
const optionalHomeHookFiles = [
"../src/hooks/use-session-management.ts",
"../src/hooks/use-consultation-run.ts",
"../src/hooks/use-profile-onboarding.ts",
"../src/hooks/use-rectification-surface.ts",
"../src/hooks/use-synastry.ts",
"../src/hooks/use-session-list.ts",
"../src/hooks/use-home-shell-registration.ts",
"../src/lib/session-list-context.tsx",
"../src/lib/session-list-filter.ts",
"../src/lib/home-bootstrap-run.ts",
"../src/lib/consultation-recovery-poll.ts",
] as const;
export const homeSurface = [
...homeSurfaceFiles,
...optionalHomeHookFiles.filter((relativePath) => existsSync(new URL(relativePath, import.meta.url))),
]
.map((relativePath) => readFileSync(new URL(relativePath, import.meta.url), "utf8"))
.join("\n");