@walkeros/cli 0.5.1-next.1 → 0.7.0-next.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.
@@ -0,0 +1,3 @@
1
+ /** CLI package version */
2
+ export declare const VERSION: string;
3
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AA0BA,0BAA0B;AAC1B,eAAO,MAAM,OAAO,EAAE,MAA8C,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { readFileSync } from 'fs';
2
+ import { fileURLToPath } from 'url';
3
+ import { dirname, join } from 'path';
4
+ const versionFilename = fileURLToPath(import.meta.url);
5
+ const versionDirname = dirname(versionFilename);
6
+ /**
7
+ * Find package.json in parent directories
8
+ * Handles both source (src/) and bundled (dist/) contexts
9
+ */
10
+ function findPackageJson() {
11
+ const paths = [
12
+ join(versionDirname, '../package.json'), // dist/ or src/
13
+ join(versionDirname, '../../package.json'), // src/core/ (not used, but safe)
14
+ ];
15
+ for (const p of paths) {
16
+ try {
17
+ return readFileSync(p, 'utf-8');
18
+ }
19
+ catch {
20
+ // Continue to next path
21
+ }
22
+ }
23
+ return JSON.stringify({ version: '0.0.0' });
24
+ }
25
+ /** CLI package version */
26
+ export const VERSION = JSON.parse(findPackageJson()).version;
27
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAErC,MAAM,eAAe,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACvD,MAAM,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAEhD;;;GAGG;AACH,SAAS,eAAe;IACtB,MAAM,KAAK,GAAG;QACZ,IAAI,CAAC,cAAc,EAAE,iBAAiB,CAAC,EAAE,gBAAgB;QACzD,IAAI,CAAC,cAAc,EAAE,oBAAoB,CAAC,EAAE,iCAAiC;KAC9E,CAAC;IACF,KAAK,MAAM,CAAC,IAAI,KAAK,EAAE,CAAC;QACtB,IAAI,CAAC;YACH,OAAO,YAAY,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;QAClC,CAAC;QAAC,MAAM,CAAC;YACP,wBAAwB;QAC1B,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;AAC9C,CAAC;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,OAAO,GAAW,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walkeros/cli",
3
- "version": "0.5.1-next.1",
3
+ "version": "0.7.0-next.0",
4
4
  "description": "walkerOS CLI - Bundle and deploy walkerOS components",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@walkeros/core": "^0.5.1-next.0",
37
- "@walkeros/docker": "0.3.1-next.0",
37
+ "@walkeros/docker": "0.7.0-next.0",
38
38
  "@walkeros/server-core": "0.5.1-next.0",
39
39
  "chalk": "^5.6.2",
40
40
  "commander": "^14.0.2",