fix(cli): validate project name using npm package name rules (#9161)

* fix(cli): #9160 updated   CLI name validation

* chore: minor refactor and error message

---------

Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
Md Kawsar Islam Yeasin
2026-01-06 15:28:31 +06:00
committed by GitHub
parent c2fd847d65
commit f2583391ea
4 changed files with 38 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
---
"shadcn": patch
---
validate app name on create