Repository navigation
chore: check SEO and Lighthouse with @uxfront/site-checks - #118
Merged
Merged
Conversation
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>
🚀 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 deploymentPreview Deployments by commit
|
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.
What changed
The site's own SEO checker,
scripts/check-seo.mjs, andlighthouserc.jsonmove to the shared@uxfront/site-checkspackage, at exactly0.1.0, so five sites keep one checker instead of five copies.site-checks.config.mjssets the site's parsing profile and rule options, sopnpm check-seoruns the same 37 checks as before, with no rule stricter or looser. Theschema-corscheck, which only this site needs, stays in the config as an extra rule.lighthouserc.mjsbuilds the same config from the package's preset, with SEO at 0.95. It deep-equals the oldlighthouserc.json.pnpm install --frozen-lockfile --ignore-scriptsfirst, so the config can import its preset, and no longer needspnpm_config_verify_deps_before_run. The job's name staysLighthouse.0.1.0was published on 2026-11-24 at 13:29 UTC, less than a day ago, so it's inminimumReleaseAgeExclude. The entry can go once the release is a day old.AGENTS.md,CONTRIBUTING.mdand a comment inscripts/check-mcp.mjsnow name the new files.The lockfile change adds only the new package. A plain
pnpm installalso re-resolves the optionalbetter-sqlite3peer from 13 to 12 and addssupports-colorpeers, so the lockfile keeps the existing resolutions instead.pnpm install --frozen-lockfileaccepts it, andpnpm install --lockfile-onlyleaves it unchanged.Checklist
feat(docs): add the focus guideline.pnpm check-typespasses.pnpm dev. (No page changes.)pnpm build, thenpnpm lighthouse, still scores 100 in every category. (No homepage changes.pnpm lighthousepasses with the new config, at its 0.95 thresholds.)