Skip to content

Runbook: dependency pins and overrides

The root package.json overrides block is the only place emergent forces a resolution that a dependency’s own range would not pick. Every entry here is a liability that must carry a removal criterion — check it on every dependency bump.

Kit RC6 requires Postgres snapshot format 10. The drizzle-kit up conversion preserved all 131 migration SQL files, folder names, snapshot IDs and parent IDs. The ORM and Seed follow their respective rc tags. The lockfile resolves ORM to RC6 and Seed to RC5.

Use an exact release-candidate version here. Extra prerelease identifiers can rank above the bare release candidate and select an older commit build. Verify the resolved generator version and snapshot compatibility on each upgrade before additive generation.

The DB package scripts run Kit through bun --bun. Kit RC6’s Node loader fails to resolve the workspace’s inherited ../../tsconfig.base.json. Running under Bun loads the schema so drizzle-kit check can compare it with the migration history.

@astrojs/starlight>@astrojs/markdown-satteri → 0.3.6

Section titled “@astrojs/starlight>@astrojs/markdown-satteri → 0.3.6”

A parent-scoped pin (bun nested override; requires bun ≥ 1.4, which is why the lockfile is lockfileVersion 3 and packageManager / engines.bun say 1.4).

Why: @astrojs/starlight 0.41.x declares satteri ^0.9.1 and @astrojs/markdown-satteri ^0.3.5, but @astrojs/markdown-satteri ≥ 0.3.7 moved to satteri ^0.10.3. When the ^0.3.5 range floats past 0.3.6, Starlight’s shipped TypeScript source (integrations/markdown-plugins.ts) type-checks against two Sätteri majors at once and tsc in apps/docs and apps/docs-eng fails with MdastPluginDefinition / HastPluginDefinition “#private member” mismatches. Astro’s own exact pin of @astrojs/markdown-satteri (0.3.8 for astro 7.2.6) is not affected by the scoped override — Starlight and Astro keep separate copies, exactly the arrangement that worked before the range floated.

Remove when Starlight ships its Sätteri 0.10 migration (withastro/starlight#4134) — i.e. when bun info @astrojs/starlight dependencies shows satteri at ^0.10. Delete the override, run bun install, and confirm bun --cwd apps/docs typecheck and bun --cwd apps/docs-eng typecheck pass.