@layerzerolabs/vm-tooling 0.0.63 → 0.0.65
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/{DV6Y5YK3.cjs → 22KWM667.cjs} +12 -12
- package/dist/22KWM667.cjs.map +1 -0
- package/dist/3H446V2K.js +6 -0
- package/dist/3H446V2K.js.map +1 -0
- package/dist/{KFOKN2M2.cjs → 4QL6ZBHT.cjs} +4 -4
- package/dist/{KFOKN2M2.cjs.map → 4QL6ZBHT.cjs.map} +1 -1
- package/dist/{CJNBA2MN.js → 6YQKZHZ5.js} +81 -61
- package/dist/6YQKZHZ5.js.map +1 -0
- package/dist/7PSRMQMS.cjs +51 -0
- package/dist/7PSRMQMS.cjs.map +1 -0
- package/dist/{L6RZSSWB.cjs → BG3MG6IF.cjs} +15 -15
- package/dist/{L6RZSSWB.cjs.map → BG3MG6IF.cjs.map} +1 -1
- package/dist/{HSC5AWAD.cjs → BNMJ5QME.cjs} +3 -3
- package/dist/{HSC5AWAD.cjs.map → BNMJ5QME.cjs.map} +1 -1
- package/dist/{NX66I36H.js → DN5VBC3L.js} +17 -20
- package/dist/DN5VBC3L.js.map +1 -0
- package/dist/{KONCDJAL.cjs → ER722VGO.cjs} +14 -14
- package/dist/{KONCDJAL.cjs.map → ER722VGO.cjs.map} +1 -1
- package/dist/{TBDZQONT.js → GBR35MZ7.js} +3 -3
- package/dist/{TBDZQONT.js.map → GBR35MZ7.js.map} +1 -1
- package/dist/{WHAPJZ3U.cjs → GERMNIDG.cjs} +81 -60
- package/dist/GERMNIDG.cjs.map +1 -0
- package/dist/{45K4IRAA.js → JZHAF3IW.js} +5 -5
- package/dist/{45K4IRAA.js.map → JZHAF3IW.js.map} +1 -1
- package/dist/{UHPHZ6AE.js → KFXJIHI6.js} +3 -3
- package/dist/{UHPHZ6AE.js.map → KFXJIHI6.js.map} +1 -1
- package/dist/{FI3AZBYE.cjs → KPYTMXHJ.cjs} +4 -4
- package/dist/{FI3AZBYE.cjs.map → KPYTMXHJ.cjs.map} +1 -1
- package/dist/{SPOUVTPR.cjs → KTAMTSBK.cjs} +3 -3
- package/dist/{SPOUVTPR.cjs.map → KTAMTSBK.cjs.map} +1 -1
- package/dist/{JLKKDVCL.cjs → Q3ORCLJH.cjs} +17 -20
- package/dist/Q3ORCLJH.cjs.map +1 -0
- package/dist/{5APCIOW3.js → QPWLW7SN.js} +4 -4
- package/dist/QPWLW7SN.js.map +1 -0
- package/dist/R2U2WXP4.js +49 -0
- package/dist/R2U2WXP4.js.map +1 -0
- package/dist/{5QGJ7CFM.js → W5XVOHRB.js} +4 -4
- package/dist/{5QGJ7CFM.js.map → W5XVOHRB.js.map} +1 -1
- package/dist/{5JYEGDVK.js → XYNAO6GV.js} +4 -4
- package/dist/{5JYEGDVK.js.map → XYNAO6GV.js.map} +1 -1
- package/dist/{U4OLGGKH.js → Y3REZYJA.js} +3 -3
- package/dist/{U4OLGGKH.js.map → Y3REZYJA.js.map} +1 -1
- package/dist/Y7OWS2C2.cjs +8 -0
- package/dist/Y7OWS2C2.cjs.map +1 -0
- package/dist/commands/sui/build.cjs +20 -0
- package/dist/commands/sui/build.cjs.map +1 -0
- package/dist/commands/sui/build.d.ts +3 -0
- package/dist/commands/sui/build.d.ts.map +1 -0
- package/dist/commands/sui/build.js +11 -0
- package/dist/commands/sui/build.js.map +1 -0
- package/dist/commands/sui/index.cjs +21 -0
- package/dist/commands/sui/index.cjs.map +1 -0
- package/dist/commands/sui/index.d.ts +2 -0
- package/dist/commands/sui/index.d.ts.map +1 -0
- package/dist/commands/sui/index.js +12 -0
- package/dist/commands/sui/index.js.map +1 -0
- package/dist/config/index.cjs +8 -8
- package/dist/config/index.js +2 -2
- package/dist/config/tools.cjs +7 -3
- package/dist/config/tools.d.ts +2 -1
- package/dist/config/tools.d.ts.map +1 -1
- package/dist/config/tools.js +2 -2
- package/dist/config/version-matrices.cjs +2 -2
- package/dist/config/version-matrices.js +1 -1
- package/dist/core/index.cjs +9 -9
- package/dist/core/index.js +5 -5
- package/dist/core/tool-executor.cjs +6 -6
- package/dist/core/tool-executor.d.ts +7 -6
- package/dist/core/tool-executor.d.ts.map +1 -1
- package/dist/core/tool-executor.js +5 -5
- package/dist/core/version-resolver.cjs +6 -6
- package/dist/core/version-resolver.js +3 -3
- package/dist/display/formatters.cjs +4 -4
- package/dist/display/formatters.js +3 -3
- package/dist/display/index.cjs +7 -7
- package/dist/display/index.js +4 -4
- package/dist/display/version-display.cjs +6 -6
- package/dist/display/version-display.js +4 -4
- package/dist/index.cjs +25 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -8
- package/dist/index.js.map +1 -1
- package/dist/scripts/generate-github-matrix.cjs +9 -9
- package/dist/scripts/generate-github-matrix.js +5 -5
- package/dist/types/tool.cjs.map +1 -1
- package/dist/types/tool.d.ts +1 -1
- package/dist/types/tool.d.ts.map +1 -1
- package/dist/types/tool.js.map +1 -1
- package/dist/utils/docker.cjs +4 -4
- package/dist/utils/docker.js +2 -2
- package/dist/utils/finder.cjs +11 -11
- package/dist/utils/finder.js +2 -2
- package/dist/utils/version.cjs +6 -6
- package/dist/utils/version.js +2 -2
- package/dist/utils.cjs +5 -5
- package/dist/utils.js +2 -2
- package/package.json +5 -5
- package/dist/5APCIOW3.js.map +0 -1
- package/dist/CJNBA2MN.js.map +0 -1
- package/dist/DV6Y5YK3.cjs.map +0 -1
- package/dist/JLKKDVCL.cjs.map +0 -1
- package/dist/NX66I36H.js.map +0 -1
- package/dist/WHAPJZ3U.cjs.map +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../../Y7OWS2C2.cjs');
|
|
4
|
+
var _7PSRMQMS_cjs = require('../../7PSRMQMS.cjs');
|
|
5
|
+
require('../../22KWM667.cjs');
|
|
6
|
+
require('../../YNMZEV5X.cjs');
|
|
7
|
+
require('../../BG3MG6IF.cjs');
|
|
8
|
+
require('../../GERMNIDG.cjs');
|
|
9
|
+
require('../../Q3ORCLJH.cjs');
|
|
10
|
+
require('../../QYB5VPZE.cjs');
|
|
11
|
+
require('../../TQMUPD75.cjs');
|
|
12
|
+
require('../../U7VZULNU.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Object.defineProperty(exports, "build", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return _7PSRMQMS_cjs.build; }
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=index.cjs.map
|
|
21
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/sui/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '../../3H446V2K.js';
|
|
2
|
+
export { build } from '../../R2U2WXP4.js';
|
|
3
|
+
import '../../QPWLW7SN.js';
|
|
4
|
+
import '../../IWNVWC3I.js';
|
|
5
|
+
import '../../XYNAO6GV.js';
|
|
6
|
+
import '../../6YQKZHZ5.js';
|
|
7
|
+
import '../../DN5VBC3L.js';
|
|
8
|
+
import '../../PWDCAN6N.js';
|
|
9
|
+
import '../../3PEVFTZ5.js';
|
|
10
|
+
import '../../4RNWLMHM.js';
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/dist/config/index.cjs
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var GERMNIDG_cjs = require('../GERMNIDG.cjs');
|
|
4
|
+
var Q3ORCLJH_cjs = require('../Q3ORCLJH.cjs');
|
|
5
5
|
require('../U7VZULNU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "AWS_ACCOUNT_ID", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return GERMNIDG_cjs.AWS_ACCOUNT_ID; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "AWS_REGION", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return GERMNIDG_cjs.AWS_REGION; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ECR_IMAGE_DIRECTORY", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return GERMNIDG_cjs.ECR_IMAGE_DIRECTORY; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "ECR_REGISTRY", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return GERMNIDG_cjs.ECR_REGISTRY; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "tools", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return GERMNIDG_cjs.tools; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "versionMatrices", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return Q3ORCLJH_cjs.versionMatrices; }
|
|
32
32
|
});
|
|
33
33
|
//# sourceMappingURL=index.cjs.map
|
|
34
34
|
//# sourceMappingURL=index.cjs.map
|
package/dist/config/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AWS_ACCOUNT_ID, AWS_REGION, ECR_IMAGE_DIRECTORY, ECR_REGISTRY, tools } from '../
|
|
2
|
-
export { versionMatrices } from '../
|
|
1
|
+
export { AWS_ACCOUNT_ID, AWS_REGION, ECR_IMAGE_DIRECTORY, ECR_REGISTRY, tools } from '../6YQKZHZ5.js';
|
|
2
|
+
export { versionMatrices } from '../DN5VBC3L.js';
|
|
3
3
|
import '../4RNWLMHM.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/config/tools.cjs
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../
|
|
3
|
+
var GERMNIDG_cjs = require('../GERMNIDG.cjs');
|
|
4
|
+
require('../Q3ORCLJH.cjs');
|
|
5
5
|
require('../U7VZULNU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
Object.defineProperty(exports, "suiDefaultVolumes", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return GERMNIDG_cjs.suiDefaultVolumes; }
|
|
12
|
+
});
|
|
9
13
|
Object.defineProperty(exports, "tools", {
|
|
10
14
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
15
|
+
get: function () { return GERMNIDG_cjs.tools; }
|
|
12
16
|
});
|
|
13
17
|
//# sourceMappingURL=tools.cjs.map
|
|
14
18
|
//# sourceMappingURL=tools.cjs.map
|
package/dist/config/tools.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/config/tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAA+B,IAAI,
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/config/tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAA+B,IAAI,EAAW,aAAa,EAAE,MAAM,UAAU,CAAC;AA6B1F,eAAO,MAAM,iBAAiB,EAAE,SAAS,aAAa,EAarD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,SAAS,IAAI,EAkHhC,CAAC"}
|
package/dist/config/tools.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var Q3ORCLJH_cjs = require('../Q3ORCLJH.cjs');
|
|
4
4
|
require('../U7VZULNU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "versionMatrices", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return Q3ORCLJH_cjs.versionMatrices; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=version-matrices.cjs.map
|
|
13
13
|
//# sourceMappingURL=version-matrices.cjs.map
|
package/dist/core/index.cjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../GSHFVQRI.cjs');
|
|
4
|
-
var
|
|
4
|
+
var _22KWM667_cjs = require('../22KWM667.cjs');
|
|
5
5
|
require('../YNMZEV5X.cjs');
|
|
6
|
-
require('../
|
|
7
|
-
|
|
8
|
-
require('../
|
|
9
|
-
require('../JLKKDVCL.cjs');
|
|
6
|
+
var BG3MG6IF_cjs = require('../BG3MG6IF.cjs');
|
|
7
|
+
require('../GERMNIDG.cjs');
|
|
8
|
+
require('../Q3ORCLJH.cjs');
|
|
10
9
|
var QYB5VPZE_cjs = require('../QYB5VPZE.cjs');
|
|
10
|
+
require('../TQMUPD75.cjs');
|
|
11
11
|
require('../U7VZULNU.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "executeToolCommand", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return _22KWM667_cjs.executeToolCommand; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "extractUserVersions", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return BG3MG6IF_cjs.extractUserVersions; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "resolveToolVersion", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return BG3MG6IF_cjs.resolveToolVersion; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resolveTypeVersions", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return BG3MG6IF_cjs.resolveTypeVersions; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "findBestCompatibleCombination", {
|
|
32
32
|
enumerable: true,
|
package/dist/core/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '../OAO7CCJW.js';
|
|
2
|
-
export { executeToolCommand } from '../
|
|
2
|
+
export { executeToolCommand } from '../QPWLW7SN.js';
|
|
3
3
|
import '../IWNVWC3I.js';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import '../
|
|
7
|
-
import '../NX66I36H.js';
|
|
4
|
+
export { extractUserVersions, resolveToolVersion, resolveTypeVersions } from '../XYNAO6GV.js';
|
|
5
|
+
import '../6YQKZHZ5.js';
|
|
6
|
+
import '../DN5VBC3L.js';
|
|
8
7
|
export { findBestCompatibleCombination } from '../PWDCAN6N.js';
|
|
8
|
+
import '../3PEVFTZ5.js';
|
|
9
9
|
import '../4RNWLMHM.js';
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _22KWM667_cjs = require('../22KWM667.cjs');
|
|
4
4
|
require('../YNMZEV5X.cjs');
|
|
5
|
-
require('../
|
|
6
|
-
require('../
|
|
7
|
-
require('../
|
|
8
|
-
require('../JLKKDVCL.cjs');
|
|
5
|
+
require('../BG3MG6IF.cjs');
|
|
6
|
+
require('../GERMNIDG.cjs');
|
|
7
|
+
require('../Q3ORCLJH.cjs');
|
|
9
8
|
require('../QYB5VPZE.cjs');
|
|
9
|
+
require('../TQMUPD75.cjs');
|
|
10
10
|
require('../U7VZULNU.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "executeToolCommand", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return _22KWM667_cjs.executeToolCommand; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=tool-executor.cjs.map
|
|
19
19
|
//# sourceMappingURL=tool-executor.cjs.map
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import type { EnvironmentVariable, VolumeMapping } from '../types';
|
|
2
|
-
|
|
3
|
-
* Enhanced tool command execution using the new version compatibility matrix system
|
|
4
|
-
*/
|
|
5
|
-
export declare function executeToolCommand(command: string, args: string[], options: {
|
|
2
|
+
export interface ToolCommandExecutionOptions {
|
|
6
3
|
cwd: string;
|
|
7
|
-
volumes: VolumeMapping[];
|
|
4
|
+
volumes: readonly VolumeMapping[];
|
|
8
5
|
customEntrypoint?: string;
|
|
9
6
|
env: EnvironmentVariable[];
|
|
10
7
|
script?: string;
|
|
11
8
|
[key: string]: unknown;
|
|
12
9
|
publish?: string;
|
|
13
|
-
}
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Enhanced tool command execution using the new version compatibility matrix system
|
|
13
|
+
*/
|
|
14
|
+
export declare function executeToolCommand(command: string, args: string[], options: ToolCommandExecutionOptions): Promise<void>;
|
|
14
15
|
//# sourceMappingURL=tool-executor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-executor.d.ts","sourceRoot":"","sources":["../../src/core/tool-executor.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,mBAAmB,EAAW,aAAa,EAAE,MAAM,UAAU,CAAC;AA4D5E
|
|
1
|
+
{"version":3,"file":"tool-executor.d.ts","sourceRoot":"","sources":["../../src/core/tool-executor.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,mBAAmB,EAAW,aAAa,EAAE,MAAM,UAAU,CAAC;AA4D5E,MAAM,WAAW,2BAA2B;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,SAAS,aAAa,EAAE,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,GAAG,EAAE,mBAAmB,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACpC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,EAAE,2BAA2B,GACrC,OAAO,CAAC,IAAI,CAAC,CA2Jf"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { executeToolCommand } from '../
|
|
1
|
+
export { executeToolCommand } from '../QPWLW7SN.js';
|
|
2
2
|
import '../IWNVWC3I.js';
|
|
3
|
-
import '../
|
|
4
|
-
import '../
|
|
5
|
-
import '../
|
|
6
|
-
import '../NX66I36H.js';
|
|
3
|
+
import '../XYNAO6GV.js';
|
|
4
|
+
import '../6YQKZHZ5.js';
|
|
5
|
+
import '../DN5VBC3L.js';
|
|
7
6
|
import '../PWDCAN6N.js';
|
|
7
|
+
import '../3PEVFTZ5.js';
|
|
8
8
|
import '../4RNWLMHM.js';
|
|
9
9
|
//# sourceMappingURL=tool-executor.js.map
|
|
10
10
|
//# sourceMappingURL=tool-executor.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../
|
|
5
|
-
require('../
|
|
3
|
+
var BG3MG6IF_cjs = require('../BG3MG6IF.cjs');
|
|
4
|
+
require('../GERMNIDG.cjs');
|
|
5
|
+
require('../Q3ORCLJH.cjs');
|
|
6
6
|
require('../QYB5VPZE.cjs');
|
|
7
7
|
require('../U7VZULNU.cjs');
|
|
8
8
|
|
|
@@ -10,15 +10,15 @@ require('../U7VZULNU.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "extractUserVersions", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return BG3MG6IF_cjs.extractUserVersions; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "resolveToolVersion", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return BG3MG6IF_cjs.resolveToolVersion; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "resolveTypeVersions", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return BG3MG6IF_cjs.resolveTypeVersions; }
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=version-resolver.cjs.map
|
|
24
24
|
//# sourceMappingURL=version-resolver.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { extractUserVersions, resolveToolVersion, resolveTypeVersions } from '../
|
|
2
|
-
import '../
|
|
3
|
-
import '../
|
|
1
|
+
export { extractUserVersions, resolveToolVersion, resolveTypeVersions } from '../XYNAO6GV.js';
|
|
2
|
+
import '../6YQKZHZ5.js';
|
|
3
|
+
import '../DN5VBC3L.js';
|
|
4
4
|
import '../PWDCAN6N.js';
|
|
5
5
|
import '../4RNWLMHM.js';
|
|
6
6
|
//# sourceMappingURL=version-resolver.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../
|
|
5
|
-
require('../
|
|
3
|
+
var KPYTMXHJ_cjs = require('../KPYTMXHJ.cjs');
|
|
4
|
+
require('../GERMNIDG.cjs');
|
|
5
|
+
require('../Q3ORCLJH.cjs');
|
|
6
6
|
require('../U7VZULNU.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "formatVersionCombination", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return KPYTMXHJ_cjs.formatVersionCombination; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=formatters.cjs.map
|
|
15
15
|
//# sourceMappingURL=formatters.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { formatVersionCombination } from '../
|
|
2
|
-
import '../
|
|
3
|
-
import '../
|
|
1
|
+
export { formatVersionCombination } from '../KFXJIHI6.js';
|
|
2
|
+
import '../6YQKZHZ5.js';
|
|
3
|
+
import '../DN5VBC3L.js';
|
|
4
4
|
import '../4RNWLMHM.js';
|
|
5
5
|
//# sourceMappingURL=formatters.js.map
|
|
6
6
|
//# sourceMappingURL=formatters.js.map
|
package/dist/display/index.cjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../CYUSPBTH.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../
|
|
7
|
-
require('../
|
|
4
|
+
var ER722VGO_cjs = require('../ER722VGO.cjs');
|
|
5
|
+
var KPYTMXHJ_cjs = require('../KPYTMXHJ.cjs');
|
|
6
|
+
require('../GERMNIDG.cjs');
|
|
7
|
+
require('../Q3ORCLJH.cjs');
|
|
8
8
|
require('../U7VZULNU.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "displayToolVersionInfo", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return ER722VGO_cjs.displayToolVersionInfo; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "displayVersionCombinations", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return ER722VGO_cjs.displayVersionCombinations; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "formatVersionCombination", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return KPYTMXHJ_cjs.formatVersionCombination; }
|
|
23
23
|
});
|
|
24
24
|
//# sourceMappingURL=index.cjs.map
|
|
25
25
|
//# sourceMappingURL=index.cjs.map
|
package/dist/display/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../7BFNUKIW.js';
|
|
2
|
-
export { displayToolVersionInfo, displayVersionCombinations } from '../
|
|
3
|
-
export { formatVersionCombination } from '../
|
|
4
|
-
import '../
|
|
5
|
-
import '../
|
|
2
|
+
export { displayToolVersionInfo, displayVersionCombinations } from '../JZHAF3IW.js';
|
|
3
|
+
export { formatVersionCombination } from '../KFXJIHI6.js';
|
|
4
|
+
import '../6YQKZHZ5.js';
|
|
5
|
+
import '../DN5VBC3L.js';
|
|
6
6
|
import '../4RNWLMHM.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../
|
|
5
|
-
require('../
|
|
6
|
-
require('../
|
|
3
|
+
var ER722VGO_cjs = require('../ER722VGO.cjs');
|
|
4
|
+
require('../KPYTMXHJ.cjs');
|
|
5
|
+
require('../GERMNIDG.cjs');
|
|
6
|
+
require('../Q3ORCLJH.cjs');
|
|
7
7
|
require('../U7VZULNU.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "displayToolVersionInfo", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return ER722VGO_cjs.displayToolVersionInfo; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "displayVersionCombinations", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return ER722VGO_cjs.displayVersionCombinations; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=version-display.cjs.map
|
|
20
20
|
//# sourceMappingURL=version-display.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { displayToolVersionInfo, displayVersionCombinations } from '../
|
|
2
|
-
import '../
|
|
3
|
-
import '../
|
|
4
|
-
import '../
|
|
1
|
+
export { displayToolVersionInfo, displayVersionCombinations } from '../JZHAF3IW.js';
|
|
2
|
+
import '../KFXJIHI6.js';
|
|
3
|
+
import '../6YQKZHZ5.js';
|
|
4
|
+
import '../DN5VBC3L.js';
|
|
5
5
|
import '../4RNWLMHM.js';
|
|
6
6
|
//# sourceMappingURL=version-display.js.map
|
|
7
7
|
//# sourceMappingURL=version-display.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./FKPK53TD.cjs');
|
|
4
|
+
require('./Y7OWS2C2.cjs');
|
|
5
|
+
var _7PSRMQMS_cjs = require('./7PSRMQMS.cjs');
|
|
4
6
|
var DPCW4JIV_cjs = require('./DPCW4JIV.cjs');
|
|
5
7
|
require('./CYUSPBTH.cjs');
|
|
6
|
-
var
|
|
7
|
-
require('./
|
|
8
|
+
var ER722VGO_cjs = require('./ER722VGO.cjs');
|
|
9
|
+
require('./KPYTMXHJ.cjs');
|
|
8
10
|
require('./GSHFVQRI.cjs');
|
|
9
|
-
var
|
|
11
|
+
var _22KWM667_cjs = require('./22KWM667.cjs');
|
|
10
12
|
require('./YNMZEV5X.cjs');
|
|
11
|
-
require('./
|
|
12
|
-
require('./
|
|
13
|
-
|
|
14
|
-
require('./JLKKDVCL.cjs');
|
|
13
|
+
require('./BG3MG6IF.cjs');
|
|
14
|
+
var GERMNIDG_cjs = require('./GERMNIDG.cjs');
|
|
15
|
+
require('./Q3ORCLJH.cjs');
|
|
15
16
|
require('./QYB5VPZE.cjs');
|
|
17
|
+
require('./TQMUPD75.cjs');
|
|
16
18
|
var U7VZULNU_cjs = require('./U7VZULNU.cjs');
|
|
17
19
|
var commander = require('commander');
|
|
18
20
|
var fs = require('fs');
|
|
@@ -31,7 +33,7 @@ async function run() {
|
|
|
31
33
|
const program = new commander.Command();
|
|
32
34
|
program.name("lz-tool").description("\u{1F680} LayerZero VM tooling with intelligent version management\n\nUsage pattern:\n lz-tool [global-options] <tool> [tool-args...]\n\nExamples:\n lz-tool -e bash sui --help\n lz-tool --sui-version 1.38.0 sui client\n\nNote: All lz-tool options must appear BEFORE the tool name.").version("1.0.0").enablePositionalOptions();
|
|
33
35
|
if (process__default.default.argv.includes("--list-versions")) {
|
|
34
|
-
|
|
36
|
+
ER722VGO_cjs.displayVersionCombinations();
|
|
35
37
|
return;
|
|
36
38
|
}
|
|
37
39
|
program.option("-c, --cwd <path>", "Current working directory", (input) => {
|
|
@@ -78,21 +80,21 @@ async function run() {
|
|
|
78
80
|
});
|
|
79
81
|
return previous;
|
|
80
82
|
}, []).option("-p, --publish <host_port:container_port>", "Publish a container's port(s) to the host");
|
|
81
|
-
for (const tool of
|
|
83
|
+
for (const tool of GERMNIDG_cjs.tools) {
|
|
82
84
|
const optionFlag = `--${tool.name}-version <version>`;
|
|
83
|
-
const defaultVersion =
|
|
84
|
-
const supportedVersions =
|
|
85
|
+
const defaultVersion = GERMNIDG_cjs.getToolDefaultVersion(tool.name);
|
|
86
|
+
const supportedVersions = GERMNIDG_cjs.getToolSupportedVersions(tool.name);
|
|
85
87
|
const description = `Specify ${tool.name} version (default: ${defaultVersion}, supported: ${supportedVersions.join(", ")})`;
|
|
86
88
|
program.option(optionFlag, description);
|
|
87
89
|
}
|
|
88
90
|
program.option("--list-versions", "Display all supported version combinations and exit");
|
|
89
|
-
program.command("version-info <tool>").description("Display detailed version information for a specific tool").action((toolName) =>
|
|
90
|
-
for (const tool of
|
|
91
|
+
program.command("version-info <tool>").description("Display detailed version information for a specific tool").action((toolName) => ER722VGO_cjs.displayToolVersionInfo(toolName));
|
|
92
|
+
for (const tool of GERMNIDG_cjs.tools) {
|
|
91
93
|
program.command(tool.name, {
|
|
92
94
|
isDefault: false
|
|
93
95
|
}).description(`Run ${tool.name} with version checking`).passThroughOptions(true).allowUnknownOption().helpOption(false).argument("[args...]", "Arguments to pass to the tool").action(async (args) => {
|
|
94
96
|
const globalOptions = program.opts();
|
|
95
|
-
await
|
|
97
|
+
await _22KWM667_cjs.executeToolCommand(tool.name, args, {
|
|
96
98
|
cwd: globalOptions.cwd ?? process__default.default.cwd(),
|
|
97
99
|
volumes: globalOptions.volume,
|
|
98
100
|
...globalOptions
|
|
@@ -100,7 +102,15 @@ async function run() {
|
|
|
100
102
|
});
|
|
101
103
|
}
|
|
102
104
|
const extra = program.command("extra").description("Extra commands for VM tooling");
|
|
103
|
-
extra.command("starknet").command("build-typescript-sdk").description(
|
|
105
|
+
extra.command("starknet").command("build-typescript-sdk").description("Generate TypeScript SDK for Starknet").argument("<package-name>", "Scarb package name").argument("<target-directory>", "Scarb target directory").argument("<src-directory>", "TypeScript source directory").action(DPCW4JIV_cjs.buildTypescriptSdk);
|
|
106
|
+
extra.command("sui").command("build").description("Build Sui contracts with shared dependency and configuration Docker volumes").argument("[args...]", "Arguments to pass to `sui move build` command").passThroughOptions(true).allowUnknownOption().action(async (args) => {
|
|
107
|
+
const options = program.opts();
|
|
108
|
+
await _7PSRMQMS_cjs.build(args, {
|
|
109
|
+
...options,
|
|
110
|
+
cwd: options.cwd ?? process__default.default.cwd(),
|
|
111
|
+
volumes: options.volume
|
|
112
|
+
});
|
|
113
|
+
});
|
|
104
114
|
await program.parseAsync();
|
|
105
115
|
}
|
|
106
116
|
U7VZULNU_cjs.__name(run, "run");
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":["init_cjs_shims","run","program","Command","name","description","version","enablePositionalOptions","process","argv","includes","displayVersionCombinations","option","input","Error","path","isAbsolute","fs","existsSync","statSync","isDirectory","previous","valueParts","split","length","value","join","push","type","hostPath","containerPath","undefined","tool","tools","optionFlag","defaultVersion","getToolDefaultVersion","supportedVersions","getToolSupportedVersions","command","action","toolName","displayToolVersionInfo","isDefault","passThroughOptions","allowUnknownOption","helpOption","argument","args","globalOptions","opts","executeToolCommand","cwd","volumes","volume","extra","buildTypescriptSdk","parseAsync","main","__name","error","console","exit"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAAA,2BAAA,EAAA;AAoBA,eAAeC,GAAAA,GAAAA;AACX,EAAA,MAAMC,OAAAA,GAAU,IAAIC,iBAAAA,EAAAA;AAEpBD,EAAAA,OAAAA,CACKE,IAAAA,CAAK,SAAA,CAAA,CACLC,WAAAA,CACG,6RASI,CAAA,CAEPC,OAAAA,CAAQ,OAAA,CAAA,CACRC,uBAAAA,EAAuB;AAG5B,EAAA,IAAIC,wBAAAA,CAAQC,IAAAA,CAAKC,QAAAA,CAAS,iBAAA,CAAA,EAAoB;AAC1CC,IAAAA,uCAAAA,EAAAA;AACA,IAAA;AACJ,EAAA;AAGAT,EAAAA,OAAAA,CACKU,MAAAA,CAAO,kBAAA,EAAoB,2BAAA,EAA6B,CAACC,KAAAA,KAAAA;AACtD,IAAA,IAAI,OAAOA,UAAU,QAAA,EAAU;AAC3B,MAAA,MAAM,IAAIC,MAAM,2BAAA,CAAA;AACpB,IAAA;AAEA,IAAA,IAAI,CAACC,qBAAAA,CAAKC,UAAAA,CAAWH,KAAAA,CAAAA,EAAQ;AACzB,MAAA,MAAM,IAAIC,MAAM,0CAAA,CAAA;AACpB,IAAA;AAEA,IAAA,IAAI,CAACG,mBAAAA,CAAGC,UAAAA,CAAWL,KAAAA,CAAAA,EAAQ;AACvB,MAAA,MAAM,IAAIC,MAAM,oBAAA,CAAA;AACpB,IAAA;AAEA,IA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vC,EAAA,MAAMtD,QAAQuD,UAAAA,EAAU;AAC5B;AAvJexD,mBAAAA,CAAAA,GAAAA,EAAAA,KAAAA,CAAAA;AAyJR,IAAMyD,uBAAOC,mBAAA,CAAA,YAAA;AAChB,EAAA,IAAI;AACA,IAAA,MAAM1D,GAAAA,EAAAA;AACV,EAAA,CAAA,CAAA,OAAS2D,KAAAA,EAAO;AACZC,IAAAA,OAAAA,CAAQD,KAAAA,CAAM,mCAA8BA,KAAAA,CAAAA;AAC5CpD,IAAAA,wBAAAA,CAAQsD,KAAK,CAAA,CAAA;AACjB,EAAA;AACJ,CAAA,EAPoB,MAAA","file":"index.cjs","sourcesContent":["import { Command } from 'commander';\nimport fs from 'node:fs';\nimport path from 'node:path';\nimport process from 'node:process';\n\nimport * as starknet from './commands/starknet';\nimport { tools } from './config';\nimport { executeToolCommand } from './core';\nimport { displayToolVersionInfo, displayVersionCombinations } from './display';\nimport type { EnvironmentVariable, VolumeMapping } from './types';\nimport { getToolDefaultVersion, getToolSupportedVersions } from './utils/finder';\n\ninterface GlobalOptions {\n cwd?: string;\n volume: VolumeMapping[];\n env: EnvironmentVariable[];\n script?: string;\n customEntrypoint?: string;\n}\n\nasync function run(): Promise<void> {\n const program = new Command();\n\n program\n .name('lz-tool')\n .description(\n '🚀 LayerZero VM tooling with intelligent version management\\n' +\n '\\n' +\n 'Usage pattern:\\n' +\n ' lz-tool [global-options] <tool> [tool-args...]\\n' +\n '\\n' +\n 'Examples:\\n' +\n ' lz-tool -e bash sui --help\\n' +\n ' lz-tool --sui-version 1.38.0 sui client\\n' +\n '\\n' +\n 'Note: All lz-tool options must appear BEFORE the tool name.',\n )\n .version('1.0.0')\n .enablePositionalOptions(); // Required for passThroughOptions to work\n\n // Check for --list-versions before parsing to avoid help display\n if (process.argv.includes('--list-versions')) {\n displayVersionCombinations();\n return;\n }\n\n // Add global options\n program\n .option('-c, --cwd <path>', 'Current working directory', (input: string) => {\n if (typeof input !== 'string') {\n throw new Error('cwd flag must be a string');\n }\n\n if (!path.isAbsolute(input)) {\n throw new Error('cwd must be an absolute path if provided');\n }\n\n if (!fs.existsSync(input)) {\n throw new Error('cwd does not exist');\n }\n\n if (!fs.statSync(input).isDirectory()) {\n throw new Error('cwd must be a directory');\n }\n\n return input;\n })\n .option(\n '-e, --custom-entrypoint <entrypoint>',\n 'Override the default Docker entrypoint for the tool',\n )\n .option(\n '--script <script>',\n 'Execute a custom script using bash -c in the Docker container (e.g., --script \"npm install && npm test\")',\n )\n .option(\n '--env <name=value>',\n 'Set environment variables for Docker container (e.g., --env NODE_ENV=production)',\n (input: string, previous: EnvironmentVariable[]) => {\n const [name, ...valueParts] = input.split('=');\n if (name === '' || valueParts.length === 0) {\n throw new Error(\n `Invalid environment variable format: ${input}. Use --env NAME=VALUE`,\n );\n }\n const value = valueParts.join('='); // Handle values that contain '='\n previous.push({ name, value } satisfies EnvironmentVariable);\n return previous;\n },\n [],\n )\n .option(\n '-v, --volume <type:hostPath:containerPath[:name]>',\n 'Volume mappings in the format type:hostPath:containerPath[:name] (e.g., host:/host/path:/container/path or isolate::/container/path:volumeName)',\n (input: string, previous: VolumeMapping[]) => {\n const [type, hostPath, containerPath, name] = input.split(':');\n if (type !== 'host' && type !== 'isolate') {\n throw new Error(`Invalid volume type: ${type}`);\n }\n\n if (type === 'host' && (hostPath === undefined || hostPath === '')) {\n throw new Error(`Host path is required for volume type 'host'`);\n }\n\n if (containerPath === undefined || containerPath === '') {\n throw new Error(`Container path is required`);\n }\n previous.push({ type, hostPath, containerPath, name } satisfies VolumeMapping);\n return previous;\n },\n [],\n )\n .option(\n '-p, --publish <host_port:container_port>',\n \"Publish a container's port(s) to the host\",\n );\n\n // Add version options for each tool dynamically\n for (const tool of tools) {\n const optionFlag = `--${tool.name}-version <version>`;\n const defaultVersion = getToolDefaultVersion(tool.name);\n const supportedVersions = getToolSupportedVersions(tool.name);\n const description = `Specify ${tool.name} version (default: ${defaultVersion}, supported: ${supportedVersions.join(', ')})`;\n\n program.option(optionFlag, description);\n }\n\n // Add utility options\n program.option('--list-versions', 'Display all supported version combinations and exit');\n\n // Add version info command\n program\n .command('version-info <tool>')\n .description('Display detailed version information for a specific tool')\n .action((toolName: string) => displayToolVersionInfo(toolName));\n\n // Dynamically add commands for each supported tool\n for (const tool of tools) {\n // Don't add any options to the subcommand level.\n // All lz-tool options must be specified before the subcommand.\n program\n .command(tool.name, { isDefault: false })\n .description(`Run ${tool.name} with version checking`)\n .passThroughOptions(true) // Pass through all options after the subcommand\n .allowUnknownOption()\n .helpOption(false) // Disable automatic help option to pass --help to the tool\n .argument('[args...]', 'Arguments to pass to the tool')\n .action(async (args: string[]) => {\n // Get global options (specified before the subcommand)\n const globalOptions = program.opts<GlobalOptions>();\n\n await executeToolCommand(tool.name, args, {\n cwd: globalOptions.cwd ?? process.cwd(),\n volumes: globalOptions.volume,\n ...globalOptions,\n });\n });\n }\n\n const extra = program.command('extra').description('Extra commands for VM tooling');\n\n extra\n .command('starknet')\n .command('build-typescript-sdk')\n .description(`Generate TypeScript SDK for Starknet`)\n .argument('<package-name>', 'Scarb package name')\n .argument('<target-directory>', 'Scarb target directory')\n .argument('<src-directory>', 'TypeScript source directory')\n .action(starknet.buildTypescriptSdk);\n\n await program.parseAsync();\n}\n\nexport const main = async (): Promise<void> => {\n try {\n await run();\n } catch (error) {\n console.error('❌ VM tool execution failed', error);\n process.exit(1);\n }\n};\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["init_cjs_shims","run","program","Command","name","description","version","enablePositionalOptions","process","argv","includes","displayVersionCombinations","option","input","Error","path","isAbsolute","fs","existsSync","statSync","isDirectory","previous","valueParts","split","length","value","join","push","type","hostPath","containerPath","undefined","tool","tools","optionFlag","defaultVersion","getToolDefaultVersion","supportedVersions","getToolSupportedVersions","command","action","toolName","displayToolVersionInfo","isDefault","passThroughOptions","allowUnknownOption","helpOption","argument","args","globalOptions","opts","executeToolCommand","cwd","volumes","volume","extra","buildTypescriptSdk","options","build","parse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A,EAAM;MAClB,GAAGS,OAAAA;MACHL,GAAAA,EAAKK,OAAAA,CAAQL,GAAAA,IAAO5C,wBAAAA,CAAQ4C,GAAAA,EAAG;AAC/BC,MAAAA,OAAAA,EAASI,OAAAA,CAAQH;KACrB,CAAA;EACJ,CAAA,CAAA;AAEJ,EAAA,MAAMpD,QAAQyD,UAAAA,EAAU;AAC5B;AAxKe1D,mBAAAA,CAAAA,GAAAA,EAAAA,KAAAA,CAAAA;AA0KR,IAAM2D,uBAAOC,mBAAA,CAAA,YAAA;AAChB,EAAA,IAAI;AACA,IAAA,MAAM5D,GAAAA,EAAAA;AACV,EAAA,CAAA,CAAA,OAAS6D,KAAAA,EAAO;AACZC,IAAAA,OAAAA,CAAQD,KAAAA,CAAM,mCAA8BA,KAAAA,CAAAA;AAC5CtD,IAAAA,wBAAAA,CAAQwD,KAAK,CAAA,CAAA;AACjB,EAAA;AACJ,CAAA,EAPoB,MAAA","file":"index.cjs","sourcesContent":["import { Command } from 'commander';\nimport fs from 'node:fs';\nimport path from 'node:path';\nimport process from 'node:process';\n\nimport * as starknet from './commands/starknet';\nimport * as sui from './commands/sui';\nimport { tools } from './config';\nimport { executeToolCommand } from './core';\nimport { displayToolVersionInfo, displayVersionCombinations } from './display';\nimport type { EnvironmentVariable, VolumeMapping } from './types';\nimport { getToolDefaultVersion, getToolSupportedVersions } from './utils/finder';\n\ninterface GlobalOptions {\n cwd?: string;\n volume: VolumeMapping[];\n env: EnvironmentVariable[];\n script?: string;\n customEntrypoint?: string;\n}\n\nasync function run(): Promise<void> {\n const program = new Command();\n\n program\n .name('lz-tool')\n .description(\n '🚀 LayerZero VM tooling with intelligent version management\\n' +\n '\\n' +\n 'Usage pattern:\\n' +\n ' lz-tool [global-options] <tool> [tool-args...]\\n' +\n '\\n' +\n 'Examples:\\n' +\n ' lz-tool -e bash sui --help\\n' +\n ' lz-tool --sui-version 1.38.0 sui client\\n' +\n '\\n' +\n 'Note: All lz-tool options must appear BEFORE the tool name.',\n )\n .version('1.0.0')\n .enablePositionalOptions(); // Required for passThroughOptions to work\n\n // Check for --list-versions before parsing to avoid help display\n if (process.argv.includes('--list-versions')) {\n displayVersionCombinations();\n return;\n }\n\n // Add global options.\n program\n .option('-c, --cwd <path>', 'Current working directory', (input: string) => {\n if (typeof input !== 'string') {\n throw new Error('cwd flag must be a string');\n }\n\n if (!path.isAbsolute(input)) {\n throw new Error('cwd must be an absolute path if provided');\n }\n\n if (!fs.existsSync(input)) {\n throw new Error('cwd does not exist');\n }\n\n if (!fs.statSync(input).isDirectory()) {\n throw new Error('cwd must be a directory');\n }\n\n return input;\n })\n .option(\n '-e, --custom-entrypoint <entrypoint>',\n 'Override the default Docker entrypoint for the tool',\n )\n .option(\n '--script <script>',\n 'Execute a custom script using bash -c in the Docker container (e.g., --script \"npm install && npm test\")',\n )\n .option(\n '--env <name=value>',\n 'Set environment variables for Docker container (e.g., --env NODE_ENV=production)',\n (input: string, previous: EnvironmentVariable[]) => {\n const [name, ...valueParts] = input.split('=');\n if (name === '' || valueParts.length === 0) {\n throw new Error(\n `Invalid environment variable format: ${input}. Use --env NAME=VALUE`,\n );\n }\n const value = valueParts.join('='); // Handle values that contain '='\n previous.push({ name, value } satisfies EnvironmentVariable);\n return previous;\n },\n [],\n )\n .option(\n '-v, --volume <type:hostPath:containerPath[:name]>',\n 'Volume mappings in the format type:hostPath:containerPath[:name] (e.g., host:/host/path:/container/path or isolate::/container/path:volumeName)',\n (input: string, previous: VolumeMapping[]) => {\n const [type, hostPath, containerPath, name] = input.split(':');\n if (type !== 'host' && type !== 'isolate') {\n throw new Error(`Invalid volume type: ${type}`);\n }\n\n if (type === 'host' && (hostPath === undefined || hostPath === '')) {\n throw new Error(`Host path is required for volume type 'host'`);\n }\n\n if (containerPath === undefined || containerPath === '') {\n throw new Error(`Container path is required`);\n }\n previous.push({ type, hostPath, containerPath, name } satisfies VolumeMapping);\n return previous;\n },\n [],\n )\n .option(\n '-p, --publish <host_port:container_port>',\n \"Publish a container's port(s) to the host\",\n );\n\n // Add version options for each tool dynamically\n for (const tool of tools) {\n const optionFlag = `--${tool.name}-version <version>`;\n const defaultVersion = getToolDefaultVersion(tool.name);\n const supportedVersions = getToolSupportedVersions(tool.name);\n const description = `Specify ${tool.name} version (default: ${defaultVersion}, supported: ${supportedVersions.join(', ')})`;\n\n program.option(optionFlag, description);\n }\n\n // Add utility options\n program.option('--list-versions', 'Display all supported version combinations and exit');\n\n // Add version info command\n program\n .command('version-info <tool>')\n .description('Display detailed version information for a specific tool')\n .action((toolName: string) => displayToolVersionInfo(toolName));\n\n // Dynamically add commands for each supported tool\n for (const tool of tools) {\n // Don't add any options to the subcommand level.\n // All lz-tool options must be specified before the subcommand.\n program\n .command(tool.name, { isDefault: false })\n .description(`Run ${tool.name} with version checking`)\n .passThroughOptions(true) // Pass through all options after the subcommand\n .allowUnknownOption()\n .helpOption(false) // Disable automatic help option to pass --help to the tool\n .argument('[args...]', 'Arguments to pass to the tool')\n .action(async (args: string[]) => {\n // Get global options (specified before the subcommand)\n const globalOptions = program.opts<GlobalOptions>();\n\n await executeToolCommand(tool.name, args, {\n cwd: globalOptions.cwd ?? process.cwd(),\n volumes: globalOptions.volume,\n ...globalOptions,\n });\n });\n }\n\n const extra = program.command('extra').description('Extra commands for VM tooling');\n\n extra\n .command('starknet')\n .command('build-typescript-sdk')\n .description('Generate TypeScript SDK for Starknet')\n .argument('<package-name>', 'Scarb package name')\n .argument('<target-directory>', 'Scarb target directory')\n .argument('<src-directory>', 'TypeScript source directory')\n .action(starknet.buildTypescriptSdk);\n\n extra\n .command('sui')\n .command('build')\n .description('Build Sui contracts with shared dependency and configuration Docker volumes')\n .argument('[args...]', 'Arguments to pass to `sui move build` command')\n .passThroughOptions(true)\n .allowUnknownOption()\n .action(async (args: string[]) => {\n const options = program.opts<GlobalOptions>();\n\n await sui.build(args, {\n ...options,\n cwd: options.cwd ?? process.cwd(),\n volumes: options.volume,\n });\n });\n\n await program.parseAsync();\n}\n\nexport const main = async (): Promise<void> => {\n try {\n await run();\n } catch (error) {\n console.error('❌ VM tool execution failed', error);\n process.exit(1);\n }\n};\n"]}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA+LA,eAAO,MAAM,IAAI,QAAa,OAAO,CAAC,IAAI,CAOzC,CAAC"}
|