@nikala-ui/cli 0.11.0-nightly.b447b5b ā 0.12.0
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/commands/init.d.ts +1 -0
- package/dist/commands/init.js +4 -2
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/commands/init.d.ts
CHANGED
package/dist/commands/init.js
CHANGED
|
@@ -101,8 +101,10 @@ export async function init(options) {
|
|
|
101
101
|
else {
|
|
102
102
|
requiredDeps.push("tailwindcss", "@tailwindcss/vite");
|
|
103
103
|
}
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
if (!options.skipDependencies) {
|
|
105
|
+
console.log(pc.yellow("\nš¦ Installing required runtime & Tailwind CSS dependencies..."));
|
|
106
|
+
await installDependencies(requiredDeps, cwd);
|
|
107
|
+
}
|
|
106
108
|
// 2. Configure path aliases
|
|
107
109
|
await configureAliases(cwd);
|
|
108
110
|
// 3. Generate cn.ts helper
|
package/dist/index.js
CHANGED
|
@@ -10,18 +10,19 @@ import { upgradeCommand } from "./commands/upgrade.js";
|
|
|
10
10
|
import { removeCommand } from "./commands/remove.js";
|
|
11
11
|
import { listCommand } from "./commands/list.js";
|
|
12
12
|
import { setupAiRules } from "./utils/init/setup-ai-rules.js";
|
|
13
|
-
console.log(`\nšØ ${pc.bold(pc.red("Nikala UI"))} ${pc.dim("v0.
|
|
13
|
+
console.log(`\nšØ ${pc.bold(pc.red("Nikala UI"))} ${pc.dim("v0.12.0")} ā SolidJS + Tailwind v4 components`);
|
|
14
14
|
console.log(` ${pc.italic(pc.dim("Honoring Niko Pirosmani (Nikala)"))}\n`);
|
|
15
15
|
console.log(` ${pc.dim("Docs:")} ${pc.underline(pc.cyan("https://nikala.dev"))}\n`);
|
|
16
16
|
const program = new Command();
|
|
17
17
|
program
|
|
18
18
|
.name("nikala")
|
|
19
19
|
.description("Nikala UI ā SolidJS + Tailwind v4 components")
|
|
20
|
-
.version("0.
|
|
20
|
+
.version("0.12.0");
|
|
21
21
|
program
|
|
22
22
|
.command("init")
|
|
23
23
|
.description("Initialize Nikala UI in your project")
|
|
24
24
|
.option("-d, --defaults", "Skip prompts and use defaults")
|
|
25
|
+
.option("--skip-dependencies", "Skip dependency installation (used by higher-level tooling)")
|
|
25
26
|
.option("--ai", "Generate AI assistant rules (.cursor/rules/nikala.mdc, .cursorrules, AGENTS.md)")
|
|
26
27
|
.action(init);
|
|
27
28
|
program
|