include react-dom types, update changeset
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -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
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user