Commit Graph
51 Commits
Author SHA1 Message Date
chrnx aa279c31f1 ci: move the audit off the release gate and onto a schedule
CI / build (pull_request) Failing after 9s
Two advisories landed in this tree in a single day — js-yaml in the morning,
nanoid a couple of hours later. Neither had anything to do with a code change.
A release gated on `npm audit` fails by calendar date, and it fails at the
exact moment there is least time to judge whether a fix is safe.

What ships from here is built HTML, CSS and JS. Astro, js-yaml and nanoid are
build-time tools that never reach a visitor; the advisories in question need
control over build inputs to matter, and an attacker with that has already won.

So the release gate drops to `critical` — a tripwire for the catastrophic case,
not a trigger for routine noise. Nothing is lowered anywhere else: ci.yml still
blocks every PR at moderate, which is where there is time and context to fix.

The new scheduled audit is what makes that safe rather than negligent. Monday
mornings on Gitea, filing an internal issue when something turns up, with a
dedup check so a weekly cron cannot open 52 copies. Learning about a
vulnerability and being unable to publish stop being the same event.

`workflow_dispatch` is included so it can be run and verified on demand.
2026-08-07 16:54:48 -05:00
chrnx 67a1b48394 Merge pull request 'feat: add privacy-friendly analytics (GoatCounter)' (#7) from feat/analytics into main
Promote → GitHub / push-github (push) Successful in 5s
CI / build (push) Successful in 11s
Reviewed-on: #7
2026-08-07 19:49:02 +00:00
chrnx 9c7eec883c Merge branch 'main' into feat/analytics
CI / build (pull_request) Successful in 11s
2026-08-07 19:48:09 +00:00
chrnx 73f8e1602f Merge pull request 'chore: clear the js-yaml advisory blocking CI' (#8) from chore/js-yaml-advisory into main
Promote → GitHub / push-github (push) Successful in 5s
CI / build (push) Successful in 12s
Reviewed-on: #8
2026-08-07 19:47:57 +00:00
chrnxandClaude Opus 5 68c9f42aed chore: clear the js-yaml advisory blocking CI
CI / build (pull_request) Successful in 11s
CI runs `npm audit --audit-level=moderate`, and js-yaml 4.3.0 — reached
through Astro, several paths deep — carries a high-severity advisory
(GHSA-5p4m-2wfm-xmqj, quadratic CPU consumption in !!omap resolution). Every
PR in this repo is red until it clears.

4.3.1 has the fix and the bump is not breaking, so a plain `npm audit fix`
covers it. No source changes.

Verified: `npm audit --audit-level=moderate` reports 0 vulnerabilities and
`npm run check` (build + verify:build) passes.

The docs site in Green-Tea/core hit the same advisory through Starlight and is
fixed the same way in core#17.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 14:29:30 -05:00
chrnxandClaude Opus 5 ddcb5679ba feat: add privacy-friendly analytics
CI / build (pull_request) Failing after 10s
GoatCounter, same site code as the docs site, so traffic across the marketing
pages and /docs lands in one dashboard with comparable referrer paths.

No cookies, no personal data, no consent banner, nothing to host. It answers
the question we cannot answer today: do the articles convert into
documentation reads?

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 14:04:41 -05:00
chrnx c9159ff1bf Merge pull request 'fix: mark beta site releases as prereleases' (#6) from fix/beta-release-metadata into main
Promote → GitHub / push-github (push) Successful in 5s
CI / build (push) Successful in 12s
Reviewed-on: #6
2026-08-06 16:26:47 +00:00
chrnx 41709bec46 fix: mark beta site releases as prereleases
CI / build (pull_request) Successful in 12s
2026-08-02 23:45:33 -05:00
chrnx 30afa8b630 Merge pull request 'docs: publish Green Tea 26.8.0 beta release' (#5) from feature/26.8.0-beta.0-release into main
Promote → GitHub / push-github (push) Successful in 6s
CI / build (push) Successful in 11s
Reviewed-on: #5
2026-08-03 04:42:22 +00:00
chrnx 3145cbd9da ci: audit site dependencies before release
CI / build (pull_request) Successful in 11s
2026-08-02 23:31:43 -05:00
chrnx be7237d2c2 docs: publish 26.8.0 beta release story 2026-08-02 23:31:19 -05:00
chrnx 4aff5192c5 chore: remediate site dependency advisories 2026-08-02 23:29:43 -05:00
chrnx d4192a3a12 ci: validate site release tag 2026-08-02 23:28:59 -05:00
chrnx 1fe9e19d87 docs: plan site beta release 2026-08-02 23:27:57 -05:00
chrnx 4195c00b63 Merge pull request 'chore: version to CalVer 26.8.0-beta.0' (#4) from chore/calver-26.8.0-beta.0 into main
Promote → GitHub / push-github (push) Successful in 6s
CI / build (push) Successful in 16s
Reviewed-on: #4
2026-08-03 00:34:26 +00:00
chrnx a97ed9fb20 chore: version to CalVer 26.8.0-beta.0
CI / build (pull_request) Successful in 1m7s
Prepare the website artifact for the August beta release after the SEO and performance update.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 19:31:34 -05:00
chrnx cd70472367 Merge pull request 'perf: improve SEO and page performance' (#3) from feature/seo-performance into main
Promote → GitHub / push-github (push) Successful in 10s
CI / build (push) Successful in 18s
Reviewed-on: #3
2026-08-03 00:28:07 +00:00
chrnx fb1e356ccc test: enforce generated SEO contracts
CI / build (pull_request) Successful in 13s
2026-08-02 18:21:38 -05:00
chrnx 7debd362f1 ci: harden release artifact handling 2026-08-02 18:03:15 -05:00
chrnx 17e7abf1c0 ci: verify the GitHub release artifact 2026-08-02 17:57:34 -05:00
chrnx 6437289977 fix: preserve encoded redirects and cache consistency 2026-08-02 17:54:27 -05:00
chrnx b573a0d553 perf: ship Apache caching and HTTPS redirect 2026-08-02 17:44:42 -05:00
chrnx af22bf7f77 perf: self-host heading fonts 2026-08-02 17:37:56 -05:00
chrnx 4b91f67e15 fix: enforce valid Open Graph author URLs 2026-08-02 17:34:57 -05:00
chrnx 2e2326b11e feat: describe blog posts to search engines 2026-08-02 17:29:45 -05:00
chrnx 7ebf194d16 fix: use valid repository metadata 2026-08-02 17:27:52 -05:00
chrnx 0ef916bf56 feat: add structured product metadata 2026-08-02 17:23:32 -05:00
chrnx a97a137136 test: tighten blog metadata contract 2026-08-02 17:21:11 -05:00
chrnx 96a0412531 test: harden generated SEO verification 2026-08-02 17:19:20 -05:00
chrnx a860c04741 test: verify generated SEO metadata 2026-08-02 17:13:36 -05:00
chrnx 70b96dc8a5 chore: ignore local worktrees 2026-08-02 17:10:30 -05:00
chrnx 78fcec0283 docs: plan SEO and performance implementation 2026-08-02 17:08:23 -05:00
chrnx 264ca63833 docs: design SEO and performance improvements 2026-08-02 17:05:10 -05:00
chrnx 464cd5309e Merge pull request 'chore: CalVer version 26.7.0-beta.0' (#2) from chore/calver-version into main
CI / build (push) Successful in 12s
Promote → GitHub / push-github (push) Successful in 6s
Release → dist.tar.gz / package (push) Has been skipped
v26.7.0-beta.0
2026-07-18 20:18:17 +00:00
chrnx b05a6c4fa8 chore: version to CalVer 26.7.0-beta.0
Aligns website with the org-wide CalVer scheme; every package's first tag is v26.7.0-beta.0 (no production yet).

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-18 15:00:16 -05:00
chrnx d24243b23f Merge pull request 'ci: build gate + promote + release workflows (two-forge)' (#1) from chore/ci-workflows into main 2026-07-18 18:53:56 +00:00
chrnx 771617930e ci: bump Node to 22 (Astro 7 requires >=22.12)
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-18 13:51:08 -05:00
chrnx 750e268a9f ci: add build gate + promote + release workflows (two-forge)
ci.yml: astro build on PR/push to main. promote.yml (Gitea-only): mirror main + tags to Expressive-Tea/green-tea-site. release.yml (GitHub-only): on a v* tag, build and attach dist as a .tar.gz to the GitHub release for the cPanel deploy.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-18 13:47:50 -05:00
chrnx f7473d0338 docs(blog): honest benchmarks — what a real network does to "faster"
Over two real machines the throughput race compresses and the server sits idle; the runtime-agnostic edge (Bun/Deno ~1.6x Node, same app) is the part no Node-only framework can show; and the O(n^2) I found and fixed in my own pipeline while stress-testing.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-17 19:09:39 -05:00
chrnx 9a34ab0699 feat(site): email launch-list capture with a PHP/MySQL endpoint
A signup form in the closing section posts to subscribe.php (ships in the build): PDO/MySQL, honeypot, idempotent insert, optional mail() notify. DB creds live in a gitignored config kept above the web root; schema and setup in server/.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-17 19:09:39 -05:00
chrnx b978dacd4f feat(site): sharpen the hero, intent-keyword titles, and a beta FAQ
Hero H1 leads with the differentiator (a graph, not a middleware chain) instead of three adjectives; page titles carry search-intent keywords; a beta-scoped FAQ answers production-readiness, Express migration, performance and dependency questions; the footer credits the Expressive Tea Team.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-17 19:09:39 -05:00
chrnx a92cc0f82f feat(site): add a How-it-compares table so the difference lands
The landing explained what Green Tea is but never set it beside Express,
Fastify, or NestJS — so 'it's different' was told, not shown, and it read
like one more framework. The core README already carries an honest
comparison; this lifts its most load-bearing rows (pipeline model, does
req.user exist, seeing the pipeline, real-time, runtimes, deps) into a
curated four-column table with the Green Tea column lit.

Responsive: the table scrolls inside its own overflow-x container so the
page body never scrolls sideways on mobile. Copy is pulled from the
verified README rows — nothing new claimed.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-17 10:35:59 -05:00
chrnx 1869e6c2c3 docs(site): sell real-time and the graph honestly
Two claims a skeptic would catch. RealTime still said 'return an
AsyncIterable' with no mention of declaring the transport — the same
implicit-return the framework now rejects with TransportMismatchError; the
honest version (declare the transport, the contract is never a surprise)
sells harder anyway. And GraphNotChain's 'no one else has the graph' invited
the obvious 'Angular and Nest have a DI graph' — so say the real,
unrefutable thing: they resolve a graph of services, this resolves your
request pipeline. Same fix in the founder post.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-17 10:16:47 -05:00
chrnx 813f7f88ad docs(site): move to green-tea.expressive-tea.io, docs at /docs
The site hangs off the expressive-tea.io cPanel now, not the placeholder
.dev domain. Docs live at /docs on the same subdomain (a separate build,
not a nested sub-subdomain), so every cross-link to the docs points there.
robots.txt sitemap and the README deploy steps follow — cPanel upload, two
folders, one cert.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-17 10:13:18 -05:00
chrnx f1afa05349 docs(site): point at the real GitHub org, and admit what the edge can't do
Green Tea ships under the Expressive-Tea org — the framework it grew out
of lives there, and the founder story the launch post tells is easier to
follow when both are in the same house. The green-tea-dev placeholder was
never going to exist.

RunsEverywhere claimed the same src/ runs everywhere, full stop. It
doesn't: the edge has no filesystem, so file-backed views and static
serving don't go. A landing page that oversells gets found out on day
one, and this project's whole pitch is that it tells you the truth.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-17 09:36:57 -05:00
chrnx 7f8980b958 fix: post date off-by-one and inconsistent placeholder links
Post/blog-index dates formatted pubDate in the local timezone, so a
UTC-midnight date like 2026-07-10 rendered as July 9 anywhere west
of UTC. Format with timeZone: 'UTC' to match the stored date.

Also normalizes the npm package to @green-tea/core everywhere (Header
and Footer still pointed at @expressive-tea/core) and settles on a
single GitHub placeholder (https://github.com/green-tea-dev/green-tea)
across Header, Footer, Hero, and HonestBeta — documented in the README
as unconfirmed until launch. Docs CTAs in Hero and HonestBeta now open
in a new tab with rel="noopener noreferrer", matching Header/Footer.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-10 19:21:26 -05:00
chrnx 2907b1e148 polish: 404 page, branded OG image, robots.txt, README
Rounds out the site for launch: a calm branded 404 (with the graph
motif and a way back home), a proper 1200x630 OG/Twitter card so
shared links look right, robots.txt pointing at the sitemap, and a
README covering local dev and the manual Cloudflare Pages deploy
flow (no deploy CI is configured).

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-10 19:21:18 -05:00
chrnx 48736d3c4d content(blog): launch post — why I rebuilt my framework
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-10 19:15:24 -05:00
chrnx 4a05f364fd feat(blog): content collection, index, post layout, RSS
Adds the blog system ahead of the launch post: a zod-typed `blog`
content collection (content layer glob loader), a card-list index
with a calm empty state, the post route/layout with reading time,
and an RSS feed — all wired to the existing Base shell and palette.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-10 19:11:19 -05:00
chrnx adca1c5bdf feat: landing page — the pitch (graph, runtime-agnostic, real-time, batteries)
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-10 19:02:25 -05:00