@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 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
- ```js
10
- export { default } from '@foray1010/prettier-config'
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
- ```json
16
- {
17
- "scripts": {
18
- "prettier": "prettier --ignore-path=node_modules/@foray1010/prettier-config/prettierignore"
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
- then use `npm run prettier` or `yarn prettier` to replace `prettier`
23
+ then use `npm run prettier` or `yarn prettier` to replace `prettier`
package/index.mjs CHANGED
@@ -34,6 +34,12 @@ const config = {
34
34
  ...markdownOptions,
35
35
  },
36
36
  },
37
+ {
38
+ files: ['.renovaterc.json', 'tsconfig*.json'],
39
+ options: {
40
+ parser: 'jsonc',
41
+ },
42
+ },
37
43
  ],
38
44
  }
39
45
  export default config
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": "12.1.0",
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.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": "^20.19.0 || ^22.12.0 || >=24.11.0"
32
+ "node": "^22.12.0 || ^24.11.0 || >=26"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "2d088979d3667b7dc9f2d801169f09e9f893c5b3"
37
+ "gitHead": "b0dcdf4522afb97a5ee7088c20299aad17738056"
38
38
  }
package/tsconfig.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "extends": "@foray1010/tsconfig/tsconfig.base.json",
4
4
  "compilerOptions": {
5
5
  "allowJs": true,
6
- "checkJs": true
7
- }
6
+ "checkJs": true,
7
+ "types": ["node"],
8
+ },
8
9
  }