Skip to content

Commit c228205

Browse files
fix: bump Prettier to 3.6, along with related deps (#2233)
## PR Checklist - [x] Addresses an existing open issue: ~fixes #000~ forks #2161, etc. - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Bumps: ```plaintext @prettier/sync 0.5.3 → 0.6.1 prettier 3.5.3 → 3.6.1 prettier-plugin-curly 0.3.1 → 0.3.2 prettier-plugin-packagejson 2.5.10 → 2.5.15 prettier-plugin-sh 0.15.0 → 0.17.4 ``` 🎁
1 parent 4b93b8b commit c228205

File tree

4 files changed

+80
-86
lines changed

4 files changed

+80
-86
lines changed

docs/FAQs.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Here we'll outline the steps required to migrate a CTA app to a GitHub Action:
2020

2121
1. GitHub Actions store built output on a GitHub branch rather than in a published package on npm.
2222
As a consequence we should:
23-
2423
- delete `.github/workflows/release.yml` and `.github/workflows/post-release.yml`.
2524
- update `.github/workflows/build.yml` to ensure `dist` is up to date:
2625

@@ -74,20 +73,17 @@ Here we'll outline the steps required to migrate a CTA app to a GitHub Action:
7473
pnpm remove tsup
7574
pnpm add @vercel/ncc -D
7675
```
77-
7876
- Now we need to update the `build` script in our `package.json`:
7977

8078
```diff
8179
-"build": "tsup",
8280
+"build": "ncc build src/index.ts -o dist --license licenses.txt",
8381
```
84-
8582
- Our build now emits to the `dist` directory; so we'll want to avoid linting that directory by adding the following to `.eslintignore` and our `.prettierignore`:
8683

8784
```diff
8885
+dist
8986
```
90-
9187
- Rather than having to remember to compile each time, we'll update our pre-commit hook in `.husky/pre-commit` to build for us on each commit:
9288

9389
```diff

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"devDependencies": {
7676
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
7777
"@eslint/js": "9.22.0",
78-
"@prettier/sync": "0.5.3",
78+
"@prettier/sync": "0.6.1",
7979
"@release-it/conventional-changelog": "10.0.0",
8080
"@types/eslint-plugin-markdown": "2.0.2",
8181
"@types/git-url-parse": "16.0.0",
@@ -108,10 +108,10 @@
108108
"lodash": "4.17.21",
109109
"markdownlint": "0.37.4",
110110
"markdownlint-cli": "0.44.0",
111-
"prettier": "3.5.3",
112-
"prettier-plugin-curly": "0.3.1",
113-
"prettier-plugin-packagejson": "2.5.10",
114-
"prettier-plugin-sh": "0.15.0",
111+
"prettier": "3.6.1",
112+
"prettier-plugin-curly": "0.3.2",
113+
"prettier-plugin-packagejson": "2.5.15",
114+
"prettier-plugin-sh": "0.17.4",
115115
"release-it": "18.1.2",
116116
"sentences-per-line": "0.3.0",
117117
"tsup": "8.4.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)