Skip to content

docs: document catalog: protocol for workspace dependencies (2.8)#3096

Open
lunadogbot wants to merge 1 commit intodenoland:2.8from
lunadogbot:docs/2.8-catalog-protocol
Open

docs: document catalog: protocol for workspace dependencies (2.8)#3096
lunadogbot wants to merge 1 commit intodenoland:2.8from
lunadogbot:docs/2.8-catalog-protocol

Conversation

@lunadogbot
Copy link
Copy Markdown

Summary

Documents the new catalog: protocol shipping in Deno 2.8 (denoland/deno#32947). Catalogs let a workspace root declare shared dependency versions in one place; members reference them with \"pkg\": \"catalog:\" or \"pkg\": \"catalog:<name>\".

  • Adds a new "Centralized dependency versions with catalog:" section to runtime/fundamentals/workspaces.md.
  • Covers the default catalog, named catalogs (catalogs), and catalogs declared in package.json.
  • Notes the precedence rule when both deno.json and package.json define catalogs (package.json wins, no merging) and the root-only restriction.

Test plan

  • deno task serve — workspaces page renders, new section sits cleanly between "Sharing and managing dependencies" and "Using workspace protocol in package.json".
  • deno fmt — clean.

@crowlKats crowlKats changed the base branch from main to 2.8 May 5, 2026 11:39
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