Skip to content

feat(cli): preview component installs with --dry-run - #313

Merged
Ducksss merged 2 commits into
devfrom
codex/cli-dry-run-preview
Jul 23, 2026
Merged

Ducksss merged 2 commits into
devfrom
codex/cli-dry-run-preview

Conversation

@tin-computer

@tin-computer tin-computer Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Adds a read-only install preview to the add command.

The preview runs normal target, support, dependency, file, fragment, and state validation, then prints component files, Payload wiring, dependencies, post-install commands, and the eventual state update. It returns before registry builds, installs, file patches, commands, demo seeding, or state writes.

Verification:

  • 16 CLI and orchestration tests pass
  • supported hero-basic fixture dry-run test passes and proves the complete fixture is unchanged
  • full pnpm-backed install suite passes; the Bun-only case cannot run locally because Bun is unavailable
  • TypeScript, lint, CLI build, MDX source build, and diff check pass

Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
@tin-computer
tin-computer Bot requested a review from Ducksss as a code owner July 23, 2026 02:09
@vercel

vercel Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview, Comment Jul 23, 2026 2:24am
payload-components-97bf Ready Ready Preview, Comment Jul 23, 2026 2:24am

Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>

This branch was successfully deployed

2 active deployments
Preview – payload-components — d7397c8d Deployed Jul 23, 2026 by vercel[bot]
Preview – payload-components-97bf — d7397c8d Deployed Jul 23, 2026 by vercel[bot]
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