Skip to content

Commit

Permalink
[ci] release (#232)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Feb 5, 2025
1 parent 613179d commit fe1ee54
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 28 deletions.
13 changes: 0 additions & 13 deletions .changeset/bright-chefs-double.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/gentle-jokes-fail.md

This file was deleted.

27 changes: 27 additions & 0 deletions packages/prompts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @clack/prompts

## 0.10.0

### Minor Changes

- 613179d: Adds a new `indicator` option to `spinner`, which supports the original `"dots"` loading animation or a new `"timer"` loading animation.

```ts
import * as p from "@clack/prompts";

const spin = p.spinner({ indicator: "timer" });
spin.start("Loading");
await sleep(3000);
spin.stop("Loaded");
```

- a38b2bc: Adds `stream` API which provides the same methods as `log`, but for iterable (even async) message streams. This is particularly useful for AI responses which are dynamically generated by LLMs.

```ts
import * as p from "@clack/prompts";

await p.stream.step(
(async function* () {
yield* generateLLMResponse(question);
})()
);
```

## 0.9.1

### Patch Changes
Expand Down
7 changes: 5 additions & 2 deletions packages/prompts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clack/prompts",
"version": "0.9.1",
"version": "0.10.0",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
Expand All @@ -22,7 +22,10 @@
"url": "https://github.com/natemoo-re/clack/issues"
},
"homepage": "https://github.com/natemoo-re/clack/tree/main/packages/prompts#readme",
"files": ["dist", "CHANGELOG.md"],
"files": [
"dist",
"CHANGELOG.md"
],
"author": {
"name": "Nate Moore",
"email": "[email protected]",
Expand Down

0 comments on commit fe1ee54

Please sign in to comment.