@foray1010/prettier-config 12.1.0 → 13.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/CHANGELOG.md +14 -0
- package/README.md +11 -11
- package/index.mjs +6 -0
- package/package.json +4 -4
- package/tsconfig.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [13.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/prettier-config@12.1.0...@foray1010/prettier-config@13.0.0) (2026-05-17)
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
- drop node v20 and v25
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **prettier-config:** renovaterc and tsconfig should use jsonc format
|
|
15
|
+
|
|
16
|
+
### Miscellaneous Chores
|
|
17
|
+
|
|
18
|
+
- drop node v20 and v25
|
|
19
|
+
|
|
6
20
|
## [12.1.0](https://github.com/foray1010/common-presets/compare/@foray1010/prettier-config@12.0.0...@foray1010/prettier-config@12.1.0) (2026-01-25)
|
|
7
21
|
|
|
8
22
|
### Features
|
package/README.md
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
1. Create an `.prettierrc.mjs` in the project root
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
```js
|
|
10
|
+
export { default } from '@foray1010/prettier-config'
|
|
11
|
+
```
|
|
12
12
|
|
|
13
13
|
1. Use default prettierignore via npm script
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"scripts": {
|
|
18
|
+
"prettier": "prettier --ignore-path=node_modules/@foray1010/prettier-config/prettierignore"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
then use `npm run prettier` or `yarn prettier` to replace `prettier`
|
package/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@foray1010/prettier-config",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "13.0.0",
|
|
5
5
|
"homepage": "https://github.com/foray1010/common-presets/tree/master/packages/prettier-config#readme",
|
|
6
6
|
"bugs": "https://github.com/foray1010/common-presets/issues",
|
|
7
7
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"type:check": "tsc"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"prettier-plugin-packagejson": "^3.0.
|
|
23
|
+
"prettier-plugin-packagejson": "^3.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/prettier": "3.0.0"
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"prettier": "^3.6.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
|
-
"node": "^
|
|
32
|
+
"node": "^22.12.0 || ^24.11.0 || >=26"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "b0dcdf4522afb97a5ee7088c20299aad17738056"
|
|
38
38
|
}
|