Skip to content

feat(cli): implement create scaffolding CLI#82

Merged
qantrepreneur merged 1 commit into
mainfrom
29-create-scaffolding-cli
May 14, 2026
Merged

feat(cli): implement create scaffolding CLI#82
qantrepreneur merged 1 commit into
mainfrom
29-create-scaffolding-cli

Conversation

@qantrepreneur
Copy link
Copy Markdown
Contributor

Summary

  • Implement @sundayceo/create scaffolding CLI using template-copy pattern with @clack/prompts for interactive project name input
  • Add templates/default/ at repo root with package.json, tsconfig, vite config, app entry, route, template, and gitignore files using {{name}} placeholders
  • Add scaffold() function that copies templates, renames underscore-prefixed dotfiles, and replaces placeholders, with full test coverage
  • Add build-time copy-templates.ts script to bundle templates into dist/

Test plan

  • pnpm build passes (templates copied to dist)
  • pnpm test passes (5 scaffold tests: placeholder replacement, nested files, dotfile rename, output path, custom path)
  • pnpm lint passes (templates and scripts excluded from ESLint)
  • pnpm format produces no changes

Closes #29

🤖 Generated with Claude Code

Add template-copy scaffolding to @sundayceo/create that prompts for a
project name, copies template files with placeholder replacement, and
renames underscore-prefixed dotfiles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@qantrepreneur qantrepreneur merged commit 9cf2b47 into main May 14, 2026
2 checks passed
@qantrepreneur qantrepreneur deleted the 29-create-scaffolding-cli branch May 14, 2026 19:44
@github-actions github-actions Bot mentioned this pull request May 14, 2026
qantrepreneur added a commit that referenced this pull request May 21, 2026
Add template-copy scaffolding to @sundayceo/create that prompts for a
project name, copies template files with placeholder replacement, and
renames underscore-prefixed dotfiles.

Co-authored-by: Lorenzo <lorenzofkramer@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced May 23, 2026
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.

@sundayceo/create scaffolding CLI

1 participant