commit debce0f3c493e33d751ee89ecf21549a4cb38f8a
parent c839aa4c9b6cb8dd1435ac8e912b880d884c4326
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 28 Sep 2026 13:39:37 -0400
homepage: tsconfig excludes `out` too, and eslint ignores public/source
`next build` copies public/ into out/, so after one build WITH a mirror the
next build's type check read out/source/tree/**/*.ts — the whole repo again —
and failed on a second `declare global var __yttJobRegistry__` (the tree's copy
of common/jobs/registry.ts). The plan excluded only `public`. With `out`
excluded the homepage program is 871 files with none from the mirror, and the
second build passes. eslint-config-next already ignores out/**; public/source/**
joins it.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/homepage/eslint.config.mjs b/homepage/eslint.config.mjs
@@ -12,6 +12,10 @@ const eslintConfig = defineConfig([
"out/**",
"build/**",
"next-env.d.ts",
+ // The published source (`archilyzer source publish`): the whole repo's
+ // raw tree, copied into public/ and from there into out/. Not this app's
+ // code — tsconfig.json excludes both for the same reason.
+ "public/source/**",
]),
]);
diff --git a/homepage/tsconfig.json b/homepage/tsconfig.json
@@ -16,5 +16,5 @@
".next/dev/types/**/*.ts",
"**/*.mts"
],
- "exclude": ["node_modules", "public"]
+ "exclude": ["node_modules", "public", "out"]
}