Comparing version 0.0.3 to 0.0.4
# @shadcn/ui | ||
## 0.0.4 | ||
### Patch Changes | ||
- [#118](https://github.com/shadcn/ui/pull/118) [`712e625`](https://github.com/shadcn/ui/commit/712e625d485a0d7ac77fea4d5077d9ec7a33c513) Thanks [@shadcn](https://github.com/shadcn)! - add warning for command | ||
## 0.0.3 | ||
@@ -4,0 +10,0 @@ |
@@ -90,2 +90,9 @@ #!/usr/bin/env node | ||
program.command("add").description("add components to your project").action(async () => { | ||
logger.warn( | ||
"Running the following command will overwrite existing files." | ||
); | ||
logger.warn( | ||
"Make sure you have committed your changes before proceeding." | ||
); | ||
logger.warn(""); | ||
const { components, dir } = await promptForAddOptions(); | ||
@@ -92,0 +99,0 @@ if (!components?.length) { |
{ | ||
"name": "@shadcn/ui", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Add @shadcn/ui components to your app.", | ||
@@ -53,2 +53,3 @@ "publishConfig": { | ||
"clean": "rimraf dist && rimraf components", | ||
"start:dev": "cross-env COMPONENTS_BASE_URL=http://localhost:3000 node dist/index.js", | ||
"start": "node dist/index.js", | ||
@@ -55,0 +56,0 @@ "format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache", |
@@ -33,2 +33,10 @@ #!/usr/bin/env node | ||
.action(async () => { | ||
logger.warn( | ||
"Running the following command will overwrite existing files." | ||
) | ||
logger.warn( | ||
"Make sure you have committed your changes before proceeding." | ||
) | ||
logger.warn("") | ||
const { components, dir } = await promptForAddOptions() | ||
@@ -35,0 +43,0 @@ if (!components?.length) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22180
339
14