type: rule
status: active
timestamp: 2026-06-21
tags: [rules, astro, dependencies, versioning, pnpm]

Astro version pin: major in package.json, auto-update minors weekly

Astro pinned at major, minors auto-update weekly

Astro version pin

The rule

Every package.json pins Astro at the current major via caret ("astro": "^6.0.0"). Minors + patches update automatically via the weekly pnpm update --latest --recursive cron. Majors (Astro 6 → 7) ship via a single workspace-wide PR touching all 25+ repos at once.

Companion runtime pins

Same caret-on-major rule applies family-wide:

RuntimePackagePin
Sitesastro^6.0.0
Sitesreact / react-dom^19.0.0
Sitestailwindcss / @tailwindcss/vite^4.0.0
Extensionswxt^0.20.0
VSC extesbuild^0.24.0
CLI / MCPtsup^8.0.0
Node runtime(target)>= 22.0.0
Package mgrpnpm^10.0.0
Linter@biomejs/biome^2.0.0

Why

How to apply

Weekly automation (GH Actions cron at workspace root):

- run: pnpm update --latest --recursive

Major upgrade flow (when Astro 7 ships):

  1. Wait 4 weeks after stable for ecosystem to catch up
  2. Single PR on chirag127/workspace updates every submodule
  3. CI runs pnpm install + pnpm build across every submodule
  4. Land all-at-once on green

When NOT to apply


Edit on GitHub · Back to index