feat(cli): land the @briven/cli tarball (tsup bundling + sub-exports + smoke test) #10
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
notification.notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
flndrn/briven!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/cli-bundling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Lands a publishable
@briven/clitarball.@briven/cli/schema+@briven/cli/server)@briven/schema,@briven/shared,@briven/config) inlined vianoExternalso the tarball has noworkspace:referencesbin/briven.jswhere the tsx dev fallback masked a broken production import pathcli-tarball-smokethat builds, packs, installs the tarball into a fresh temp dir, and runsbriven --help/--version/ unknown command + verifies the public sub-exports import cleanlyCommits
chore(cli): add tsup + promote zod/ulid to direct depsfeat(cli): tsup config with three ESM entries + briven-workspace inliningfeat(cli): add @briven/cli/schema + @briven/cli/server public sub-exportsfeat(cli): reshape package.json for bundled tarball (exports, bin, scripts)fix(cli): tsconfig tweaks for tsup DTS emission on TS 6fix(cli): bin -> dist/cli/index.js + tarball smoke test in CITest plan
pnpm --filter @briven/cli build— producesdist/cli/index.js,dist/schema/index.js,dist/server/index.jswith.d.tssiblingspnpm --filter @briven/cli test— 3 unit tests passpnpm --filter @briven/cli typecheck— cleanpnpm --filter @briven/cli pack:tarball— producesdist-pack/briven-cli-0.1.0.tgz(~42 KB, 12 files)pnpm --filter @briven/cli test:tarball— full smoke: install in temp dir →briven --help/--version/ unknown command (exit 1) → all three sub-exports import cleanlycli-tarball-smokeadded, runs afterbuildNotes
dist-pack/and.claude/launch.jsonadded to.gitignoreso they stop appearing as untrackedbrivenpackage published yet — this PR only makes the tarball reproducible. Publishing to npm is a separate decision (needs npm org, version policy, release flow)🤖 Generated with Claude Code