@rightkit/release 0.2.112 → 0.2.114
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/managed-cargo.mjs +8 -1
- package/package.json +1 -1
- package/rightkit-versions.json +16 -6
package/managed-cargo.mjs
CHANGED
|
@@ -39,7 +39,14 @@ function managedHost(env) {
|
|
|
39
39
|
export function runCargoSync(args, options = {}) {
|
|
40
40
|
const env = options.env ?? process.env;
|
|
41
41
|
const client = managedRuntimeClient(env);
|
|
42
|
-
if (client)
|
|
42
|
+
if (client) {
|
|
43
|
+
// The managed `rightkit` wrapper defaults the broker socket to <managed root>/broker.sock; calling the
|
|
44
|
+
// client directly must do the same, or agent shells without the variable fail metadata.
|
|
45
|
+
const root = path.dirname(path.dirname(path.dirname(path.dirname(client))));
|
|
46
|
+
const socket = path.join(root, "broker.sock");
|
|
47
|
+
const childEnv = !env.RIGHTKIT_BUILD_BROKER_SOCKET && existsSync(socket) ? { ...env, RIGHTKIT_BUILD_BROKER_SOCKET: socket } : env;
|
|
48
|
+
return spawnSync(process.execPath, [client, "cargo", ...args], { ...options, env: childEnv, cwd: process.cwd() });
|
|
49
|
+
}
|
|
43
50
|
if (managedHost(env) && process.platform === "win32") {
|
|
44
51
|
return { status: null, stdout: "", stderr: "", error: new Error("installed RightKit runtime client is unavailable for managed Cargo metadata") };
|
|
45
52
|
}
|
package/package.json
CHANGED
package/rightkit-versions.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"stagedNpm": {
|
|
16
16
|
"@rightkit/app-shell": "0.2.0",
|
|
17
17
|
"@rightkit/ax": "0.2.4",
|
|
18
|
-
"@rightkit/doc-render": "0.1.
|
|
18
|
+
"@rightkit/doc-render": "0.1.1",
|
|
19
19
|
"@rightkit/git": "0.2.25",
|
|
20
20
|
"@rightkit/hooks": "0.1.1",
|
|
21
21
|
"@rightkit/i18n": "0.1.0",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"@rightkit/legal-ui": "0.1.2",
|
|
24
24
|
"@rightkit/license": "0.1.8",
|
|
25
25
|
"@rightkit/logs": "0.1.4",
|
|
26
|
-
"@rightkit/media-ui": "0.2.
|
|
26
|
+
"@rightkit/media-ui": "0.2.2",
|
|
27
27
|
"@rightkit/onboarding": "0.2.0",
|
|
28
28
|
"@rightkit/pdf-ui": "0.1.0",
|
|
29
|
-
"@rightkit/platform-ui": "0.1.
|
|
29
|
+
"@rightkit/platform-ui": "0.1.2",
|
|
30
30
|
"@rightkit/qa": "0.2.1",
|
|
31
|
-
"@rightkit/release": "0.2.
|
|
31
|
+
"@rightkit/release": "0.2.114",
|
|
32
32
|
"@rightkit/settings-ui": "0.2.0",
|
|
33
33
|
"@rightkit/shell": "0.1.0",
|
|
34
34
|
"@rightkit/tauri": "0.1.1",
|
|
@@ -132,7 +132,9 @@
|
|
|
132
132
|
"0.2.108",
|
|
133
133
|
"0.2.109",
|
|
134
134
|
"0.2.110",
|
|
135
|
-
"0.2.111"
|
|
135
|
+
"0.2.111",
|
|
136
|
+
"0.2.112",
|
|
137
|
+
"0.2.113"
|
|
136
138
|
],
|
|
137
139
|
"@rightkit/qa": [
|
|
138
140
|
"0.1.0",
|
|
@@ -142,7 +144,9 @@
|
|
|
142
144
|
"0.1.0"
|
|
143
145
|
],
|
|
144
146
|
"@rightkit/media-ui": [
|
|
145
|
-
"0.1.0"
|
|
147
|
+
"0.1.0",
|
|
148
|
+
"0.2.0",
|
|
149
|
+
"0.2.1"
|
|
146
150
|
],
|
|
147
151
|
"@rightkit/theme": [
|
|
148
152
|
"0.1.0"
|
|
@@ -152,6 +156,12 @@
|
|
|
152
156
|
],
|
|
153
157
|
"@rightkit/onboarding": [
|
|
154
158
|
"0.1.0"
|
|
159
|
+
],
|
|
160
|
+
"@rightkit/doc-render": [
|
|
161
|
+
"0.1.0"
|
|
162
|
+
],
|
|
163
|
+
"@rightkit/platform-ui": [
|
|
164
|
+
"0.1.1"
|
|
155
165
|
]
|
|
156
166
|
},
|
|
157
167
|
"cargo": {
|