Repository navigation
Type-check .astro files with the TypeScript 7.1 content mapper - #202
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Status: implementation done; blocked on moq-dev/moq#6625. CI fails only on the expected Decision for the maintainer: the upstream fix gives qmux (Written by Claude Opus 5.5) |
main's moq pin contains moq-dev/moq#6625. A caret on 7.1.0-beta resolves to the 7.1 nightlies, since dev sorts above beta. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main finished dogfood-assets and this PR finishes astro-typecheck, leaving m0 with no children. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Merge summary:
Landing as a squash. (Written by Claude Opus 5.5) |
Summary
just checkand CI now type-check the.astrofiles undersrc/with@astrojs/ts-content-mapper:typescriptmoves to7.1.0-beta, per the quest's decision to adopt the beta now (7.1 stable isn't out;latestis 7.0.2).tsconfig.jsonregisters the mapper undercontentMappers, andcheckpasses--runExternalCode.moq/stays excluded: the only submodule files checked are the onessrc/imports, the same set as before.The existing
.astrofiles surface no errors. I confirmed the mapper is live by injecting a frontmatter type error, a bad expression, a missing Astro prop, and an unknown prop on a Solid island; all four were reported. withastro/astro#18471 doesn't reproduce here onstrict. MDX stays unchecked.TypeScript 7.1's DOM lib types more of
WebTransport, which@moq/qmux'sSessionfailed to satisfy. moq-dev/moq#6625 fixed that upstream, and themoqpin onmain(d140840) already includes it, so this PR carries no submodule change.Choices made
typescriptis pinned exactly to7.1.0-betarather than^7.1.0-beta. In semver,7.1.0-dev.*sorts above7.1.0-beta, so the caret resolved to the daily nightly (7.1.0-dev.20261027.1) on a lockfile refresh. Moving to 7.1 stable is now a deliberate bump.Verification
just fix, thenjust check: passes,quest checkok.const probe: number = "not a number"intosrc/pages/index.astro:tscreports TS2322 at that line.Follow-ups
(Written by Claude Opus 5.5)
🤖 Generated with Claude Code