Commit activity
Last 12 weeks · 19 commits
Community health
4 of 6 standards met
Recent fixes
Depends on #2 Fixes the TanStack Start output. Current TanStack Start rejects the url that the compiled component builds, so the image never renders. Changes Add to . It encodes with seroval's , which is how TanStack Start's client sends a GET payload, and appends it as the search parameter. The generated component builds its url with that helper instead of and the extra parameters. The generated code imports from , and calls it with only. has no option. An image request carries no header, so TanStack Start sends the returned as is. That part needs no change. Proof Fails on : TanStack Start's handler ( 1.169.26) reads the payload with . For the payload the old output sends: throws . Passes on this branch: builds urls with the helper and decodes them the same way, getting back . Changeset (): the fix, plus the new export. Checks Local: lint pass, format pass, typecheck pass, build pass, tests pass (47). Roadmap none Cost New dependency: . and TanStack Start already depend on seroval 1.x. Risk Checked against the TanStack Start sources ( 1.170.22, 1.169.26), not in a running TanStack Start app. TanStack Start for Solid 2.0 is a release candidate ( 2.0.0-rc.10, peer ). 🤖 Generated with Claude Code
Depends on #1 Rewrites the compiler with oxc-parser and magic-string. This drops Babel from the package's dependencies and gives the unplugin a source map. Changes Parse with and apply each rewrite as a span edit over a . The output comes with a hires source map. A small walker in skips TypeScript type keys, so types are no longer searched for identifiers. The unplugin filters ids with instead of , with the same default include and exclude. A fixture runner in vitest replaces . It compares prettier-formatted output. writes the outputs; without it, a fixture with no output fails. New fixtures: , , , . Behavior changes from the Babel version: Object property values inside a become server function arguments. The Babel version skipped them, so left unresolved inside the server function. A shorthand property keeps its key: becomes . An optional chain such as is one argument. Generated server functions follow source order. A module without a is returned unchanged (the transform returns null). no longer counts as importing , so the compiler adds its own import. Before, the generated code threw a ReferenceError. Generated imports from one source are one statement. Proof on the parent branch: the server function renders , where , and do not exist on the server. On this branch: passes, and the fixture renders with all four values passed in. Changeset (): the existing compiler behaves differently. Checks Local: lint pass, format pass, typecheck pass, build pass, tests pass (45). lists the same files. The built compiles a sample route and returns a source map. Roadmap none Cost Removed dependencies: , . Removed dev dependencies: , , . New dependencies: , , . New dev dependency: (fixture comparison). Risk Existing fixture outputs differ only in formatting, and in the order of generated functions in . A `no-unsafe-*` lint rules, because it works on an untyped structural AST, as in solid-styled. 🤖 Generated with Claude Code
Moves the repo to the shared library setup (pnpm workspace, changesets, oxlint, oxfmt, check and release workflows) and migrates to Solid 2.0. Changes Move the package to in a pnpm workspace, and add changesets. Replace prettier with oxlint () and oxfmt. The reformat is its own commit (), so it can be skipped in review. Raise from to , the lowest version the check workflow tests. Add (lint, format, types, tests; skips drafts) and (changesets, npm trusted publishing). Peer on and , and use as the JSX import source. The default compiler output targets Solid 2.0 server functions, as compiled by with on: each image server function is declared with and its url comes from . The value is renamed to , because SolidStart runs on Solid 1.x. reads Solid 2.0 SSR templates: it strips every hydration key, joins a template whose is a list, and throws when holes are still pending. calls from instead of `@solidjs/metaminorsolid-2-support.md0.0.00.1.0npm pack --dry-run@solidjs/web@solidjs/meta@solidjs/vite-plugin@3.0.0-next.27OpenGraphOpenGraph@arethetypeswrong0.0.0-stage` placeholder) and trusted publishing with provenance are set up separately, before the first release from CI. 🤖 Generated with Claude Code
Repository: solidjs/solid-ogp. Description: An Open Graph / Dynamic image utility library for Solid. Stars: 3, Forks: 0. Primary language: TypeScript. Languages: TypeScript (100%). License: MIT. Open PRs: 0, open issues: 0. Last activity: 1d ago. Community health: 87%. Top contributors: lxsmnsyc, davedbase, github-actions[bot].