uikki 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/index.js +1 -13
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -13,13 +13,13 @@ You get total control over the code, allowing you to customize it exactly how yo
13
13
  Run the following command in your React/Tailwind project to add a component:
14
14
 
15
15
  ```bash
16
- npx uikki add <component-name>
16
+ npx -y uikki add <component-name>
17
17
  ```
18
18
 
19
19
  **Example:**
20
20
  ```bash
21
- npx uikki add button
22
- npx uikki add drawer
21
+ npx -y uikki add button
22
+ npx -y uikki add drawer
23
23
  ```
24
24
 
25
25
  The CLI will automatically download the component from the Uikki GitHub repository and save it to your `src/components/ui/` folder.
package/index.js CHANGED
@@ -79,19 +79,7 @@ https.get(repoUrl, (res) => {
79
79
  fs.writeFileSync(targetPath, cleanedCode);
80
80
 
81
81
  console.log(`✅ 성공적으로 추가되었습니다: ${targetPath}`);
82
-
83
- // Check for common dependencies (heuristics)
84
- const deps = [];
85
- if (cleanedCode.includes('lucide-react')) deps.push('lucide-react');
86
- if (cleanedCode.includes('framer-motion')) deps.push('framer-motion');
87
- if (cleanedCode.includes('clsx') || cleanedCode.includes('tailwind-merge')) deps.push('clsx tailwind-merge');
88
-
89
- if (deps.length > 0) {
90
- console.log(`\n📦 추가 설치가 필요한 패키지가 발견되었습니다:`);
91
- console.log(`npm install ${deps.join(' ')}`);
92
- } else {
93
- console.log(`\n🎉 추가 설치가 필요한 의존성이 없습니다. 바로 사용하세요!`);
94
- }
82
+ console.log(`🎉 바로 사용하세요!`);
95
83
  });
96
84
  }).on('error', (err) => {
97
85
  console.error(`❌ 에러 발생: ${err.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uikki",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "CLI tool for Uikki UI Component Gallery",
5
5
  "bin": {
6
6
  "uikki": "./index.js"