@rightkit/release 0.2.108 → 0.2.109

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/development.mjs CHANGED
@@ -61,9 +61,9 @@ export function runDevelopment({ root, platform, config, buildOnly = false, dryR
61
61
  const target = validateDevelopmentConfig(config, platform);
62
62
  const repoRoot = git(root, ["rev-parse", "--show-toplevel"]);
63
63
  assertPrimaryReleaseCheckout(repoRoot, env);
64
+ if (dryRun) return { built: false, installed: false, plan: { build: target.build, install: buildOnly ? null : target.install ?? null, profile: DEVELOPMENT_PROFILE } };
64
65
  assertReleaseExecutionAllowed({ cwd: repoRoot, environment: env, command: `right-release dev --platform ${platform}` });
65
66
  const childEnv = developmentEnvironment(env);
66
- if (dryRun) return { built: false, installed: false, plan: { build: target.build, install: buildOnly ? null : target.install ?? null, profile: DEVELOPMENT_PROFILE } };
67
67
  for (const command of target.build) execute(command, { root, env: childEnv, dryRun, run, label: "build" });
68
68
  if (buildOnly || !target.install) return { built: true, installed: false };
69
69
  install(target.install, { root, platform, env: childEnv, run });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightkit/release",
3
- "version": "0.2.108",
3
+ "version": "0.2.109",
4
4
  "description": "Portable release CLI/SDK with fail-closed public GitHub Releases and private R2 + RightApps distribution.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "type": "module",
package/preflight.mjs CHANGED
@@ -174,6 +174,8 @@ export function collectPreflight({
174
174
  targetLink,
175
175
  minFreeGb = 25,
176
176
  env = process.env,
177
+ versionProbe = commandVersion,
178
+ isBrokerManagedHost = brokerManagedHost,
177
179
  } = {}) {
178
180
  const checks = [];
179
181
  const windows = platform === "win" || platform === "win32";
@@ -257,12 +259,16 @@ export function collectPreflight({
257
259
  }
258
260
  }
259
261
 
260
- const sccache = commandVersion("sccache");
261
- checks.push(
262
- sccache
263
- ? ok("sccache", sccache)
264
- : warn("sccache", "sccache not found; the shared cache will compile without a compiler cache", "cargo install sccache --locked"),
265
- );
262
+ if (isBrokerManagedHost(env)) {
263
+ checks.push(ok("compiler-cache", "broker-managed; compiler-cache selection and status are recorded in build receipts"));
264
+ } else {
265
+ const sccache = versionProbe("sccache");
266
+ checks.push(
267
+ sccache
268
+ ? ok("sccache", `${sccache} visible on shell PATH`)
269
+ : warn("sccache", "sccache was not found by this shell PATH probe; cache availability is not determined here", null),
270
+ );
271
+ }
266
272
 
267
273
  if (appRoot) {
268
274
  const free = freeDiskGb(appRoot);
@@ -1,143 +1,144 @@
1
- {
2
- "schema": 2,
3
- "packageManager": "pnpm@11.24.0",
4
- "npm": {
5
- "@rightkit/git": "0.2.0",
6
- "@rightkit/legal": "0.2.0",
7
- "@rightkit/license": "0.1.5",
8
- "@rightkit/logs": "0.1.3",
9
- "@rightkit/platform-ui": "0.1.0",
10
- "@rightkit/qa": "0.1.0",
11
- "@rightkit/release": "0.2.47",
12
- "@rightkit/tauri": "0.1.0",
13
- "@rightkit/updates": "0.2.3"
14
- },
15
- "stagedNpm": {
16
- "@rightkit/ax": "0.2.4",
17
- "@rightkit/git": "0.2.25",
18
- "@rightkit/hooks": "0.1.1",
19
- "@rightkit/legal": "0.3.1",
20
- "@rightkit/legal-ui": "0.1.1",
21
- "@rightkit/license": "0.1.7",
22
- "@rightkit/logs": "0.1.4",
23
- "@rightkit/platform-ui": "0.1.1",
24
- "@rightkit/qa": "0.2.1",
25
- "@rightkit/release": "0.2.108",
26
- "@rightkit/tauri": "0.1.1",
27
- "@rightkit/updates": "0.2.4"
28
- },
29
- "legacyNpm": {
30
- "@rightkit/ax": [
31
- "0.2.0",
32
- "0.2.1",
33
- "0.2.2",
34
- "0.2.3"
35
- ],
36
- "@rightkit/git": [
37
- "0.2.1",
38
- "0.2.2",
39
- "0.2.3",
40
- "0.2.4",
41
- "0.2.5",
42
- "0.2.6",
43
- "0.2.7",
44
- "0.2.8",
45
- "0.2.9",
46
- "0.2.10",
47
- "0.2.11",
48
- "0.2.12",
49
- "0.2.13",
50
- "0.2.14",
51
- "0.2.15",
52
- "0.2.16",
53
- "0.2.18",
54
- "0.2.19",
55
- "0.2.20",
56
- "0.2.21",
57
- "0.2.22",
58
- "0.2.23",
59
- "0.2.24"
60
- ],
61
- "@rightkit/legal-ui": [
62
- "0.1.0"
63
- ],
64
- "@rightkit/hooks": [
65
- "0.1.0"
66
- ],
67
- "@rightkit/legal": [
68
- "0.3.0"
69
- ],
70
- "@rightkit/license": [
71
- "0.1.6"
72
- ],
73
- "@rightkit/release": [
74
- "0.2.22",
75
- "0.2.29",
76
- "0.2.30",
77
- "0.2.31",
78
- "0.2.41",
79
- "0.2.42",
80
- "0.2.43",
81
- "0.2.44",
82
- "0.2.45",
83
- "0.2.46",
84
- "0.2.49",
85
- "0.2.50",
86
- "0.2.51",
87
- "0.2.53",
88
- "0.2.54",
89
- "0.2.55",
90
- "0.2.56",
91
- "0.2.61",
92
- "0.2.62",
93
- "0.2.63",
94
- "0.2.64",
95
- "0.2.65",
96
- "0.2.66",
97
- "0.2.67",
98
- "0.2.68",
99
- "0.2.69",
100
- "0.2.70",
101
- "0.2.71",
102
- "0.2.72",
103
- "0.2.73",
104
- "0.2.74",
105
- "0.2.75",
106
- "0.2.76",
107
- "0.2.82",
108
- "0.2.83",
109
- "0.2.91",
110
- "0.2.92",
111
- "0.2.94",
112
- "0.2.95",
113
- "0.2.96",
114
- "0.2.97",
115
- "0.2.98",
116
- "0.2.99",
117
- "0.2.104",
118
- "0.2.105",
119
- "0.2.106",
120
- "0.2.107"
121
- ],
122
- "@rightkit/qa": [
123
- "0.1.0",
124
- "0.2.0"
125
- ]
126
- },
127
- "cargo": {
128
- "rightkit-license": "0.1.2",
129
- "rightkit-logs": "0.1.0",
130
- "rightkit-process": "0.1.0",
131
- "rightkit-tauri": "0.1.0"
132
- },
133
- "stagedCargo": {
134
- "rightkit-license": "0.1.3",
135
- "rightkit-tauri": "0.1.1"
136
- },
137
- "swift": {
138
- "rightkit-swift": {
139
- "url": "https://github.com/bogusyogi/rightkit-swift.git",
140
- "version": "0.1.1"
141
- }
142
- }
143
- }
1
+ {
2
+ "schema": 2,
3
+ "packageManager": "pnpm@11.24.0",
4
+ "npm": {
5
+ "@rightkit/git": "0.2.0",
6
+ "@rightkit/legal": "0.2.0",
7
+ "@rightkit/license": "0.1.5",
8
+ "@rightkit/logs": "0.1.3",
9
+ "@rightkit/platform-ui": "0.1.0",
10
+ "@rightkit/qa": "0.1.0",
11
+ "@rightkit/release": "0.2.47",
12
+ "@rightkit/tauri": "0.1.0",
13
+ "@rightkit/updates": "0.2.3"
14
+ },
15
+ "stagedNpm": {
16
+ "@rightkit/ax": "0.2.4",
17
+ "@rightkit/git": "0.2.25",
18
+ "@rightkit/hooks": "0.1.1",
19
+ "@rightkit/legal": "0.3.1",
20
+ "@rightkit/legal-ui": "0.1.1",
21
+ "@rightkit/license": "0.1.7",
22
+ "@rightkit/logs": "0.1.4",
23
+ "@rightkit/platform-ui": "0.1.1",
24
+ "@rightkit/qa": "0.2.1",
25
+ "@rightkit/release": "0.2.109",
26
+ "@rightkit/tauri": "0.1.1",
27
+ "@rightkit/updates": "0.2.4"
28
+ },
29
+ "legacyNpm": {
30
+ "@rightkit/ax": [
31
+ "0.2.0",
32
+ "0.2.1",
33
+ "0.2.2",
34
+ "0.2.3"
35
+ ],
36
+ "@rightkit/git": [
37
+ "0.2.1",
38
+ "0.2.2",
39
+ "0.2.3",
40
+ "0.2.4",
41
+ "0.2.5",
42
+ "0.2.6",
43
+ "0.2.7",
44
+ "0.2.8",
45
+ "0.2.9",
46
+ "0.2.10",
47
+ "0.2.11",
48
+ "0.2.12",
49
+ "0.2.13",
50
+ "0.2.14",
51
+ "0.2.15",
52
+ "0.2.16",
53
+ "0.2.18",
54
+ "0.2.19",
55
+ "0.2.20",
56
+ "0.2.21",
57
+ "0.2.22",
58
+ "0.2.23",
59
+ "0.2.24"
60
+ ],
61
+ "@rightkit/legal-ui": [
62
+ "0.1.0"
63
+ ],
64
+ "@rightkit/hooks": [
65
+ "0.1.0"
66
+ ],
67
+ "@rightkit/legal": [
68
+ "0.3.0"
69
+ ],
70
+ "@rightkit/license": [
71
+ "0.1.6"
72
+ ],
73
+ "@rightkit/release": [
74
+ "0.2.22",
75
+ "0.2.29",
76
+ "0.2.30",
77
+ "0.2.31",
78
+ "0.2.41",
79
+ "0.2.42",
80
+ "0.2.43",
81
+ "0.2.44",
82
+ "0.2.45",
83
+ "0.2.46",
84
+ "0.2.49",
85
+ "0.2.50",
86
+ "0.2.51",
87
+ "0.2.53",
88
+ "0.2.54",
89
+ "0.2.55",
90
+ "0.2.56",
91
+ "0.2.61",
92
+ "0.2.62",
93
+ "0.2.63",
94
+ "0.2.64",
95
+ "0.2.65",
96
+ "0.2.66",
97
+ "0.2.67",
98
+ "0.2.68",
99
+ "0.2.69",
100
+ "0.2.70",
101
+ "0.2.71",
102
+ "0.2.72",
103
+ "0.2.73",
104
+ "0.2.74",
105
+ "0.2.75",
106
+ "0.2.76",
107
+ "0.2.82",
108
+ "0.2.83",
109
+ "0.2.91",
110
+ "0.2.92",
111
+ "0.2.94",
112
+ "0.2.95",
113
+ "0.2.96",
114
+ "0.2.97",
115
+ "0.2.98",
116
+ "0.2.99",
117
+ "0.2.104",
118
+ "0.2.105",
119
+ "0.2.106",
120
+ "0.2.107",
121
+ "0.2.108"
122
+ ],
123
+ "@rightkit/qa": [
124
+ "0.1.0",
125
+ "0.2.0"
126
+ ]
127
+ },
128
+ "cargo": {
129
+ "rightkit-license": "0.1.2",
130
+ "rightkit-logs": "0.1.0",
131
+ "rightkit-process": "0.1.0",
132
+ "rightkit-tauri": "0.1.0"
133
+ },
134
+ "stagedCargo": {
135
+ "rightkit-license": "0.1.3",
136
+ "rightkit-tauri": "0.1.1"
137
+ },
138
+ "swift": {
139
+ "rightkit-swift": {
140
+ "url": "https://github.com/bogusyogi/rightkit-swift.git",
141
+ "version": "0.1.1"
142
+ }
143
+ }
144
+ }