@veloxts/cli 0.3.2 → 0.3.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.d.ts +2 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -16,10 +16,8 @@
|
|
|
16
16
|
* velox --help
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
*/
|
|
22
|
-
export declare const CLI_VERSION = "0.1.0";
|
|
19
|
+
/** CLI package version */
|
|
20
|
+
export declare const CLI_VERSION: string;
|
|
23
21
|
/**
|
|
24
22
|
* Export command functions for programmatic usage
|
|
25
23
|
*/
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAQH,0BAA0B;AAC1B,eAAO,MAAM,WAAW,EAAE,MAA+C,CAAC;AAE1E;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D;;GAEG;AACH,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -16,10 +16,12 @@
|
|
|
16
16
|
* velox --help
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
import { createRequire } from 'node:module';
|
|
20
|
+
// Read version from package.json dynamically
|
|
21
|
+
const require = createRequire(import.meta.url);
|
|
22
|
+
const packageJson = require('../package.json');
|
|
23
|
+
/** CLI package version */
|
|
24
|
+
export const CLI_VERSION = packageJson.version ?? '0.0.0-unknown';
|
|
23
25
|
/**
|
|
24
26
|
* Export command functions for programmatic usage
|
|
25
27
|
*/
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,6CAA6C;AAC7C,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,CAAwB,CAAC;AAEtE,0BAA0B;AAC1B,MAAM,CAAC,MAAM,WAAW,GAAW,WAAW,CAAC,OAAO,IAAI,eAAe,CAAC;AAE1E;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D;;GAEG;AACH,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veloxts/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Developer tooling and CLI commands for VeloxTS framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"@clack/prompts": "0.11.0",
|
|
24
24
|
"picocolors": "1.1.1",
|
|
25
25
|
"tsx": "4.21.0",
|
|
26
|
-
"@veloxts/core": "0.3.
|
|
27
|
-
"@veloxts/router": "0.3.
|
|
28
|
-
"@veloxts/validation": "0.3.
|
|
29
|
-
"@veloxts/orm": "0.3.
|
|
30
|
-
"@veloxts/auth": "0.3.
|
|
26
|
+
"@veloxts/core": "0.3.3",
|
|
27
|
+
"@veloxts/router": "0.3.3",
|
|
28
|
+
"@veloxts/validation": "0.3.3",
|
|
29
|
+
"@veloxts/orm": "0.3.3",
|
|
30
|
+
"@veloxts/auth": "0.3.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "24.10.1",
|