Skip to content
This repository was archived by the owner on Jul 4, 2026. It is now read-only.

feat: Enhance CLI prompts and improve Shadcn UI setup workflow - #59

Merged
gaureshpai merged 2 commits into
mainfrom
shad
Oct 21, 2025
Merged

gaureshpai merged 2 commits into
mainfrom
shad

Conversation

@gaureshpai

Copy link
Copy Markdown
Owner

Description

Updated package manager prompt to support multiple default options (pnpm, npm, yarn)

Improved CLI confirmation messages with default values for TypeScript, Tailwind CSS, src directory, app directory, and Shadcn UI options, clarifying defaults for better user experience

Modified empty page content formatting for consistency

Automated acceptance of Shadcn UI initialization prompt with command override (cmd /C "echo y | npx shadcn@latest init --yes")

Added logic to merge existing components.json with custom Shadcn UI configuration instead of overwriting, preserving existing user settings

Polished console output by removing emoji, keeping a professional tone

This commit enhances user interaction during project setup, improves configuration file handling, and aligns default choices with user-friendly prompts.

Related Issue

Fixes #57
Closes #57

Type of Change

  • Bug fix (non-breaking change addressing an issue)
  • New feature (non-breaking change adding functionality)
  • Breaking change (fix or feature causing existing functionality to break)
  • Documentation update

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Screenshots

image

Additional Notes

Updated package manager prompt to support multiple default options (pnpm, npm, yarn)

Improved CLI confirmation messages with default values for TypeScript, Tailwind CSS, src directory, app directory, and Shadcn UI options, clarifying defaults for better user experience

Modified empty page content formatting for consistency

Automated acceptance of Shadcn UI initialization prompt with command override (cmd /C "echo y | npx shadcn@latest init --yes")

Added logic to merge existing components.json with custom Shadcn UI configuration instead of overwriting, preserving existing user settings

Polished console output by removing emoji, keeping a professional tone

This commit enhances user interaction during project setup, improves configuration file handling, and aligns default choices with user-friendly prompts.
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Welcome, @gaureshpai!

Thank you for submitting a Pull Request! We're thrilled to see your contribution. Our team will review it shortly.

@gaureshpai
gaureshpai merged commit 6c638be into main Oct 21, 2025
1 of 4 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

❌ CI/CD Test Results

Overall Status: failure

Node.js Version Results:


View full workflow run

@gaureshpai
gaureshpai deleted the shad branch October 21, 2025 17:40
@gaureshpai gaureshpai added bug Something isn't working documentation Improvements or additions to documentation hacktoberfest-accepted labels Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working documentation Improvements or additions to documentation hacktoberfest-accepted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: ShadCN UI is asking for theme

1 participant