Conversation
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.0.40-pr.372.5388035Prefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.0.40-pr.372.5388035"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.0.40-pr.372.5388035"
}
}
Preview published to npm registry — try new features instantly! |
4e9ec88 to
24e4f92
Compare
24e4f92 to
2a31fa8
Compare
|
@claude review |
|
Claude finished @artemdemo's task in 1m 55s —— View job PR Review: Migrating to Monorepo
Overall this is a clean, well-executed structural migration with no functional changes to the CLI itself. The approach is sound. A few issues are worth addressing before merging. Issues1. Root
{
"name": "base44-cli",
"private": true, // ← add this
"version": "1.0.0",
...
}2.
3.
Observations (Non-blocking)Biome version bump:
Templates directory: SummaryThe migration is structurally sound. The one change worth making before merge is adding |
2a31fa8 to
d4878e3
Compare
bea2d65 to
33349c5
Compare
|
@claude review |
|
Claude finished @artemdemo's task in 2m 45s —— View job PR Review: Migrating to Monorepo
This is a clean, well-scoped structural migration. The CI/CD and build patterns are consistently applied. A couple of issues remain open. Issues1. Root
{
"name": "base44-cli",
"private": true, // ← add this
"version": "1.0.0",
...
}2.
3.
Observations (Non-blocking)
Previous review's Biome version bump observation: The prior Claude review noted a bump from
SummaryThe migration is structurally sound and CI patterns are applied consistently. The one change worth making before merge is adding |
Note
Description
This PR migrates the Base44 CLI repository from a flat structure to a Bun monorepo by moving all source code, tests, build tooling, templates, and configuration into a
packages/cli/workspace. The rootpackage.jsonbecomes a minimal monorepo manifest with Bun workspaces, while the actual CLI package lives underpackages/cli/. No functional changes are made to the CLI itself — this is a pure structural reorganization to support future packages in the repo.Related Issue
None
Type of Change
Changes Made
src/), tests (tests/), bin (bin/), infra (infra/), templates (templates/), and config files from the repo root intopackages/cli/package.jsoninto a Bun workspaces monorepo manifest with onlyknipas a root-level dev dependencypackages/cli/package.jsonwith all dev dependencies, scripts, bin entry, and npm publishing metadataknip.jsonto use workspace-scoped configuration pointing topackages/clilint,test,typecheck,preview-publish,manual-publish,readme-check,daily-error-report) to setworking-directory: packages/clias the job default, with root-level steps (e.g.,bun install,npm install -g npm@latest) explicitly overriding toworking-directory: .manual-publish.ymlto add aCLI_PACKAGE_DIRenv variable and fix all paths for versioning, build, binary upload, and git staging stepsdocs/(AGENTS.md,api-patterns.md,error-handling.md,resources.md) to reflect the newpackages/cli/src/path prefixdaily-error-report.ymlprompt templates to referencepackages/cli/src/path format in stack traces and code snippetsTesting
npm test)Checklist
docs/(AGENTS.md) if I made architectural changesAdditional Notes
The
packages/cliworkspace preserves thebase44npm package name and version, so the published npm package identity is unchanged. Workflow steps that must run from the repo root (e.g.,bun install --frozen-lockfile,npm install -g npm@latest) explicitly override the default working directory withworking-directory: .to avoid running inside the package subdirectory.🤖 Generated by Claude | 2026-03-09 08:30 UTC