Skip to content

Commit d9bb964

Browse files
[ci] release (alpha)
1 parent 69681ea commit d9bb964

File tree

5 files changed

+58
-2
lines changed

5 files changed

+58
-2
lines changed

.changeset/pre.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,20 @@
99
},
1010
"changesets": [
1111
"afraid-socks-deny",
12+
"afraid-worms-help",
1213
"better-hotels-fall",
1314
"bright-hornets-destroy",
15+
"busy-baths-work",
1416
"calm-trains-camp",
1517
"crazy-ducks-shine",
1618
"cruel-hairs-swim",
1719
"curvy-seals-sit",
1820
"dirty-papayas-happen",
1921
"dull-singers-mate",
2022
"empty-buses-wonder",
23+
"evil-rats-turn",
2124
"famous-turkeys-burn",
25+
"fine-swans-retire",
2226
"five-chairs-poke",
2327
"floppy-laws-tan",
2428
"free-wasps-decide",
@@ -35,13 +39,16 @@
3539
"legal-bags-tie",
3640
"lemon-monkeys-help",
3741
"light-waves-jog",
42+
"little-ghosts-retire",
3843
"lucky-dragons-think",
3944
"mean-mice-train",
4045
"mean-turkeys-help",
4146
"mean-years-remain",
4247
"moody-baboons-greet",
4348
"nasty-parrots-laugh",
49+
"odd-bikes-nail",
4450
"orange-deers-battle",
51+
"plenty-snakes-ring",
4552
"rich-plants-call",
4653
"sharp-lemons-build",
4754
"short-squids-battle",
@@ -52,6 +59,7 @@
5259
"strong-ravens-greet",
5360
"sweet-deers-smell",
5461
"tall-cows-fold",
62+
"tall-keys-allow",
5563
"thin-socks-travel",
5664
"three-ideas-refuse",
5765
"tough-crews-flow",

packages/core/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @clack/core
22

3+
## 1.0.0-alpha.7
4+
5+
### Patch Changes
6+
7+
- 0718b07: fix: export `*Options` types for prompts.
8+
- 4ba2d78: Support short terminal windows when re-rendering by accounting for off-screen lines
9+
- acc4c3a: Add a new `withGuide` option to all prompts to disable the default clack border
10+
311
## 1.0.0-alpha.6
412

513
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clack/core",
3-
"version": "1.0.0-alpha.6",
3+
"version": "1.0.0-alpha.7",
44
"type": "module",
55
"main": "./dist/index.mjs",
66
"module": "./dist/index.mjs",

packages/prompts/CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# @clack/prompts
22

3+
## 1.0.0-alpha.7
4+
5+
### Minor Changes
6+
7+
- 38019c7: Updates the API for stopping spinners and progress bars to be clearer
8+
9+
Previously, both the spinner and progress bar components used a single `stop` method that accepted a code to indicate success, cancellation, or error. This update separates these into distinct methods: `stop()`, `cancel()`, and `error()`:
10+
11+
```diff
12+
const spinner = prompts.spinner();
13+
spinner.start();
14+
15+
// Cancelling a spinner
16+
- spinner.stop(undefined, 1);
17+
+ spinner.cancel();
18+
19+
// Stopping with an error
20+
- spinner.stop(undefined, 2);
21+
+ spinner.error();
22+
```
23+
24+
As before, you can pass a message to each method to customize the output displayed:
25+
26+
```js
27+
spinner.cancel("Operation cancelled by user");
28+
progressBar.error("An error occurred during processing");
29+
```
30+
31+
### Patch Changes
32+
33+
- 4d1d83b: Fixes rendering of multi-line messages and options in select prompt.
34+
- 69681ea: Strip destructive ANSI codes from task log messages.
35+
- b0fa7d8: Add support for wrapped messages in multi line prompts
36+
- 7530af0: Fixes wrapping of cancelled and success messages of select prompt
37+
- acc4c3a: Add a new `withGuide` option to all prompts to disable the default clack border
38+
- Updated dependencies [0718b07]
39+
- Updated dependencies [4ba2d78]
40+
- Updated dependencies [acc4c3a]
41+
- @clack/core@1.0.0-alpha.7
42+
343
## 1.0.0-alpha.6
444

545
### Minor Changes

packages/prompts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clack/prompts",
3-
"version": "1.0.0-alpha.6",
3+
"version": "1.0.0-alpha.7",
44
"type": "module",
55
"main": "./dist/index.mjs",
66
"module": "./dist/index.mjs",

0 commit comments

Comments
 (0)