refactor(docs): extract site workspace#62
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
🚫 Excluded labels (none allowed) (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
commit: |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
dreamcli | 2512297 | Commit Preview URL Branch Preview URL |
Jul 17 2026, 06:40 PM |
Generate Deno imports from package metadata so Bun, npm, and JSR do not maintain separate dependency versions. Track the definition schema and satisfy Deno's public documentation checks without weakening types.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary
@kjanat/dreamcli-docsworkspace with its own scripts, dependencies, and TypeScript configdocs:*aliases while removing all docs-only dependencies and the VitePress override from the root manifest#dreamcliimport mapexamples/pwsh-demowith a relative file dependency so clean Cloudflare installs do not require a pre-linked packageWhy
The docs toolchain was owned by the published root package, and introducing a package boundary exposed two hidden root assumptions: Vite types in the root TypeScript config and
#dreamcli/*imports inherited from the root manifest. Cloudflare installs also failed because one workspace still referenced@kjanat/dreamclithrough a global named Bun link that does not exist in a clean build environment.The docs package now owns its complete toolchain and resolves the library through an explicit relative dependency. Root aliases preserve existing CI and development commands, and the unchanged Cloudflare build command continues to work through workspace resolution.
Validation
bun install --frozen-lockfilebunx tsc --noEmit --project docs/tsconfig.jsonbun --bun vitepress build docsbunx wrangler deploy --dry-runfromdocs/bun run ci(87 test files, 2,845 tests)Closes #39