@layerzerolabs/vm-tooling-stellar 0.2.90 → 0.2.91
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/package.json +11 -10
- package/dist/5QOKTG5D.cjs +0 -116
- package/dist/5QOKTG5D.cjs.map +0 -1
- package/dist/5UUQM5FT.cjs +0 -1347
- package/dist/5UUQM5FT.cjs.map +0 -1
- package/dist/PB3KLBCT.cjs +0 -49
- package/dist/PB3KLBCT.cjs.map +0 -1
- package/dist/W7KV5WDP.cjs +0 -70
- package/dist/W7KV5WDP.cjs.map +0 -1
- package/dist/commands/sync-toolchain.cjs +0 -13
- package/dist/commands/sync-toolchain.cjs.map +0 -1
- package/dist/config.cjs +0 -22
- package/dist/config.cjs.map +0 -1
- package/dist/index.cjs +0 -21
- package/dist/index.cjs.map +0 -1
- package/dist/index.test.cjs +0 -18495
- package/dist/index.test.cjs.map +0 -1
- package/dist/scripts/generate-github-matrix.cjs +0 -15
- package/dist/scripts/generate-github-matrix.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
-
"require": "./dist/index.cjs",
|
|
9
8
|
"import": "./dist/index.js",
|
|
10
|
-
"default": "./dist/index.
|
|
9
|
+
"default": "./dist/index.js"
|
|
11
10
|
},
|
|
12
|
-
"main": "./dist/index.
|
|
11
|
+
"main": "./dist/index.js",
|
|
13
12
|
"module": "./dist/index.js",
|
|
14
13
|
"types": "./dist/index.d.ts",
|
|
15
14
|
"bin": {
|
|
@@ -21,15 +20,16 @@
|
|
|
21
20
|
],
|
|
22
21
|
"dependencies": {
|
|
23
22
|
"toml": "^3.0.0",
|
|
24
|
-
"@layerzerolabs/vm-tooling": "0.2.
|
|
23
|
+
"@layerzerolabs/vm-tooling": "0.2.91"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
27
26
|
"tsup": "^8.4.0",
|
|
28
27
|
"tsx": "^4.19.3",
|
|
29
28
|
"typescript": "^5.8.2",
|
|
30
29
|
"vitest": "^3.2.3",
|
|
31
|
-
"@layerzerolabs/
|
|
32
|
-
"@layerzerolabs/typescript-configuration": "0.2.
|
|
30
|
+
"@layerzerolabs/vitest-configuration": "0.2.91",
|
|
31
|
+
"@layerzerolabs/typescript-configuration": "0.2.91",
|
|
32
|
+
"@layerzerolabs/tsup-configuration": "0.2.91"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public",
|
|
@@ -38,15 +38,16 @@
|
|
|
38
38
|
"externalRepoConfig": {
|
|
39
39
|
"targets": [
|
|
40
40
|
"audit-external",
|
|
41
|
-
"
|
|
42
|
-
"monorepo-external"
|
|
41
|
+
"console-pen-test",
|
|
42
|
+
"monorepo-external",
|
|
43
|
+
"onesig-client"
|
|
43
44
|
]
|
|
44
45
|
},
|
|
45
|
-
"version": "0.2.
|
|
46
|
+
"version": "0.2.91",
|
|
46
47
|
"scripts": {
|
|
47
48
|
"build": "tsup",
|
|
48
49
|
"generate-github-matrix": "tsx src/scripts/generate-github-matrix.ts",
|
|
49
50
|
"lint": "eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)",
|
|
50
|
-
"test": "vitest
|
|
51
|
+
"test": "vitest"
|
|
51
52
|
}
|
|
52
53
|
}
|
package/dist/5QOKTG5D.cjs
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var W7KV5WDP_cjs = require('./W7KV5WDP.cjs');
|
|
4
|
-
var PB3KLBCT_cjs = require('./PB3KLBCT.cjs');
|
|
5
|
-
var vmTooling = require('@layerzerolabs/vm-tooling');
|
|
6
|
-
|
|
7
|
-
// src/config.ts
|
|
8
|
-
PB3KLBCT_cjs.init_cjs_shims();
|
|
9
|
-
var tools = [
|
|
10
|
-
{
|
|
11
|
-
name: "stellar",
|
|
12
|
-
preExecute: W7KV5WDP_cjs.syncToolchain,
|
|
13
|
-
defaultVolumes: [
|
|
14
|
-
// NOTE: for configuration commands, you should never put it in your package.json#build or #test, since the config is locked for parallel builds
|
|
15
|
-
// while common commands like contract build and binding generation are allowed since they are not writing to the config files
|
|
16
|
-
{
|
|
17
|
-
type: "isolate",
|
|
18
|
-
containerPath: "/cache/stellar",
|
|
19
|
-
name: "stellar-config",
|
|
20
|
-
shared: true
|
|
21
|
-
},
|
|
22
|
-
// safe to be unlocked as it is POSIX lock guarded
|
|
23
|
-
{
|
|
24
|
-
type: "isolate",
|
|
25
|
-
containerPath: "/cache/cargo",
|
|
26
|
-
name: "stellar-cargo",
|
|
27
|
-
shared: true
|
|
28
|
-
},
|
|
29
|
-
// shared across packages — toolchain is pre-synced via `sync-toolchain` (locked)
|
|
30
|
-
// so concurrent reads from build/test/lint are safe
|
|
31
|
-
{
|
|
32
|
-
type: "isolate",
|
|
33
|
-
containerPath: "/cache/rustup",
|
|
34
|
-
name: "stellar-rustup",
|
|
35
|
-
shared: true
|
|
36
|
-
},
|
|
37
|
-
// safe as the wort case of corruption is cache miss, since it is key-based cache, concurrent writes will produce identical content
|
|
38
|
-
{
|
|
39
|
-
type: "host",
|
|
40
|
-
containerPath: "/cache/sccache",
|
|
41
|
-
hostPath: "~/.sccache"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
defaultEnv: [
|
|
45
|
-
// sccache configuration
|
|
46
|
-
{
|
|
47
|
-
name: "RUSTC_WRAPPER",
|
|
48
|
-
value: "/usr/local/bin/sccache"
|
|
49
|
-
},
|
|
50
|
-
// mold linker for faster linking
|
|
51
|
-
{
|
|
52
|
-
name: "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER",
|
|
53
|
-
value: "clang"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
name: "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER",
|
|
57
|
-
value: "clang"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
name: "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS",
|
|
61
|
-
value: "-C link-arg=-fuse-ld=mold"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
name: "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS",
|
|
65
|
-
value: "-C link-arg=-fuse-ld=mold"
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
];
|
|
70
|
-
var images = {
|
|
71
|
-
["stellar:stellar-25.1.0-patch-2"]: {
|
|
72
|
-
name: "stellar",
|
|
73
|
-
versions: {
|
|
74
|
-
stellar: "25.1.0"
|
|
75
|
-
},
|
|
76
|
-
patch: 2,
|
|
77
|
-
mirrorRegistries: [
|
|
78
|
-
vmTooling.DockerRegistryMirror.PUBLIC_GAR
|
|
79
|
-
]
|
|
80
|
-
},
|
|
81
|
-
["stellar:stellar-25.2.0-patch-1"]: {
|
|
82
|
-
name: "stellar",
|
|
83
|
-
versions: {
|
|
84
|
-
stellar: "25.2.0"
|
|
85
|
-
},
|
|
86
|
-
patch: 1,
|
|
87
|
-
dependencies: {
|
|
88
|
-
rust: "1.91.0"
|
|
89
|
-
},
|
|
90
|
-
mirrorRegistries: [
|
|
91
|
-
vmTooling.DockerRegistryMirror.PUBLIC_GAR
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
var versionCombinations = [
|
|
96
|
-
{
|
|
97
|
-
images: {
|
|
98
|
-
stellar: "stellar:stellar-25.1.0-patch-2"
|
|
99
|
-
},
|
|
100
|
-
description: "Latest stable release",
|
|
101
|
-
stable: true
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
images: {
|
|
105
|
-
stellar: "stellar:stellar-25.2.0-patch-1"
|
|
106
|
-
},
|
|
107
|
-
description: "Stellar 25.2.0",
|
|
108
|
-
stable: true
|
|
109
|
-
}
|
|
110
|
-
];
|
|
111
|
-
|
|
112
|
-
exports.images = images;
|
|
113
|
-
exports.tools = tools;
|
|
114
|
-
exports.versionCombinations = versionCombinations;
|
|
115
|
-
//# sourceMappingURL=5QOKTG5D.cjs.map
|
|
116
|
-
//# sourceMappingURL=5QOKTG5D.cjs.map
|
package/dist/5QOKTG5D.cjs.map
DELETED
|
@@ -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","dependencies","rust","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,gBAAAA,EAAkB;MAACC,8BAAAA,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,8BAAAA,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":"5QOKTG5D.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-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"]}
|