Skip to content

chore(deps): bump dependencies and migrate to new APIs#25

Draft
aminevg wants to merge 2 commits into
mainfrom
amine/bump-deps
Draft

chore(deps): bump dependencies and migrate to new APIs#25
aminevg wants to merge 2 commits into
mainfrom
amine/bump-deps

Conversation

@aminevg

@aminevg aminevg commented May 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump astro 6.0.4 → 6.3.7, hono 4.9.9 → 4.12.22, @hono/node-server 1.19.5 → 2.0.4 (major), typescript 5 → 6 (major), biome 2.4.8 → 2.4.15, plus minor bumps across all packages
  • Migrate the deprecated pnpm field in package.json to pnpm-workspace.yaml (now requires allowBuilds approvals)
  • Code changes forced by the new versions: Starlight 0.39 sidebar shape, Astro 6 logger API (destdestination, new flush/close), httpServer.on shim for Astro's new font plugin, Biome 2.4 schema bump + .claude/ exclude (nested root configs no longer allowed)
  • Keep vite at ^7.3.2 because astro 6 still requires the vite 7 peer; the 8.x upgrade waits on astro
  • Minimal test workaround so CI stays green (fileParallelism: false, rm retries) — a follow-up PR replaces these with proper per-test fixture isolation

Test plan

  • pnpm build
  • pnpm run typecheck
  • pnpm run ci:biome
  • pnpm test (50/50)

@vercel

vercel Bot commented May 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
go-mighty Ready Ready Preview, Comment May 24, 2026 2:43pm

Bump astro 6.0.4 → 6.3.7, hono 4.9.9 → 4.12.22, @hono/node-server
1.19.5 → 2.0.4, typescript 5 → 6, biome 2.4.8 → 2.4.15, plus minor
bumps across all packages. Migrate the deprecated `pnpm` field in
package.json to pnpm-workspace.yaml.

Required code changes for the new versions:
- packages/docs/astro.config.mjs: Starlight 0.39 dropped autogenerated
  sidebar groups with a `label`; wrap each autogenerate entry in an
  `items` array.
- packages/core/src/utils/astroDefaults.ts: Astro 6 renamed
  AstroLogOptions.dest → destination and added required flush/close
  methods on AstroIntegrationLogger.
- packages/core/src/dev/index.ts: Astro's new vite-plugin-fonts calls
  server.httpServer.on(), so the in-memory shim needs an `on` method.
- biome.json: bump the schema URL to 2.4.15 and exclude .claude/, since
  Biome 2.4 disallows nested root configs from worktree leftovers.

Test fixture cleanups race with Vite's optimizer on the new versions.
Apply a minimal workaround so CI is green: add maxRetries/retryDelay
to the rm() calls and set fileParallelism: false in vitest.config.ts.
A follow-up PR replaces these workarounds with proper test isolation.
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