Explorar o código

Fix: failing build after React bump (#18514)

* Bump react types and fix yarn.lock
* Fix typecheck
Dominik Prokop %!s(int64=6) %!d(string=hai) anos
pai
achega
ab17015794
Modificáronse 4 ficheiros con 248 adicións e 143 borrados
  1. 2 2
      package.json
  2. 1 1
      packages/grafana-data/package.json
  3. 2 1
      packages/grafana-ui/package.json
  4. 243 139
      yarn.lock

+ 2 - 2
package.json

@@ -16,7 +16,7 @@
     "@babel/preset-typescript": "7.3.3",
     "@emotion/core": "10.0.10",
     "@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
-    "@types/angular": "1.6.54",
+    "@types/angular": "1.6.55",
     "@types/classnames": "2.2.7",
     "@types/clipboard": "2.0.1",
     "@types/d3": "4.13.1",
@@ -30,7 +30,7 @@
     "@types/pixelmatch": "4.0.0",
     "@types/pngjs": "3.3.2",
     "@types/puppeteer-core": "1.9.0",
-    "@types/react": "16.9.0",
+    "@types/react": "16.9.1",
     "@types/react-dom": "16.8.5",
     "@types/react-grid-layout": "0.16.7",
     "@types/react-select": "2.0.15",

+ 1 - 1
packages/grafana-data/package.json

@@ -26,7 +26,7 @@
     "@types/node": "10.14.1",
     "@types/papaparse": "4.5.9",
     "@types/pretty-format": "20.0.1",
-    "@types/react": "16.9.0",
+    "@types/react": "16.9.1",
     "@types/sinon": "^7.0.11",
     "awesome-typescript-loader": "^5.2.1",
     "lodash": "^4.17.10",

+ 2 - 1
packages/grafana-ui/package.json

@@ -60,8 +60,9 @@
     "@types/node": "10.14.1",
     "@types/papaparse": "4.5.9",
     "@types/pretty-format": "20.0.1",
-    "@types/react": "16.9.0",
+    "@types/react": "16.9.1",
     "@types/react-custom-scrollbars": "4.0.5",
+    "@types/react-dom": "16.8.5",
     "@types/react-test-renderer": "16.9.0",
     "@types/react-transition-group": "2.0.16",
     "@types/storybook__addon-actions": "3.4.2",

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 243 - 139
yarn.lock


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio