@peerigon/configs 11.0.2 → 12.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 +16 -0
- package/dist/prettier/base.js +3 -1
- package/package.json +27 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# [12.0.0](https://github.com/peerigon/configs/compare/v11.0.2...v12.0.0) (2025-12-06)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **eslint:** Missing exports of eslint rules ([6e97b40](https://github.com/peerigon/configs/commit/6e97b4063efa2d70ba5e7d5aa3cfc0cbdc5e588b))
|
|
6
|
+
- Remove wildcard exports again ([1a610c5](https://github.com/peerigon/configs/commit/1a610c56e89c478076b333129d8dca9a54fdd13c))
|
|
7
|
+
- Temporarily disable @prettier/plugin-oxc ([120f12f](https://github.com/peerigon/configs/commit/120f12ffd4434a2ab49e80543c599aa52ee7e5e9))
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- Update dependencies ([6992989](https://github.com/peerigon/configs/commit/6992989b60ae045245fd5dd61a9dfda029f7600e))
|
|
12
|
+
|
|
13
|
+
### BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
- There's a small chance that some of these updates break linting
|
|
16
|
+
|
|
1
17
|
## [11.0.2](https://github.com/peerigon/configs/compare/v11.0.1...v11.0.2) (2025-11-03)
|
|
2
18
|
|
|
3
19
|
### Bug Fixes
|
package/dist/prettier/base.js
CHANGED
|
@@ -24,7 +24,9 @@ function safeResolve(id) {
|
|
|
24
24
|
// Using safeResolve() here because the plugins might not be installed in the parent app/module
|
|
25
25
|
// and we don't want to rely on the package manager to hoist the dependencies.
|
|
26
26
|
const plugins = await Promise.all([
|
|
27
|
-
|
|
27
|
+
// Temporarily disabled again because @ianvs/prettier-plugin-sort-imports requires a lower version via
|
|
28
|
+
// its peerDependencies, but the lower version is not compatible with the latest Prettier.
|
|
29
|
+
// safeResolve("@prettier/plugin-oxc"),
|
|
28
30
|
safeResolve("@ianvs/prettier-plugin-sort-imports"),
|
|
29
31
|
safeResolve("prettier-plugin-jsdoc"),
|
|
30
32
|
safeResolve("prettier-plugin-packagejson"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peerigon/configs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "Configs for ESLint, Prettier, TypeScript & friends",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -21,14 +21,20 @@
|
|
|
21
21
|
"author": "Peerigon GmbH <hello@peerigon.com>",
|
|
22
22
|
"type": "module",
|
|
23
23
|
"exports": {
|
|
24
|
+
"./eslint/presets/javascript": "./dist/eslint/presets/javascript.js",
|
|
24
25
|
"./eslint/presets/javascript-browser": "./dist/eslint/presets/javascript-browser.js",
|
|
25
26
|
"./eslint/presets/javascript-node": "./dist/eslint/presets/javascript-node.js",
|
|
26
|
-
"./eslint/presets/
|
|
27
|
+
"./eslint/presets/typescript": "./dist/eslint/presets/typescript.js",
|
|
27
28
|
"./eslint/presets/typescript-node": "./dist/eslint/presets/typescript-node.js",
|
|
28
29
|
"./eslint/presets/typescript-react": "./dist/eslint/presets/typescript-react.js",
|
|
29
|
-
"./eslint/
|
|
30
|
+
"./eslint/rules/base": "./dist/eslint/rules/base.js",
|
|
31
|
+
"./eslint/rules/browser": "./dist/eslint/rules/browser.js",
|
|
32
|
+
"./eslint/rules/javascript": "./dist/eslint/rules/javascript.js",
|
|
33
|
+
"./eslint/rules/node": "./dist/eslint/rules/node.js",
|
|
30
34
|
"./eslint/rules/playwright": "./dist/eslint/rules/playwright.js",
|
|
35
|
+
"./eslint/rules/react": "./dist/eslint/rules/react.js",
|
|
31
36
|
"./eslint/rules/tanstack-query": "./dist/eslint/rules/tanstack-query.js",
|
|
37
|
+
"./eslint/rules/typescript": "./dist/eslint/rules/typescript.js",
|
|
32
38
|
"./eslint/rules/vitest": "./dist/eslint/rules/vitest.js",
|
|
33
39
|
"./eslint/styles/jsx-no-literals": "./dist/eslint/styles/jsx-no-literals.js",
|
|
34
40
|
"./eslint/styles/no-default-export": "./dist/eslint/styles/no-default-export.js",
|
|
@@ -50,6 +56,7 @@
|
|
|
50
56
|
],
|
|
51
57
|
"scripts": {
|
|
52
58
|
"test": "run-p test:*",
|
|
59
|
+
"test:exports": "node package.json.test.js",
|
|
53
60
|
"test:presets:javascript": "cd eslint/presets/javascript.test; eslint --max-warnings 0 .",
|
|
54
61
|
"test:presets:typescript": "cd eslint/presets/typescript.test; eslint --max-warnings 0 .",
|
|
55
62
|
"test:presets:typescript-react": "cd eslint/presets/typescript-react.test; eslint --max-warnings 0 .",
|
|
@@ -70,9 +77,9 @@
|
|
|
70
77
|
"release": "semantic-release"
|
|
71
78
|
},
|
|
72
79
|
"dependencies": {
|
|
73
|
-
"@eslint-react/eslint-plugin": "^2.3.
|
|
74
|
-
"@eslint/compat": "^
|
|
75
|
-
"@eslint/js": "^9.39.
|
|
80
|
+
"@eslint-react/eslint-plugin": "^2.3.12",
|
|
81
|
+
"@eslint/compat": "^2.0.0",
|
|
82
|
+
"@eslint/js": "^9.39.1",
|
|
76
83
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
|
77
84
|
"@prettier/plugin-oxc": "^0.0.4",
|
|
78
85
|
"@sebbo2002/semantic-release-jsr": "^3.1.0",
|
|
@@ -82,11 +89,11 @@
|
|
|
82
89
|
"@tanstack/eslint-plugin-query": "^5.91.2",
|
|
83
90
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
84
91
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
85
|
-
"@vitest/eslint-plugin": "^1.
|
|
92
|
+
"@vitest/eslint-plugin": "^1.5.1",
|
|
86
93
|
"eslint-config-prettier": "^10.1.8",
|
|
87
94
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
88
95
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
89
|
-
"eslint-plugin-playwright": "^2.
|
|
96
|
+
"eslint-plugin-playwright": "^2.4.0",
|
|
90
97
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
91
98
|
"eslint-plugin-react": "^7.37.5",
|
|
92
99
|
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
@@ -96,25 +103,25 @@
|
|
|
96
103
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
97
104
|
"globals": "^16.5.0",
|
|
98
105
|
"prettier-plugin-css-order": "^2.1.2",
|
|
99
|
-
"prettier-plugin-jsdoc": "^1.
|
|
100
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
101
|
-
"prettier-plugin-tailwindcss": "^0.7.
|
|
102
|
-
"typescript-eslint": "^8.
|
|
106
|
+
"prettier-plugin-jsdoc": "^1.7.0",
|
|
107
|
+
"prettier-plugin-packagejson": "^2.5.20",
|
|
108
|
+
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
109
|
+
"typescript-eslint": "^8.48.1"
|
|
103
110
|
},
|
|
104
111
|
"devDependencies": {
|
|
105
112
|
"@types/jest": "^30.0.0",
|
|
106
|
-
"@types/node": "^24.10.
|
|
107
|
-
"@types/react": "^19.2.
|
|
113
|
+
"@types/node": "^24.10.1",
|
|
114
|
+
"@types/react": "^19.2.7",
|
|
108
115
|
"@types/signale": "^1.4.7",
|
|
109
|
-
"eslint": "^9.
|
|
116
|
+
"eslint": "^9.39.1",
|
|
110
117
|
"husky": "^9.1.7",
|
|
111
|
-
"lint-staged": "^16.2.
|
|
118
|
+
"lint-staged": "^16.2.7",
|
|
112
119
|
"npm-run-all2": "^8.0.4",
|
|
113
120
|
"pin-github-action": "^3.4.0",
|
|
114
|
-
"prettier": "^3.
|
|
115
|
-
"react": "^19.2.
|
|
116
|
-
"rimraf": "^6.1.
|
|
117
|
-
"semantic-release": "^25.0.
|
|
121
|
+
"prettier": "^3.7.4",
|
|
122
|
+
"react": "^19.2.1",
|
|
123
|
+
"rimraf": "^6.1.2",
|
|
124
|
+
"semantic-release": "^25.0.2",
|
|
118
125
|
"typescript": "^5.9.3"
|
|
119
126
|
},
|
|
120
127
|
"peerDependencies": {
|