@will-stone/prettier-config 7.0.4 → 8.0.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [8.0.1](https://github.com/will-stone/prettier-config/compare/v8.0.0...v8.0.1) (2024-05-27)
4
+
5
+ ### Patches
6
+
7
+ * Just testing release ([00b8f48](https://github.com/will-stone/prettier-config/commit/00b8f48db09668d9e0ba1d68164f54d27008c183))
8
+
9
+ ## [8.0.0](https://github.com/will-stone/prettier-config/compare/v7.0.4...v8.0.0) (2024-04-30)
10
+
11
+ ### Major changes
12
+
13
+ - Prevent large diffs when adding keys that need quoting
14
+ ([8497784](https://github.com/will-stone/prettier-config/commit/849778494cddafb5d6efff0555ba35b969647aee))
15
+
16
+ ### Patches
17
+
18
+ - Trailing commas set to all by default as of Prettier 3
19
+ ([5a3c452](https://github.com/will-stone/prettier-config/commit/5a3c452d5087a34b10587e4387027abf873e8796))
20
+
3
21
  ## [7.0.4](https://github.com/will-stone/prettier-config/compare/v7.0.3...v7.0.4) (2024-04-30)
4
22
 
5
23
  ### Patches
package/index.json CHANGED
@@ -2,7 +2,5 @@
2
2
  "proseWrap": "always",
3
3
  "semi": false,
4
4
  "singleQuote": true,
5
- "trailingComma": "all",
6
- "quoteProps": "consistent",
7
5
  "plugins": ["prettier-plugin-packagejson"]
8
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@will-stone/prettier-config",
3
- "version": "7.0.4",
3
+ "version": "8.0.1",
4
4
  "description": "My personal Prettier config",
5
5
  "repository": {
6
6
  "url": "https://github.com/will-stone/prettier-config"
@@ -9,9 +9,12 @@
9
9
  "author": "Will Stone",
10
10
  "main": "index.json",
11
11
  "scripts": {
12
- "prepare": "husky install",
12
+ "prepare": "simple-git-hooks",
13
13
  "release": "release-it"
14
14
  },
15
+ "simple-git-hooks": {
16
+ "pre-commit": "npx --no lint-staged"
17
+ },
15
18
  "lint-staged": {
16
19
  "*.{json,md}": [
17
20
  "prettier --write"
@@ -19,16 +22,30 @@
19
22
  },
20
23
  "prettier": "./index.json",
21
24
  "dependencies": {
22
- "prettier-plugin-packagejson": "^2.4.6"
25
+ "prettier-plugin-packagejson": "^2.5.0"
23
26
  },
24
27
  "devDependencies": {
25
- "@commits-with-character/conventional-changelog-preset": "^0.0.3",
28
+ "@commits-with-character/conventional-changelog-preset": "^0.2.2",
26
29
  "@release-it/conventional-changelog": "^8.0.1",
27
- "husky": "^8.0.3",
28
- "lint-staged": "^15.1.0",
29
- "release-it": "^17.2.1"
30
+ "lint-staged": "^15.2.5",
31
+ "release-it": "^17.3.0",
32
+ "simple-git-hooks": "^2.11.1"
30
33
  },
31
34
  "peerDependencies": {
32
35
  "prettier": "3.x"
36
+ },
37
+ "release-it": {
38
+ "github": {
39
+ "release": true
40
+ },
41
+ "plugins": {
42
+ "@release-it/conventional-changelog": {
43
+ "preset": {
44
+ "name": "@commits-with-character/preset"
45
+ },
46
+ "infile": "CHANGELOG.md",
47
+ "header": "# Changelog"
48
+ }
49
+ }
33
50
  }
34
51
  }
package/.husky/pre-commit DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
- npx --no lint-staged
package/.release-it.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "github": {
3
- "release": true
4
- },
5
- "plugins": {
6
- "@release-it/conventional-changelog": {
7
- "preset": {
8
- "name": "@commits-with-character/preset"
9
- },
10
- "infile": "CHANGELOG.md",
11
- "header": "# Changelog"
12
- }
13
- }
14
- }