You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bdbe334
Browse filesBrowse the repository at this point in the historyBrowse files
feat: publish to private registry under @quickbeard scope
Main package @quickbeard/codev-code (bin codev-code) plus scoped
platform binary packages; a single npmrc scope mapping routes install
and optionalDependencies to the private registry. dist/ dir names stay
pkg.name-derived (bun compile target derives from them). Docker/AUR/
Homebrew publishing is upstream-only and now exits early. New manual
publish-codev workflow drives build + publish with explicit versioning.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: DIVERGENCES.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,19 +15,25 @@ future `packages/codev-*`) never conflict and are not tracked here.
15
15
|`packages/opencode/src/index.ts`|`scriptName("opencode")` → `"codev code"`; `show()` prefix check `"opencode "` → `"codev code "`| Help/usage text shows the real user-facing command. The `show()` check must always match the scriptName. | Keep our two strings; take upstream's surrounding changes. |
16
16
|`packages/opencode/package.json`| bin key `opencode` → `codev-code` (shim path `./bin/opencode` unchanged) | Installed binary is named `codev-code`. | Keep our bin key; take upstream's other fields. |
17
17
|`bun.lock`| Mirrors the bin key rename above | Lockfile records workspace bin mappings. | Regenerate with `bun install`; never hand-merge. |
18
+
|`packages/opencode/script/build.ts`| Platform packages' `package.json` name scoped to `@quickbeard/codev-code-<platform>` (dist dir names unchanged — the bun compile target derives from them) | Private-registry publishing. | Keep our `name:` line; take upstream's surrounding changes. |
19
+
|`packages/opencode/script/publish.ts`|`PUBLISH_NAME = "@quickbeard/codev-code"` const; scoped-name→dir map; main pkg name + bin key; `process.exit(0)` before the Docker/AUR/Homebrew section | npm-only publishing to the private registry; upstream's other channels target anomalyco infra. | Keep our names + early exit; take upstream's npm-section changes above the exit. |
20
+
|`packages/opencode/bin/opencode`|`base` prefix `opencode-` → `@quickbeard/codev-code-`| Runtime platform-binary lookup must match the published names. | Keep our prefix. |
21
+
|`packages/opencode/script/postinstall.mjs`|`base` prefix `opencode-` → `@quickbeard/codev-code-`| Install-time platform-binary fetch must match the published names. | Keep our prefix. |
|`README.*.md` (21 translations) | Deleted | Upstream marketing translations, irrelevant to the fork. | Keep deleted (`git rm` the upstream side of modify/delete conflicts). |
0 commit comments