@will-stone/prettier-config 8.0.0 → 9.0.0
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/.nvmrc +1 -1
- package/CHANGELOG.md +17 -2
- package/README.md +3 -5
- package/index.js +8 -0
- package/package.json +26 -9
- package/prettier.config.js +1 -0
- package/.husky/pre-commit +0 -4
- package/.release-it.json +0 -14
- package/index.json +0 -6
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
22
|
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [9.0.0](https://github.com/will-stone/prettier-config/compare/v8.0.1...v9.0.0) (2025-01-13)
|
|
4
|
+
|
|
5
|
+
### Major changes
|
|
6
|
+
|
|
7
|
+
* Move to JS-based config ([961d951](https://github.com/will-stone/prettier-config/commit/961d951e13c0ffc82a67646745a7231694565014))
|
|
8
|
+
|
|
9
|
+
## [8.0.1](https://github.com/will-stone/prettier-config/compare/v8.0.0...v8.0.1) (2024-05-27)
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Just testing release
|
|
14
|
+
([00b8f48](https://github.com/will-stone/prettier-config/commit/00b8f48db09668d9e0ba1d68164f54d27008c183))
|
|
15
|
+
|
|
3
16
|
## [8.0.0](https://github.com/will-stone/prettier-config/compare/v7.0.4...v8.0.0) (2024-04-30)
|
|
4
17
|
|
|
5
18
|
### Major changes
|
|
6
19
|
|
|
7
|
-
|
|
20
|
+
- Prevent large diffs when adding keys that need quoting
|
|
21
|
+
([8497784](https://github.com/will-stone/prettier-config/commit/849778494cddafb5d6efff0555ba35b969647aee))
|
|
8
22
|
|
|
9
23
|
### Patches
|
|
10
24
|
|
|
11
|
-
|
|
25
|
+
- Trailing commas set to all by default as of Prettier 3
|
|
26
|
+
([5a3c452](https://github.com/will-stone/prettier-config/commit/5a3c452d5087a34b10587e4387027abf873e8796))
|
|
12
27
|
|
|
13
28
|
## [7.0.4](https://github.com/will-stone/prettier-config/compare/v7.0.3...v7.0.4) (2024-04-30)
|
|
14
29
|
|
package/README.md
CHANGED
|
@@ -12,11 +12,9 @@ npm i -D prettier @will-stone/prettier-config
|
|
|
12
12
|
|
|
13
13
|
### Use config
|
|
14
14
|
|
|
15
|
-
```
|
|
16
|
-
//
|
|
17
|
-
{
|
|
18
|
-
"prettier": "@will-stone/prettier-config"
|
|
19
|
-
}
|
|
15
|
+
```js
|
|
16
|
+
// prettier.config.js (or .mjs if in CJS env)
|
|
17
|
+
export { default } from '@will-stone/prettier-config'
|
|
20
18
|
```
|
|
21
19
|
|
|
22
20
|
### Lint Staged
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,34 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@will-stone/prettier-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "My personal Prettier config",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/will-stone/prettier-config"
|
|
7
7
|
},
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"author": "Will Stone",
|
|
10
|
-
"
|
|
10
|
+
"type": "module",
|
|
11
|
+
"exports": "./index.js",
|
|
11
12
|
"scripts": {
|
|
12
|
-
"prepare": "
|
|
13
|
+
"prepare": "simple-git-hooks",
|
|
13
14
|
"release": "release-it"
|
|
14
15
|
},
|
|
16
|
+
"simple-git-hooks": {
|
|
17
|
+
"pre-commit": "npx --no lint-staged"
|
|
18
|
+
},
|
|
15
19
|
"lint-staged": {
|
|
16
20
|
"*.{json,md}": [
|
|
17
21
|
"prettier --write"
|
|
18
22
|
]
|
|
19
23
|
},
|
|
20
|
-
"prettier": "./index.json",
|
|
21
24
|
"dependencies": {
|
|
22
|
-
"prettier-plugin-packagejson": "^2.
|
|
25
|
+
"prettier-plugin-packagejson": "^2.5.0"
|
|
23
26
|
},
|
|
24
27
|
"devDependencies": {
|
|
25
|
-
"@commits-with-character/conventional-changelog-preset": "^0.
|
|
28
|
+
"@commits-with-character/conventional-changelog-preset": "^0.2.2",
|
|
26
29
|
"@release-it/conventional-changelog": "^8.0.1",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
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
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './index.js'
|
package/.husky/pre-commit
DELETED
package/.release-it.json
DELETED