From 6971715cbdf5aa61d88670e422076faf2dc02bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=B7=9D=E6=8B=93=E9=A6=AC?= Date: Sun, 26 Apr 2026 21:31:45 +0900 Subject: [PATCH 1/2] split type-only and runtime exports --- packages/prompts/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/prompts/src/index.ts b/packages/prompts/src/index.ts index e3a1671a..d12551b7 100644 --- a/packages/prompts/src/index.ts +++ b/packages/prompts/src/index.ts @@ -1,4 +1,5 @@ -export { type ClackSettings, isCancel, settings, updateSettings } from '@clack/core'; +export type { ClackSettings } from '@clack/core'; +export { isCancel, settings, updateSettings } from '@clack/core'; export * from './autocomplete.js'; export * from './box.js'; From 8310833c3fe1d587df4429a51ad242ae28a26a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=B7=9D=E6=8B=93=E9=A6=AC?= Date: Sun, 26 Apr 2026 21:54:57 +0900 Subject: [PATCH 2/2] chore: add changeset --- .changeset/honest-crews-go.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/honest-crews-go.md diff --git a/.changeset/honest-crews-go.md b/.changeset/honest-crews-go.md new file mode 100644 index 00000000..21f8c4c7 --- /dev/null +++ b/.changeset/honest-crews-go.md @@ -0,0 +1,5 @@ +--- +"@clack/prompts": patch +--- + +Fix mixed type-only and runtime exports from @clack/core.