build: consume published quarto-yaml 0.1.0; delete in-tree YAML stack (bd-egcyeym9)#351
Merged
Merged
Conversation
… (bd-egcyeym9)
Final phase of the YAML-stack extraction. quarto-yaml and quarto-yaml-validation
now live in the standalone posit-dev/quarto-yaml workspace and are published to
crates.io at 0.1.0; q2 cuts over.
- [workspace.dependencies.quarto-yaml] path -> version = "0.1.0"; dropped
[workspace.dependencies.quarto-yaml-validation] (q2 does not depend on it).
- Converted the two remaining quarto-yaml path-deps (pampa, quarto-config) to
{ workspace = true }; quarto-core / quarto-lsp-core already were.
- Deleted crates/quarto-yaml, crates/quarto-yaml-validation, and the demo binary
crates/validate-yaml (the only in-tree consumer of quarto-yaml-validation).
- CLAUDE.md: moved quarto-yaml into the Externalized foundation crates section;
reframed quarto-yaml-validation as published-but-not-a-q2-dep; removed the
validate-yaml binary entry.
quarto-yaml-validation is published purely for external Posit consumers; q2 has
zero dependency on it after this. Error codes ship unchanged as Q-1-x for 0.1.0
(yaml-schema/* origin codes deferred to 0.2.0).
Verification:
- cargo build --workspace clean; Cargo.lock (root + wasm) resolves
quarto-yaml 0.1.0 from the registry (checksum c32ab7b3...); quarto-yaml-validation
and validate-yaml absent from the lock.
- cargo nextest run --workspace: 9855 passed, 197 skipped.
- Full cargo xtask verify GREEN, all 14 steps incl. the hub-client WASM build +
hub tests. The WASM crate resolves quarto-yaml transitively (no direct dep
needed); its standalone Cargo.lock flips 0.7.0 path -> 0.1.0 registry.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Final phase of the diagnostics/YAML extraction epic (bd-egcyeym9). The YAML stack
—
quarto-yaml(parser) andquarto-yaml-validation(schema validation) — nowlives in the standalone
posit-dev/quarto-yamlworkspace and is published tocrates.io at 0.1.0. This PR cuts q2 over to the published
quarto-yamlanddeletes the in-tree copies.
Follows the same shape as the foundation cutovers (#348 source-map, #350
error-reporting).
Changes
Cargo.toml:[workspace.dependencies.quarto-yaml]path→version = "0.1.0"; dropped[workspace.dependencies.quarto-yaml-validation].quarto-yamlpath-deps (pampa,quarto-config) to{ workspace = true };quarto-core/quarto-lsp-corealready were.
crates/quarto-yaml,crates/quarto-yaml-validation, and the demobinary
crates/validate-yaml(the only in-tree consumer ofquarto-yaml-validation).CLAUDE.md: movedquarto-yamlinto the Externalized foundation cratessection; reframed
quarto-yaml-validationas published-but-not-a-q2-dep; removedthe
validate-yamlbinary entry.Why q2 keeps only
quarto-yamlquarto-yaml-validation's only in-tree consumer was thevalidate-yamldemobinary. With it deleted, q2 has zero dependency on
quarto-yaml-validation— itis published purely for external Posit consumers. q2 continues to depend on the
published
quarto-yaml.Error codes
quarto-yaml-validationships its error codes unchanged asQ-1-xfor0.1.0(decided: keep non-breaking now; migrate to namespaced
yaml-schema/*origin codesin
0.2.0).Snapshot changes
One
.snapfile is removed as part of deletingcrates/quarto-yaml-validation(
…__diagnostic__tests__all_three_formats_snapshot.snap). No q2 snapshot changedin place — this is purely the crate deletion.
Verification
cargo build --workspaceclean;Cargo.lock(root + wasm) resolvesquarto-yaml 0.1.0from the registry (checksumc32ab7b3…);quarto-yaml-validation/validate-yamlabsent from the lock.cargo nextest run --workspace: 9855 passed, 197 skipped.cargo xtask verifyGREEN — all 14 steps incl. the hub-client WASMbuild + hub tests. The WASM crate resolves
quarto-yamltransitively (no directdep needed); its standalone
Cargo.lockflips0.7.0path →0.1.0registry.🤖 Generated with Claude Code