include react-dom types, update changeset

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-04-08 11:05:43 +02:00
parent e838a7060a
commit 8b669400ea
3 changed files with 23 additions and 3 deletions
+19 -1
View File
@@ -2,4 +2,22 @@
'@backstage/create-app': patch
---
Add resolution for version 17 `@types/react` due to breaking changes introduced in version 18.
Add resolution for version 17 `@types/react` and `types/react-dom` due to breaking changes introduced in version 18.
To apply these changes to your existing installation. Add a resolutions block to your `package.json`
```json
"resolutions": {
"@types/react": "^17",
"@types/react-dom": "^17"
},
```
If your depending on react 16 in use this resolution block instead.
```json
"resolutions": {
"@types/react": "^16",
"@types/react-dom": "^16"
},
```
+2 -1
View File
@@ -46,7 +46,8 @@
},
"resolutions": {
"**/@graphql-codegen/cli/**/ws": "^7.4.6",
"@types/react": "^17.0.39"
"@types/react": "^17",
"@types/react-dom": "^17"
},
"version": "1.1.0-next.2",
"dependencies": {
@@ -38,7 +38,8 @@
"typescript": "~4.5.4"
},
"resolutions": {
"@types/react": "^17.0.39"
"@types/react": "^17",
"@types/react-dom": "^17"
},
"prettier": "@spotify/prettier-config",
"lint-staged": {