Skip to content

chore: check SEO and Lighthouse with @uxfront/site-checks - #118

Merged
alexgrozav merged 1 commit into
site-checks-uxf-937from
site-checks-uxf-1037
Nov 24, 2026
Merged

alexgrozav merged 1 commit into
site-checks-uxf-937from
site-checks-uxf-1037

Conversation

@alexgrozav

@alexgrozav alexgrozav commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

What changed

The site's own SEO checker, scripts/check-seo.mjs, and lighthouserc.json move to the shared @uxfront/site-checks package, at exactly 0.1.0, so five sites keep one checker instead of five copies.

  • site-checks.config.mjs sets the site's parsing profile and rule options, so pnpm check-seo runs the same 37 checks as before, with no rule stricter or looser. The schema-cors check, which only this site needs, stays in the config as an extra rule.
  • lighthouserc.mjs builds the same config from the package's preset, with SEO at 0.95. It deep-equals the old lighthouserc.json.
  • The Lighthouse job now runs pnpm install --frozen-lockfile --ignore-scripts first, so the config can import its preset, and no longer needs pnpm_config_verify_deps_before_run. The job's name stays Lighthouse.
  • 0.1.0 was published on 2026-11-24 at 13:29 UTC, less than a day ago, so it's in minimumReleaseAgeExclude. The entry can go once the release is a day old.
  • AGENTS.md, CONTRIBUTING.md and a comment in scripts/check-mcp.mjs now name the new files.

The lockfile change adds only the new package. A plain pnpm install also re-resolves the optional better-sqlite3 peer from 13 to 12 and adds supports-color peers, so the lockfile keeps the existing resolutions instead. pnpm install --frozen-lockfile accepts it, and pnpm install --lockfile-only leaves it unchanged.

Checklist

  • The title follows Conventional Commits, as in feat(docs): add the focus guideline.
  • pnpm check-types passes.
  • Docs changes: the pages read well on pnpm dev. (No page changes.)
  • Homepage changes: pnpm build, then pnpm lighthouse, still scores 100 in every category. (No homepage changes. pnpm lighthouse passes with the new config, at its 0.95 thresholds.)

The site's own SEO checker and Lighthouse config move to the shared
package, at exactly 0.1.0. site-checks.config.mjs keeps every check the
old checker ran, with its parsing quirks, and the schema-cors rule stays
here as an extra rule. lighthouserc.mjs builds the same config from the
preset, with SEO at 0.95.

The Lighthouse job now installs, without scripts, so the config can load
its preset. 0.1.0 is less than a day old, so it's in
minimumReleaseAgeExclude.

Co-authored-by: multica-agent <github@multica.ai>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://site-checks-uxf-1037.opencomponents.dev, https://site-checks-uxf-1037-opencomponents.uxfront.workers.dev (commit 3bed20c)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://63f15841.opencomponents.dev, https://63f15841-opencomponents.uxfront.workers.dev 3bed20c 2026-11-24T15:13:31.284Z Visit the dashboard ↗

@alexgrozav
alexgrozav merged commit f95f5ab into site-checks-uxf-937 Nov 24, 2026
6 checks passed
@alexgrozav
alexgrozav deleted the site-checks-uxf-1037 branch November 24, 2026 15:16
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.

1 participant