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
6 changes: 0 additions & 6 deletions .changeset/afraid-donkeys-sin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/big-pants-invite.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/early-ads-tap.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/tangy-mirrors-hug.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tricky-states-tease.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"progress": "jiti ./progress.ts",
"spinner": "jiti ./spinner.ts",
"path": "jiti ./path.ts",
"date": "jiti ./date.ts",
"spinner-ci": "npx cross-env CI=\"true\" jiti ./spinner-ci.ts",
"date": "jiti ./date.ts",
"spinner-ci": "npx cross-env CI=\"true\" jiti ./spinner-ci.ts",
"spinner-timer": "jiti ./spinner-timer.ts",
"task-log": "jiti ./task-log.ts"
},
Expand Down
11 changes: 11 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @clack/core

## 1.2.0

### Minor Changes

- 9786226: Externalize `fast-string-width` and `fast-wrap-ansi` to avoid double dependencies
- 090902c: Adds `date` prompt with format support (YYYY/MM/DD, MM/DD/YYYY, DD/MM/YYYY).

### Patch Changes

- 52fce8a: Fix timezone issues in DatePrompt causing dates to be off by one day in non-UTC timezones

## 1.1.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": "@clack/core",
"version": "1.1.0",
"version": "1.2.0",
"type": "module",
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
Expand Down
17 changes: 17 additions & 0 deletions packages/prompts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @clack/prompts

## 1.2.0

### Minor Changes

- 9786226: Externalize `fast-string-width` and `fast-wrap-ansi` to avoid double dependencies
- 090902c: Adds `date` prompt with format support (YYYY/MM/DD, MM/DD/YYYY, DD/MM/YYYY).

### Patch Changes

- 134a1a1: Fix the `path` prompt so `directory: true` correctly enforces directory-only selection while still allowing directory navigation, and add regression tests for both directory and default file selection behavior.
- 52fce8a: Fix timezone issues in DatePrompt causing dates to be off by one day in non-UTC timezones
- 29a50cb: Fix `path` directory mode so pressing Enter with an existing directory `initialValue` submits that current directory instead of the first child option, and add regression coverage for immediate submit and child-directory navigation.
- Updated dependencies [9786226]
- Updated dependencies [52fce8a]
- Updated dependencies [090902c]
- @clack/core@1.2.0

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/prompts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clack/prompts",
"version": "1.1.0",
"version": "1.2.0",
"type": "module",
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
Expand Down
Loading