From 0d5b6b300c57207cf40955109c86bd074a1b5151 Mon Sep 17 00:00:00 2001 From: plx Date: Sun, 26 Apr 2026 09:15:06 -0500 Subject: [PATCH 1/2] Document why baseUrl is omitted in tsconfig.json Co-Authored-By: Claude Opus 4.7 --- tsconfig.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 73f508f..f5ea183 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,9 @@ "types": [ "astro/client" ], + // baseUrl is intentionally omitted: TypeScript 5.5+ permits `paths` without + // `baseUrl` under `moduleResolution: "bundler"` (set by astro/tsconfigs/strict). + // Path values resolve relative to this tsconfig.json. "paths": { "@*": [ "./src/*" From 34fa33b9503f626eb4eae53fdc4adcc1c256cf0f Mon Sep 17 00:00:00 2001 From: plx Date: Mon, 27 Apr 2026 19:00:54 -0500 Subject: [PATCH 2/2] Tighten baseUrl comment in tsconfig.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop the TypeScript 5.5+ version floor — the project pins TS 6, so the specific threshold is irrelevant here, and it was off by a couple of minor versions anyway. Co-Authored-By: Claude Opus 4.7 --- tsconfig.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index f5ea183..8d26095 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,9 +5,8 @@ "types": [ "astro/client" ], - // baseUrl is intentionally omitted: TypeScript 5.5+ permits `paths` without - // `baseUrl` under `moduleResolution: "bundler"` (set by astro/tsconfigs/strict). - // Path values resolve relative to this tsconfig.json. + // baseUrl is intentionally omitted: under `moduleResolution: "bundler"` (set by + // astro/tsconfigs/strict), `paths` entries resolve relative to this tsconfig.json. "paths": { "@*": [ "./src/*"