The Deno team has released version 2.2, continuing their push to make Deno a drop-in replacement for Node.js and Bun in complex project setups.
Monorepo Workspaces
A new workspaces field in deno.json enables first-class monorepo support: shared dependencies, cross-package imports via workspace protocol, and a single lockfile at the repo root. Compatible with PNPM workspace layouts for easy migration.
Private Registries
Deno can now authenticate against private npm registries (GitHub Packages, Artifactory, Verdaccio) via .npmrc files and scoped auth tokens. Enterprise teams can keep internal packages on their own infrastructure.
Bun Compatibility Layer
A new --unstable-bun-apis flag polyfills Bun-specific globals like Bun.file(), Bun.serve(), and the bun:sqlite module. Projects written for Bun can often run on Deno with no source changes.
Upgrade via deno upgrade.