Selaa lähdekoodia

deps: re-organize React dependencies

Antoine du Hamel 3 vuotta sitten
vanhempi
commit
f3b90b0726
3 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 1 1
      examples/react-native-expo/package.json
  2. 1 3
      package.json
  3. 3 1
      packages/@uppy/react/package.json

+ 1 - 1
examples/react-native-expo/package.json

@@ -12,7 +12,7 @@
     "base64-js": "^1.3.0",
     "expo": "^32.0.6",
     "preact-render-to-string": "^4.1.0",
-    "react": "16.5.0",
+    "react": "^16.8.6",
     "react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
     "react-native-svg-uri": "gaboelnuevo/react-native-svg-uri#473e4f958e8846cbd5c69ce5cf59753cd5cea748"
   },

+ 1 - 3
package.json

@@ -118,8 +118,6 @@
     "postcss-logical": "^4.0.2",
     "postcss-safe-important": "1.2.0",
     "pre-commit": "1.2.2",
-    "react": "16.13.1",
-    "react-dom": "16.13.1",
     "remark-cli": "^8.0.1",
     "remark-lint-uppy": "file:private/remark-lint-uppy",
     "replacestream": "^4.0.3",
@@ -129,7 +127,7 @@
     "size-limit": "4.5.6",
     "stringify-object": "3.3.0",
     "symbol-es6": "^0.1.2",
-    "tar": "4.4.13",
+    "tar": "^4.4.13",
     "temp-write": "3.4.0",
     "terser": "^5.7.0",
     "tinyify": "3.0.0",

+ 3 - 1
packages/@uppy/react/package.json

@@ -32,7 +32,9 @@
   },
   "devDependencies": {
     "enzyme": "3.11.0",
-    "enzyme-adapter-react-16": "1.15.2"
+    "enzyme-adapter-react-16": "1.15.2",
+    "react": "^16.8.6",
+    "react-dom": "^16.8.6"
   },
   "peerDependencies": {
     "@uppy/core": "^1.0.0",