Skip to content

feat: Repo hygiene: add prepack build + CI + CHANGELOG.md + .editorconfig - #16

Closed
andrei-hasna wants to merge 1 commit into
mainfrom
factory/7dc9348e-b3b2-4ee1-8580-91eaf9ba-71f7e8b8
Closed

feat: Repo hygiene: add prepack build + CI + CHANGELOG.md + .editorconfig#16
andrei-hasna wants to merge 1 commit into
mainfrom
factory/7dc9348e-b3b2-4ee1-8580-91eaf9ba-71f7e8b8

Conversation

@andrei-hasna

@andrei-hasna andrei-hasna commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Objective

Repo hygiene: add prepack build + CI + CHANGELOG.md + .editorconfig

PACKAGING: add prepack: bun run build. Only prepublishOnly builds today (does not run on npm pack), so a clean-clone npm pack ships an unbuilt dist/ (bin dist/cli/index.js + main dist/index.js). CI: no workflow - add typecheck+test+build modeled on iapp-factory ci.yml. DOCS: add CHANGELOG.md. CONFIG: add .editorconfig. Keep the diff mechanical and verify-safe; do not touch logic. Verify with a clean-clone 'npm pack --dry-run' (packlist must include built dist/bin) plus 'bun run typecheck' and 'bun run build'. Any CI workflow modeled on iapp-factory .github/workflows/ci.yml (checkout, oven-sh/setup-bun, bun install --frozen-lockfile, typecheck, test, build).

Verification

  • install: pass
  • typecheck: pass
  • build: pass
  • test: pass

Run run_3206efc6627c · backend cursor · task 7dc9348e-b3b2-4ee1-8580-91eaf9ba404c
🏭 Generated by @hasnaxyz/factory


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@andrei-hasna

Copy link
Copy Markdown
Contributor Author

Closing: the prepack fix here is genuine (main has only prepublishOnly), but the added CI runs unscoped 'bun test' which executes real-tmux integration tests that fail on a bare runner → red CI, and the branch is stale-based. Will re-cut from fresh main with CI scoped to ./tests. Factory-produced; caught by review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant