zudo-css

Type to search...

to open search from anywhere

b4push

Run before-push quality checks for the zudo-css project. Use when: (1) User says 'b4push', 'before push', or 'run checks', (2) Before pushing to remote, (3) After completing implementation work.

Before Push Quality Checks

Run the project’s quality gate before pushing.

Command

pnpm b4push

What It Checks

  1. Type checkingpnpm check (astro sync + tsc —noEmit)
  2. Buildpnpm build (full Astro production build)
  3. Link checkpnpm run check:links (scan dist/ for broken internal links)

When to Run

  • Before pushing to remote
  • After adding or moving documentation articles
  • After modifying internal links between articles

The link checker (scripts/check-links.js --strict) scans built HTML in dist/ for:

  • Broken internal links (href pointing to non-existent pages)
  • Absolute links in MDX source that bypass the base path (/pj/zcss/)

Runs in strict mode — exits with error on any broken link.

Revision History