@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.
@@ -1,6 +1,7 @@
1
1
  interface InitOptions {
2
2
  defaults?: boolean;
3
3
  ai?: boolean;
4
+ skipDependencies?: boolean;
4
5
  }
5
6
  /**
6
7
  * Initializes Nikala UI workspace configuration and sets up design tokens.
@@ -101,8 +101,10 @@ export async function init(options) {
101
101
  else {
102
102
  requiredDeps.push("tailwindcss", "@tailwindcss/vite");
103
103
  }
104
- console.log(pc.yellow("\nšŸ“¦ Installing required runtime & Tailwind CSS dependencies..."));
105
- await installDependencies(requiredDeps, cwd);
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.11.0")} — SolidJS + Tailwind v4 components`);
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.11.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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nikala-ui/cli",
3
- "version": "0.11.0-nightly.b447b5b",
3
+ "version": "0.12.0",
4
4
  "description": "Command line interface for Nikala UI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",