Skip to content

feat(cli): add init starters for WordPress, Contentful, and Sanity (#14)#144

Merged
i-afaqrashid merged 1 commit into
mainfrom
feat/init-more-cms
May 29, 2026
Merged

feat(cli): add init starters for WordPress, Contentful, and Sanity (#14)#144
i-afaqrashid merged 1 commit into
mainfrom
feat/init-more-cms

Conversation

@i-afaqrashid
Copy link
Copy Markdown
Owner

What

cms-lab init supported prismic, strapi, directus, and payload. The other three bundled adapters had no starter, so users on WordPress, Contentful, or Sanity had to hand-write config.

Adds starter generators for all three plus flags: --wp-url, --space-id, --environment, --project-id, --dataset. The --cms help text and the unknown-provider error now list every supported value.

Why

The marketing surface promises six adapters; init reached four. Closing the "second 50%" so onboarding works for every supported CMS.

How verified

  • New CLI tests: WordPress / Contentful / Sanity starters write the expected provider config; unknown --cms exits non-zero.
  • pnpm verify green (221 tests).

Refs improvements/14.

init supported prismic, strapi, directus, and payload; the other three
bundled adapters had no starter, so users on WordPress, Contentful, or
Sanity had to hand-write config. Adds starter generators and flags
(--wp-url, --space-id, --environment, --project-id, --dataset) so all six
adapters can be scaffolded. Unknown --cms now lists every supported value.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cms-lab-site Ready Ready Preview, Comment May 29, 2026 9:35am

@i-afaqrashid i-afaqrashid merged commit 8ded091 into main May 29, 2026
12 checks passed
@i-afaqrashid i-afaqrashid deleted the feat/init-more-cms branch May 29, 2026 09:36
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