From d3ad9ff3d27c8823d1f6f7e8db8481a5c0536e9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFs=20Poujade?= <lois.poujade@tetras-libre.fr>
Date: Wed, 16 Nov 2022 10:19:56 +0100
Subject: [PATCH] fix v0.5.0 deps

---
 package.json | 15 +++++++--------
 setupJest.js |  2 +-
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/package.json b/package.json
index 221eb80..2bb4d41 100644
--- a/package.json
+++ b/package.json
@@ -21,8 +21,8 @@
     "test:watch": "jest --watch"
   },
   "dependencies": {
-    "@psychobolt/react-paperjs": "^1.0.0",
-    "@psychobolt/react-paperjs-editor": "^0.0.14",
+    "@psychobolt/react-paperjs": "< 1.0",
+    "@psychobolt/react-paperjs-editor": "0.0.11",
     "draft-js": "^0.11.6",
     "draft-js-export-html": "^1.4.1",
     "draft-js-import-html": "^1.4.1",
@@ -37,8 +37,8 @@
     "lodash": "^4.17.11",
     "mirador": "^3.0.0-rc.5",
     "prop-types": "^15.7.2",
-    "react": "^17.0",
-    "react-dom": "^17.0",
+    "react": "^16.8",
+    "react-dom": "^16.8",
     "uuid": "^8.0.0"
   },
   "devDependencies": {
@@ -48,13 +48,12 @@
     "@material-ui/core": "^4.11.0",
     "@material-ui/icons": "^4.9.1",
     "@material-ui/lab": "^4.0.0-alpha.56",
-    "@wojtekmaj/enzyme-adapter-react-17": "^0.6.0",
     "babel-eslint": "^10.1.0",
     "canvas": "^2.6.1",
     "enzyme": "^3.11.0",
+    "enzyme-adapter-react-16": "^1.15.2",
     "eslint": "^7.2",
     "eslint-config-airbnb": "^18.2.0",
-    "eslint-config-react-app": "^6.0.0",
     "eslint-plugin-flowtype": "^5.6.0",
     "eslint-plugin-import": "^2.22.0",
     "eslint-plugin-jest": "^23.18.0",
@@ -66,8 +65,8 @@
     "mirador": "^3.0.0-rc.5",
     "nwb": "^0.24.7",
     "prop-types": "^15.7.2",
-    "react": "^17.0",
-    "react-dom": "^17.0",
+    "react": "^16.8",
+    "react-dom": "^16.8",
     "uuid": "^8.2.0"
   },
   "author": "",
diff --git a/setupJest.js b/setupJest.js
index 25d5721..7d1129a 100644
--- a/setupJest.js
+++ b/setupJest.js
@@ -1,4 +1,4 @@
 import Enzyme from 'enzyme'; // eslint-disable-line import/no-extraneous-dependencies
-import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; // eslint-disable-line import/no-extraneous-dependencies
+import Adapter from 'enzyme-adapter-react-16'; // eslint-disable-line import/no-extraneous-dependencies
 
 Enzyme.configure({ adapter: new Adapter() });
-- 
GitLab