Uh oh!
There was an error while loading. Please reload this page.
Add experimental TSRX support - #333
Conversation
🦋 Changeset detectedLatest commit: 16d4844 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
Route .tsrx through both compilers, expose scoped CSS across dev, builds, and SSR, and compose function-level server directives after lowering. Co-authored-by: Cursor <cursoragent@cursor.com>
rc.6 publishes the TSRX compiler frontends this branch routes (solidjs/solid#3086). The workspace catalog moves to ^2.0.0-rc.6 (minimumReleaseAgeExclude extended per the existing pattern), and the plugin's @solidjs/compiler and @solidjs/babel-plugin floors move from ^2.0.0-rc.3 to ^2.0.0-rc.6 — the real requirement, since older compilers reject .tsrx outright. The published Babel frontend resolves TSRX parsing through its optional peer @tsrx/core (exact 0.1.63), so the vite-8 example installs it for the Babel half of the matrix; the native binary bundles its own frontend. Full gate green against published rc.6 (no linking): ssr 12/12 + boundary 8/8, css-matrix 82/82 + bridge 19/19, start-ssr 366/366 + http-bridge 10/10, start-client 45/45, start-env 47/47, cypress e2e 1/1, and the TSRX matrix on both compiler backends: vite-8 prod builds, vitest browser 1/1, SSR entry builds, and dev transform/CSS-sidecar/HMR/source-map/server-function smoke checks. Co-authored-by: Cursor <cursoragent@cursor.com>
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Uh oh!
There was an error while loading. Please reload this page.
Summary
.tsrxmodules through the native or Babel Solid compiler and strip retained TypeScript before Vite parses generated modules.tsrxin dependency scanning, lazy chunk handling, start entry discovery, and function-level\"use server\"processingDepends on solidjs/solid#3086 and should remain draft until the compiler support ships in a Solid prerelease.
Test plan
pnpm buildMade with Cursor