Skip to content

codeSplitters Deploy/Preview: a folder setting for apps in a monorepo #295

Closed

Description

@QuinnsCode

The desktop (and hosted) Deploy and Preview read rustybuns.config.ts at the root of the clone (src/preview.ts, the install step), so an app inside a monorepo, like RustyBuns' own apps/codesplitters, can't be shipped from its repo page. It stops with "this repo has no rustybuns.config.ts".

Sketch: deploy_settings.dir (new migration, default ''), validated as relative path segments with no ./... install, the config read and rustybuns deploy/destroy then run in repo/<dir>; bun install there still installs the whole workspace. Pass it through begin() to deploy-runner.ts too, and add a folder input next to stage. fit.ts already lists a monorepo's workspaces, so the field could offer those.

Found on #216; not needed there, since the live codeSplitters ships from a checkout with rustybuns deploy.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions