Skip to content

Commit d5c409d

Browse files
fix: put prettier back as a devDependency in setup (#570)
## PR Checklist - [x] Addresses an existing open issue: fixes #566 - [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 `prettier` needs to be demoted from a `dependency` to a `devDependency`. Right now it's just removed altogether.
1 parent 4bae8da commit d5c409d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/setup/steps/uninstallPackages.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ import { $ } from "execa";
33
export async function uninstallPackages() {
44
await $`pnpm remove @clack/prompts chalk execa git-remote-origin-url git-url-parse js-yaml npm-user octokit prettier replace-in-file title-case`;
55
await $`pnpm remove @octokit/request-error @types/git-url-parse @types/js-yaml @types/prettier all-contributors-cli c8 globby tsx -D`;
6+
await $`pnpm add prettier -D`;
67
}

0 commit comments

Comments
 (0)