@rightkit/release 0.2.112 → 0.2.113
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 +14 -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.1",
|
|
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.113",
|
|
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,8 @@
|
|
|
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"
|
|
136
137
|
],
|
|
137
138
|
"@rightkit/qa": [
|
|
138
139
|
"0.1.0",
|
|
@@ -142,7 +143,8 @@
|
|
|
142
143
|
"0.1.0"
|
|
143
144
|
],
|
|
144
145
|
"@rightkit/media-ui": [
|
|
145
|
-
"0.1.0"
|
|
146
|
+
"0.1.0",
|
|
147
|
+
"0.2.0"
|
|
146
148
|
],
|
|
147
149
|
"@rightkit/theme": [
|
|
148
150
|
"0.1.0"
|
|
@@ -152,6 +154,12 @@
|
|
|
152
154
|
],
|
|
153
155
|
"@rightkit/onboarding": [
|
|
154
156
|
"0.1.0"
|
|
157
|
+
],
|
|
158
|
+
"@rightkit/doc-render": [
|
|
159
|
+
"0.1.0"
|
|
160
|
+
],
|
|
161
|
+
"@rightkit/platform-ui": [
|
|
162
|
+
"0.1.1"
|
|
155
163
|
]
|
|
156
164
|
},
|
|
157
165
|
"cargo": {
|