@rightkit/release 0.2.26 → 0.2.28
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/cargo-contract.mjs +6 -4
- package/legal-contract.mjs +11 -7
- package/legal-contract.test.mjs +5 -3
- package/package.json +1 -1
- package/pub-upload.mjs +100 -0
- package/release.mjs +20 -8
- package/right-suite-contract.test.mjs +530 -514
- package/rightkit-versions.json +36 -27
- package/standalone-clone-verify.mjs +1 -7
- package/upload-large.test.mjs +1 -0
package/rightkit-versions.json
CHANGED
|
@@ -1,27 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema": 1,
|
|
3
|
-
"packageManager": "pnpm@11.12.0",
|
|
4
|
-
"npm": {
|
|
5
|
-
"@rightkit/legal": "0.2.0",
|
|
6
|
-
"@rightkit/license": "0.1.5",
|
|
7
|
-
"@rightkit/logs": "0.1.3",
|
|
8
|
-
"@rightkit/platform-ui": "0.1.0",
|
|
9
|
-
"@rightkit/qa": "0.1.0",
|
|
10
|
-
"@rightkit/release": "0.2.26",
|
|
11
|
-
"@rightkit/tauri": "0.1.0",
|
|
12
|
-
"@rightkit/updates": "0.2.3"
|
|
13
|
-
},
|
|
14
|
-
"
|
|
15
|
-
"rightkit
|
|
16
|
-
"rightkit
|
|
17
|
-
"rightkit
|
|
18
|
-
"rightkit-
|
|
19
|
-
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"rightkit-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"packageManager": "pnpm@11.12.0",
|
|
4
|
+
"npm": {
|
|
5
|
+
"@rightkit/legal": "0.2.0",
|
|
6
|
+
"@rightkit/license": "0.1.5",
|
|
7
|
+
"@rightkit/logs": "0.1.3",
|
|
8
|
+
"@rightkit/platform-ui": "0.1.0",
|
|
9
|
+
"@rightkit/qa": "0.1.0",
|
|
10
|
+
"@rightkit/release": "0.2.26",
|
|
11
|
+
"@rightkit/tauri": "0.1.0",
|
|
12
|
+
"@rightkit/updates": "0.2.3"
|
|
13
|
+
},
|
|
14
|
+
"stagedNpm": {
|
|
15
|
+
"@rightkit/legal": "0.3.0",
|
|
16
|
+
"@rightkit/license": "0.1.6",
|
|
17
|
+
"@rightkit/release": "0.2.28",
|
|
18
|
+
"@rightkit/legal-ui": "0.1.0"
|
|
19
|
+
},
|
|
20
|
+
"cargo": {
|
|
21
|
+
"rightkit-license": "0.1.2",
|
|
22
|
+
"rightkit-logs": "0.1.0",
|
|
23
|
+
"rightkit-process": "0.1.0",
|
|
24
|
+
"rightkit-tauri": "0.1.0"
|
|
25
|
+
},
|
|
26
|
+
"stagedCargo": {
|
|
27
|
+
"rightkit-license": "0.1.3",
|
|
28
|
+
"rightkit-tauri": "0.1.1"
|
|
29
|
+
},
|
|
30
|
+
"swift": {
|
|
31
|
+
"rightkit-swift": {
|
|
32
|
+
"url": "https://github.com/bogusyogi/rightkit-swift.git",
|
|
33
|
+
"version": "0.1.0"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -32,14 +32,8 @@ function run(command, args, cwd) {
|
|
|
32
32
|
function runPnpm(args, cwd, command) {
|
|
33
33
|
if (process.platform !== "win32" || command !== "pnpm") return run(command, args, cwd);
|
|
34
34
|
for (const entry of String(process.env.PATH ?? "").split(path.delimiter)) {
|
|
35
|
-
const
|
|
36
|
-
const cli = path.join(directory, "node_modules", "pnpm", "bin", "pnpm.mjs");
|
|
35
|
+
const cli = path.join(entry.replace(/^"|"$/g, ""), "node_modules", "pnpm", "bin", "pnpm.mjs");
|
|
37
36
|
if (existsSync(cli)) return run(process.execPath, [cli, ...args], cwd);
|
|
38
|
-
const cmdShim = path.join(directory, "pnpm.cmd");
|
|
39
|
-
if (existsSync(cmdShim)) {
|
|
40
|
-
const target = readFileSync(cmdShim, "utf8").match(/@node\s+"([^"]+pnpm\.(?:c|m)?js)"/i)?.[1];
|
|
41
|
-
if (target && existsSync(target)) return run(process.execPath, [target, ...args], cwd);
|
|
42
|
-
}
|
|
43
37
|
}
|
|
44
38
|
throw new Error("pnpm installation could not be resolved from PATH");
|
|
45
39
|
}
|
package/upload-large.test.mjs
CHANGED
|
@@ -48,6 +48,7 @@ test("resolves a real package runner for wrangler on this machine", () => {
|
|
|
48
48
|
assert.equal(result.status, 0, result.stderr);
|
|
49
49
|
// A node install carrying neither npm nor npx is normal where pnpm is the pinned package
|
|
50
50
|
// manager; the uploader must find a runner that actually exists rather than assume npx.
|
|
51
|
+
// Assuming npx once made every R2 upload a silent no-op while the publish reported success.
|
|
51
52
|
assert.match(result.stdout, /^runner: (npx|pnpm dlx)$/m);
|
|
52
53
|
});
|
|
53
54
|
|