Skip to content

Refresh the site: static Astro, current deps, CI, Auth0 cleanup - #98

Merged
shenanigansd merged 1 commit into
mainfrom
refresh
Oct 11, 2026
Merged

shenanigansd merged 1 commit into
mainfrom
refresh

Conversation

@shenanigansd

Copy link
Copy Markdown
Member

Requested by Brad · project thread

Before: the site ran through the Cloudflare SSR adapter with React installed but unused, ten Dependabot PRs were open, CI only ran Biome, Auth0 config came from PUBLIC_* build variables and kept tokens in localStorage, and the README was the Astro starter.

After: a plain static Astro build served by an assets-only Worker, every dependency on its latest release, CI with lint, type check and build plus dependency review, Auth0 config in code with tokens kept in memory, and a minimal README with setup notes in CONTRIBUTING.md and AGENTS.md.

How: removed @astrojs/react, @astrojs/cloudflare, React and their types (finishes #64 without picking an islands framework; pages keep plain <script> tags). wrangler.jsonc now only serves dist/. sharp is overridden to 0.35.5 because wrangler's miniflare still pins a vulnerable 0.35.4. The Auth0 client drops refresh tokens and localStorage: id.letsbuilda.dev is same-site with the site, so the SDK restores the session silently on each page load. A failed or cancelled login (?error=) now lands signed out instead of throwing. CI, Dependabot, .npmrc, .nvmrc and .gitattributes follow the Impress Designs repos.

Closes #64, closes #76, closes #78, closes #80, closes #84, closes #89, closes #90, closes #93, closes #94, closes #95, closes #96

🤖 Generated with Claude Code

https://claude.ai/code/session_01AWtXV8CMUpAX8ktbGjgtJr


Generated by Claude Code

- Update every dependency to its latest release (supersedes the open
  Dependabot PRs); override sharp to 0.35.5 for wrangler's miniflare.
- Drop React and the Cloudflare adapter; the site builds to static files
  served by an assets-only Worker.
- Auth0: inline the public domain and client ID, keep tokens in memory
  and restore the session from the same-site custom domain, handle
  failed logins.
- CI: lint and build jobs, dependency review, Dependabot grouping.
- Minimal README; setup notes in CONTRIBUTING.md and AGENTS.md.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AWtXV8CMUpAX8ktbGjgtJr
@shenanigansd shenanigansd self-assigned this Oct 11, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
letsbuilda-dev eee9227 Commit Preview URL

Branch Preview URL
Oct 11 2026, 03:47 PM

@shenanigansd
shenanigansd marked this pull request as ready for review October 11, 2026 15:47
@shenanigansd
shenanigansd merged commit c48e42c into main Oct 11, 2026
8 checks passed
@shenanigansd
shenanigansd deleted the refresh branch October 11, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants