54269fcfcc
page.tsx still owns the chat main chain, but the first product surfaces now live in their own modules so later splits can land without editing the 4k-line Home. Source-lock tests follow the moved tokens; the orphan user-data contract is aligned and added to the quick gate. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
578 B
TypeScript
18 lines
578 B
TypeScript
import { readFileSync } from "node:fs";
|
|
|
|
const homeSurfaceFiles = [
|
|
"../src/app/page.tsx",
|
|
"../src/lib/home-types.ts",
|
|
"../src/components/onboarding-chat-message.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/chart-library-panel.tsx",
|
|
"../src/components/starter-home.tsx",
|
|
] as const;
|
|
|
|
export const homeSurface = homeSurfaceFiles
|
|
.map((relativePath) => readFileSync(new URL(relativePath, import.meta.url), "utf8"))
|
|
.join("\n");
|