Skip to content

fix(deps): update dependency @clack/prompts to v1.8.0 - #2332

Merged
toiroakr merged 5 commits into
mainfrom
renovate/clack-prompts-1.x
Sep 17, 2026
Merged

toiroakr merged 5 commits into
mainfrom
renovate/clack-prompts-1.x

Conversation

@renovate

@renovate renovate Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

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

v1.8.0

Compare Source

Minor Changes
  • #​592 caa32e8 Thanks @​gameroman! - Export CANCEL_SYMBOL constant from @clack/core and @clack/prompts

  • #​594 37fca4e Thanks @​dreyfus92! - Add tab-completion to the path prompt: pressing Tab fills the input with the focused suggestion, so you can quickly descend into deep directories (type / and Tab again). Powered by a new opt-in completeOnTab option on autocomplete, which also shows a Tab: complete hint in the instructions footer. Default autocomplete behavior is unchanged.

  • #​583 ae636dd Thanks @​43081j! - Add async validation support to prompts, and validation state rendering to text prompts.

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 a review from a team as a code owner September 11, 2026 02:23
@changeset-bot

changeset-bot Bot commented Sep 11, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a03b68a

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

This PR includes changesets to release 6 packages
Name Type
@tailor-platform/sdk Patch
@tailor-platform/sdk-codemod Patch
@tailor-platform/sdk-plugin-seed Patch
@tailor-platform/sdk-plugin-setup Patch
@tailor-platform/sdk-plugin-tailordb-erd 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

@tailor-platform-pr-trigger
tailor-platform-pr-trigger Bot requested a review from a team as a code owner September 11, 2026 02:23
@pkg-pr-new

pkg-pr-new Bot commented Sep 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

@tailor-platform/create-sdk

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/create-sdk@a03b68a

@tailor-platform/eslint-plugin-sdk

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/eslint-plugin-sdk@a03b68a

@tailor-platform/sdk

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/sdk@a03b68a

@tailor-platform/sdk-plugin-seed

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/sdk-plugin-seed@a03b68a

@tailor-platform/sdk-plugin-setup

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/sdk-plugin-setup@a03b68a

@tailor-platform/sdk-plugin-tailordb-erd

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/sdk-plugin-tailordb-erd@a03b68a

commit: a03b68a

@github-actions

Copy link
Copy Markdown

🤖 Claude Dependency Review

✅ Recommended Actions

None — safe to merge as-is. This is a minor version update with no breaking changes, adding useful new features (async validation, tab-completion) and bug fixes that improve the user experience of the create-sdk CLI.

📦 Update Summary

  • Library: @​clack/prompts
  • Version: 1.7.0 → 1.8.0
  • Change Type: Minor
📝 Release Notes

Release Date: September 7, 2024

Source: GitHub CHANGELOG

Minor Changes

  1. CANCEL_SYMBOL Export (#592)

    • Exports CANCEL_SYMBOL constant from both @​clack/core and @​clack/prompts
    • Useful for programs that need to detect user cancellation programmatically
  2. Tab-Completion for Path Prompt (#594)

    • Adds tab-completion feature to path prompt and autocomplete prompt
    • Pressing Tab fills the input with the focused suggestion
    • New opt-in completeOnTab option on autocomplete prompts
    • Shows "Tab: complete" hint in instructions footer when enabled
    • Enables quick navigation into deep directory structures
  3. Async Validation Support (#583)

    • Adds support for asynchronous validation functions in prompts
    • Implements validation state rendering for text prompts
    • Allows validation that requires I/O operations (API calls, file checks, etc.)

Patch Changes

  • Guide Bar Styling (#588)

    • Style guide bar rendered by box({ withGuide: true }) in grey to match other UI elements
  • withGuide Rendering Fix (#599)

    • Fixes a rendering issue that left extra spaces in text prompts when using withGuide

Dependency Updates

  • Updated @​clack/core to version 1.5.0
🔐 Security Assessment
  • Risk: 🟢 Low
  • Known vulnerabilities: None found for either version 1.7.0 or 1.8.0
  • Supply-chain notes:
    • No maintainer or ownership changes detected
    • No new suspicious lifecycle scripts
    • No unexpected new dependencies introduced
    • Package is actively maintained by the bombshell-dev organization
    • Search of Snyk vulnerability database and GitHub Security Advisory Database found no CVEs or GHSAs affecting these versions
    • This is a well-established CLI prompts library used in the ecosystem
🚨 Breaking Changes

None — This is a minor version update with no breaking changes. All existing APIs remain backward compatible.

✨ Main Changes

New Features

  1. CANCEL_SYMBOL Export

    • Makes the cancellation symbol constant publicly available
    • Useful for advanced use cases where code needs to detect or compare against the cancel symbol
    • Non-breaking addition to the API
  2. Tab-Completion Enhancement

    • Significantly improves user experience for path and autocomplete prompts
    • Opt-in feature (requires completeOnTab: true on autocomplete prompts)
    • Default behavior unchanged, so existing code is unaffected
    • Particularly useful for deep directory navigation
  3. Async Validation

    • Major enhancement for validation capabilities
    • Allows validation functions to be async (e.g., checking if a project name is available via API)
    • Adds visual feedback during validation
    • Backward compatible — synchronous validation still works

Bug Fixes

  1. Visual Consistency

    • Guide bar now styled consistently with other UI elements
    • Fixes spacing issues with withGuide option
  2. Rendering Improvements

    • Cleaner text prompt rendering without extra spaces
🔍 Impact Analysis

📁 Usage Locations

@​clack/prompts is used in the following 4 files in the packages/create-sdk package:

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

    import { cancel, isCancel, log, select, text } from "@​clack/prompts";
    • Features used: cancel, isCancel, log, select, text
    • Impact:
      • text prompt benefits from async validation support (currently uses sync validation, but could be enhanced in the future)
      • select prompt unchanged
      • cancel and isCancel functions unchanged
      • log function unchanged
      • No breaking changes affect this file
  2. packages/create-sdk/src/copy.ts

    import { spinner } from "@​clack/prompts";
    • Features used: spinner
    • Impact:
      • spinner function unchanged
      • No breaking changes affect this file
  3. packages/create-sdk/src/index.ts

    import { intro, outro } from "@​clack/prompts";
    • Features used: intro, outro
    • Impact:
      • intro and outro functions unchanged
      • No breaking changes affect this file
  4. packages/create-sdk/src/init.ts

    import { log, spinner } from "@​clack/prompts";
    • Features used: log, spinner
    • Impact:
      • log function unchanged
      • spinner function unchanged
      • No breaking changes affect this file

Summary

All usage locations in the codebase use stable APIs that have not changed in this update. The new features (CANCEL_SYMBOL export, tab-completion, async validation) are additive and do not affect existing code. The bug fixes improve visual consistency and fix minor rendering issues, which will enhance the user experience without requiring any code changes.

Optional Future Enhancement: The async validation feature could be utilized in context.ts if there's a need to perform asynchronous validation (e.g., checking project name availability against a remote service), but this is not required for the current functionality.


@github-actions

This comment has been minimized.

@renovate
renovate Bot force-pushed the renovate/clack-prompts-1.x branch from 700076f to 84ff04b Compare September 15, 2026 00:39
@github-actions

This comment has been minimized.

@renovate
renovate Bot force-pushed the renovate/clack-prompts-1.x branch from 4f51207 to 4728f76 Compare September 15, 2026 00:51
@github-actions

This comment has been minimized.

@toiroakr

Copy link
Copy Markdown
Contributor

@copilot fix ci

Co-authored-by: toiroakr <3090700+toiroakr@users.noreply.github.com>

Copilot AI commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

@copilot fix ci

Fixed in 68f79f7. I updated packages/create-sdk/src/context.ts to handle the widened @clack/prompts return types, then re-ran corepack pnpm --filter @tailor-platform/create-sdk typecheck, lint, and build successfully.

@renovate

renovate Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

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

This comment has been minimized.

@toiroakr

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

…s-1.x

# Conflicts:
#	pnpm-lock.yaml

Co-authored-by: toiroakr <3090700+toiroakr@users.noreply.github.com>
auto-merge was automatically disabled September 16, 2026 07:44

Head branch was pushed to by a user without write access

Copilot AI commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved in a03b68a. I merged origin/main, regenerated the conflicted pnpm-lock.yaml, and re-ran corepack pnpm --filter @tailor-platform/create-sdk typecheck and lint successfully.

@github-actions

Copy link
Copy Markdown

Code Metrics Report (packages/sdk)

main (2fd9243) #2332 (9e8d139) +/-
Coverage 84.1% 84.0% -0.1%
Code to Test Ratio 1:0.5 1:0.5 -0.1
Details
  |                    | main (2fd9243) | #2332 (9e8d139) |  +/-  |
  |--------------------|----------------|-----------------|-------|
- | Coverage           |          84.1% |           84.0% | -0.1% |
  |   Files            |            526 |             524 |    -2 |
  |   Lines            |          21520 |           21445 |   -75 |
- |   Covered          |          18103 |           18025 |   -78 |
- | Code to Test Ratio |          1:0.5 |           1:0.5 |  -0.1 |
  |   Code             |         166156 |          164865 | -1291 |
- |   Test             |          88288 |           87257 | -1031 |

Code coverage of files in pull request scope (79.5% → 75.9%)

Files Coverage +/- Status
packages/sdk/src/cli/commands/tailordb/migrate/snapshot-manifest.ts 59.7% -0.3% affected
packages/sdk/src/cli/commands/tailordb/migrate/snapshot-remote.ts 79.1% -1.7% affected
packages/sdk/src/cli/commands/tailordb/migrate/snapshot-script-compatibility.ts 0.0% -100.0% affected
packages/sdk/src/cli/shared/config-loader.ts 96.5% +1.4% affected
packages/sdk/src/cli/shared/github-actions.ts 100.0% +1.7% affected
packages/sdk/src/seed/record-lines.ts 0.0% -100.0% affected

SDK Configure Bundle Size

main (2fd9243) #2332 (9e8d139) +/-
configure-index-size 13.37KB 13.37KB 0KB
dependency-chunks-size 20.72KB 20.72KB 0KB
total-bundle-size 34.1KB 34.1KB 0KB

Runtime Performance

main (2fd9243) #2332 (9e8d139) +/-
Generate Median 1,837ms 1,539ms -298ms
Generate Max 1,841ms 1,570ms -271ms
Apply Build Median 1,996ms 1,681ms -315ms
Apply Build Max 2,012ms 1,689ms -323ms

Type Performance (instantiations)

main (2fd9243) #2332 (9e8d139) +/-
tailordb-basic 47,310 47,310 0
tailordb-optional 4,768 4,768 0
tailordb-relation 4,840 4,840 0
tailordb-validate 694 694 0
tailordb-hooks 5,833 5,833 0
tailordb-object 13,762 13,762 0
tailordb-enum 1,619 1,619 0
resolver-basic 12,120 12,120 0
resolver-nested 35,419 35,419 0
resolver-array 24,056 24,056 0
executor-schedule 4,489 4,489 0
executor-webhook 1,130 1,130 0
executor-record 5,443 5,443 0
executor-resolver 5,808 5,808 0
executor-operation-function 1,118 1,118 0
executor-operation-gql 1,126 1,126 0
executor-operation-webhook 1,137 1,137 0
executor-operation-workflow 1,931 1,931 0

Reported by octocov

@toiroakr
toiroakr merged commit 93d8a49 into main Sep 17, 2026
49 checks passed
@toiroakr
toiroakr deleted the renovate/clack-prompts-1.x branch September 17, 2026 02:59
toiroakr pushed a commit that referenced this pull request Sep 18, 2026
…xes the typing

@clack/prompts 1.8.0 widened the prompt return types from
`Value | typeof CANCEL_SYMBOL` to `Value | symbol`, which defeated the
`isCancel` type guard and forced the `unwrapPromptResult` / `requireValue`
workaround in #2332. 1.8.1 restores the narrow return types, so
`packages/create-sdk/src/context.ts` goes back to its pre-workaround form.

Also fix the `@politty/zod` snapshot key in the lockfile: the importers
resolve `zod@4.6.5` while the snapshot only defined the `zod@4.6.4`
variant, which left the package unmaterialized and broke typecheck.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hhr3H8hC7Z1sSfSd1diYBT
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