chore: move to peerDeps

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-11-16 17:12:10 +01:00
parent 8567b9af58
commit 3f354e68f4
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs-addons-test-utils': patch
---
Move `@testing-library/react` to be a `peerDependency`
@@ -46,12 +46,12 @@
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
"@testing-library/react": "^14.0.0",
"@types/react": "^16.13.1 || ^17.0.0",
"react-use": "^17.2.4",
"testing-library__dom": "^7.29.4-beta.1"
},
"peerDependencies": {
"@testing-library/react": "^12.1.3 || ^13.0.0 || ^14.0.0",
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
+1 -1
View File
@@ -9621,13 +9621,13 @@ __metadata:
"@material-ui/lab": 4.0.0-alpha.61
"@testing-library/dom": ^9.0.0
"@testing-library/jest-dom": ^6.0.0
"@testing-library/react": ^14.0.0
"@testing-library/user-event": ^14.0.0
"@types/react": ^16.13.1 || ^17.0.0
msw: ^1.0.0
react-use: ^17.2.4
testing-library__dom: ^7.29.4-beta.1
peerDependencies:
"@testing-library/react": ^12.1.3 || ^13.0.0 || ^14.0.0
react: ^16.13.1 || ^17.0.0 || ^18.0.0
react-dom: ^16.13.1 || ^17.0.0 || ^18.0.0
react-router-dom: 6.0.0-beta.0 || ^6.3.0