opencode/packages/util
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
..
docs refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
script chore(ci): pack the npm libraries while the CLI builds 2026-10-16 18:19:09 +02:00
src fix(util): hide plugin Git console windows on Windows (#55475) 2026-10-16 00:45:40 +02:00
test chore(ci): speed up and stabilize the test workflow (#55866) 2026-10-16 00:35:49 +02:00
package.json sync release versions for v2.0.31 [skip ci] 2026-10-16 12:37:41 +00:00
tsconfig.build.json chore(ci): speed up and stabilize the test workflow (#55866) 2026-10-16 00:35:49 +02:00
tsconfig.dist.json refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
tsconfig.json chore: enable noUnusedLocals in already-clean packages (#52849) 2026-10-02 15:23:50 -07:00