@teamvelix/cli 5.3.4 → 5.3.5

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026-2030 Velix Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -2,7 +2,7 @@ import { createRequire } from 'module'; const require = createRequire(import.met
2
2
  import {
3
3
  log,
4
4
  showBanner
5
- } from "./chunk-LCJYRHLH.js";
5
+ } from "./chunk-PAUSXGWF.js";
6
6
 
7
7
  // commands/build.ts
8
8
  import fs from "fs";
@@ -64,4 +64,4 @@ export {
64
64
  buildCommand,
65
65
  startCommand
66
66
  };
67
- //# sourceMappingURL=build-RRUAQI7O.js.map
67
+ //# sourceMappingURL=build-54KS3AON.js.map
@@ -1,7 +1,7 @@
1
1
  import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
2
 
3
3
  // version.ts
4
- var VERSION = "5.3.4";
4
+ var VERSION = "5.3.5";
5
5
 
6
6
  // commands/shared.ts
7
7
  import pc from "picocolors";
@@ -44,4 +44,4 @@ export {
44
44
  pascalCase,
45
45
  camelCase
46
46
  };
47
- //# sourceMappingURL=chunk-LCJYRHLH.js.map
47
+ //# sourceMappingURL=chunk-PAUSXGWF.js.map
@@ -1 +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.3.4';\r\n\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,IAA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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.3.5';\r\n\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":[]}
@@ -4,7 +4,7 @@ import {
4
4
  log,
5
5
  showBanner,
6
6
  writeFile
7
- } from "./chunk-LCJYRHLH.js";
7
+ } from "./chunk-PAUSXGWF.js";
8
8
 
9
9
  // commands/create.ts
10
10
  import fs from "fs";
@@ -379,4 +379,4 @@ export function POST(_request: Request) {
379
379
  export {
380
380
  createCommand
381
381
  };
382
- //# sourceMappingURL=create-QOS2IG5A.js.map
382
+ //# sourceMappingURL=create-UWF6XCR3.js.map
@@ -2,7 +2,7 @@ import { createRequire } from 'module'; const require = createRequire(import.met
2
2
  import {
3
3
  log,
4
4
  showBanner
5
- } from "./chunk-LCJYRHLH.js";
5
+ } from "./chunk-PAUSXGWF.js";
6
6
 
7
7
  // commands/dev.ts
8
8
  import fs from "fs";
@@ -38,4 +38,4 @@ async function devCommand() {
38
38
  export {
39
39
  devCommand
40
40
  };
41
- //# sourceMappingURL=dev-DDIMJLGZ.js.map
41
+ //# sourceMappingURL=dev-HZLANTXK.js.map
@@ -3,7 +3,7 @@ import {
3
3
  VERSION,
4
4
  log,
5
5
  showBanner
6
- } from "./chunk-LCJYRHLH.js";
6
+ } from "./chunk-PAUSXGWF.js";
7
7
 
8
8
  // commands/doctor.ts
9
9
  import fs from "fs";
@@ -45,4 +45,4 @@ export {
45
45
  doctorCommand,
46
46
  infoCommand
47
47
  };
48
- //# sourceMappingURL=doctor-3ZDV25A2.js.map
48
+ //# sourceMappingURL=doctor-GBSK3EJ3.js.map
@@ -4,7 +4,7 @@ import {
4
4
  capitalize,
5
5
  log,
6
6
  pascalCase
7
- } from "./chunk-LCJYRHLH.js";
7
+ } from "./chunk-PAUSXGWF.js";
8
8
 
9
9
  // commands/generate.ts
10
10
  import fs from "fs";
@@ -199,4 +199,4 @@ export function use${pascalCase(n)}() {
199
199
  export {
200
200
  generateCommand
201
201
  };
202
- //# sourceMappingURL=generate-GVG7FJDW.js.map
202
+ //# sourceMappingURL=generate-MZ7LZO4K.js.map
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  VERSION,
5
5
  log,
6
6
  showBanner
7
- } from "./chunk-LCJYRHLH.js";
7
+ } from "./chunk-PAUSXGWF.js";
8
8
 
9
9
  // index.ts
10
10
  import pc from "picocolors";
@@ -47,38 +47,38 @@ async function main() {
47
47
  }
48
48
  switch (command) {
49
49
  case "create": {
50
- const { createCommand } = await import("./create-QOS2IG5A.js");
50
+ const { createCommand } = await import("./create-UWF6XCR3.js");
51
51
  await createCommand(args[1]);
52
52
  break;
53
53
  }
54
54
  case "dev": {
55
- const { devCommand } = await import("./dev-DDIMJLGZ.js");
55
+ const { devCommand } = await import("./dev-HZLANTXK.js");
56
56
  await devCommand();
57
57
  break;
58
58
  }
59
59
  case "build": {
60
- const { buildCommand } = await import("./build-RRUAQI7O.js");
60
+ const { buildCommand } = await import("./build-54KS3AON.js");
61
61
  await buildCommand();
62
62
  break;
63
63
  }
64
64
  case "start": {
65
- const { startCommand } = await import("./build-RRUAQI7O.js");
65
+ const { startCommand } = await import("./build-54KS3AON.js");
66
66
  await startCommand();
67
67
  break;
68
68
  }
69
69
  case "g":
70
70
  case "generate": {
71
- const { generateCommand } = await import("./generate-GVG7FJDW.js");
71
+ const { generateCommand } = await import("./generate-MZ7LZO4K.js");
72
72
  await generateCommand(args[1], args[2]);
73
73
  break;
74
74
  }
75
75
  case "doctor": {
76
- const { doctorCommand } = await import("./doctor-3ZDV25A2.js");
76
+ const { doctorCommand } = await import("./doctor-GBSK3EJ3.js");
77
77
  await doctorCommand();
78
78
  break;
79
79
  }
80
80
  case "info": {
81
- const { infoCommand } = await import("./doctor-3ZDV25A2.js");
81
+ const { infoCommand } = await import("./doctor-GBSK3EJ3.js");
82
82
  await infoCommand();
83
83
  break;
84
84
  }
@@ -86,12 +86,12 @@ async function main() {
86
86
  log.info("Bundle analysis coming soon...");
87
87
  break;
88
88
  case "pack": {
89
- const { packCommand } = await import("./pack-DHCJCDBT.js");
89
+ const { packCommand } = await import("./pack-OXFEH5L5.js");
90
90
  await packCommand(args.slice(1));
91
91
  break;
92
92
  }
93
93
  case "ui": {
94
- const { handleUiCommand } = await import("./ui-YJZUD3SH.js");
94
+ const { handleUiCommand } = await import("./ui-CFSX57E3.js");
95
95
  await handleUiCommand(args.slice(1));
96
96
  break;
97
97
  }
@@ -2,7 +2,7 @@ import { createRequire } from 'module'; const require = createRequire(import.met
2
2
  import {
3
3
  log,
4
4
  showBanner
5
- } from "./chunk-LCJYRHLH.js";
5
+ } from "./chunk-PAUSXGWF.js";
6
6
 
7
7
  // commands/pack.ts
8
8
  import pc from "picocolors";
@@ -33,4 +33,4 @@ async function packCommand(args) {
33
33
  export {
34
34
  packCommand
35
35
  };
36
- //# sourceMappingURL=pack-DHCJCDBT.js.map
36
+ //# sourceMappingURL=pack-OXFEH5L5.js.map
@@ -2,7 +2,7 @@ import { createRequire } from 'module'; const require = createRequire(import.met
2
2
  import {
3
3
  log,
4
4
  writeFile
5
- } from "./chunk-LCJYRHLH.js";
5
+ } from "./chunk-PAUSXGWF.js";
6
6
 
7
7
  // commands/ui.ts
8
8
  import fs from "fs";
@@ -78,4 +78,4 @@ Button.displayName = "Button";
78
78
  export {
79
79
  handleUiCommand
80
80
  };
81
- //# sourceMappingURL=ui-YJZUD3SH.js.map
81
+ //# sourceMappingURL=ui-CFSX57E3.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamvelix/cli",
3
- "version": "5.3.4",
3
+ "version": "5.3.5",
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",
@@ -12,13 +12,9 @@
12
12
  "dist",
13
13
  "assets"
14
14
  ],
15
- "scripts": {
16
- "build": "tsup",
17
- "dev": "tsup --watch"
18
- },
19
15
  "dependencies": {
20
- "@teamvelix/velix-core": "workspace:*",
21
- "@teamvelix/velix": "workspace:*",
16
+ "@teamvelix/velix-core": "^5.3.5",
17
+ "@teamvelix/velix": "^5.3.5",
22
18
  "ora": "^8.1.1",
23
19
  "picocolors": "^1.1.1",
24
20
  "prompts": "^2.4.2"
@@ -38,5 +34,9 @@
38
34
  },
39
35
  "publishConfig": {
40
36
  "access": "public"
37
+ },
38
+ "scripts": {
39
+ "build": "tsup",
40
+ "dev": "tsup --watch"
41
41
  }
42
- }
42
+ }
File without changes