Repository navigation
fix(website): build the site with a Ripple that keeps the spaces around inline elements - #1337
Merged
jonkwheeler merged 1 commit intoNov 14, 2026
Conversation
…nd inline elements tsrx-org#1105 restored the spaces between words and inline code or links in the website's sources, but the site still rendered most of them glued ("TSRX no longer has<code>&{ ... }</code>"): it builds with `@ripple-ts/vite-plugin` 0.4.0, which pins `@tsrx/ripple` 0.2.0, and that compiler drops a space at the edge of a multi-line text run. Ripple-TS/ripple #1608 fixed the trim in `@tsrx/ripple` 0.2.8. Move the Ripple packages the workspace builds with to the current release: `ripple`, `@ripple-ts/vite-plugin` and `@ripple-ts/adapter-node` 0.6.1, whose plugin uses `@tsrx/ripple` 0.2.11, and resolve the workspace's own `@tsrx/ripple` to 0.2.11 as well. The catalog range of `@tsrx/ripple` stays `^0.2.0`, so the optional peer range `@tsrx/typescript-plugin` publishes doesn't change. The release-age exclusions for the 0.4.0/0.2.0 releases go with them. Also put back the one space the sources still lacked, before `TSRX3014` in the specification (added by tsrx-org#1130 beside tsrx-org#1105). Fixes tsrx-org#481 Co-Authored-By: Claude Opus 5.5 <[email protected]>
jonkwheeler
marked this pull request as ready for review
November 14, 2026 04:39
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.
Summary
The website now renders the spaces between words and inline code or links. #1105 put them back in the sources, but the site builds with
@ripple-ts/vite-plugin0.4.0, which pins@tsrx/ripple0.2.0, and that compiler drops a space at the edge of a multi-line text run, so most of them were still lost in the built pages. Ripple-TS/ripple#1608 fixed the trim in@tsrx/ripple0.2.8.The website's server render (
website-tsrx/dist/server/entry.js,vite build), main (8d2b839) vs this branch:/blog/removing-lazy-destructuringTSRX no longer has<code class="tsrx-bd9c4420">&{ ... }</code> and …TSRX no longer has <code class="tsrx-bd9c4420">&{ ... }</code> and …/specification, TSRX3014… logical expression, is<code class="inline-code …">TSRX3014</code>… logical expression, is <code class="inline-code …">TSRX3014</code><code>/<a>/<strong>/<em>/<span>/<kbd>, no spaceChanges
ripple,@ripple-ts/vite-pluginand@ripple-ts/adapter-nodefrom^0.4.0to^0.6.1, the current release. Plugin 0.6.1 uses@tsrx/ripple0.2.11 (any plugin before 0.5.7 pins a compiler before 0.2.8), and the lockfile resolves the workspace's own@tsrx/rippleto 0.2.11 too. Its catalog range stays^0.2.0, so the optional peer range@tsrx/typescript-pluginpublishes doesn't change. All three are dev dependencies of private packages or@tsrx/content-mapper, so nothing published needs a changeset, andtsrx-websiteis ignored by changesets.minimumReleaseAgeExcludeentries for the 0.4.0/0.2.0 Ripple releases go: those versions are no longer in the lockfile.website-tsrx/src/pages/specification.tsrx:1734gets the{' '}it was missing beforeTSRX3014(from fix(core): report a <style> block rendered as an expression child (TSRX3014) #1130, which merged beside fix(website): restore the spaces between words and inline code or links #1105).The website needs no source changes for Ripple 0.6: its imports from
rippleand@ripple-ts/*type-check, and it doesn't use thetransport/rootBoundaryconfig that 0.6 changed.Checks
vite buildofwebsite-tsrxpasses, and the built server answers 200 on all nine pages, with/api/compilecompiling for the Ripple target.pnpm install --frozen-lockfile,format:check,typecheck(the website's included), the changeset check and the full Vitest run (14,189 passed) pass locally.Codex (
gpt-5.6-sol) reviewed 6a51556 (catalog consumers, Ripple 0.4 → 0.6 changelogs, frozen installs and CI) and found no problems.Fixes #481
🤖 Generated with Claude Code
Note
Low Risk
Dependency and lockfile bumps plus a one-line docs markup fix; no auth, data, or runtime API changes in application code.
Overview
Bumps the workspace Ripple stack so the site and examples build with compiler fixes that keep spaces between prose and inline markup. The default pnpm catalog moves
ripple,@ripple-ts/vite-plugin, and@ripple-ts/adapter-nodefrom ^0.4.0 to ^0.6.1; the lockfile pins @tsrx/ripple 0.2.11 and related transitive updates. Removes the oldminimumReleaseAgeExcludeentries for the superseded 0.4.0/0.2.0 Ripple packages.Adds explicit
{' '}inspecification.tsrxbefore theTSRX3014inline code in the style early-errors list so that sentence still has a visible space after rebuild.Reviewed by Cursor Bugbot for commit 6a51556. Bugbot is set up for automated code reviews on this repo. Configure here.