Skip to content

fix(app): publish single docker-git dist without workspace lib runtime dep#79

Merged
skulidropek merged 4 commits intoProverCoderAI:mainfrom
skulidropek:issue-76
Feb 20, 2026
Merged

fix(app): publish single docker-git dist without workspace lib runtime dep#79
skulidropek merged 4 commits intoProverCoderAI:mainfrom
skulidropek:issue-76

Conversation

@skulidropek
Copy link
Copy Markdown
Member

Summary

  • switch packages/app docker-git build from tsc to Vite SSR bundle for src/docker-git/main.ts
  • add dedicated Vite config that aliases @effect-template/lib to local ../lib/src so CLI is bundled into one dist artifact
  • move @effect-template/lib from dependencies to devDependencies to prevent npm install from requesting a non-published package
  • add prepack to always build docker-git dist before publish/pack

Why

npm i -g @prover-coder-ai/docker-git failed with 404 for @effect-template/lib@1.0.0.
This PR removes that runtime dependency from published package and keeps a single distributable CLI artifact.

Verification

  • pnpm -C packages/app build
  • pnpm -C packages/app test
  • npm pack in packages/app and inspect packed package.json (@effect-template/lib is absent in runtime deps)
  • install from packed tarball and run dist/src/docker-git/main.js --help

Closes #76

@skulidropek skulidropek merged commit da0bd31 into ProverCoderAI:main Feb 20, 2026
12 checks passed
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.

Вторая репа должна просто быть частью первой и всё и лежать с ней в одном dist

1 participant