@glass-ui-kit/cli 0.2.2 → 0.2.3

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 (2) hide show
  1. package/dist/index.js +8 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -333,13 +333,18 @@ ${GLASS_BASE_STYLES}`;
333
333
  console.log(chalk.gray(` Tokens already present in ${cssPath}`));
334
334
  }
335
335
  console.log(
336
- chalk.cyan(` Installing dependencies (clsx, tailwind-merge)...`)
336
+ chalk.cyan(
337
+ ` Installing dependencies (clsx, tailwind-merge, lucide-react)...`
338
+ )
337
339
  );
338
- await installDependencies(["clsx", "tailwind-merge"], pm);
340
+ await installDependencies(["clsx", "tailwind-merge", "lucide-react"], pm);
341
+ const runCommand = pm === "bun" ? "bunx" : pm === "pnpm" ? "pnpm dlx" : "npx";
339
342
  console.log(chalk.bold.green("\nSetup complete."));
340
343
  console.log(`Try adding a component:
341
344
  `);
342
- console.log(chalk.cyan(` npx @glass-ui-kit/cli@latest add card`));
345
+ console.log(
346
+ chalk.cyan(` ${runCommand} @glass-ui-kit/cli@latest add card`)
347
+ );
343
348
  console.log("");
344
349
  } catch (error) {
345
350
  console.error(chalk.red("\nInitialization failed:"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glass-ui-kit/cli",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "The official CLI for Glass UI. Add glassmorphism components to your React projects in seconds.",
5
5
  "keywords": [
6
6
  "glassmorphism",