Skip to content

feat(shareddoc): bump da-parser to 2.2.0 for link-img support - #202

Draft
shsteimer wants to merge 2 commits into
mainfrom
linkimg
Draft

shsteimer wants to merge 2 commits into
mainfrom
linkimg

Conversation

@shsteimer

@shsteimer shsteimer commented Sep 15, 2026

Copy link
Copy Markdown

Summary

  • Adds a shareddoc round-trip test for da-parser's new link-img support (feat(da-parser): add link-img asset delivery type for image nodes da-tools#27): a data-edit-as="image" <a> persists via doc2aem and reloads via aem2doc correctly (no <picture>). No source change needed — shareddoc.js only calls aem2doc/doc2aem, both from da-parser.
  • @adobe/da-parser stays at ^2.1.0 for now — da-parser doesn't manually version itself (semantic-release does that on merge), so there's no real published version with this support yet. Verified the new test passes against the (locally npm linked) updated parser.

Before merging this PR: bump @adobe/da-parser to whatever version gets published from adobe/da-tools#27.

Test plan

  • npm test — 178 passing (against locally linked da-parser)
  • npm run lint — clean

🤖 Generated with Claude Code

No source changes needed — doc2aem/aem2doc come entirely from
@adobe/da-parser. Adds a round-trip test covering the new link-img
image delivery type.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Revert @adobe/da-parser to ^2.1.0 -- no real published version exists
yet for the link-img support (adobe/da-tools#27), and da-parser
doesn't hand-bump its own version (semantic-release does that on
merge). Bumping to ^2.2.0 is a required step before merging this PR,
once that version is published.

Update the round-trip test for da-parser's renamed marker:
data-asset-delivery-type="link-img" -> data-edit-as="image".
Verified passing against the (locally npm-linked) updated parser.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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