packages/seo: schema.org JSON-LD and meta helpers on @crosscode/contracts

eventJsonLd (crosscode.event/1), churchJsonLd (crosscode.church/1),
canonicalUrl, pageMeta and jsonLdString (ROADMAP-v3 §11).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 12:01:20 +02:00
co-authored by Claude Opus 5.5
parent 4952e2cb0f
commit 390b80e56e
11 changed files with 496 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
import { defineConfig } from "tsup";
// CommonJS for the Events backend, ESM for the Next.js apps, types for both (as contracts).
export default defineConfig({
entry: ["src/index.ts"],
format: ["cjs", "esm"],
dts: true,
sourcemap: true,
clean: true,
target: "es2022",
external: ["@crosscode/contracts"],
outExtension: ({ format }) => ({ js: format === "esm" ? ".mjs" : ".js" }),
});