@peerigon/configs 2.0.1 → 2.0.2
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 +6 -0
- package/package.json +14 -14
- package/prettier/README.md +1 -1
- package/typescript/README.md +1 -1
- package/typescript/base.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [2.0.2](https://github.com/peerigon/configs/compare/v2.0.1...v2.0.2) (2025-02-11)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- Refactor module settings in tsconfig ([4bce2f2](https://github.com/peerigon/configs/commit/4bce2f21317463625e27f5b47077db215f19af9d))
|
|
6
|
+
|
|
1
7
|
## [2.0.1](https://github.com/peerigon/configs/compare/v2.0.0...v2.0.1) (2025-02-08)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peerigon/configs",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Configs for ESLint, Prettier, TypeScript & friends",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"README.md"
|
|
99
99
|
],
|
|
100
100
|
"scripts": {
|
|
101
|
-
"test": "run-p test
|
|
101
|
+
"test": "run-p test:*",
|
|
102
102
|
"test:presets:javascript": "cd eslint/presets/javascript.test; eslint --max-warnings 0 .",
|
|
103
103
|
"test:presets:typescript": "cd eslint/presets/typescript.test; eslint --max-warnings 0 .",
|
|
104
104
|
"test:presets:typescript-react": "cd eslint/presets/typescript-react.test; eslint --max-warnings 0 .",
|
|
@@ -122,49 +122,49 @@
|
|
|
122
122
|
"*.{js,jsx,ts,tsx,css,md,yml,yaml}": "prettier --write"
|
|
123
123
|
},
|
|
124
124
|
"dependencies": {
|
|
125
|
-
"@eslint-react/eslint-plugin": "^1.26.
|
|
125
|
+
"@eslint-react/eslint-plugin": "^1.26.2",
|
|
126
126
|
"@eslint/compat": "^1.2.6",
|
|
127
|
-
"@eslint/js": "^9.
|
|
127
|
+
"@eslint/js": "^9.20.0",
|
|
128
128
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
129
129
|
"@semantic-release/changelog": "^6.0.3",
|
|
130
130
|
"@semantic-release/exec": "^7.0.3",
|
|
131
131
|
"@semantic-release/git": "^10.0.1",
|
|
132
|
-
"@types/eslint__js": "^8.42.3",
|
|
133
132
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
134
133
|
"@types/eslint-plugin-jsx-a11y": "^6.10.0",
|
|
134
|
+
"@types/eslint__js": "^8.42.3",
|
|
135
135
|
"eslint-config-prettier": "^10.0.1",
|
|
136
136
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
137
137
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
138
138
|
"eslint-plugin-react": "^7.37.4",
|
|
139
139
|
"eslint-plugin-react-compiler": "^19.0.0-beta-714736e-20250131",
|
|
140
140
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
141
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
141
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
142
142
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
143
143
|
"globals": "^15.14.0",
|
|
144
144
|
"prettier-plugin-css-order": "^2.1.2",
|
|
145
145
|
"prettier-plugin-jsdoc": "^1.3.2",
|
|
146
146
|
"prettier-plugin-packagejson": "^2.5.8",
|
|
147
147
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
148
|
-
"typescript-eslint": "^8.
|
|
148
|
+
"typescript-eslint": "^8.24.0"
|
|
149
149
|
},
|
|
150
150
|
"devDependencies": {
|
|
151
151
|
"@types/node": "^22.13.1",
|
|
152
152
|
"@types/react": "^19.0.8",
|
|
153
153
|
"@types/signale": "^1.4.7",
|
|
154
|
-
"eslint": "^9.
|
|
154
|
+
"eslint": "^9.20.1",
|
|
155
155
|
"husky": "^9.1.7",
|
|
156
156
|
"lint-staged": "^15.4.3",
|
|
157
|
-
"npm-run-
|
|
157
|
+
"npm-run-all2": "^7.0.2",
|
|
158
158
|
"pin-github-action": "^2.1.0",
|
|
159
|
-
"prettier": "^3.
|
|
159
|
+
"prettier": "^3.5.0",
|
|
160
160
|
"react": "^19.0.0",
|
|
161
|
-
"semantic-release": "^24.2.
|
|
161
|
+
"semantic-release": "^24.2.2",
|
|
162
162
|
"typescript": "^5.7.3"
|
|
163
163
|
},
|
|
164
164
|
"peerDependencies": {
|
|
165
|
-
"eslint": "^9.
|
|
166
|
-
"prettier": "^3.
|
|
167
|
-
"semantic-release": "^24.2.
|
|
165
|
+
"eslint": "^9.20.1",
|
|
166
|
+
"prettier": "^3.5.0",
|
|
167
|
+
"semantic-release": "^24.2.2",
|
|
168
168
|
"typescript": "^5.7.3"
|
|
169
169
|
},
|
|
170
170
|
"peerDependenciesMeta": {
|
package/prettier/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Then create a `prettier.config.js` next to your `package.json`:
|
|
|
12
12
|
export { default } from "@peerigon/configs/prettier";
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
Recommended configuration in your `package.json` (using [`npm-run-
|
|
15
|
+
Recommended configuration in your `package.json` (using [`npm-run-all2`](https://www.npmjs.com/package/npm-run-all2)):
|
|
16
16
|
|
|
17
17
|
```json
|
|
18
18
|
{
|
package/typescript/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Then create a `tsconfig.json` just for type-checking next to your `package.json`
|
|
|
14
14
|
}
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Recommended configuration in your `package.json` (using [`npm-run-
|
|
17
|
+
Recommended configuration in your `package.json` (using [`npm-run-all2`](https://www.npmjs.com/package/npm-run-all2)):
|
|
18
18
|
|
|
19
19
|
```json
|
|
20
20
|
{
|
package/typescript/base.json
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
// == Target and module settings ==
|
|
6
6
|
// Deliberately not using ESNext/NodeNext here to avoid breaking changes just by updating TypeScript.
|
|
7
7
|
"target": "ES2022",
|
|
8
|
-
"module": "
|
|
8
|
+
"module": "Preserve",
|
|
9
|
+
"moduleDetection": "force",
|
|
9
10
|
"lib": ["ES2022"],
|
|
10
11
|
|
|
11
12
|
// == Strictness settings ==
|