Skip to content

build: build the console bundle from the cryptos-web monorepo - #169

Merged
Bugs5382 merged 1 commit into
mainfrom
build/337-web-monorepo
Oct 1, 2026
Merged

Bugs5382 merged 1 commit into
mainfrom
build/337-web-monorepo

Conversation

@Bugs5382

@Bugs5382 Bugs5382 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

What and why

CryptOS-PKI/cryptos-web#152 turns the web repo into an npm workspaces monorepo, with the console app in apps/console. The image build copied web/package.json and web/dist, so this PR follows the new layout:

  • Dockerfile: the web stage copies the root and workspace manifests and the lockfile, runs npm ci, builds @cryptos-pki/console and embeds apps/console/dist.
  • Image workflows (ci-image, job-release-image) check out CryptOS-PKI/cryptos-web.
  • README names cryptos-web in the intro, the build-it-yourself steps and the companion repos.

Merge order: CryptOS-PKI/cryptos-web#152 first. Image CI builds against cryptos-web main, so it passes once the monorepo is there.

Refs CryptOS-PKI/cryptos-node#337

Verification

  • Build succeeds
  • Documentation updated (if behavior or API changed)

How this was verified

  • docker build -f manager/Dockerfile . from a context holding this branch as manager/ and cryptos-web#152 as web/. The image builds, with the console bundle embedded.

cryptos-web is now an npm workspaces monorepo. The image installs the workspace from its manifests and lockfile, builds @cryptos-pki/console and embeds apps/console/dist. The image workflows check out CryptOS-PKI/cryptos-web, and the README names it.

Signed-off-by: Bugs5382 <Bugs5382@users.noreply.github.com>
@Bugs5382 Bugs5382 added this to the v0.1.0 milestone Oct 1, 2026
@Bugs5382 Bugs5382 self-assigned this Oct 1, 2026
@Bugs5382
Bugs5382 marked this pull request as ready for review October 1, 2026 21:06
@github-actions github-actions Bot added the dependencies Dependency updates. label Oct 1, 2026
@Bugs5382

Bugs5382 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Closing summary: the image now builds the console from the cryptos-web workspace (apps/console/dist) and checks out CryptOS-PKI/cryptos-web. Image CI is green against the new cryptos-web main.

@Bugs5382
Bugs5382 merged commit 164a154 into main Oct 1, 2026
18 checks passed
@Bugs5382
Bugs5382 deleted the build/337-web-monorepo branch October 1, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant