opencode/packages
Filip Hejmowski 8cb6a54870 chore(ci): pack the npm libraries while the CLI builds
A new pack-npm job applies the release version rewrite and runs the 14
library publish scripts in a pack-only mode (OPENCODE_NPM_PACK_DIR), with
their typecheck, ui tests and codemode smoke install, and uploads the
tarballs. It has only contents: read and no secrets.

publish downloads them and sets OPENCODE_NPM_TARBALLS. script/publish.ts
checks that every tarball exists and holds the expected name and version
before it publishes anything, and each library script keeps its npm view
check and then publishes its carried tarball instead of building again.
Without either variable the scripts behave as before.

The version rewrite moves to script/release-files.ts so publish and
pack-npm share it.
2026-10-16 18:19:09 +02:00
..
ai chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
app sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
cli chore(ci): build each CLI target in its own job and sign macOS and Windows in parallel 2026-10-16 18:18:46 +02:00
client chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
codemode chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
console fix(ci): run app e2e on dev and every package's unit tests (#56117) 2026-10-16 17:31:14 +02:00
containers chore: enable noUnusedLocals in already-clean packages (#52849) 2026-10-02 15:23:50 -07:00
core chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
desktop chore(release): drop the separate opencode-beta release repo (#56083) 2026-10-16 13:54:42 +00:00
effect-drizzle-sqlite sync release versions for v1.18.35 2026-10-06 20:18:36 +00:00
function sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
gui-extensions sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
http-recorder sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
httpapi-codegen sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
identity
latex sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
merman sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
plugin chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
plugin-browser chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
plugins sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
posts chore: enable noUnusedLocals in already-clean packages (#52849) 2026-10-02 15:23:50 -07:00
protocol chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
schema chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
script chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
sdk chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
server chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
session-ui sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
simulation chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
stats fix(ci): run app e2e on dev and every package's unit tests (#56117) 2026-10-16 17:31:14 +02:00
storybook chore(ci): speed up and stabilize the test workflow (#55866) 2026-10-16 00:35:49 +02:00
theme chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
tui sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
ui chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
util chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
web sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00