Skip to content

Remove the embedded web app source - #120

Merged
ergofobe merged 2 commits into
mainfrom
remove-packages-web
Sep 30, 2026
Merged

ergofobe merged 2 commits into
mainfrom
remove-packages-web

Conversation

@ergofobe

Copy link
Copy Markdown
Owner

Summary

  • Deletes packages/web. The React app now lives in imogen-pwa (main @ 17b1d2c4d5e6b756d8d2a2ac2b641108a9ac9dd0).
  • The server image still takes an already-built bundle as input. Put it in web-dist/ (index.html at the top). The image copies that to packages/web/dist, which is where the server reads it, and does not compile a UI.
  • Root workspace, CI, and compose no longer install or build @imogen/web. The imogen-sdk submodule and the @imogen/shared / @imogen/sdk imports are unchanged.

The GitHub docker job has no web-dist in the checkout. This PR does not add a fetch or a UI build, so that job fails closed until a bundle is in the build context.

Proof

On thor, docker build -t imogen-remove-web-proof . with a supplied web-dist/ completed with no Vite or @imogen/web step. The image contains the supplied packages/web/dist/index.html and no packages/web source. bun --eval inside the image still resolves ERROR_CODES from @imogen/shared and OAuthClient from @imogen/sdk.

The PWA lives in imogen-pwa. The image copies a supplied web-dist and does not compile a UI. The SDK submodule stays.
The checkout has no web-dist, and the image does not compile a UI. The docker job checks out imogen-pwa main with its SDK submodule and copies the build into web-dist.
@ergofobe
ergofobe merged commit 46a21f6 into main Sep 30, 2026
4 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.

1 participant