@will-stone/prettier-config 9.0.1 → 9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ lint-staged
package/CHANGELOG.md CHANGED
@@ -1,10 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [9.0.2](https://github.com/will-stone/prettier-config/compare/v9.0.1...v9.0.2) (2025-03-24)
4
+
5
+ ### Patches
6
+
7
+ * Update docs for pnpm and modern Husky ([5faee7d](https://github.com/will-stone/prettier-config/commit/5faee7dc0c0b48ad88531b17837cde4bc2fe15cb))
8
+
3
9
  ## [9.0.1](https://github.com/will-stone/prettier-config/compare/v9.0.0...v9.0.1) (2025-01-14)
4
10
 
5
11
  ### Patches
6
12
 
7
- * Fix incomparability with pnpm envs ([682f7bd](https://github.com/will-stone/prettier-config/commit/682f7bd93eb077c8d98ab1ce202e3e60ae7a4fb4))
13
+ - Fix incomparability with pnpm envs
14
+ ([682f7bd](https://github.com/will-stone/prettier-config/commit/682f7bd93eb077c8d98ab1ce202e3e60ae7a4fb4))
8
15
 
9
16
  ## [9.0.0](https://github.com/will-stone/prettier-config/compare/v8.0.1...v9.0.0) (2025-01-13)
10
17
 
package/README.md CHANGED
@@ -7,7 +7,7 @@ My personal [Prettier](https://prettier.io) config.
7
7
  ### Install
8
8
 
9
9
  ```bash
10
- npm i -D prettier @will-stone/prettier-config
10
+ pnpm add -D prettier @will-stone/prettier-config
11
11
  ```
12
12
 
13
13
  ### Use config
@@ -24,9 +24,6 @@ following to your `package.json`:
24
24
 
25
25
  ```json
26
26
  {
27
- "scripts": {
28
- "prepare": "husky install"
29
- },
30
27
  "lint-staged": {
31
28
  "*.{css,json,md}": ["prettier --write"]
32
29
  }
@@ -36,7 +33,7 @@ following to your `package.json`:
36
33
  and then
37
34
 
38
35
  ```bash
39
- npm i -D husky lint-staged
40
- npx husky install
41
- npx husky add .husky/pre-commit "npx --no lint-staged"
36
+ pnpm add -D husky lint-staged
37
+ pnpm husky init
38
+ echo "lint-staged" > .husky/pre-commit
42
39
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@will-stone/prettier-config",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "My personal Prettier config",
5
5
  "repository": {
6
6
  "url": "https://github.com/will-stone/prettier-config"
@@ -9,12 +9,9 @@
9
9
  "author": "Will Stone",
10
10
  "main": "./index.js",
11
11
  "scripts": {
12
- "prepare": "simple-git-hooks",
12
+ "prepare": "husky",
13
13
  "release": "release-it"
14
14
  },
15
- "simple-git-hooks": {
16
- "pre-commit": "npx --no lint-staged"
17
- },
18
15
  "lint-staged": {
19
16
  "*.{json,md}": [
20
17
  "prettier --write"
@@ -26,9 +23,9 @@
26
23
  "devDependencies": {
27
24
  "@commits-with-character/conventional-changelog-preset": "^0.2.2",
28
25
  "@release-it/conventional-changelog": "^8.0.1",
26
+ "husky": "^9.1.7",
29
27
  "lint-staged": "^15.2.5",
30
- "release-it": "^17.3.0",
31
- "simple-git-hooks": "^2.11.1"
28
+ "release-it": "^17.3.0"
32
29
  },
33
30
  "peerDependencies": {
34
31
  "prettier": "3.x"