veriskit 0.5.0 → 0.5.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.1 — 2026-07-13
4
+
5
+ ### Changed
6
+ - `--github` publish errors now include GitHub's own message (for example "Resource not accessible by integration" when the workflow token lacks `pull-requests: write` or `checks: write`), so a failed publish is diagnosable. The token still never appears in any error.
7
+ - `homepage` now points to the VerisKit product page.
8
+
3
9
  ## 0.5.0 — 2026-07-13
4
10
 
5
11
  ### Added
package/dist/index.js CHANGED
@@ -1150,12 +1150,18 @@ async function gh(method, url, token, body) {
1150
1150
  });
1151
1151
  if (!res.ok) {
1152
1152
  const path = url.replace("https://api.github.com", "");
1153
+ let detail = "";
1154
+ try {
1155
+ const errBody = await res.json();
1156
+ if (errBody?.message) detail = `: ${errBody.message}`;
1157
+ } catch {
1158
+ }
1153
1159
  throw new GitHubApiError(
1154
1160
  res.status,
1155
- `GitHub API ${method} ${path} -> ${res.status}`
1161
+ `GitHub API ${method} ${path} -> ${res.status}${detail}`
1156
1162
  );
1157
1163
  }
1158
- return res.json();
1164
+ return res.status === 204 ? null : res.json();
1159
1165
  }
1160
1166
  function repoBase(ctx) {
1161
1167
  return `https://api.github.com/repos/${ctx.owner}/${ctx.repo}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veriskit",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "The fastest way to prove your software works — a zero-config verification CLI.",
5
5
  "scripts": {
6
6
  "test": "vitest run",
@@ -19,7 +19,7 @@
19
19
  "bugs": {
20
20
  "url": "https://github.com/abhiyoheswaran1/veris/issues"
21
21
  },
22
- "homepage": "https://github.com/abhiyoheswaran1/veris#readme",
22
+ "homepage": "https://www.baseframelabs.com/apps/veriskit",
23
23
  "bin": {
24
24
  "veris": "bin/veris"
25
25
  },