Skip to content

Conversation

@biilmann
Copy link
Member

@biilmann biilmann commented Aug 20, 2025

Summary

  • Fixed error where interactive prompt didn't let you select "Create new project"
  • Fixed the --create-site flag to always work without requiring interaction

Test plan

  • Test --create-site flag with various scenarios
  • Verify non-interactive behavior works as expected

🤖 Generated with Claude Code

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@biilmann biilmann requested a review from a team as a code owner August 20, 2025 18:57
@github-actions
Copy link

github-actions bot commented Aug 20, 2025

📊 Benchmark results

Comparing with cc34a97

  • Dependency count: 1,074 (no change)
  • Package size: 297 MB (no change)
  • Number of ts-expect-error directives: 382 (no change)

biilmann and others added 4 commits August 20, 2025 12:05
The interactive deploy prompt was incorrectly checking for a '+' prefix
that didn't exist in the choice text, causing "Create & configure a new
project" to always fall through to the link flow instead of creating
a new site. Fixed by using proper constants and exact equality check,
consistent with the init command pattern.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Replace non-null assertion operator with proper error handling to fix
ESLint violation. Also apply Prettier formatting fixes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Replace brittle string matching with inquirer's choice objects pattern,
separating display text from programmatic values. This prevents future
breakage when display text changes and follows established codebase patterns.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Handle 422 status code when site name is already taken, providing clear
error messages instead of generic "JSONHTTPError: Unprocessable Entity".
This improves the user experience for non-interactive site creation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@biilmann biilmann enabled auto-merge (squash) August 20, 2025 20:09
@biilmann biilmann merged commit 893e5f9 into main Aug 20, 2025
67 of 69 checks passed
@biilmann biilmann deleted the fix-create-site-flag branch August 20, 2025 20:32
@biilmann biilmann restored the fix-create-site-flag branch August 21, 2025 03:08
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.

3 participants