Skip to content

Commit a89bb4b

Browse files
[ci] release (alpha)
1 parent 6176ced commit a89bb4b

File tree

5 files changed

+60
-2
lines changed

5 files changed

+60
-2
lines changed

.changeset/pre.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,21 @@
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",
17+
"chatty-islands-move",
1518
"crazy-ducks-shine",
1619
"cruel-hairs-swim",
1720
"curvy-seals-sit",
1821
"dirty-papayas-happen",
1922
"dull-singers-mate",
2023
"empty-buses-wonder",
24+
"evil-rats-turn",
2125
"famous-turkeys-burn",
26+
"fine-swans-retire",
2227
"five-chairs-poke",
2328
"floppy-laws-tan",
2429
"free-wasps-decide",
@@ -35,13 +40,16 @@
3540
"legal-bags-tie",
3641
"lemon-monkeys-help",
3742
"light-waves-jog",
43+
"little-ghosts-retire",
3844
"lucky-dragons-think",
3945
"mean-mice-train",
4046
"mean-turkeys-help",
4147
"mean-years-remain",
4248
"moody-baboons-greet",
4349
"nasty-parrots-laugh",
50+
"odd-bikes-nail",
4451
"orange-deers-battle",
52+
"plenty-snakes-ring",
4553
"rich-plants-call",
4654
"sharp-lemons-build",
4755
"short-squids-battle",
@@ -52,6 +60,7 @@
5260
"strong-ravens-greet",
5361
"sweet-deers-smell",
5462
"tall-cows-fold",
63+
"tall-keys-allow",
5564
"thin-socks-travel",
5665
"three-ideas-refuse",
5766
"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: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
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+
- 6176ced: Add withGuide support to note prompt
35+
- 69681ea: Strip destructive ANSI codes from task log messages.
36+
- b0fa7d8: Add support for wrapped messages in multi line prompts
37+
- 7530af0: Fixes wrapping of cancelled and success messages of select prompt
38+
- acc4c3a: Add a new `withGuide` option to all prompts to disable the default clack border
39+
- Updated dependencies [0718b07]
40+
- Updated dependencies [4ba2d78]
41+
- Updated dependencies [acc4c3a]
42+
- @clack/core@1.0.0-alpha.7
43+
344
## 1.0.0-alpha.6
445

546
### 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)