Skip to content

v0.2.0 — share the graph envelope with @jdevalk/seo-graph-core

Choose a tag to compare

@jdevalk jdevalk released this 09 Apr 13:05
· 18 commits to main since this release

First release that shares infrastructure with the Astro side of the @jdevalk/seo-graph ecosystem. The JSON-LD envelope ({ @context, @graph } wrapping + first-wins @id deduplication) now comes from @jdevalk/seo-graph-core, which is also used by @jdevalk/astro-seo-graph on joost.blog. Two consumers, two very different runtimes (EmDash CMS vs Astro static site), one shared graph engine.

See CHANGELOG.md for the full notes.

Added

  • Runtime dependency on @jdevalk/seo-graph-core ^0.1.0-alpha.0.

Changed

  • src/schema/index.ts now uses assembleGraph from the core package rather than manually constructing the envelope. JSON-LD output is byte-identical to 0.1.3 for existing pages.
  • Piece builder return types aligned with core's GraphEntity type.
  • Added a .gitignore (the repo had none).

Notes

This is a minor bump rather than a patch because the new runtime dependency changes the plugin's install footprint. The per-page output is byte-identical to 0.1.3.