Skip to content

Commit 2a21b86

Browse files
committedSep 22, 2023
fix: changed optionalDependencies to peerDependencies with peerDependenciesMeta
Signed-off-by: prisis <d.bannert@anolilab.de>
1 parent 7f7ed5a commit 2a21b86

File tree

6 files changed

+326
-316
lines changed

6 files changed

+326
-316
lines changed
 

‎packages/babel-preset/package.json

+20-5
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,30 @@
115115
},
116116
"peerDependencies": {
117117
"@babel/core": "^7.16.5",
118-
"babel-plugin-polyfill-corejs3": "^0.8.0",
119-
"core-js": "^3.26.0"
120-
},
121-
"optionalDependencies": {
122118
"@babel/plugin-syntax-jsx": "^7.22.5",
123119
"@babel/plugin-transform-typescript": "^7.22.15",
124120
"@babel/preset-react": "^7.22.15",
125121
"@babel/preset-typescript": "^7.22.15",
126-
"babel-plugin-transform-react-remove-prop-types": "^0.4.24"
122+
"babel-plugin-polyfill-corejs3": "^0.8.0",
123+
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
124+
"core-js": "^3.26.0"
125+
},
126+
"peerDependenciesMeta": {
127+
"@babel/plugin-syntax-jsx": {
128+
"optional": true
129+
},
130+
"@babel/plugin-transform-typescript": {
131+
"optional": true
132+
},
133+
"@babel/preset-react": {
134+
"optional": true
135+
},
136+
"@babel/preset-typescript": {
137+
"optional": true
138+
},
139+
"babel-plugin-transform-react-remove-prop-types": {
140+
"optional": true
141+
}
127142
},
128143
"engines": {
129144
"node": ">=18"

‎packages/browserslist-config-anolilab/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
},
6262
"devDependencies": {
6363
"@anolilab/semantic-release-preset": "7.0.0",
64-
"browserslist": "4.21.10",
64+
"browserslist": "4.21.11",
6565
"caniuse-lite": "^1.0.30001538",
6666
"cross-env": "^7.0.3",
6767
"rimraf": "^5.0.1",

‎packages/eslint-config/package.json

+90-6
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"confusing-browser-globals": "^1.0.11",
140140
"eslint-define-config": "^1.23.0",
141141
"eslint-import-resolver-node": "^0.3.9",
142-
"eslint-import-resolver-typescript": "^3.6.0",
142+
"eslint-import-resolver-typescript": "^3.6.1",
143143
"eslint-plugin-antfu": "^0.43.1",
144144
"eslint-plugin-compat": "^4.2.0",
145145
"eslint-plugin-es-x": "^7.2.0",
@@ -201,7 +201,7 @@
201201
"eslint-plugin-storybook": "^0.6.14",
202202
"eslint-plugin-tailwindcss": "^3.13.0",
203203
"eslint-plugin-testing-library": "^6.0.1",
204-
"eslint-plugin-validate-jsx-nesting": "^1.0.1",
204+
"eslint-plugin-validate-jsx-nesting": "^0.1.1",
205205
"eslint-plugin-vitest": "^0.3.1",
206206
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
207207
"eslint-plugin-you-dont-need-momentjs": "^1.6.0",
@@ -216,12 +216,10 @@
216216
"vitest": "^0.34.5"
217217
},
218218
"peerDependencies": {
219-
"@babel/core": "^7.22.20",
220-
"eslint": "^8.15.0"
221-
},
222-
"optionalDependencies": {
223219
"@arthurgeron/eslint-plugin-react-usememo": "^2.0.1",
220+
"@babel/core": "^7.22.20",
224221
"@tanstack/eslint-plugin-query": "^4.34.1",
222+
"eslint": "^8.15.0",
225223
"eslint-plugin-array-func": "^4.0.0",
226224
"eslint-plugin-ava": "^14.0.0",
227225
"eslint-plugin-babel": "^5.3.1",
@@ -249,6 +247,92 @@
249247
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
250248
"eslint-plugin-you-dont-need-momentjs": "^1.6.0"
251249
},
250+
"peerDependenciesMeta": {
251+
"@arthurgeron/eslint-plugin-react-usememo": {
252+
"optional": true
253+
},
254+
"@tanstack/eslint-plugin-query": {
255+
"optional": true
256+
},
257+
"eslint-plugin-array-func": {
258+
"optional": true
259+
},
260+
"eslint-plugin-ava": {
261+
"optional": true
262+
},
263+
"eslint-plugin-babel": {
264+
"optional": true
265+
},
266+
"eslint-plugin-cypress": {
267+
"optional": true
268+
},
269+
"eslint-plugin-editorconfig": {
270+
"optional": true
271+
},
272+
"eslint-plugin-jest": {
273+
"optional": true
274+
},
275+
"eslint-plugin-jest-async": {
276+
"optional": true
277+
},
278+
"eslint-plugin-jest-dom": {
279+
"optional": true
280+
},
281+
"eslint-plugin-jest-formatting": {
282+
"optional": true
283+
},
284+
"eslint-plugin-jsdoc": {
285+
"optional": true
286+
},
287+
"eslint-plugin-jsx-a11y": {
288+
"optional": true
289+
},
290+
"eslint-plugin-n": {
291+
"optional": true
292+
},
293+
"eslint-plugin-no-unsanitized": {
294+
"optional": true
295+
},
296+
"eslint-plugin-playwright": {
297+
"optional": true
298+
},
299+
"eslint-plugin-prefer-object-spread": {
300+
"optional": true
301+
},
302+
"eslint-plugin-react": {
303+
"optional": true
304+
},
305+
"eslint-plugin-react-hooks": {
306+
"optional": true
307+
},
308+
"eslint-plugin-react-redux": {
309+
"optional": true
310+
},
311+
"eslint-plugin-ssr-friendly": {
312+
"optional": true
313+
},
314+
"eslint-plugin-storybook": {
315+
"optional": true
316+
},
317+
"eslint-plugin-tailwindcss": {
318+
"optional": true
319+
},
320+
"eslint-plugin-testing-library": {
321+
"optional": true
322+
},
323+
"eslint-plugin-tsdoc": {
324+
"optional": true
325+
},
326+
"eslint-plugin-validate-jsx-nesting": {
327+
"optional": true
328+
},
329+
"eslint-plugin-you-dont-need-lodash-underscore": {
330+
"optional": true
331+
},
332+
"eslint-plugin-you-dont-need-momentjs": {
333+
"optional": true
334+
}
335+
},
252336
"engines": {
253337
"node": ">=18"
254338
},

‎packages/lint-staged-config/package.json

+22-4
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,35 @@
115115
"vitest": "^0.34.5"
116116
},
117117
"peerDependencies": {
118-
"husky": "^8.x",
119-
"lint-staged": "^13.x || ^14.0.0"
120-
},
121-
"optionalDependencies": {
122118
"eslint": "^8.49.0",
119+
"husky": "^8.x",
123120
"jest": "^29.7.0",
121+
"lint-staged": "^13.x || ^14.0.0",
124122
"prettier": "^3.0.3",
125123
"secretlint": "^7.0.7",
126124
"stylelint": "^15.10.3",
127125
"vite": "^4.4.9"
128126
},
127+
"peerDependenciesMeta": {
128+
"eslint": {
129+
"optional": true
130+
},
131+
"jest": {
132+
"optional": true
133+
},
134+
"prettier": {
135+
"optional": true
136+
},
137+
"secretlint": {
138+
"optional": true
139+
},
140+
"stylelint": {
141+
"optional": true
142+
},
143+
"vite": {
144+
"optional": true
145+
}
146+
},
129147
"engines": {
130148
"node": ">=18"
131149
},

‎packages/semantic-release-preset/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"@semantic-release/git": "^10.0.1",
7878
"@semantic-release/github": "^9.0.6",
7979
"@semantic-release/npm": "^11.0.0",
80-
"@semantic-release/release-notes-generator": "11.0.7",
80+
"@semantic-release/release-notes-generator": "12.0.0",
8181
"conventional-changelog-conventionalcommits": "6.1.0"
8282
},
8383
"devDependencies": {

‎pnpm-lock.yaml

+192-299
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.