A README could borrow the site's own classes (card__link::after is a
full-page overlay), so classes are now limited to what shiki writes.
<source srcset> was not rebased, which broke the common dark-mode logo.
Yanked JSR versions were listed as current; the registry hides them and
so does the listing now.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
renderMarkdown only exists inside a content loader, and the README
should render through the site's own pipeline. One loader also means
the home and every plugin page share a single registry read per build.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
A README is third-party HTML that can change after review. It is
sanitized against a closed allowlist on every build, and its relative
links are pointed at the published version so images and docs resolve
without knowing the author's branch.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
green-tea is ESM end to end and its Node floor is moving up; a CJS or
dual package brings a require path that is the first thing to break.
The check lives in readEntry, so it bites on CI with every other
registry check, and validate.mjs inherits it when it is written.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
The three @green-tea plugins shipped JSR-only on 2026-09-23, so their
npm: lines pointed at packages that 404 and failed the build on CI. npm
stays a valid registry for anyone else's entry.
preview.mjs goes with them: it stood in for unpublished packages. Off CI
a registry failure now leaves the entry out instead of rendering data
nobody read from a registry.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
One YAML file per plugin. There is deliberately no version and no runtimes
field in an entry: both are read from npm and JSR when the page is built, so a
card cannot go stale or claim support a package never declared.
The strictness lives in one flag. Under CI a registry that does not answer
fails the build, because a listing that silently drops a plugin is worse than
no deploy. Locally an unpublished package falls back to scripts/preview.mjs and
says so — a site nobody can look at until its packages ship is a site nobody
can design. The three seed plugins are unpublished today, so that fallback is
what renders them; it goes away with them.
Every card shows all four runtimes, never only the supported ones. Colour means
the package declares it runs there, dim grey means it does not — and the
tooltip is what separates "declared unsupported" from "nobody said", which look
identical but are not the same fact.
The brand marks carry no <title>: an SVG's own title wins over its parent's,
which is why the first attempt showed a help cursor and no tooltip. They are
aria-hidden and pointer-events: none, so the label and the hover both belong to
the list item, and the tooltip works from the keyboard too.
Type and palette are self-hosted from green-tea-site, so the sites read as one
project rather than three that share a colour.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>