Repository navigation
fix(website): resolve type errors and enforce checks in CI - #124
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Sep 25, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The standalone website typecheck reported 270 diagnostics from conflicting compiler declarations, mismatched Vue/Vapor and Vite peers, an ES2022 library target, and missing website annotations. It now passes with declaration checking enabled and runs through the root
pnpm typecheckcommand.HighlighterCoreinterface, and a contextualPlugintype for Vite hooks.Validation:
pnpm typecheckpassed, including the new website check.No changeset is needed: the package dependency change is development-only, and the remaining changes are private website or internal validation work.
Note
Low Risk
Changes are limited to the private website, dev-only Vue pinning in @tsrx/vue, and CI/typecheck wiring with no production package API changes.
Overview
Makes the tsrx-website package pass strict TypeScript with declaration checking and folds that into monorepo CI and
pnpm typecheck.Type resolution and tooling:
website-tsrx/tsconfig.jsonnow targets ES2023, adds@tsrx/corepath aliases so playground compilers share one AST declaration set, and pins Node types. Vite disablestsconfigPathsso those aliases affect typechecking only, not runtime bundling. Shiki integration dropsanyin favor ofHighlighterCore/LanguageRegistration.Dependencies: The site and
@tsrx/vuedev both use Vue 3.6.0-beta.12 (Vapor APIs); the website adds catalog@types/nodefor consistent Vite peer resolution.Automation and docs: CI path filters include
website-tsrx/**. A newtypecheckscript ontsrx-websiteis chained from the root typecheck job. README documents local and CI checks.Tests: Vitest coverage for CodeMirror + Shiki (TSRX, TSX, JS, CSS) and for
/api/compilesucceeding for every playground target with the default demo source.Reviewed by Cursor Bugbot for commit 3bed19a. Bugbot is set up for automated code reviews on this repo. Configure here.