From 85d8f7b5009d4822294f5d4183f62b58ab136cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Maisse?= Date: Sun, 1 Mar 2020 20:53:47 +0100 Subject: [PATCH] chore(lib): add some missing dependencies Used `npx @yarnpkg/doctor .` to have the list of all missing deps. Added them with version range already used in the workspace to avoid downloading new dep (that's why yarn.lock is not modified) --- lib/addons/package.json | 1 + lib/api/package.json | 4 +++- lib/client-api/package.json | 1 + lib/components/package.json | 7 ++++++- lib/postinstall/package.json | 1 + lib/source-loader/package.json | 1 + lib/ui/package.json | 5 +++++ 7 files changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/addons/package.json b/lib/addons/package.json index c1d2ee0eae15..9fbb807e00c0 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -43,6 +43,7 @@ "@types/util-deprecate": "^1.0.0" }, "peerDependencies": { + "react": "*", "react-dom": "*" }, "publishConfig": { diff --git a/lib/api/package.json b/lib/api/package.json index 8f33f673650c..715737dffbce 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -50,7 +50,9 @@ }, "devDependencies": { "@types/lodash": "^4.14.149", - "@types/semver": "^6.0.0" + "@types/semver": "^6.0.0", + "flush-promises": "^1.0.2", + "qs": "^6.6.0" }, "peerDependencies": { "react-dom": "*" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index e11d421edf3c..d4eb01a7ae27 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -47,6 +47,7 @@ "util-deprecate": "^1.0.2" }, "peerDependencies": { + "react": "*", "react-dom": "*" }, "publishConfig": { diff --git a/lib/components/package.json b/lib/components/package.json index f6dff8b6b639..c34cdfa71c4c 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -49,10 +49,15 @@ "ts-dedent": "^1.1.1" }, "devDependencies": { + "@babel/core": "^7.8.4", + "@storybook/react": "6.0.0-alpha.20", + "@storybook/addon-actions": "6.0.0-alpha.20", "@types/react-syntax-highlighter": "^11.0.2", + "babel-loader": "^8.0.6", "enzyme": "^3.9.0", "jest": "^25.1.0", - "jest-enzyme": "^7.0.2" + "jest-enzyme": "^7.0.2", + "webpack": "^4.38.0" }, "peerDependencies": { "react": "*", diff --git a/lib/postinstall/package.json b/lib/postinstall/package.json index 0b9381e2145b..84f164624962 100644 --- a/lib/postinstall/package.json +++ b/lib/postinstall/package.json @@ -33,6 +33,7 @@ }, "devDependencies": { "@hypnosphi/jscodeshift": "^0.6.4", + "jest": "^25.1.0", "jest-specific-snapshot": "^2.0.0" }, "publishConfig": { diff --git a/lib/source-loader/package.json b/lib/source-loader/package.json index bbbc96273e59..e7046b8fb573 100644 --- a/lib/source-loader/package.json +++ b/lib/source-loader/package.json @@ -40,6 +40,7 @@ "regenerator-runtime": "^0.13.3" }, "peerDependencies": { + "react": "*", "react-dom": "*" }, "publishConfig": { diff --git a/lib/ui/package.json b/lib/ui/package.json index 54d3106ff83d..417558a97dd0 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -64,11 +64,16 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { + "@babel/core": "^7.8.4", "@storybook/addon-actions": "6.0.0-alpha.20", "@storybook/addon-knobs": "6.0.0-alpha.20", "@storybook/react": "6.0.0-alpha.20", + "@testing-library/react": "^9.2.0", + "babel-loader": "^8.0.6", "corejs-upgrade-webpack-plugin": "^3.0.1", + "enzyme": "^3.11.0", "flush-promises": "^1.0.2", + "storybook-chromatic": "^3.5.0", "terser-webpack-plugin": "^2.3.4", "webpack": "^4.33.0" },