Adding an integration
- Choose the target’s
canGenerate()andcanApply()capabilities, then implement itsThemeAdapter/ThemeGeneratorbehavior: path and file format, environment gating, live application, and any reload hook. - Register exactly one instance in
ALL_ADAPTERS. The derived generation and application registries follow from that canonical list. - Add exact-key editorial metadata in
PRODUCT_EDITORIAL, including its source path and category. - Run the product generator so
product.generated.jsonderives the new registry item. - Add the matching ID-keyed setup guide overlay in
integration-docs.ts. Its two-way parity check rejects missing or orphan guide IDs. - Add capability, path, hook, output, and contract tests appropriate to the adapter.
The website never imports adapter classes or filesystem logic at runtime. Its catalogue is static generated metadata joined to the hand-authored setup overlay.