@rightkit/release 0.2.27 → 0.2.29

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,34 +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
- "stagedNpm": {
15
- "@rightkit/license": "0.1.6",
16
- "@rightkit/release": "0.2.27"
17
- },
18
- "cargo": {
19
- "rightkit-license": "0.1.2",
20
- "rightkit-logs": "0.1.0",
21
- "rightkit-process": "0.1.0",
22
- "rightkit-tauri": "0.1.0"
23
- },
24
- "stagedCargo": {
25
- "rightkit-license": "0.1.3",
26
- "rightkit-tauri": "0.1.1"
27
- },
28
- "swift": {
29
- "rightkit-swift": {
30
- "url": "https://github.com/bogusyogi/rightkit-swift.git",
31
- "version": "0.1.0"
32
- }
33
- }
34
- }
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.29",
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 directory = entry.replace(/^"|"$/g, "");
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
  }
@@ -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