Skip to content

fix(deps): update dependency @clack/prompts to v1.5.0#1288

Merged
toiroakr merged 2 commits into
mainfrom
renovate/clack-prompts-1.x
Jun 2, 2026
Merged

fix(deps): update dependency @clack/prompts to v1.5.0#1288
toiroakr merged 2 commits into
mainfrom
renovate/clack-prompts-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 2, 2026

This PR contains the following updates:

Package Change Age Confidence
@clack/prompts (source) 1.4.01.5.0 age confidence

Release Notes

bombshell-dev/clack (@​clack/prompts)

v1.5.0

Compare Source

Minor Changes
  • #​543 83428ac Thanks @​florian-lefebvre! - Adds support for Standard Schema validation

    Prompts accept an optional validate() function to validate user input. While a function provides more flexibility and customization over your validation, it can be a bit verbose. To help solve this, there are libraries that provide schema-based validation to make shorthand and type-strict validation substantially easier.

    Libraries following the Standard Schema specification are now natively supported. For example, using Arktype:

    import { text } from '@​clack/prompts';
    import { type } from 'arktype';
    
    const name = await text({
    	message: 'Enter your email',
    +	validate: type('string.email').describe('Invalid email'),
    });
Patch Changes

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • Between 09:00 AM and 06:59 PM, Monday through Friday (* 9-18 * * 1-5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested review from remiposo and toiroakr as code owners June 2, 2026 01:21
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 2, 2026

🦋 Changeset detected

Latest commit: 02027b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@tailor-platform/sdk Patch
@tailor-platform/create-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

⚡ pkg.pr.new

@tailor-platform/sdk

pnpm add https://pkg.pr.new/@tailor-platform/sdk@02027b1
pnpm dlx https://pkg.pr.new/@tailor-platform/sdk@02027b1 --help

@tailor-platform/create-sdk

pnpm add https://pkg.pr.new/@tailor-platform/create-sdk@02027b1
pnpm dlx https://pkg.pr.new/@tailor-platform/create-sdk@02027b1 my-app

commit: 02027b1

@claude
Copy link
Copy Markdown

claude Bot commented Jun 2, 2026

🤖 Claude Dependency Review

📦 Update Summary

  • Library: @clack/prompts
  • Version: 1.4.0 → 1.5.0
  • Change Type: Minor

📝 Release Notes

https://github.com/bombshell-dev/clack/blob/main/packages/prompts/CHANGELOG.md#150

✨ Main Changes

New Features

  • Standard Schema Validation Support (#543)
    • Added native support for libraries following the Standard Schema specification
    • Allows using schema-based validation libraries (e.g., Arktype) as an alternative to custom validation functions
    • This is an optional enhancement - existing validate functions continue to work as before
    • Example: validate: type('string.email').describe('Invalid email')

Bug Fixes

  • Multiline Prompt Fix (#534)
    • Fixed handling of spaces and uppercase characters in multiline prompts
    • Improves reliability when users input text with mixed case or spaces

Documentation

  • Added JSDoc documentation for box, group, group-multi-select, autocomplete, confirm, and path prompts
    • Improves IDE autocomplete and inline documentation

Dependency Updates

  • Updated @clack/core from 1.3.1 to 1.4.0

🔍 Impact Analysis

📁 Usage Locations

@clack/prompts is used in the following 4 files:

  1. packages/create-sdk/src/context.ts

    import { cancel, isCancel, log, select, text } from "@clack/prompts";
    • Features used: text() with custom validation function (line 80-83), select() (line 98-101), log, cancel, isCancel
    • Impact: No breaking changes. The new Standard Schema validation is optional and doesn't affect existing validate function usage. The multiline prompt fix improves reliability.
  2. packages/create-sdk/src/copy.ts

    import { spinner } from "@clack/prompts";
    • Features used: spinner() for progress indication (line 21, 38)
    • Impact: No changes to spinner API
  3. packages/create-sdk/src/init.ts

    import { log, spinner } from "@clack/prompts";
    • Features used: log for messages, spinner() for progress indication (line 27, 36)
    • Impact: No changes to these APIs
  4. packages/create-sdk/src/index.ts

    import { intro, outro } from "@clack/prompts";
    • Features used: intro() and outro() for welcome/completion messages (line 28, 41)
    • Impact: No changes to these APIs

✅ Recommended Actions

No action required - this is a safe minor version update with:

  • ✅ No breaking changes
  • ✅ All existing APIs remain backward compatible
  • ✅ New features are opt-in enhancements
  • ✅ Bug fixes improve reliability
  • ✅ All usage patterns in the codebase are unaffected

The update can be merged as-is. The multiline prompt fix and improved JSDoc documentation provide value without requiring any code changes.


@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@renovate renovate Bot force-pushed the renovate/clack-prompts-1.x branch from a091293 to c579791 Compare June 2, 2026 01:32
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jun 2, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Code Metrics Report (packages/sdk)

main (98d9355) #1288 (07b3f82) +/-
Coverage 64.3% 64.3% 0.0%
Code to Test Ratio 1:0.4 1:0.4 0.0
Details
  |                    | main (98d9355) | #1288 (07b3f82) | +/-  |
  |--------------------|----------------|-----------------|------|
  | Coverage           |          64.3% |           64.3% | 0.0% |
  |   Files            |            380 |             380 |    0 |
  |   Lines            |          13142 |           13142 |    0 |
  |   Covered          |           8455 |            8455 |    0 |
  | Code to Test Ratio |          1:0.4 |           1:0.4 |  0.0 |
  |   Code             |          87484 |           87484 |    0 |
  |   Test             |          37461 |           37461 |    0 |

SDK Configure Bundle Size

main (98d9355) #1288 (07b3f82) +/-
configure-index-size 18KB 18KB 0KB
dependency-chunks-size 34.47KB 34.47KB 0KB
total-bundle-size 52.47KB 52.47KB 0KB

Runtime Performance

main (98d9355) #1288 (07b3f82) +/-
Generate Median 2,765ms 2,743ms -22ms
Generate Max 2,804ms 2,891ms 87ms
Apply Build Median 2,785ms 2,792ms 7ms
Apply Build Max 2,804ms 2,814ms 10ms

Type Performance (instantiations)

main (98d9355) #1288 (07b3f82) +/-
tailordb-basic 35,147 35,147 0
tailordb-optional 3,841 3,841 0
tailordb-relation 7,428 7,428 0
tailordb-validate 2,566 2,566 0
tailordb-hooks 5,767 5,767 0
tailordb-object 12,136 12,136 0
tailordb-enum 2,462 2,462 0
resolver-basic 9,424 9,424 0
resolver-nested 26,111 26,111 0
resolver-array 18,187 18,187 0
executor-schedule 4,234 4,234 0
executor-webhook 873 873 0
executor-record 8,166 8,166 0
executor-resolver 4,369 4,369 0
executor-operation-function 868 868 0
executor-operation-gql 869 869 0
executor-operation-webhook 888 888 0
executor-operation-workflow 1,714 1,714 0

Reported by octocov

@toiroakr toiroakr merged commit 0b27445 into main Jun 2, 2026
55 checks passed
@toiroakr toiroakr deleted the renovate/clack-prompts-1.x branch June 2, 2026 01:55
This was referenced Jun 2, 2026
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