@teamvelix/cli 5.2.6 → 5.2.7

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,7 +1,7 @@
1
1
  import {
2
2
  log,
3
3
  showBanner
4
- } from "./chunk-WOZEFISO.js";
4
+ } from "./chunk-LVWCOKGH.js";
5
5
 
6
6
  // commands/build.ts
7
7
  import fs from "fs";
@@ -60,4 +60,4 @@ export {
60
60
  buildCommand,
61
61
  startCommand
62
62
  };
63
- //# sourceMappingURL=build-GQNE2ERF.js.map
63
+ //# sourceMappingURL=build-6O7F2YN4.js.map
@@ -1,5 +1,5 @@
1
1
  // version.ts
2
- var VERSION = "5.2.3";
2
+ var VERSION = "5.2.7";
3
3
 
4
4
  // commands/shared.ts
5
5
  import pc from "picocolors";
@@ -42,4 +42,4 @@ export {
42
42
  pascalCase,
43
43
  camelCase
44
44
  };
45
- //# sourceMappingURL=chunk-WOZEFISO.js.map
45
+ //# sourceMappingURL=chunk-LVWCOKGH.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../version.ts","../commands/shared.ts"],"sourcesContent":["/**\r\n * Velix CLI version — single source of truth.\r\n * Keep in sync with packages/velix/version.ts.\r\n */\r\nexport const VERSION = '5.2.7';\r\n","/**\n * Shared CLI utilities — logger, banner, helpers\n */\nimport pc from 'picocolors';\nimport fs from 'fs';\nimport path from 'path';\nimport { VERSION } from '../version.js';\n\nexport const log = {\n info: (msg: string) => console.log(` ${pc.cyan('ℹ')} ${msg}`),\n success: (msg: string) => console.log(` ${pc.green('✔')} ${msg}`),\n warn: (msg: string) => console.log(` ${pc.yellow('⚠')} ${pc.yellow(msg)}`),\n error: (msg: string) => console.log(` ${pc.red('✖')} ${pc.red(msg)}`),\n blank: () => console.log(''),\n};\n\nexport function showBanner() {\n console.log('');\n console.log(` ${pc.cyan('▲')} ${pc.bold('Velix')} ${pc.dim(`v${VERSION}`)}`);\n console.log(` ${pc.dim('──────────────────────────────────────────────')}`);\n console.log('');\n}\n\nexport function writeFile(filePath: string, content: string) {\n fs.mkdirSync(path.dirname(filePath), { recursive: true });\n fs.writeFileSync(filePath, content);\n}\n\nexport function capitalize(str: string): string {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function pascalCase(str: string): string {\n return str.split(/[-_\\/]/).map(s => capitalize(s)).join('');\n}\n\nexport function camelCase(str: string): string {\n const pascal = pascalCase(str);\n return pascal.charAt(0).toLowerCase() + pascal.slice(1);\n}\n"],"mappings":";AAIO,IAAM,UAAU;;;ACDvB,OAAO,QAAQ;AACf,OAAO,QAAQ;AACf,OAAO,UAAU;AAGV,IAAM,MAAM;AAAA,EACjB,MAAM,CAAC,QAAgB,QAAQ,IAAI,KAAK,GAAG,KAAK,QAAG,CAAC,IAAI,GAAG,EAAE;AAAA,EAC7D,SAAS,CAAC,QAAgB,QAAQ,IAAI,KAAK,GAAG,MAAM,QAAG,CAAC,IAAI,GAAG,EAAE;AAAA,EACjE,MAAM,CAAC,QAAgB,QAAQ,IAAI,KAAK,GAAG,OAAO,QAAG,CAAC,IAAI,GAAG,OAAO,GAAG,CAAC,EAAE;AAAA,EAC1E,OAAO,CAAC,QAAgB,QAAQ,IAAI,KAAK,GAAG,IAAI,QAAG,CAAC,IAAI,GAAG,IAAI,GAAG,CAAC,EAAE;AAAA,EACrE,OAAO,MAAM,QAAQ,IAAI,EAAE;AAC7B;AAEO,SAAS,aAAa;AAC3B,UAAQ,IAAI,EAAE;AACd,UAAQ,IAAI,KAAK,GAAG,KAAK,QAAG,CAAC,IAAI,GAAG,KAAK,OAAO,CAAC,IAAI,GAAG,IAAI,IAAI,OAAO,EAAE,CAAC,EAAE;AAC5E,UAAQ,IAAI,KAAK,GAAG,IAAI,sRAAgD,CAAC,EAAE;AAC3E,UAAQ,IAAI,EAAE;AAChB;AAEO,SAAS,UAAU,UAAkB,SAAiB;AAC3D,KAAG,UAAU,KAAK,QAAQ,QAAQ,GAAG,EAAE,WAAW,KAAK,CAAC;AACxD,KAAG,cAAc,UAAU,OAAO;AACpC;AAEO,SAAS,WAAW,KAAqB;AAC9C,SAAO,IAAI,OAAO,CAAC,EAAE,YAAY,IAAI,IAAI,MAAM,CAAC;AAClD;AAEO,SAAS,WAAW,KAAqB;AAC9C,SAAO,IAAI,MAAM,QAAQ,EAAE,IAAI,OAAK,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE;AAC5D;AAEO,SAAS,UAAU,KAAqB;AAC7C,QAAM,SAAS,WAAW,GAAG;AAC7B,SAAO,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;","names":[]}
@@ -3,7 +3,7 @@ import {
3
3
  log,
4
4
  showBanner,
5
5
  writeFile
6
- } from "./chunk-WOZEFISO.js";
6
+ } from "./chunk-LVWCOKGH.js";
7
7
 
8
8
  // commands/create.ts
9
9
  import fs from "fs";
@@ -367,4 +367,4 @@ export function POST(_request: Request) {
367
367
  export {
368
368
  createCommand
369
369
  };
370
- //# sourceMappingURL=create-AWDG24NS.js.map
370
+ //# sourceMappingURL=create-6MJ6XJUZ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  log,
3
3
  showBanner
4
- } from "./chunk-WOZEFISO.js";
4
+ } from "./chunk-LVWCOKGH.js";
5
5
 
6
6
  // commands/dev.ts
7
7
  import fs from "fs";
@@ -34,4 +34,4 @@ async function devCommand() {
34
34
  export {
35
35
  devCommand
36
36
  };
37
- //# sourceMappingURL=dev-UNK6CBTQ.js.map
37
+ //# sourceMappingURL=dev-F4U7JP3L.js.map
@@ -2,7 +2,7 @@ import {
2
2
  VERSION,
3
3
  log,
4
4
  showBanner
5
- } from "./chunk-WOZEFISO.js";
5
+ } from "./chunk-LVWCOKGH.js";
6
6
 
7
7
  // commands/doctor.ts
8
8
  import fs from "fs";
@@ -44,4 +44,4 @@ export {
44
44
  doctorCommand,
45
45
  infoCommand
46
46
  };
47
- //# sourceMappingURL=doctor-MK7AEFZ5.js.map
47
+ //# sourceMappingURL=doctor-W7YN5LJJ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  capitalize,
4
4
  log,
5
5
  pascalCase
6
- } from "./chunk-WOZEFISO.js";
6
+ } from "./chunk-LVWCOKGH.js";
7
7
 
8
8
  // commands/generate.ts
9
9
  import fs from "fs";
@@ -198,4 +198,4 @@ export function use${pascalCase(n)}() {
198
198
  export {
199
199
  generateCommand
200
200
  };
201
- //# sourceMappingURL=generate-JKGPDHH7.js.map
201
+ //# sourceMappingURL=generate-TDHPAAGO.js.map
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  VERSION,
4
4
  log,
5
5
  showBanner
6
- } from "./chunk-WOZEFISO.js";
6
+ } from "./chunk-LVWCOKGH.js";
7
7
 
8
8
  // index.ts
9
9
  import pc from "picocolors";
@@ -45,38 +45,38 @@ async function main() {
45
45
  }
46
46
  switch (command) {
47
47
  case "create": {
48
- const { createCommand } = await import("./create-AWDG24NS.js");
48
+ const { createCommand } = await import("./create-6MJ6XJUZ.js");
49
49
  await createCommand(args[1]);
50
50
  break;
51
51
  }
52
52
  case "dev": {
53
- const { devCommand } = await import("./dev-UNK6CBTQ.js");
53
+ const { devCommand } = await import("./dev-F4U7JP3L.js");
54
54
  await devCommand();
55
55
  break;
56
56
  }
57
57
  case "build": {
58
- const { buildCommand } = await import("./build-GQNE2ERF.js");
58
+ const { buildCommand } = await import("./build-6O7F2YN4.js");
59
59
  await buildCommand();
60
60
  break;
61
61
  }
62
62
  case "start": {
63
- const { startCommand } = await import("./build-GQNE2ERF.js");
63
+ const { startCommand } = await import("./build-6O7F2YN4.js");
64
64
  await startCommand();
65
65
  break;
66
66
  }
67
67
  case "g":
68
68
  case "generate": {
69
- const { generateCommand } = await import("./generate-JKGPDHH7.js");
69
+ const { generateCommand } = await import("./generate-TDHPAAGO.js");
70
70
  await generateCommand(args[1], args[2]);
71
71
  break;
72
72
  }
73
73
  case "doctor": {
74
- const { doctorCommand } = await import("./doctor-MK7AEFZ5.js");
74
+ const { doctorCommand } = await import("./doctor-W7YN5LJJ.js");
75
75
  await doctorCommand();
76
76
  break;
77
77
  }
78
78
  case "info": {
79
- const { infoCommand } = await import("./doctor-MK7AEFZ5.js");
79
+ const { infoCommand } = await import("./doctor-W7YN5LJJ.js");
80
80
  await infoCommand();
81
81
  break;
82
82
  }
@@ -84,7 +84,7 @@ async function main() {
84
84
  log.info("Bundle analysis coming soon...");
85
85
  break;
86
86
  case "ui": {
87
- const { handleUiCommand } = await import("./ui-CWB2QIGT.js");
87
+ const { handleUiCommand } = await import("./ui-654YLVAQ.js");
88
88
  await handleUiCommand(args.slice(1));
89
89
  break;
90
90
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  log,
3
3
  writeFile
4
- } from "./chunk-WOZEFISO.js";
4
+ } from "./chunk-LVWCOKGH.js";
5
5
 
6
6
  // commands/ui.ts
7
7
  import fs from "fs";
@@ -77,4 +77,4 @@ Button.displayName = "Button";
77
77
  export {
78
78
  handleUiCommand
79
79
  };
80
- //# sourceMappingURL=ui-CWB2QIGT.js.map
80
+ //# sourceMappingURL=ui-654YLVAQ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamvelix/cli",
3
- "version": "5.2.6",
3
+ "version": "5.2.7",
4
4
  "description": "Velix v5 CLI — Create, develop, and build Velix applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../version.ts","../commands/shared.ts"],"sourcesContent":["/**\n * Velix CLI version — single source of truth.\n * Keep in sync with packages/velix/version.ts.\n */\nexport const VERSION = '5.2.3';\n","/**\n * Shared CLI utilities — logger, banner, helpers\n */\nimport pc from 'picocolors';\nimport fs from 'fs';\nimport path from 'path';\nimport { VERSION } from '../version.js';\n\nexport const log = {\n info: (msg: string) => console.log(` ${pc.cyan('ℹ')} ${msg}`),\n success: (msg: string) => console.log(` ${pc.green('✔')} ${msg}`),\n warn: (msg: string) => console.log(` ${pc.yellow('⚠')} ${pc.yellow(msg)}`),\n error: (msg: string) => console.log(` ${pc.red('✖')} ${pc.red(msg)}`),\n blank: () => console.log(''),\n};\n\nexport function showBanner() {\n console.log('');\n console.log(` ${pc.cyan('▲')} ${pc.bold('Velix')} ${pc.dim(`v${VERSION}`)}`);\n console.log(` ${pc.dim('──────────────────────────────────────────────')}`);\n console.log('');\n}\n\nexport function writeFile(filePath: string, content: string) {\n fs.mkdirSync(path.dirname(filePath), { recursive: true });\n fs.writeFileSync(filePath, content);\n}\n\nexport function capitalize(str: string): string {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function pascalCase(str: string): string {\n return str.split(/[-_\\/]/).map(s => capitalize(s)).join('');\n}\n\nexport function camelCase(str: string): string {\n const pascal = pascalCase(str);\n return pascal.charAt(0).toLowerCase() + pascal.slice(1);\n}\n"],"mappings":";AAIO,IAAM,UAAU;;;ACDvB,OAAO,QAAQ;AACf,OAAO,QAAQ;AACf,OAAO,UAAU;AAGV,IAAM,MAAM;AAAA,EACjB,MAAM,CAAC,QAAgB,QAAQ,IAAI,KAAK,GAAG,KAAK,QAAG,CAAC,IAAI,GAAG,EAAE;AAAA,EAC7D,SAAS,CAAC,QAAgB,QAAQ,IAAI,KAAK,GAAG,MAAM,QAAG,CAAC,IAAI,GAAG,EAAE;AAAA,EACjE,MAAM,CAAC,QAAgB,QAAQ,IAAI,KAAK,GAAG,OAAO,QAAG,CAAC,IAAI,GAAG,OAAO,GAAG,CAAC,EAAE;AAAA,EAC1E,OAAO,CAAC,QAAgB,QAAQ,IAAI,KAAK,GAAG,IAAI,QAAG,CAAC,IAAI,GAAG,IAAI,GAAG,CAAC,EAAE;AAAA,EACrE,OAAO,MAAM,QAAQ,IAAI,EAAE;AAC7B;AAEO,SAAS,aAAa;AAC3B,UAAQ,IAAI,EAAE;AACd,UAAQ,IAAI,KAAK,GAAG,KAAK,QAAG,CAAC,IAAI,GAAG,KAAK,OAAO,CAAC,IAAI,GAAG,IAAI,IAAI,OAAO,EAAE,CAAC,EAAE;AAC5E,UAAQ,IAAI,KAAK,GAAG,IAAI,sRAAgD,CAAC,EAAE;AAC3E,UAAQ,IAAI,EAAE;AAChB;AAEO,SAAS,UAAU,UAAkB,SAAiB;AAC3D,KAAG,UAAU,KAAK,QAAQ,QAAQ,GAAG,EAAE,WAAW,KAAK,CAAC;AACxD,KAAG,cAAc,UAAU,OAAO;AACpC;AAEO,SAAS,WAAW,KAAqB;AAC9C,SAAO,IAAI,OAAO,CAAC,EAAE,YAAY,IAAI,IAAI,MAAM,CAAC;AAClD;AAEO,SAAS,WAAW,KAAqB;AAC9C,SAAO,IAAI,MAAM,QAAQ,EAAE,IAAI,OAAK,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE;AAC5D;AAEO,SAAS,UAAU,KAAqB;AAC7C,QAAM,SAAS,WAAW,GAAG;AAC7B,SAAO,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;","names":[]}
File without changes