Skip to content

Commit

Permalink
swap clack for inquirer (#335)
Browse files Browse the repository at this point in the history
* swap clack for inquirer

* resolveJsonModule

* init tests passing

* stdin resume instead of exit at end

* test on windows, git bash hangs with resume

* skip command-init.test.ts on Windows

* add describe.skipIf to helper
  • Loading branch information
jbolda authored Jul 4, 2024
1 parent dda5430 commit 24cb7c1
Show file tree
Hide file tree
Showing 11 changed files with 365 additions and 668 deletions.
5 changes: 5 additions & 0 deletions .changes/use-clack-over-inquirer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"covector": minor:enhance
---

Use clack instead of inquirer for handling user input. The user experience is improved and the dependencies are more slim. Additionally, switch `getPublishedVersion` to `fetch:check` which provides a cleaner version check for the npm and crates registries.
3 changes: 2 additions & 1 deletion helpers/test-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ function describeWithScope(
}

describeWithScope.only = vitest.describe.only;
describeWithScope.ignore = vitest.describe.skip;
describeWithScope.skip = vitest.describe.skip;
describeWithScope.skipIf = vitest.describe.skipIf;

export const describe = <typeof vitest.describe>(<unknown>describeWithScope);

Expand Down
Loading

0 comments on commit 24cb7c1

Please sign in to comment.