docs: document catalog: protocol for workspace dependencies (2.8)#3096
Merged
Conversation
fibibot
requested changes
May 17, 2026
Contributor
fibibot
left a comment
There was a problem hiding this comment.
package.json(ordeno.json) overstates wherecatalog:can be used. denoland/deno#32947 addsPackageJsonDepValue::Catalog, and the config schema describes catalogs as being for workspace memberpackage.jsonfiles;catalog:is not an import-map /deno.jsondependency protocol. Please remove(ordeno.json)or explicitly say onlypackage.jsondependencies reference catalogs, while rootdeno.json/package.jsoncan declare them.
- nit:
last_modified: 2025-11-04should be bumped for this content addition.
1d205ee to
0620b97
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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>\".catalog:" section toruntime/fundamentals/workspaces.md.catalogs), and catalogs declared inpackage.json.deno.jsonandpackage.jsondefine 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.