Repository navigation
Conversation
… add astro check + oxfmt
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Streamline
website/dependencies, adopt Astro 7 native Fonts API and Content Layer loader, and addastro check+oxfmtto the website workflow and CI.What changed and why
Dependency cleanup, deduplication, and override audit
clsx,tailwind-merge) along with dead files (website/src/lib/utils.ts,website/components.json).astro@7.4.13,@astrojs/cloudflare@14.4.9,@astrojs/starlight@0.43.2,@astrojs/markdown-satteri@0.4.10,satteri@0.11.7,@tailwindcss/vite@4.3.5,tailwindcss@4.3.5,pele@1.13.0,satori@0.63.2,motion@14.14.0,@lucide/astro@1.83.0,wrangler@4.168.0).workerd,miniflare,@astrojs/markdown-satteri,@astrojs/compiler-rs,shiki, andlightningcss.website/pnpm-workspace.yaml: removed obsoleteminimumReleaseAgeExclude(pele@1.6.0),miniflare>undici, andminiflare>sharpoverrides (resolved upstream inminiflare@5.20261123.1-beta). Keptsatori>fflate: ^0.7.5untilsatori@0.64.3+clears the 3-day cooldown, and keptsupportedArchitectures: [current, wasm32]for Sätteri's Cloudflare WASI fallback.Type checking (
astro check) & formatting (oxfmt)@astrojs/check@0.9.12+typescript@6.0.3(pnpm check) to validate.astrotemplates, props, content collections, and TypeScript across the site.astro check: excludedexamplesinwebsite/tsconfig.json, switchedIcon.astrofromIconPropstoLucideProps, narrowedFontEntry.weightinsrc/lib/og.ts, wrappedBufferinnew Uint8Array(png)insrc/pages/og/[...route].ts, and fixed null narrowing inTapeModel.astroandTestimonials.astro.oxfmt@0.80.0+ direct@astrojs/compiler-rs@0.5.3(pnpm fmt/pnpm fmt:check) with.oxfmtrc.jsonconfigured for Astro (compressHTML: "html"), built-in Tailwind v4 class sorting (stylesheet: "./src/styles/global.css"), andignorePatternsavoiding conflicts with repopretty-format-jsonandautocorrecthooks.pnpm --dir website check,pnpm --dir website fmt:check, andnode --test website/scripts/pele.test.mjsinto thecheck-docsjob in.github/workflows/main.yml.Adopt Astro 7 native features
OutfitandJetBrains MonoviafontProviders.fontsource()inwebsite/astro.config.mjs, rendered<Font ... preload />inBaseLayout.astroand a minimal StarlightHeadoverride (src/components/StarlightHead.astro), and removed@fontsource-variable/outfitand@fontsource-variable/jetbrains-mono(static@fontsource/outfitand@fontsource/noto-sans-scremain for Satori OG image generation).website/scripts/generate-github-snapshot.mjs,predev/prebuildscripts, and gitignoredsrc/data/github-snapshot.tswith a build-timegithubContent Layer collection inwebsite/src/content.config.ts(including fixing the/\.0$/star-formatting regex). Updatedwebsite/AGENTS.mdandwebsite/DEPLOYMENT.mdaccordingly.Impacted modules & commands
website/(package.json,pnpm-lock.yaml,pnpm-workspace.yaml,astro.config.mjs,tsconfig.json,.oxfmtrc.json,src/,AGENTS.md,DEPLOYMENT.md).github/workflows/main.yml(check-docsjob)website/:pnpm check,pnpm fmt,pnpm fmt:checkVerification
pnpm --dir website install --frozen-lockfile— passed (supply-chain policy verified)pnpm --dir website check(astro check) — 0 errors, 0 warnings across 43 filespnpm --dir website fmt:check(oxfmt --check) — 47/47 matched files passednode --test website/scripts/pele.test.mjs— 3/3 passedBUB_ASTRO_IMAGE_MODE=build pnpm --dir website build— 83 pages built, 4 self-hosted variable.woff2fonts bundled & preloaded on landing and Starlight docs pages, live GitHub stats rendered, 8 OG PNGs & Pagefind index generatedprekpre-commit hooks (check-yaml,check-json,pretty-format-json,end-of-file-fixer,trailing-whitespace) — all passed on commit