feat(shadcn-ui): update init message (#197)

This commit is contained in:
shadcn
2023-04-18 19:12:38 +04:00
committed by GitHub
parent 2953c6cb0a
commit 4a794a354f
3 changed files with 7 additions and 9 deletions

View File

@@ -7,5 +7,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["www", "playground", "**-template"]
"ignore": ["www", "**-template"]
}

View File

@@ -0,0 +1,5 @@
---
"shadcn-ui": patch
---
update init message

View File

@@ -43,13 +43,6 @@ async function main() {
.description("Configure your Next.js project.")
.option("-y, --yes", "Skip confirmation prompt.")
.action(async (options) => {
logger.warn(
"Running the following command will overwrite existing files."
)
logger.warn(
"Make sure you have committed your changes before proceeding."
)
logger.warn("")
logger.warn(
"This command assumes a Next.js project with TypeScript and Tailwind CSS."
)
@@ -63,7 +56,7 @@ async function main() {
type: "confirm",
name: "proceed",
message:
"Running this command will install dependencies and overwrite files. Proceed?",
"Running this command will install dependencies and overwrite your existing tailwind.config.js. Proceed?",
initial: true,
})