seo-graph icon indicating copy to clipboard operation
seo-graph copied to clipboard

[Feature]: Export buildSeoContext from seo-graph-core

Open cristovaov opened this issue 6 months ago • 0 comments

Which package?

@jdevalk/seo-graph-core

What problem does this solve?

I've been poking through seo-graph for an Eleventy Baseline integration, and noticed it lives in astro-seo-graph rather than core.

From what I can see the function is pure TS anyway. Its only real Astro tie is a doc comment; the actual deps (buildAlternateLinks, deriveMdUrl, the SeoProps type) are all portable.

Proposed solution

Moving it down would make the normalisation reusable outside Astro, without pulling in the whole component package or hand-rolling my own projection on top of the core builders.

Alternatives considered

No response

schema.org reference (if applicable)

No response

Sanity checks

  • [x] I searched existing issues and didn't find a duplicate.

cristovaov avatar May 31 '26 21:05 cristovaov