Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .changeset/display-config-full-coverage.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/feat-run-command.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/figures-middleware.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/help-version-aliases.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/new-parts-stop.md

This file was deleted.

26 changes: 26 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# 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 [ddc5140]
- @kidd-cli/core@0.17.0

## 0.7.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
36 changes: 36 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# 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

### Patch Changes

- ddc5140: Add `-h` alias for `--help` and `-v` alias for `--version`

## 0.16.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down