Skip to content

build(monorepo): split web and cli workspaces#14

Open
Vann-Dev wants to merge 8 commits into
mainfrom
kaito/monorepo-split
Open

build(monorepo): split web and cli workspaces#14
Vann-Dev wants to merge 8 commits into
mainfrom
kaito/monorepo-split

Conversation

@Vann-Dev
Copy link
Copy Markdown
Owner

Summary

  • Move the Next.js dashboard/API app into apps/web and add an @agentbridge/web workspace package.
  • Move the publishable CLI package from cli to packages/cli while preserving the agentbridge package name/bin.
  • Keep Prisma schema/migrations at repo root and generate the client into apps/web/generated/prisma for Next build compatibility.
  • Update root orchestration scripts, workspace globs, Dockerfile, ignore rules, and docs for the new layout.

Checks

  • corepack pnpm install --frozen-lockfile
  • DATABASE_URL='postgresql://agentbridge:agentbridge@localhost:5432/agentbridge?schema=public' corepack pnpm typecheck
  • corepack pnpm lint
  • DATABASE_URL='postgresql://agentbridge:agentbridge@localhost:5432/agentbridge?schema=public' AUTH_SECRET='build-placeholder-secret' corepack pnpm build:web
  • corepack pnpm cli:build
  • corepack pnpm cli:pack

Note: Next build emits existing warnings about the deprecated middleware file convention and jose CompressionStream/DecompressionStream in Edge Runtime, but exits successfully.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-bridge Error Error May 12, 2026 8:27am

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

Deployment failed with the following error:

The `vercel.json` schema validation failed with the following message: should NOT have additional property `rootDirectory`

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

# Conflicts:
#	README.md
#	apps/web/lib/api/server-timing.ts
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