From 5795ddb11e065f9511ca9834882f0c7f115fbb7d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2026 01:31:02 +0000 Subject: [PATCH] release: version packages --- .changeset/display-config-full-coverage.md | 15 ------- .changeset/feat-run-command.md | 18 -------- .changeset/figures-middleware.md | 5 --- .changeset/fix-treeshake-barrel-exports.md | 5 --- .changeset/help-version-aliases.md | 5 --- .changeset/interactive-story-mode.md | 13 ------ .changeset/new-parts-stop.md | 2 - .changeset/reorganize-ui-components.md | 5 --- packages/bundler/CHANGELOG.md | 8 ++++ packages/bundler/package.json | 2 +- packages/cli/CHANGELOG.md | 32 ++++++++++++++ packages/cli/package.json | 2 +- packages/config/CHANGELOG.md | 8 ++++ packages/config/package.json | 2 +- packages/core/CHANGELOG.md | 50 ++++++++++++++++++++++ packages/core/package.json | 2 +- packages/utils/CHANGELOG.md | 6 +++ packages/utils/package.json | 2 +- 18 files changed, 109 insertions(+), 73 deletions(-) delete mode 100644 .changeset/display-config-full-coverage.md delete mode 100644 .changeset/feat-run-command.md delete mode 100644 .changeset/figures-middleware.md delete mode 100644 .changeset/fix-treeshake-barrel-exports.md delete mode 100644 .changeset/help-version-aliases.md delete mode 100644 .changeset/interactive-story-mode.md delete mode 100644 .changeset/new-parts-stop.md delete mode 100644 .changeset/reorganize-ui-components.md diff --git a/.changeset/display-config-full-coverage.md b/.changeset/display-config-full-coverage.md deleted file mode 100644 index 01b8db23..00000000 --- a/.changeset/display-config-full-coverage.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'@kidd-cli/core': minor ---- - -feat(core): add DisplayConfig and full clack API coverage - -Introduces `DisplayConfig` — a per-CLI configuration object that injects defaults into all clack-backed APIs (`ctx.log`, `ctx.prompts`, `ctx.status`). Only `aliases` and `messages` are applied globally via `updateSettings()`; everything else is merged per-call so method-level options always win. - -Also widens all kidd interfaces to match the full `@clack/prompts` API surface: - -- **Prompts**: `ConfirmOptions.vertical`, `PasswordOptions.clearOnError`, `GroupMultiSelectOptions.cursorAt`/`groupSpacing`, `AutocompleteOptions.initialUserInput`, `SelectKeyOptions.caseSensitive`, `PathOptions.validate` accepts `string | undefined` -- **Spinner**: `cancel()`, `error()`, `clear()`, `isCancelled` -- **ProgressBar**: `message()`, `cancel()`, `error()`, `clear()`, `isCancelled` -- **TaskLog**: `group()` sub-groups, `TaskLogMessageOptions.raw`, `TaskLogCompletionOptions.showLog`, `TaskLogOptions.spacing` -- **Log**: all level methods accept `LogMessageOptions` (symbol, spacing, secondarySymbol); `note` accepts `NoteOptions` with `format`; `BoxOptions.formatBorder` diff --git a/.changeset/feat-run-command.md b/.changeset/feat-run-command.md deleted file mode 100644 index 64b6f7f6..00000000 --- a/.changeset/feat-run-command.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@kidd-cli/core': minor -'@kidd-cli/cli': minor ---- - -feat(core): add configurable `strict` mode for CLI, command, and screen - -Add `strict` option to `CliOptions`, `CommandDef`, and `ScreenDef` to control whether yargs rejects unknown flags. Defaults to `true` (existing behavior). Per-command `strict: false` overrides the CLI-level setting. - -feat(cli): add `kidd run` command - -New command to run the current kidd CLI project with three engine modes: - -- `node` (default) — builds first, then runs `node dist/index.mjs` -- `tsx` — runs the source entry file directly via `tsx` -- `binary` — builds and compiles, then executes the compiled binary - -Supports `--inspect`, `--inspect-brk`, `--inspect-wait`, and `--inspect-port` for debugging (node and tsx engines only). All unknown flags are forwarded to the executed CLI. diff --git a/.changeset/figures-middleware.md b/.changeset/figures-middleware.md deleted file mode 100644 index ead48e78..00000000 --- a/.changeset/figures-middleware.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@kidd-cli/core': minor ---- - -Add `figures` middleware that decorates `ctx.figures` with platform-appropriate terminal symbols from the `figures` package by sindresorhus diff --git a/.changeset/fix-treeshake-barrel-exports.md b/.changeset/fix-treeshake-barrel-exports.md deleted file mode 100644 index 55beb1b8..00000000 --- a/.changeset/fix-treeshake-barrel-exports.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@kidd-cli/utils': minor ---- - -Replace wildcard re-exports (`export *`) with explicit named exports for `es-toolkit` and `ts-pattern` in the `fp` barrel module, enabling proper tree-shaking in downstream CLI bundles. Previously the entire `es-toolkit` library (193 modules) was bundled even when only 7 functions were used. diff --git a/.changeset/help-version-aliases.md b/.changeset/help-version-aliases.md deleted file mode 100644 index dd49f189..00000000 --- a/.changeset/help-version-aliases.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@kidd-cli/core': patch ---- - -Add `-h` alias for `--help` and `-v` alias for `--version` diff --git a/.changeset/interactive-story-mode.md b/.changeset/interactive-story-mode.md deleted file mode 100644 index 5f0927a9..00000000 --- a/.changeset/interactive-story-mode.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@kidd-cli/core': minor ---- - -feat(core): add interactive mode and declarative key binding hooks - -Adds interactive mode to the stories viewer, giving story components full terminal control with the header and sidebar hidden. Press `i` to enter interactive mode and double-press `Esc` to exit. - -Introduces reusable key handling primitives: - -- **keys.ts**: shared key vocabulary, pattern parser, and normalizer for Ink's `useInput` -- **useKeyBinding**: declarative keymap hook supporting single keys, modifier combos, and multi-key sequences -- **useKeyInput**: enhanced raw input hook with normalized key events diff --git a/.changeset/new-parts-stop.md b/.changeset/new-parts-stop.md deleted file mode 100644 index a845151c..00000000 --- a/.changeset/new-parts-stop.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/reorganize-ui-components.md b/.changeset/reorganize-ui-components.md deleted file mode 100644 index f5ee9ec5..00000000 --- a/.changeset/reorganize-ui-components.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@kidd-cli/core': minor ---- - -Reorganize UI components into prompts, display, and layout modules. Add new prompt components (Autocomplete, GroupMultiSelect, PathInput, SelectKey), display components (Alert, ProgressBar, Spinner, StatusMessage), and extract screen module with provider and context. diff --git a/packages/bundler/CHANGELOG.md b/packages/bundler/CHANGELOG.md index 2d60287d..ff97987f 100644 --- a/packages/bundler/CHANGELOG.md +++ b/packages/bundler/CHANGELOG.md @@ -1,5 +1,13 @@ # @kidd-cli/bundler +## 0.3.2 + +### Patch Changes + +- Updated dependencies [687e8a1] + - @kidd-cli/utils@0.2.0 + - @kidd-cli/config@0.1.7 + ## 0.3.1 ### Patch Changes diff --git a/packages/bundler/package.json b/packages/bundler/package.json index c3aaf749..7e2d9c88 100644 --- a/packages/bundler/package.json +++ b/packages/bundler/package.json @@ -1,6 +1,6 @@ { "name": "@kidd-cli/bundler", - "version": "0.3.1", + "version": "0.3.2", "description": "Programmatic bundler for kidd CLI tools powered by tsdown", "keywords": [ "bundler", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 42c882fc..9bd0126d 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,37 @@ # kidd-cli +## 0.8.0 + +### Minor Changes + +- f0198b2: feat(core): add configurable `strict` mode for CLI, command, and screen + + Add `strict` option to `CliOptions`, `CommandDef`, and `ScreenDef` to control whether yargs rejects unknown flags. Defaults to `true` (existing behavior). Per-command `strict: false` overrides the CLI-level setting. + + feat(cli): add `kidd run` command + + New command to run the current kidd CLI project with three engine modes: + + - `node` (default) — builds first, then runs `node dist/index.mjs` + - `tsx` — runs the source entry file directly via `tsx` + - `binary` — builds and compiles, then executes the compiled binary + + Supports `--inspect`, `--inspect-brk`, `--inspect-wait`, and `--inspect-port` for debugging (node and tsx engines only). All unknown flags are forwarded to the executed CLI. + +### Patch Changes + +- Updated dependencies [e724996] +- Updated dependencies [f0198b2] +- Updated dependencies [f51a6b1] +- Updated dependencies [687e8a1] +- Updated dependencies [ddc5140] +- Updated dependencies [9a6fa77] +- Updated dependencies [2995c8f] + - @kidd-cli/core@0.17.0 + - @kidd-cli/utils@0.2.0 + - @kidd-cli/bundler@0.3.2 + - @kidd-cli/config@0.1.7 + ## 0.7.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 40463ea8..1495ed8d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@kidd-cli/cli", - "version": "0.7.0", + "version": "0.8.0", "description": "DX companion CLI for the kidd framework", "keywords": [ "cli", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 6e1443b4..c01314d5 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,10 +1,18 @@ # @kidd-cli/config +## 0.1.7 + +### Patch Changes + +- Updated dependencies [687e8a1] + - @kidd-cli/utils@0.2.0 + ## 0.1.6 ### Patch Changes - 0d0c61f: Comprehensive code review cleanup and refactoring across all packages: + - Reorganize bundler into `build/`, `compile/`, `autoloader/`, `config/` subdirectories - Split core `types.ts` into `types/utility`, `types/middleware`, `types/command`, `types/cli` - Create shared `tsdown.base.mjs` config for all packages diff --git a/packages/config/package.json b/packages/config/package.json index 452a5e9d..ced43c9c 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@kidd-cli/config", - "version": "0.1.6", + "version": "0.1.7", "description": "Build-time configuration for kidd CLIs", "keywords": [ "cli", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index aaf12558..8984efb3 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,55 @@ # kidd +## 0.17.0 + +### Minor Changes + +- e724996: feat(core): add DisplayConfig and full clack API coverage + + Introduces `DisplayConfig` — a per-CLI configuration object that injects defaults into all clack-backed APIs (`ctx.log`, `ctx.prompts`, `ctx.status`). Only `aliases` and `messages` are applied globally via `updateSettings()`; everything else is merged per-call so method-level options always win. + + Also widens all kidd interfaces to match the full `@clack/prompts` API surface: + + - **Prompts**: `ConfirmOptions.vertical`, `PasswordOptions.clearOnError`, `GroupMultiSelectOptions.cursorAt`/`groupSpacing`, `AutocompleteOptions.initialUserInput`, `SelectKeyOptions.caseSensitive`, `PathOptions.validate` accepts `string | undefined` + - **Spinner**: `cancel()`, `error()`, `clear()`, `isCancelled` + - **ProgressBar**: `message()`, `cancel()`, `error()`, `clear()`, `isCancelled` + - **TaskLog**: `group()` sub-groups, `TaskLogMessageOptions.raw`, `TaskLogCompletionOptions.showLog`, `TaskLogOptions.spacing` + - **Log**: all level methods accept `LogMessageOptions` (symbol, spacing, secondarySymbol); `note` accepts `NoteOptions` with `format`; `BoxOptions.formatBorder` + +- f0198b2: feat(core): add configurable `strict` mode for CLI, command, and screen + + Add `strict` option to `CliOptions`, `CommandDef`, and `ScreenDef` to control whether yargs rejects unknown flags. Defaults to `true` (existing behavior). Per-command `strict: false` overrides the CLI-level setting. + + feat(cli): add `kidd run` command + + New command to run the current kidd CLI project with three engine modes: + + - `node` (default) — builds first, then runs `node dist/index.mjs` + - `tsx` — runs the source entry file directly via `tsx` + - `binary` — builds and compiles, then executes the compiled binary + + Supports `--inspect`, `--inspect-brk`, `--inspect-wait`, and `--inspect-port` for debugging (node and tsx engines only). All unknown flags are forwarded to the executed CLI. + +- f51a6b1: Add `figures` middleware that decorates `ctx.figures` with platform-appropriate terminal symbols from the `figures` package by sindresorhus +- 9a6fa77: feat(core): add interactive mode and declarative key binding hooks + + Adds interactive mode to the stories viewer, giving story components full terminal control with the header and sidebar hidden. Press `i` to enter interactive mode and double-press `Esc` to exit. + + Introduces reusable key handling primitives: + + - **keys.ts**: shared key vocabulary, pattern parser, and normalizer for Ink's `useInput` + - **useKeyBinding**: declarative keymap hook supporting single keys, modifier combos, and multi-key sequences + - **useKeyInput**: enhanced raw input hook with normalized key events + +- 2995c8f: Reorganize UI components into prompts, display, and layout modules. Add new prompt components (Autocomplete, GroupMultiSelect, PathInput, SelectKey), display components (Alert, ProgressBar, Spinner, StatusMessage), and extract screen module with provider and context. + +### Patch Changes + +- ddc5140: Add `-h` alias for `--help` and `-v` alias for `--version` +- Updated dependencies [687e8a1] + - @kidd-cli/utils@0.2.0 + - @kidd-cli/config@0.1.7 + ## 0.16.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 9e8f4976..7eb225e9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@kidd-cli/core", - "version": "0.16.0", + "version": "0.17.0", "description": "An opinionated CLI framework for Node.js", "keywords": [ "cli", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 93acfec6..a579f452 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @kidd-cli/utils +## 0.2.0 + +### Minor Changes + +- 687e8a1: Replace wildcard re-exports (`export *`) with explicit named exports for `es-toolkit` and `ts-pattern` in the `fp` barrel module, enabling proper tree-shaking in downstream CLI bundles. Previously the entire `es-toolkit` library (193 modules) was bundled even when only 7 functions were used. + ## 0.1.5 ### Patch Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index e1e94e88..609d2d62 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@kidd-cli/utils", - "version": "0.1.5", + "version": "0.2.0", "description": "Shared utilities for the kidd ecosystem", "keywords": [ "cli",