The root package.json catalog is the single version source; workspaces
write "catalog:". Most entries are caret ranges because bun.lock already
makes installs reproducible. An entry is exact only when a patch release would
change behaviour. Upgrade any of them as one reviewed change, together with
the items named beside it.
The current inventory lives in package.json: catalog, overrides, and
patchedDependencies. The tables below explain the main compatibility rules;
read those fields for the complete package list and current versions.
Exact pins
| Package | Pinned to | Why | Upstream |
|---|---|---|---|
@orpc/* |
a 2.0 beta | Prerelease: a beta bump can break the API with no semver signal. All @orpc/* packages move together. |
middleapi/orpc |
drizzle-orm |
a 1.0 release candidate | Prerelease, as above. The D1 rules in packages/db/AGENTS.md are written against this version. |
drizzle-team/drizzle-orm |
@cloudflare/sandbox |
1.0.3 |
Runtime-coupled: Workstation, CMS and Docs extend app-owned Durable Objects, use native ctx.container RPC, and copy the matching v1 sandbox-shim into each image. Upgrade the SDK and donor image together. |
cloudflare/sandbox-sdk |
vite-plus, vitest, vite |
exact; vite is an alias of @voidzero-dev/vite-plus-core |
vp fmt bundles a specific formatter, so this version decides the bytes the format check compares. vite is aliased to the Vite+ core, as Vite+ documents, and vitest must equal the version vite-plus depends on (vp toolchain vitest). Keep the core version equal to vite-plus. |
voidzero-dev/vite-plus |
wrangler, agents |
exact | Deploy and runtime behaviour at the edge. | cloudflare/workers-sdk, cloudflare/agents |
emdash, @emdash-cms/cloudflare |
exact, matching release line | CMS runtime compatibility and version-specific local patches. Update the starter manifests, embedded snapshot, patches, and lockfiles together. | emdash-cms/emdash |
The current @earendil-works/pi-ai release pins its provider clients exactly:
@anthropic-ai/sdk 0.129.0, @google/genai 2.21.0, openai 7.19.0, and
@aws-sdk/client-bedrock-runtime 3.1127.0. Keep those upstream dependencies
with Pi rather than overriding them across untested provider API changes.
Upgrade them through a compatible Pi release. Tedix’s AI SDK providers are
updated independently.
Overrides
Security overrides pin dompurify to 3.4.18, body-parser to 2.4.0 and
fast-uri to 4.2.3. Undici uses version-scoped overrides: 7.x consumers stay
on 7.30.2 and 8.x consumers stay on 8.12.4. This includes Miniflare’s exact
7.x dependency without moving it to a different major. Bun 1.4.5 writes these
scoped rules in lockfile format 3; keep the manifest and lockfile together.
The independently installed CMS starters carry the same security overrides
in their manifests and lockfiles, and in the generated template snapshot.
Review these pins against upstream security releases when upgrading callers.
| Override | Why | Upstream |
|---|---|---|
zod |
Forces one zod copy. The AI SDK and @orpc/zod check schemas by identity, and several transitive packages still request zod 3; without the override the lockfile resolves several zod versions and schemas fail at runtime. |
colinhacks/zod |
chat |
Uses the catalog version for transitive requests as well as direct dependencies. The lockfile resolves chat and its Telegram/shared adapters to 4.45.0, satisfying the agents peer range. Review upgrades with agents and the adapters. |
vercel/chat |
vite, vitest |
Apply the catalog versions above to transitive requests too, including vite-plus’s own. |
— |
Patches
The root patchedDependencies currently names agents, EmDash and its
Cloudflare adapter; bun.lock records the same patch paths:
patches/emdash@1.6.0.patchhandles the Worker Loader transaction path, guarded collection deletion, registry bundle validation and required plugin lifecycle hooks, external-auth roles, import/seed fencing, locale-aware taxonomy archives, and atomic menu replacement.patches/@emdash-cms/cloudflare@1.6.0.patchimplements the collection-deletion registry guard using D1 batches or Durable ObjecttransactionSync.patches/agents@0.33.0.patchroutes facet Lifecycle alarms through registered parent-owned native jobs, preserves facet class and path identity, and adds a policy hook before facet initialization and alarm dispatch.
The shared runtime uses EmDash 1.6.0. The independently built CMS starters
remain on 1.5.0 and carry that version’s patches under
apps/cms/templates/*/patches/; the root retains their canonical 1.5.0 patches.
Their manifests also apply @emdash-cms/plugin-forms@0.2.13.patch, which excludes
raw visitor IPs from stored submissions and defaults new forms to 30-day
retention. Each patched dependency has an entry in THIRD_PARTY_NOTICES.md,
and bun run oss:check fails on a patch without one.
Review the actual hunks on every upgrade and remove fixes supplied upstream.