Skip to content

Update @clack/prompts to v1.1.0#23

Merged
teallarson merged 1 commit intomainfrom
teallarson/update-clack-major
Mar 9, 2026
Merged

Update @clack/prompts to v1.1.0#23
teallarson merged 1 commit intomainfrom
teallarson/update-clack-major

Conversation

@teallarson
Copy link
Collaborator

Summary

  • Bumps @clack/prompts from ^0.10.0 to ^1.1.0
  • Adapts two breaking API changes to keep behavior correct

Breaking changes addressed

  • Spinner API: s.stop("...failed")s.error("...failed") for error cases (post-scaffold.ts)
  • Validate callback type: (v)(v ?? "") since param is now string | undefined (prompts.ts)

Non-issues checked

  • ESM-only distribution: already fine, project has "type": "module"
  • placeholder behavior change: safe — validate already rejects empty strings with "Name is required"

Test plan

  • Run npm run build — passes clean
  • Smoke test create-arcade-agent CLI: project name prompt, cancellation, spinner on install/migrate steps

🤖 Generated with Claude Code

- Use s.error() instead of s.stop() for failure cases (new spinner API)
- Handle undefined in validate callback (new type signature)
- placeholder change is safe since validate already rejects empty input

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@teallarson teallarson force-pushed the teallarson/update-clack-major branch from 755a526 to 67224b1 Compare March 9, 2026 18:59
@teallarson teallarson marked this pull request as ready for review March 9, 2026 19:13
@teallarson teallarson merged commit aca6e02 into main Mar 9, 2026
@teallarson teallarson deleted the teallarson/update-clack-major branch March 9, 2026 19:13
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