@layerzerolabs/vm-tooling-stellar 0.2.57 → 0.2.59

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.
@@ -68,47 +68,12 @@ var tools = [
68
68
  }
69
69
  ];
70
70
  var images = {
71
- ["stellar:stellar-23.1.4"]: {
72
- name: "stellar",
73
- versions: {
74
- stellar: "23.1.4"
75
- }
76
- },
77
- ["stellar:stellar-23.1.4-patch-1"]: {
78
- name: "stellar",
79
- versions: {
80
- stellar: "23.1.4"
81
- },
82
- patch: 1
83
- },
84
- ["stellar:stellar-23.1.4-patch-3"]: {
85
- name: "stellar",
86
- versions: {
87
- stellar: "23.1.4"
88
- },
89
- patch: 3
90
- },
91
- ["stellar:stellar-23.1.4-patch-6"]: {
92
- name: "stellar",
93
- versions: {
94
- stellar: "23.1.4"
95
- },
96
- patch: 6
97
- },
98
- ["stellar:stellar-25.0.0"]: {
99
- name: "stellar",
100
- versions: {
101
- stellar: "25.0.0"
102
- },
103
- mirrorRegistries: [
104
- vmTooling.DockerRegistryMirror.PUBLIC_GAR
105
- ]
106
- },
107
- ["stellar:stellar-25.1.0"]: {
71
+ ["stellar:stellar-25.1.0-patch-1"]: {
108
72
  name: "stellar",
109
73
  versions: {
110
74
  stellar: "25.1.0"
111
75
  },
76
+ patch: 1,
112
77
  unreleased: true,
113
78
  mirrorRegistries: [
114
79
  vmTooling.DockerRegistryMirror.PUBLIC_GAR
@@ -118,7 +83,7 @@ var images = {
118
83
  var versionCombinations = [
119
84
  {
120
85
  images: {
121
- stellar: "stellar:stellar-25.1.0"
86
+ stellar: "stellar:stellar-25.1.0-patch-1"
122
87
  },
123
88
  description: "Latest stable release",
124
89
  stable: true
@@ -128,5 +93,5 @@ var versionCombinations = [
128
93
  exports.images = images;
129
94
  exports.tools = tools;
130
95
  exports.versionCombinations = versionCombinations;
131
- //# sourceMappingURL=MH5MGQNR.cjs.map
132
- //# sourceMappingURL=MH5MGQNR.cjs.map
96
+ //# sourceMappingURL=HPU7VYY7.cjs.map
97
+ //# sourceMappingURL=HPU7VYY7.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/config.ts"],"names":["init_cjs_shims","tools","name","preExecute","syncToolchain","defaultVolumes","type","containerPath","shared","hostPath","defaultEnv","value","images","versions","stellar","patch","unreleased","mirrorRegistries","DockerRegistryMirror","PUBLIC_GAR","versionCombinations","description","stable"],"mappings":";;;;;;;AAAAA,2BAAA,EAAA;AASO,IAAMC,KAAAA,GAAoC;AAC7C,EAAA;IACIC,IAAAA,EAAM,SAAA;IACNC,UAAAA,EAAYC,0BAAAA;IACZC,cAAAA,EAAgB;;;AAGZ,MAAA;QACIC,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,gBAAA;QACfL,IAAAA,EAAM,gBAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;AAEA,MAAA;QACIF,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,cAAA;QACfL,IAAAA,EAAM,eAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;;AAGA,MAAA;QACIF,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,eAAA;QACfL,IAAAA,EAAM,gBAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;AAEA,MAAA;QACIF,IAAAA,EAAM,MAAA;QACNC,aAAAA,EAAe,gBAAA;QACfE,QAAAA,EAAU;AACd;;IAEJC,UAAAA,EAAY;;AAER,MAAA;QAAER,IAAAA,EAAM,eAAA;QAAiBS,KAAAA,EAAO;AAAyB,OAAA;;AAEzD,MAAA;QAAET,IAAAA,EAAM,8CAAA;QAAgDS,KAAAA,EAAO;AAAQ,OAAA;AACvE,MAAA;QAAET,IAAAA,EAAM,+CAAA;QAAiDS,KAAAA,EAAO;AAAQ,OAAA;AACxE,MAAA;QACIT,IAAAA,EAAM,iDAAA;QACNS,KAAAA,EAAO;AACX,OAAA;AACA,MAAA;QACIT,IAAAA,EAAM,kDAAA;QACNS,KAAAA,EAAO;AACX;;AAER;;AAGG,IAAMC,MAAAA,GAAS;AAClB,EAAA,CAAC,gCAAA,GAAmC;IAChCV,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAC,KAAAA,EAAO,CAAA;IACPC,UAAAA,EAAY,IAAA;IACZC,gBAAAA,EAAkB;MAACC,8BAAAA,CAAqBC;;AAC5C;AACJ;AAIO,IAAMC,mBAAAA,GACT;AACI,EAAA;IACIR,MAAAA,EAAQ;MACJE,OAAAA,EAAS;AACb,KAAA;IACAO,WAAAA,EAAa,uBAAA;IACbC,MAAAA,EAAQ;AACZ","file":"HPU7VYY7.cjs","sourcesContent":["import {\n DockerRegistryMirror,\n type Image,\n type Tool,\n type VersionCombination,\n} from '@layerzerolabs/vm-tooling';\n\nimport { syncToolchain } from './commands/sync-toolchain';\n\nexport const tools: readonly [Tool, ...Tool[]] = [\n {\n name: 'stellar',\n preExecute: syncToolchain,\n defaultVolumes: [\n // NOTE: for configuration commands, you should never put it in your package.json#build or #test, since the config is locked for parallel builds\n // while common commands like contract build and binding generation are allowed since they are not writing to the config files\n {\n type: 'isolate',\n containerPath: '/cache/stellar',\n name: 'stellar-config',\n shared: true,\n },\n // safe to be unlocked as it is POSIX lock guarded\n {\n type: 'isolate',\n containerPath: '/cache/cargo',\n name: 'stellar-cargo',\n shared: true,\n },\n // shared across packages — toolchain is pre-synced via `sync-toolchain` (locked)\n // so concurrent reads from build/test/lint are safe\n {\n type: 'isolate',\n containerPath: '/cache/rustup',\n name: 'stellar-rustup',\n shared: true,\n },\n // safe as the wort case of corruption is cache miss, since it is key-based cache, concurrent writes will produce identical content\n {\n type: 'host',\n containerPath: '/cache/sccache',\n hostPath: '~/.sccache',\n },\n ],\n defaultEnv: [\n // sccache configuration\n { name: 'RUSTC_WRAPPER', value: '/usr/local/bin/sccache' },\n // mold linker for faster linking\n { name: 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER', value: 'clang' },\n { name: 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER', value: 'clang' },\n {\n name: 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS',\n value: '-C link-arg=-fuse-ld=mold',\n },\n {\n name: 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS',\n value: '-C link-arg=-fuse-ld=mold',\n },\n ],\n },\n];\n\nexport const images = {\n ['stellar:stellar-25.1.0-patch-1']: {\n name: 'stellar',\n versions: {\n stellar: '25.1.0',\n },\n patch: 1,\n unreleased: true,\n mirrorRegistries: [DockerRegistryMirror.PUBLIC_GAR],\n },\n} satisfies Record<string, Image>;\n\nexport type ImageId = keyof typeof images;\n\nexport const versionCombinations: [VersionCombination<ImageId>, ...VersionCombination<ImageId>[]] =\n [\n {\n images: {\n stellar: 'stellar:stellar-25.1.0-patch-1',\n },\n description: 'Latest stable release',\n stable: true,\n },\n ];\n"]}
@@ -66,47 +66,12 @@ var tools = [
66
66
  }
67
67
  ];
68
68
  var images = {
69
- ["stellar:stellar-23.1.4"]: {
70
- name: "stellar",
71
- versions: {
72
- stellar: "23.1.4"
73
- }
74
- },
75
- ["stellar:stellar-23.1.4-patch-1"]: {
76
- name: "stellar",
77
- versions: {
78
- stellar: "23.1.4"
79
- },
80
- patch: 1
81
- },
82
- ["stellar:stellar-23.1.4-patch-3"]: {
83
- name: "stellar",
84
- versions: {
85
- stellar: "23.1.4"
86
- },
87
- patch: 3
88
- },
89
- ["stellar:stellar-23.1.4-patch-6"]: {
90
- name: "stellar",
91
- versions: {
92
- stellar: "23.1.4"
93
- },
94
- patch: 6
95
- },
96
- ["stellar:stellar-25.0.0"]: {
97
- name: "stellar",
98
- versions: {
99
- stellar: "25.0.0"
100
- },
101
- mirrorRegistries: [
102
- DockerRegistryMirror.PUBLIC_GAR
103
- ]
104
- },
105
- ["stellar:stellar-25.1.0"]: {
69
+ ["stellar:stellar-25.1.0-patch-1"]: {
106
70
  name: "stellar",
107
71
  versions: {
108
72
  stellar: "25.1.0"
109
73
  },
74
+ patch: 1,
110
75
  unreleased: true,
111
76
  mirrorRegistries: [
112
77
  DockerRegistryMirror.PUBLIC_GAR
@@ -116,7 +81,7 @@ var images = {
116
81
  var versionCombinations = [
117
82
  {
118
83
  images: {
119
- stellar: "stellar:stellar-25.1.0"
84
+ stellar: "stellar:stellar-25.1.0-patch-1"
120
85
  },
121
86
  description: "Latest stable release",
122
87
  stable: true
@@ -124,5 +89,5 @@ var versionCombinations = [
124
89
  ];
125
90
 
126
91
  export { images, tools, versionCombinations };
127
- //# sourceMappingURL=ROHGQ63Y.js.map
128
- //# sourceMappingURL=ROHGQ63Y.js.map
92
+ //# sourceMappingURL=POLE3AKC.js.map
93
+ //# sourceMappingURL=POLE3AKC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/config.ts"],"names":["tools","name","preExecute","syncToolchain","defaultVolumes","type","containerPath","shared","hostPath","defaultEnv","value","images","versions","stellar","patch","unreleased","mirrorRegistries","DockerRegistryMirror","PUBLIC_GAR","versionCombinations","description","stable"],"mappings":";;;;;AAAA,cAAA,EAAA;AASO,IAAMA,KAAAA,GAAoC;AAC7C,EAAA;IACIC,IAAAA,EAAM,SAAA;IACNC,UAAAA,EAAYC,aAAAA;IACZC,cAAAA,EAAgB;;;AAGZ,MAAA;QACIC,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,gBAAA;QACfL,IAAAA,EAAM,gBAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;AAEA,MAAA;QACIF,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,cAAA;QACfL,IAAAA,EAAM,eAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;;AAGA,MAAA;QACIF,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,eAAA;QACfL,IAAAA,EAAM,gBAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;AAEA,MAAA;QACIF,IAAAA,EAAM,MAAA;QACNC,aAAAA,EAAe,gBAAA;QACfE,QAAAA,EAAU;AACd;;IAEJC,UAAAA,EAAY;;AAER,MAAA;QAAER,IAAAA,EAAM,eAAA;QAAiBS,KAAAA,EAAO;AAAyB,OAAA;;AAEzD,MAAA;QAAET,IAAAA,EAAM,8CAAA;QAAgDS,KAAAA,EAAO;AAAQ,OAAA;AACvE,MAAA;QAAET,IAAAA,EAAM,+CAAA;QAAiDS,KAAAA,EAAO;AAAQ,OAAA;AACxE,MAAA;QACIT,IAAAA,EAAM,iDAAA;QACNS,KAAAA,EAAO;AACX,OAAA;AACA,MAAA;QACIT,IAAAA,EAAM,kDAAA;QACNS,KAAAA,EAAO;AACX;;AAER;;AAGG,IAAMC,MAAAA,GAAS;AAClB,EAAA,CAAC,gCAAA,GAAmC;IAChCV,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAC,KAAAA,EAAO,CAAA;IACPC,UAAAA,EAAY,IAAA;IACZC,gBAAAA,EAAkB;MAACC,oBAAAA,CAAqBC;;AAC5C;AACJ;AAIO,IAAMC,mBAAAA,GACT;AACI,EAAA;IACIR,MAAAA,EAAQ;MACJE,OAAAA,EAAS;AACb,KAAA;IACAO,WAAAA,EAAa,uBAAA;IACbC,MAAAA,EAAQ;AACZ","file":"POLE3AKC.js","sourcesContent":["import {\n DockerRegistryMirror,\n type Image,\n type Tool,\n type VersionCombination,\n} from '@layerzerolabs/vm-tooling';\n\nimport { syncToolchain } from './commands/sync-toolchain';\n\nexport const tools: readonly [Tool, ...Tool[]] = [\n {\n name: 'stellar',\n preExecute: syncToolchain,\n defaultVolumes: [\n // NOTE: for configuration commands, you should never put it in your package.json#build or #test, since the config is locked for parallel builds\n // while common commands like contract build and binding generation are allowed since they are not writing to the config files\n {\n type: 'isolate',\n containerPath: '/cache/stellar',\n name: 'stellar-config',\n shared: true,\n },\n // safe to be unlocked as it is POSIX lock guarded\n {\n type: 'isolate',\n containerPath: '/cache/cargo',\n name: 'stellar-cargo',\n shared: true,\n },\n // shared across packages — toolchain is pre-synced via `sync-toolchain` (locked)\n // so concurrent reads from build/test/lint are safe\n {\n type: 'isolate',\n containerPath: '/cache/rustup',\n name: 'stellar-rustup',\n shared: true,\n },\n // safe as the wort case of corruption is cache miss, since it is key-based cache, concurrent writes will produce identical content\n {\n type: 'host',\n containerPath: '/cache/sccache',\n hostPath: '~/.sccache',\n },\n ],\n defaultEnv: [\n // sccache configuration\n { name: 'RUSTC_WRAPPER', value: '/usr/local/bin/sccache' },\n // mold linker for faster linking\n { name: 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER', value: 'clang' },\n { name: 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER', value: 'clang' },\n {\n name: 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS',\n value: '-C link-arg=-fuse-ld=mold',\n },\n {\n name: 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS',\n value: '-C link-arg=-fuse-ld=mold',\n },\n ],\n },\n];\n\nexport const images = {\n ['stellar:stellar-25.1.0-patch-1']: {\n name: 'stellar',\n versions: {\n stellar: '25.1.0',\n },\n patch: 1,\n unreleased: true,\n mirrorRegistries: [DockerRegistryMirror.PUBLIC_GAR],\n },\n} satisfies Record<string, Image>;\n\nexport type ImageId = keyof typeof images;\n\nexport const versionCombinations: [VersionCombination<ImageId>, ...VersionCombination<ImageId>[]] =\n [\n {\n images: {\n stellar: 'stellar:stellar-25.1.0-patch-1',\n },\n description: 'Latest stable release',\n stable: true,\n },\n ];\n"]}
package/dist/config.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var MH5MGQNR_cjs = require('./MH5MGQNR.cjs');
3
+ var HPU7VYY7_cjs = require('./HPU7VYY7.cjs');
4
4
  require('./MDHNNMKJ.cjs');
5
5
  require('./JBSG7YXG.cjs');
6
6
 
@@ -8,15 +8,15 @@ require('./JBSG7YXG.cjs');
8
8
 
9
9
  Object.defineProperty(exports, "images", {
10
10
  enumerable: true,
11
- get: function () { return MH5MGQNR_cjs.images; }
11
+ get: function () { return HPU7VYY7_cjs.images; }
12
12
  });
13
13
  Object.defineProperty(exports, "tools", {
14
14
  enumerable: true,
15
- get: function () { return MH5MGQNR_cjs.tools; }
15
+ get: function () { return HPU7VYY7_cjs.tools; }
16
16
  });
17
17
  Object.defineProperty(exports, "versionCombinations", {
18
18
  enumerable: true,
19
- get: function () { return MH5MGQNR_cjs.versionCombinations; }
19
+ get: function () { return HPU7VYY7_cjs.versionCombinations; }
20
20
  });
21
21
  //# sourceMappingURL=config.cjs.map
22
22
  //# sourceMappingURL=config.cjs.map
package/dist/config.d.ts CHANGED
@@ -1,45 +1,12 @@
1
1
  import { DockerRegistryMirror, type Tool, type VersionCombination } from '@layerzerolabs/vm-tooling';
2
2
  export declare const tools: readonly [Tool, ...Tool[]];
3
3
  export declare const images: {
4
- "stellar:stellar-23.1.4": {
5
- name: string;
6
- versions: {
7
- stellar: string;
8
- };
9
- };
10
- "stellar:stellar-23.1.4-patch-1": {
11
- name: string;
12
- versions: {
13
- stellar: string;
14
- };
15
- patch: number;
16
- };
17
- "stellar:stellar-23.1.4-patch-3": {
18
- name: string;
19
- versions: {
20
- stellar: string;
21
- };
22
- patch: number;
23
- };
24
- "stellar:stellar-23.1.4-patch-6": {
4
+ "stellar:stellar-25.1.0-patch-1": {
25
5
  name: string;
26
6
  versions: {
27
7
  stellar: string;
28
8
  };
29
9
  patch: number;
30
- };
31
- "stellar:stellar-25.0.0": {
32
- name: string;
33
- versions: {
34
- stellar: string;
35
- };
36
- mirrorRegistries: DockerRegistryMirror[];
37
- };
38
- "stellar:stellar-25.1.0": {
39
- name: string;
40
- versions: {
41
- stellar: string;
42
- };
43
10
  unreleased: true;
44
11
  mirrorRegistries: DockerRegistryMirror[];
45
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EAEpB,KAAK,IAAI,EACT,KAAK,kBAAkB,EAC1B,MAAM,2BAA2B,CAAC;AAInC,eAAO,MAAM,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,IAAI,EAAE,CAmD5C,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2Cc,CAAC;AAElC,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,MAAM,CAAC;AAE1C,eAAO,MAAM,mBAAmB,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,GAAG,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAS3F,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EAEpB,KAAK,IAAI,EACT,KAAK,kBAAkB,EAC1B,MAAM,2BAA2B,CAAC;AAInC,eAAO,MAAM,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,GAAG,IAAI,EAAE,CAmD5C,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;CAUc,CAAC;AAElC,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,MAAM,CAAC;AAE1C,eAAO,MAAM,mBAAmB,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,GAAG,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAS3F,CAAC"}
package/dist/config.js CHANGED
@@ -1,4 +1,4 @@
1
- export { images, tools, versionCombinations } from './ROHGQ63Y.js';
1
+ export { images, tools, versionCombinations } from './POLE3AKC.js';
2
2
  import './ALSWLO4X.js';
3
3
  import './PHXMTVK6.js';
4
4
  //# sourceMappingURL=config.js.map
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var MH5MGQNR_cjs = require('./MH5MGQNR.cjs');
3
+ var HPU7VYY7_cjs = require('./HPU7VYY7.cjs');
4
4
  var MDHNNMKJ_cjs = require('./MDHNNMKJ.cjs');
5
5
  var JBSG7YXG_cjs = require('./JBSG7YXG.cjs');
6
6
  var vmTooling = require('@layerzerolabs/vm-tooling');
@@ -8,12 +8,12 @@ var vmTooling = require('@layerzerolabs/vm-tooling');
8
8
  // src/index.ts
9
9
  JBSG7YXG_cjs.init_cjs_shims();
10
10
  var context = {
11
- tools: MH5MGQNR_cjs.tools,
12
- images: MH5MGQNR_cjs.images,
13
- versionCombinations: MH5MGQNR_cjs.versionCombinations
11
+ tools: HPU7VYY7_cjs.tools,
12
+ images: HPU7VYY7_cjs.images,
13
+ versionCombinations: HPU7VYY7_cjs.versionCombinations
14
14
  };
15
15
  var main = /* @__PURE__ */ JBSG7YXG_cjs.__name(() => vmTooling.runCli(context, (program, parseGlobalOptions) => {
16
- program.command("sync-toolchain").description("Pre-download the Rust toolchain specified in rust-toolchain.toml under a lock").action(() => MDHNNMKJ_cjs.syncToolchain(context, parseGlobalOptions(program)));
16
+ program.command("sync-toolchain").description("Pre-download the Rust toolchain specified in rust-toolchain.toml under a lock").action(async () => MDHNNMKJ_cjs.syncToolchain(context, await parseGlobalOptions(program)));
17
17
  }), "main");
18
18
 
19
19
  exports.main = main;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["init_cjs_shims","context","tools","images","versionCombinations","main","__name","runCli","program","parseGlobalOptions","command","description","action","syncToolchain"],"mappings":";;;;;;;;AAAAA,2BAAA,EAAA;AAKA,IAAMC,OAAAA,GAAU;AAAEC,SAAAA,kBAAAA;AAAOC,UAAAA,mBAAAA;AAAQC,uBAAAA;AAAoB,CAAA;AAE9C,IAAMC,uBAAOC,mBAAA,CAAA,MAChBC,gBAAAA,CAAON,OAAAA,EAAS,CAACO,SAASC,kBAAAA,KAAAA;AACtBD,EAAAA,OAAAA,CACKE,OAAAA,CAAQ,gBAAA,CAAA,CACRC,WAAAA,CACG,+EAAA,CAAA,CAEHC,MAAAA,CAAO,MAAMC,0BAAAA,CAAcZ,OAAAA,EAASQ,kBAAAA,CAAmBD,OAAAA,CAAAA,CAAAA,CAAAA;AAChE,CAAA,CAAA,EARgB,MAAA","file":"index.cjs","sourcesContent":["import { runCli } from '@layerzerolabs/vm-tooling';\n\nimport { syncToolchain } from './commands/sync-toolchain';\nimport { images, tools, versionCombinations } from './config';\n\nconst context = { tools, images, versionCombinations };\n\nexport const main = (): Promise<void> =>\n runCli(context, (program, parseGlobalOptions) => {\n program\n .command('sync-toolchain')\n .description(\n 'Pre-download the Rust toolchain specified in rust-toolchain.toml under a lock',\n )\n .action(() => syncToolchain(context, parseGlobalOptions(program)));\n });\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":["init_cjs_shims","context","tools","images","versionCombinations","main","__name","runCli","program","parseGlobalOptions","command","description","action","syncToolchain"],"mappings":";;;;;;;;AAAAA,2BAAA,EAAA;AAKA,IAAMC,OAAAA,GAAU;AAAEC,SAAAA,kBAAAA;AAAOC,UAAAA,mBAAAA;AAAQC,uBAAAA;AAAoB,CAAA;AAE9C,IAAMC,uBAAOC,mBAAA,CAAA,MAChBC,gBAAAA,CAAON,OAAAA,EAAS,CAACO,SAASC,kBAAAA,KAAAA;AACtBD,EAAAA,OAAAA,CACKE,OAAAA,CAAQ,gBAAA,CAAA,CACRC,WAAAA,CACG,+EAAA,CAAA,CAEHC,MAAAA,CAAO,YAAYC,0BAAAA,CAAcZ,OAAAA,EAAS,MAAMQ,kBAAAA,CAAmBD,OAAAA,CAAAA,CAAAA,CAAAA;AAC5E,CAAA,CAAA,EARgB,MAAA","file":"index.cjs","sourcesContent":["import { runCli } from '@layerzerolabs/vm-tooling';\n\nimport { syncToolchain } from './commands/sync-toolchain';\nimport { images, tools, versionCombinations } from './config';\n\nconst context = { tools, images, versionCombinations };\n\nexport const main = (): Promise<void> =>\n runCli(context, (program, parseGlobalOptions) => {\n program\n .command('sync-toolchain')\n .description(\n 'Pre-download the Rust toolchain specified in rust-toolchain.toml under a lock',\n )\n .action(async () => syncToolchain(context, await parseGlobalOptions(program)));\n });\n"]}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { versionCombinations, images, tools } from './ROHGQ63Y.js';
1
+ import { versionCombinations, images, tools } from './POLE3AKC.js';
2
2
  import { syncToolchain } from './ALSWLO4X.js';
3
3
  import { init_esm_shims, __name } from './PHXMTVK6.js';
4
4
  import { runCli } from '@layerzerolabs/vm-tooling';
@@ -11,7 +11,7 @@ var context = {
11
11
  versionCombinations
12
12
  };
13
13
  var main = /* @__PURE__ */ __name(() => runCli(context, (program, parseGlobalOptions) => {
14
- program.command("sync-toolchain").description("Pre-download the Rust toolchain specified in rust-toolchain.toml under a lock").action(() => syncToolchain(context, parseGlobalOptions(program)));
14
+ program.command("sync-toolchain").description("Pre-download the Rust toolchain specified in rust-toolchain.toml under a lock").action(async () => syncToolchain(context, await parseGlobalOptions(program)));
15
15
  }), "main");
16
16
 
17
17
  export { main };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["context","tools","images","versionCombinations","main","runCli","program","parseGlobalOptions","command","description","action","syncToolchain"],"mappings":";;;;;;AAAA,cAAA,EAAA;AAKA,IAAMA,OAAAA,GAAU;AAAEC,EAAAA,KAAAA;AAAOC,EAAAA,MAAAA;AAAQC,EAAAA;AAAoB,CAAA;AAE9C,IAAMC,uBAAO,MAAA,CAAA,MAChBC,MAAAA,CAAOL,OAAAA,EAAS,CAACM,SAASC,kBAAAA,KAAAA;AACtBD,EAAAA,OAAAA,CACKE,OAAAA,CAAQ,gBAAA,CAAA,CACRC,WAAAA,CACG,+EAAA,CAAA,CAEHC,MAAAA,CAAO,MAAMC,aAAAA,CAAcX,OAAAA,EAASO,kBAAAA,CAAmBD,OAAAA,CAAAA,CAAAA,CAAAA;AAChE,CAAA,CAAA,EARgB,MAAA","file":"index.js","sourcesContent":["import { runCli } from '@layerzerolabs/vm-tooling';\n\nimport { syncToolchain } from './commands/sync-toolchain';\nimport { images, tools, versionCombinations } from './config';\n\nconst context = { tools, images, versionCombinations };\n\nexport const main = (): Promise<void> =>\n runCli(context, (program, parseGlobalOptions) => {\n program\n .command('sync-toolchain')\n .description(\n 'Pre-download the Rust toolchain specified in rust-toolchain.toml under a lock',\n )\n .action(() => syncToolchain(context, parseGlobalOptions(program)));\n });\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":["context","tools","images","versionCombinations","main","runCli","program","parseGlobalOptions","command","description","action","syncToolchain"],"mappings":";;;;;;AAAA,cAAA,EAAA;AAKA,IAAMA,OAAAA,GAAU;AAAEC,EAAAA,KAAAA;AAAOC,EAAAA,MAAAA;AAAQC,EAAAA;AAAoB,CAAA;AAE9C,IAAMC,uBAAO,MAAA,CAAA,MAChBC,MAAAA,CAAOL,OAAAA,EAAS,CAACM,SAASC,kBAAAA,KAAAA;AACtBD,EAAAA,OAAAA,CACKE,OAAAA,CAAQ,gBAAA,CAAA,CACRC,WAAAA,CACG,+EAAA,CAAA,CAEHC,MAAAA,CAAO,YAAYC,aAAAA,CAAcX,OAAAA,EAAS,MAAMO,kBAAAA,CAAmBD,OAAAA,CAAAA,CAAAA,CAAAA;AAC5E,CAAA,CAAA,EARgB,MAAA","file":"index.js","sourcesContent":["import { runCli } from '@layerzerolabs/vm-tooling';\n\nimport { syncToolchain } from './commands/sync-toolchain';\nimport { images, tools, versionCombinations } from './config';\n\nconst context = { tools, images, versionCombinations };\n\nexport const main = (): Promise<void> =>\n runCli(context, (program, parseGlobalOptions) => {\n program\n .command('sync-toolchain')\n .description(\n 'Pre-download the Rust toolchain specified in rust-toolchain.toml under a lock',\n )\n .action(async () => syncToolchain(context, await parseGlobalOptions(program)));\n });\n"]}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var MH5MGQNR_cjs = require('./MH5MGQNR.cjs');
3
+ var HPU7VYY7_cjs = require('./HPU7VYY7.cjs');
4
4
  require('./MDHNNMKJ.cjs');
5
5
  var JBSG7YXG_cjs = require('./JBSG7YXG.cjs');
6
6
  var tty = require('tty');
@@ -18194,7 +18194,7 @@ var assertType = /* @__PURE__ */ JBSG7YXG_cjs.__name(function assertType2() {
18194
18194
 
18195
18195
  // ../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@22.19.1_jiti@2.6.1_lightningcss@1.30.1_terser@5.44.1_tsx@4.20.6_yaml@2.8.1/node_modules/vitest/dist/index.js
18196
18196
  var import_expect_type2 = JBSG7YXG_cjs.__toESM(require_dist(), 1);
18197
- vmTooling.testTools(dist_exports2, MH5MGQNR_cjs.images, MH5MGQNR_cjs.versionCombinations, {
18197
+ vmTooling.testTools(dist_exports2, HPU7VYY7_cjs.images, HPU7VYY7_cjs.versionCombinations, {
18198
18198
  stellar: [
18199
18199
  "stellar",
18200
18200
  "--version"
@@ -1,4 +1,4 @@
1
- import { images, versionCombinations } from './ROHGQ63Y.js';
1
+ import { images, versionCombinations } from './POLE3AKC.js';
2
2
  import './ALSWLO4X.js';
3
3
  import { __commonJS, init_esm_shims, __name, __export, __toESM } from './PHXMTVK6.js';
4
4
  import { isatty } from 'tty';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var MH5MGQNR_cjs = require('../MH5MGQNR.cjs');
3
+ var HPU7VYY7_cjs = require('../HPU7VYY7.cjs');
4
4
  require('../MDHNNMKJ.cjs');
5
5
  var JBSG7YXG_cjs = require('../JBSG7YXG.cjs');
6
6
  var vmTooling = require('@layerzerolabs/vm-tooling');
7
7
 
8
8
  // src/scripts/generate-github-matrix.ts
9
9
  JBSG7YXG_cjs.init_cjs_shims();
10
- vmTooling.runGithubMatrixGenerator(MH5MGQNR_cjs.images, "tools/vm-tooling-stellar", MH5MGQNR_cjs.versionCombinations).catch((error) => {
10
+ vmTooling.runGithubMatrixGenerator(HPU7VYY7_cjs.images, "tools/vm-tooling-stellar", HPU7VYY7_cjs.versionCombinations).catch((error) => {
11
11
  console.error(error);
12
12
  process.exit(1);
13
13
  });
@@ -1,4 +1,4 @@
1
- import { images, versionCombinations } from '../ROHGQ63Y.js';
1
+ import { images, versionCombinations } from '../POLE3AKC.js';
2
2
  import '../ALSWLO4X.js';
3
3
  import { init_esm_shims } from '../PHXMTVK6.js';
4
4
  import { runGithubMatrixGenerator } from '@layerzerolabs/vm-tooling';
package/package.json CHANGED
@@ -21,15 +21,15 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "toml": "^3.0.0",
24
- "@layerzerolabs/vm-tooling": "0.2.57"
24
+ "@layerzerolabs/vm-tooling": "0.2.59"
25
25
  },
26
26
  "devDependencies": {
27
27
  "tsup": "^8.4.0",
28
28
  "tsx": "^4.19.3",
29
29
  "typescript": "^5.8.2",
30
30
  "vitest": "^3.2.3",
31
- "@layerzerolabs/tsup-configuration": "0.2.57",
32
- "@layerzerolabs/typescript-configuration": "0.2.57"
31
+ "@layerzerolabs/tsup-configuration": "0.2.59",
32
+ "@layerzerolabs/typescript-configuration": "0.2.59"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public",
@@ -41,11 +41,11 @@
41
41
  "everdawn-asset0"
42
42
  ]
43
43
  },
44
- "version": "0.2.57",
44
+ "version": "0.2.59",
45
45
  "scripts": {
46
46
  "build": "tsup",
47
47
  "generate-github-matrix": "tsx src/scripts/generate-github-matrix.ts",
48
48
  "lint": "eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)",
49
- "test": "vitest --run"
49
+ "test": "vitest --run --pass-with-no-tests"
50
50
  }
51
51
  }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/config.ts"],"names":["init_cjs_shims","tools","name","preExecute","syncToolchain","defaultVolumes","type","containerPath","shared","hostPath","defaultEnv","value","images","versions","stellar","patch","mirrorRegistries","DockerRegistryMirror","PUBLIC_GAR","unreleased","versionCombinations","description","stable"],"mappings":";;;;;;;AAAAA,2BAAA,EAAA;AASO,IAAMC,KAAAA,GAAoC;AAC7C,EAAA;IACIC,IAAAA,EAAM,SAAA;IACNC,UAAAA,EAAYC,0BAAAA;IACZC,cAAAA,EAAgB;;;AAGZ,MAAA;QACIC,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,gBAAA;QACfL,IAAAA,EAAM,gBAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;AAEA,MAAA;QACIF,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,cAAA;QACfL,IAAAA,EAAM,eAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;;AAGA,MAAA;QACIF,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,eAAA;QACfL,IAAAA,EAAM,gBAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;AAEA,MAAA;QACIF,IAAAA,EAAM,MAAA;QACNC,aAAAA,EAAe,gBAAA;QACfE,QAAAA,EAAU;AACd;;IAEJC,UAAAA,EAAY;;AAER,MAAA;QAAER,IAAAA,EAAM,eAAA;QAAiBS,KAAAA,EAAO;AAAyB,OAAA;;AAEzD,MAAA;QAAET,IAAAA,EAAM,8CAAA;QAAgDS,KAAAA,EAAO;AAAQ,OAAA;AACvE,MAAA;QAAET,IAAAA,EAAM,+CAAA;QAAiDS,KAAAA,EAAO;AAAQ,OAAA;AACxE,MAAA;QACIT,IAAAA,EAAM,iDAAA;QACNS,KAAAA,EAAO;AACX,OAAA;AACA,MAAA;QACIT,IAAAA,EAAM,kDAAA;QACNS,KAAAA,EAAO;AACX;;AAER;;AAGG,IAAMC,MAAAA,GAAS;AAClB,EAAA,CAAC,wBAAA,GAA2B;IACxBV,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb;AACJ,GAAA;AACA,EAAA,CAAC,gCAAA,GAAmC;IAChCZ,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAC,KAAAA,EAAO;AACX,GAAA;AACA,EAAA,CAAC,gCAAA,GAAmC;IAChCb,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAC,KAAAA,EAAO;AACX,GAAA;AACA,EAAA,CAAC,gCAAA,GAAmC;IAChCb,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAC,KAAAA,EAAO;AACX,GAAA;AACA,EAAA,CAAC,wBAAA,GAA2B;IACxBb,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAE,gBAAAA,EAAkB;MAACC,8BAAAA,CAAqBC;;AAC5C,GAAA;AACA,EAAA,CAAC,wBAAA,GAA2B;IACxBhB,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAK,UAAAA,EAAY,IAAA;IACZH,gBAAAA,EAAkB;MAACC,8BAAAA,CAAqBC;;AAC5C;AACJ;AAIO,IAAME,mBAAAA,GACT;AACI,EAAA;IACIR,MAAAA,EAAQ;MACJE,OAAAA,EAAS;AACb,KAAA;IACAO,WAAAA,EAAa,uBAAA;IACbC,MAAAA,EAAQ;AACZ","file":"MH5MGQNR.cjs","sourcesContent":["import {\n DockerRegistryMirror,\n type Image,\n type Tool,\n type VersionCombination,\n} from '@layerzerolabs/vm-tooling';\n\nimport { syncToolchain } from './commands/sync-toolchain';\n\nexport const tools: readonly [Tool, ...Tool[]] = [\n {\n name: 'stellar',\n preExecute: syncToolchain,\n defaultVolumes: [\n // NOTE: for configuration commands, you should never put it in your package.json#build or #test, since the config is locked for parallel builds\n // while common commands like contract build and binding generation are allowed since they are not writing to the config files\n {\n type: 'isolate',\n containerPath: '/cache/stellar',\n name: 'stellar-config',\n shared: true,\n },\n // safe to be unlocked as it is POSIX lock guarded\n {\n type: 'isolate',\n containerPath: '/cache/cargo',\n name: 'stellar-cargo',\n shared: true,\n },\n // shared across packages — toolchain is pre-synced via `sync-toolchain` (locked)\n // so concurrent reads from build/test/lint are safe\n {\n type: 'isolate',\n containerPath: '/cache/rustup',\n name: 'stellar-rustup',\n shared: true,\n },\n // safe as the wort case of corruption is cache miss, since it is key-based cache, concurrent writes will produce identical content\n {\n type: 'host',\n containerPath: '/cache/sccache',\n hostPath: '~/.sccache',\n },\n ],\n defaultEnv: [\n // sccache configuration\n { name: 'RUSTC_WRAPPER', value: '/usr/local/bin/sccache' },\n // mold linker for faster linking\n { name: 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER', value: 'clang' },\n { name: 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER', value: 'clang' },\n {\n name: 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS',\n value: '-C link-arg=-fuse-ld=mold',\n },\n {\n name: 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS',\n value: '-C link-arg=-fuse-ld=mold',\n },\n ],\n },\n];\n\nexport const images = {\n ['stellar:stellar-23.1.4']: {\n name: 'stellar',\n versions: {\n stellar: '23.1.4',\n },\n },\n ['stellar:stellar-23.1.4-patch-1']: {\n name: 'stellar',\n versions: {\n stellar: '23.1.4',\n },\n patch: 1,\n },\n ['stellar:stellar-23.1.4-patch-3']: {\n name: 'stellar',\n versions: {\n stellar: '23.1.4',\n },\n patch: 3,\n },\n ['stellar:stellar-23.1.4-patch-6']: {\n name: 'stellar',\n versions: {\n stellar: '23.1.4',\n },\n patch: 6,\n },\n ['stellar:stellar-25.0.0']: {\n name: 'stellar',\n versions: {\n stellar: '25.0.0',\n },\n mirrorRegistries: [DockerRegistryMirror.PUBLIC_GAR],\n },\n ['stellar:stellar-25.1.0']: {\n name: 'stellar',\n versions: {\n stellar: '25.1.0',\n },\n unreleased: true,\n mirrorRegistries: [DockerRegistryMirror.PUBLIC_GAR],\n },\n} satisfies Record<string, Image>;\n\nexport type ImageId = keyof typeof images;\n\nexport const versionCombinations: [VersionCombination<ImageId>, ...VersionCombination<ImageId>[]] =\n [\n {\n images: {\n stellar: 'stellar:stellar-25.1.0',\n },\n description: 'Latest stable release',\n stable: true,\n },\n ];\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/config.ts"],"names":["tools","name","preExecute","syncToolchain","defaultVolumes","type","containerPath","shared","hostPath","defaultEnv","value","images","versions","stellar","patch","mirrorRegistries","DockerRegistryMirror","PUBLIC_GAR","unreleased","versionCombinations","description","stable"],"mappings":";;;;;AAAA,cAAA,EAAA;AASO,IAAMA,KAAAA,GAAoC;AAC7C,EAAA;IACIC,IAAAA,EAAM,SAAA;IACNC,UAAAA,EAAYC,aAAAA;IACZC,cAAAA,EAAgB;;;AAGZ,MAAA;QACIC,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,gBAAA;QACfL,IAAAA,EAAM,gBAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;AAEA,MAAA;QACIF,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,cAAA;QACfL,IAAAA,EAAM,eAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;;AAGA,MAAA;QACIF,IAAAA,EAAM,SAAA;QACNC,aAAAA,EAAe,eAAA;QACfL,IAAAA,EAAM,gBAAA;QACNM,MAAAA,EAAQ;AACZ,OAAA;;AAEA,MAAA;QACIF,IAAAA,EAAM,MAAA;QACNC,aAAAA,EAAe,gBAAA;QACfE,QAAAA,EAAU;AACd;;IAEJC,UAAAA,EAAY;;AAER,MAAA;QAAER,IAAAA,EAAM,eAAA;QAAiBS,KAAAA,EAAO;AAAyB,OAAA;;AAEzD,MAAA;QAAET,IAAAA,EAAM,8CAAA;QAAgDS,KAAAA,EAAO;AAAQ,OAAA;AACvE,MAAA;QAAET,IAAAA,EAAM,+CAAA;QAAiDS,KAAAA,EAAO;AAAQ,OAAA;AACxE,MAAA;QACIT,IAAAA,EAAM,iDAAA;QACNS,KAAAA,EAAO;AACX,OAAA;AACA,MAAA;QACIT,IAAAA,EAAM,kDAAA;QACNS,KAAAA,EAAO;AACX;;AAER;;AAGG,IAAMC,MAAAA,GAAS;AAClB,EAAA,CAAC,wBAAA,GAA2B;IACxBV,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb;AACJ,GAAA;AACA,EAAA,CAAC,gCAAA,GAAmC;IAChCZ,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAC,KAAAA,EAAO;AACX,GAAA;AACA,EAAA,CAAC,gCAAA,GAAmC;IAChCb,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAC,KAAAA,EAAO;AACX,GAAA;AACA,EAAA,CAAC,gCAAA,GAAmC;IAChCb,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAC,KAAAA,EAAO;AACX,GAAA;AACA,EAAA,CAAC,wBAAA,GAA2B;IACxBb,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAE,gBAAAA,EAAkB;MAACC,oBAAAA,CAAqBC;;AAC5C,GAAA;AACA,EAAA,CAAC,wBAAA,GAA2B;IACxBhB,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAK,UAAAA,EAAY,IAAA;IACZH,gBAAAA,EAAkB;MAACC,oBAAAA,CAAqBC;;AAC5C;AACJ;AAIO,IAAME,mBAAAA,GACT;AACI,EAAA;IACIR,MAAAA,EAAQ;MACJE,OAAAA,EAAS;AACb,KAAA;IACAO,WAAAA,EAAa,uBAAA;IACbC,MAAAA,EAAQ;AACZ","file":"ROHGQ63Y.js","sourcesContent":["import {\n DockerRegistryMirror,\n type Image,\n type Tool,\n type VersionCombination,\n} from '@layerzerolabs/vm-tooling';\n\nimport { syncToolchain } from './commands/sync-toolchain';\n\nexport const tools: readonly [Tool, ...Tool[]] = [\n {\n name: 'stellar',\n preExecute: syncToolchain,\n defaultVolumes: [\n // NOTE: for configuration commands, you should never put it in your package.json#build or #test, since the config is locked for parallel builds\n // while common commands like contract build and binding generation are allowed since they are not writing to the config files\n {\n type: 'isolate',\n containerPath: '/cache/stellar',\n name: 'stellar-config',\n shared: true,\n },\n // safe to be unlocked as it is POSIX lock guarded\n {\n type: 'isolate',\n containerPath: '/cache/cargo',\n name: 'stellar-cargo',\n shared: true,\n },\n // shared across packages — toolchain is pre-synced via `sync-toolchain` (locked)\n // so concurrent reads from build/test/lint are safe\n {\n type: 'isolate',\n containerPath: '/cache/rustup',\n name: 'stellar-rustup',\n shared: true,\n },\n // safe as the wort case of corruption is cache miss, since it is key-based cache, concurrent writes will produce identical content\n {\n type: 'host',\n containerPath: '/cache/sccache',\n hostPath: '~/.sccache',\n },\n ],\n defaultEnv: [\n // sccache configuration\n { name: 'RUSTC_WRAPPER', value: '/usr/local/bin/sccache' },\n // mold linker for faster linking\n { name: 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER', value: 'clang' },\n { name: 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER', value: 'clang' },\n {\n name: 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS',\n value: '-C link-arg=-fuse-ld=mold',\n },\n {\n name: 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS',\n value: '-C link-arg=-fuse-ld=mold',\n },\n ],\n },\n];\n\nexport const images = {\n ['stellar:stellar-23.1.4']: {\n name: 'stellar',\n versions: {\n stellar: '23.1.4',\n },\n },\n ['stellar:stellar-23.1.4-patch-1']: {\n name: 'stellar',\n versions: {\n stellar: '23.1.4',\n },\n patch: 1,\n },\n ['stellar:stellar-23.1.4-patch-3']: {\n name: 'stellar',\n versions: {\n stellar: '23.1.4',\n },\n patch: 3,\n },\n ['stellar:stellar-23.1.4-patch-6']: {\n name: 'stellar',\n versions: {\n stellar: '23.1.4',\n },\n patch: 6,\n },\n ['stellar:stellar-25.0.0']: {\n name: 'stellar',\n versions: {\n stellar: '25.0.0',\n },\n mirrorRegistries: [DockerRegistryMirror.PUBLIC_GAR],\n },\n ['stellar:stellar-25.1.0']: {\n name: 'stellar',\n versions: {\n stellar: '25.1.0',\n },\n unreleased: true,\n mirrorRegistries: [DockerRegistryMirror.PUBLIC_GAR],\n },\n} satisfies Record<string, Image>;\n\nexport type ImageId = keyof typeof images;\n\nexport const versionCombinations: [VersionCombination<ImageId>, ...VersionCombination<ImageId>[]] =\n [\n {\n images: {\n stellar: 'stellar:stellar-25.1.0',\n },\n description: 'Latest stable release',\n stable: true,\n },\n ];\n"]}