Skip to content

Commit 69cbfbb

Browse files
fix: made @clack/prompts a full dependency (#555)
## PR Checklist - [x] Addresses an existing open issue: fixes #551 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Since it's used in hydration, it should be installed.
1 parent 0e7fdb1 commit 69cbfbb

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
"*": "prettier --ignore-unknown --write"
4343
},
4444
"dependencies": {
45+
"@clack/prompts": "^0.6.3",
4546
"chalk": "^5.2.0",
4647
"execa": "^7.1.1",
4748
"js-yaml": "^4.1.0"
4849
},
4950
"devDependencies": {
50-
"@clack/prompts": "^0.6.3",
5151
"@octokit/request-error": "^3.0.3",
5252
"@types/eslint": "^8.37.0",
5353
"@types/git-url-parse": "^9.0.1",

pnpm-lock.yaml

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/setup/steps/uninstallPackages.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { $ } from "execa";
22

33
export async function uninstallPackages() {
4-
await $`pnpm remove chalk execa js-yaml`;
5-
await $`pnpm remove @clack/prompts @octokit/request-error @types/git-url-parse @types/js-yaml @types/prettier all-contributors-cli c8 git-remote-origin-url git-url-parse globby npm-user octokit replace-in-file title-case tsx -D`;
4+
await $`pnpm remove @clack/prompts chalk execa js-yaml`;
5+
await $`pnpm remove @octokit/request-error @types/git-url-parse @types/js-yaml @types/prettier all-contributors-cli c8 git-remote-origin-url git-url-parse globby npm-user octokit replace-in-file title-case tsx -D`;
66
}

0 commit comments

Comments
 (0)