You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaces GitHub Search–based discovery of official seed repositories with a fixed in-repo catalog (OFFICIAL_SEED_STACKS) and a dedicated inquireOfficialSeedStack prompt (including Exit handling).
Simplifies GitHubClient: removes getAllRepos and search URL usage; constructor no longer takes a default stack name pattern.
Updates ContentModelSeeder so that after selecting an official stack, ghUsername and GitHubClient are aligned with the chosen owner/repo.
Refreshes README copy to distinguish curated official stacks vs any owner/repo.
Expands Jest coverage: new tests for seeder behavior, official stack catalog, and interactive prompts; adjusts existing command and client tests.
Test plan
pnpm test (or package-scoped tests) in packages/contentstack-seed
Run cm stacks seed (or equivalent) without--repo: confirm list matches catalog and selection downloads/continues as before
Choose Exit at the official stack prompt: confirm clean exit / error path
Run with full owner/repo on --repo: confirm no official-stack prompt and custom repo still works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OFFICIAL_SEED_STACKS) and a dedicatedinquireOfficialSeedStackprompt (including Exit handling).GitHubClient: removesgetAllReposand search URL usage; constructor no longer takes a default stack name pattern.ContentModelSeederso that after selecting an official stack,ghUsernameandGitHubClientare aligned with the chosen owner/repo.owner/repo.Test plan
pnpm test(or package-scoped tests) inpackages/contentstack-seedcm stacks seed(or equivalent) without--repo: confirm list matches catalog and selection downloads/continues as beforeowner/repoon--repo: confirm no official-stack prompt and custom repo still works