@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.
- package/dist/index.js +8 -3
- 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(
|
|
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(
|
|
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:"));
|