@layerzerolabs/vm-tooling-stellar 0.2.107 → 0.2.108

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.
@@ -1,6 +1,6 @@
1
- import { images, versionCombinations } from '../TQXAFQ7M.js';
2
- import '../WAIARXIT.js';
3
- import { init_esm_shims } from '../KURY2D4P.js';
1
+ import { images, versionCombinations } from '../PT2VYI7I.js';
2
+ import '../K7N3LKMZ.js';
3
+ import { init_esm_shims } from '../2VBLSQAK.js';
4
4
  import { runGithubMatrixGenerator } from '@layerzerolabs/vm-tooling';
5
5
 
6
6
  // src/scripts/generate-github-matrix.ts
package/package.json CHANGED
@@ -20,16 +20,16 @@
20
20
  ],
21
21
  "dependencies": {
22
22
  "toml": "^3.0.0",
23
- "@layerzerolabs/vm-tooling": "0.2.107"
23
+ "@layerzerolabs/vm-tooling": "0.2.108"
24
24
  },
25
25
  "devDependencies": {
26
26
  "tsup": "^8.4.0",
27
- "tsx": "^4.19.3",
27
+ "tsx": "^4.21.0",
28
28
  "typescript": "^5.8.2",
29
- "vitest": "^3.2.3",
30
- "@layerzerolabs/tsup-configuration": "0.2.107",
31
- "@layerzerolabs/typescript-configuration": "0.2.107",
32
- "@layerzerolabs/vitest-configuration": "0.2.107"
29
+ "vitest": "^3.2.4",
30
+ "@layerzerolabs/tsup-configuration": "0.2.108",
31
+ "@layerzerolabs/vitest-configuration": "0.2.108",
32
+ "@layerzerolabs/typescript-configuration": "0.2.108"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public",
@@ -43,7 +43,7 @@
43
43
  "onesig-client"
44
44
  ]
45
45
  },
46
- "version": "0.2.107",
46
+ "version": "0.2.108",
47
47
  "scripts": {
48
48
  "build": "tsup",
49
49
  "generate-github-matrix": "tsx src/scripts/generate-github-matrix.ts",
@@ -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","dependencies","rust","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,gBAAAA,EAAkB;MAACC,oBAAAA,CAAqBC;;AAC5C,GAAA;AACA,EAAA,CAAC,gCAAA,GAAmC;IAChChB,IAAAA,EAAM,SAAA;IACNW,QAAAA,EAAU;MACNC,OAAAA,EAAS;AACb,KAAA;IACAC,KAAAA,EAAO,CAAA;IACPI,YAAAA,EAAc;MACVC,IAAAA,EAAM;AACV,KAAA;IACAJ,gBAAAA,EAAkB;MAACC,oBAAAA,CAAqBC;;AAC5C;AACJ;AAIO,IAAMG,mBAAAA,GACT;AACI,EAAA;IACIT,MAAAA,EAAQ;MACJE,OAAAA,EAAS;AACb,KAAA;IACAQ,WAAAA,EAAa,uBAAA;IACbC,MAAAA,EAAQ;AACZ,GAAA;AACA,EAAA;IACIX,MAAAA,EAAQ;MACJE,OAAAA,EAAS;AACb,KAAA;IACAQ,WAAAA,EAAa,gBAAA;IACbC,MAAAA,EAAQ;AACZ","file":"TQXAFQ7M.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-2']: {\n name: 'stellar',\n versions: {\n stellar: '25.1.0',\n },\n patch: 2,\n mirrorRegistries: [DockerRegistryMirror.PUBLIC_GAR],\n },\n ['stellar:stellar-25.2.0-patch-1']: {\n name: 'stellar',\n versions: {\n stellar: '25.2.0',\n },\n patch: 1,\n dependencies: {\n rust: '1.91.0',\n },\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-2',\n },\n description: 'Latest stable release',\n stable: true,\n },\n {\n images: {\n stellar: 'stellar:stellar-25.2.0-patch-1',\n },\n description: 'Stellar 25.2.0',\n stable: true,\n },\n ];\n"]}