Skip to content

Commit 67434d2

Browse files
committed
Fix CI: webring build output path, type exports, scout-for-lol lint
Three fixes for CI failures: 1. webring tsconfig: Remove vitest.config.mts from include array. When included, tsc infers rootDir as project root (common ancestor of src/ and vitest.config.mts), outputting to dist/src/ instead of dist/. This broke package.json main/types pointing to dist/index.js. 2. webring index.ts: Add missing re-exports for Configuration and Result types. sjer.red imports these types from "webring" but they were only imported locally, not exported. 3. scout-for-lol eslint.config: Replace frontend tsconfig with UI tsconfig in import resolver's tsconfigPaths. The frontend tsconfig extends astro/tsconfigs/strictest which get-tsconfig can't resolve in the Dagger CI container. All path mappings come from the shared tsconfig.base.json, so any non-frontend tsconfig works for import resolution. Added the previously-missing UI tsconfig. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a6d0b7d commit 67434d2

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

packages/scout-for-lol/eslint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export default [
1313
"./packages/backend/tsconfig.json",
1414
"./packages/data/tsconfig.json",
1515
"./packages/report/tsconfig.json",
16-
"./packages/frontend/tsconfig.json",
1716
"./packages/desktop/tsconfig.json",
17+
"./packages/ui/tsconfig.json",
1818
],
1919
ignores: [
2020
"**/generated/**/*",

packages/webring/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import {
77
CachedConfigurationSchema,
88
} from "./types.ts";
99

10+
export type { Configuration, Result } from "./types.ts";
11+
1012
export async function run(config: Configuration): Promise<Result> {
1113
const { success, data } = CachedConfigurationSchema.safeParse(config);
1214

packages/webring/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"sourceMap": true,
1111
"rewriteRelativeImportExtensions": true
1212
},
13-
"include": ["src", "vitest.config.mts"]
13+
"include": ["src"]
1414
}

0 commit comments

Comments
 (0)