diff --git a/package.json b/package.json index a91e5c514af..d0c559f58c3 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,8 @@ "@ui5/webcomponents": "1.0.0-rc.7", "@ui5/webcomponents-fiori": "1.0.0-rc.7", "@ui5/webcomponents-icons": "1.0.0-rc.7", + "react": "16.8.0", + "react-dom": "16.8.0", "react-docgen-typescript-loader": "3.7.2" }, "devDependencies": { @@ -91,9 +93,7 @@ "ncp": "^2.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.0.4", - "react": "^16.8.6", "react-app-polyfill": "^1.0.6", - "react-dom": "^16.8.6", "rimraf": "^3.0.1", "rollup": "^2.6.1", "rollup-plugin-strip-banner": "^2.0.0", diff --git a/packages/base/package.json b/packages/base/package.json index 7cf939a9555..199b23c3ebe 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -42,6 +42,11 @@ "react": "^16.8.0", "react-jss": "^10.0.4" }, + "peerDependenciesMeta": { + "@ui5/webcomponents-base": { + "optional": true + } + }, "publishConfig": { "access": "public" } diff --git a/packages/main/package.json b/packages/main/package.json index f7cb5e525d3..2872b791577 100644 --- a/packages/main/package.json +++ b/packages/main/package.json @@ -47,6 +47,14 @@ "react": "^16.8.0", "react-dom": "^16.8.0" }, + "peerDependenciesMeta": { + "@ui5/webcomponents-base": { + "optional": true + }, + "@ui5/webcomponents-icons": { + "optional": true + } + }, "publishConfig": { "access": "public" } diff --git a/yarn.lock b/yarn.lock index 55b2abbb48d..d0d7bc57a1d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16765,7 +16765,17 @@ react-docgen@^5.0.0: node-dir "^0.1.10" strip-indent "^3.0.0" -react-dom@^16.8.3, react-dom@^16.8.6: +react-dom@16.8.0: + version "16.8.0" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.0.tgz#18f28d4be3571ed206672a267c66dd083145a9c4" + integrity sha512-dBzoAGYZpW9Yggp+CzBPC7q1HmWSeRc93DWrwbskmG1eHJWznZB/p0l/Sm+69leIGUS91AXPB/qB3WcPnKx8Sw== + dependencies: + loose-envify "^1.1.0" + object-assign "^4.1.1" + prop-types "^15.6.2" + scheduler "^0.13.0" + +react-dom@^16.8.3: version "16.13.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.13.0.tgz#cdde54b48eb9e8a0ca1b3dc9943d9bb409b81866" integrity sha512-y09d2c4cG220DzdlFkPTnVvGTszVvNpC73v+AaLGLHbkpy3SSgvYq8x0rNwPJ/Rk/CicTNgk0hbHNw1gMEZAXg== @@ -16995,7 +17005,17 @@ react-virtual@2.1.7: "@scarf/scarf" "^1.0.0" ts-toolbelt "^6.4.2" -react@^16.8.3, react@^16.8.6: +react@16.8.0: + version "16.8.0" + resolved "https://registry.yarnpkg.com/react/-/react-16.8.0.tgz#8533f0e4af818f448a276eae71681d09e8dd970a" + integrity sha512-g+nikW2D48kqgWSPwNo0NH9tIGG3DsQFlrtrQ1kj6W77z5ahyIHG0w8kPpz4Sdj6gyLnz0lEd/xsjOoGge2MYQ== + dependencies: + loose-envify "^1.1.0" + object-assign "^4.1.1" + prop-types "^15.6.2" + scheduler "^0.13.0" + +react@^16.8.3: version "16.13.0" resolved "https://registry.yarnpkg.com/react/-/react-16.13.0.tgz#d046eabcdf64e457bbeed1e792e235e1b9934cf7" integrity sha512-TSavZz2iSLkq5/oiE7gnFzmURKZMltmi193rm5HEoUDAXpzT9Kzw6oNZnGoai/4+fUnm7FqS5dwgUL34TujcWQ== @@ -18040,6 +18060,14 @@ saxes@^5.0.0: dependencies: xmlchars "^2.2.0" +scheduler@^0.13.0: + version "0.13.6" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.13.6.tgz#466a4ec332467b31a91b9bf74e5347072e4cd889" + integrity sha512-IWnObHt413ucAYKsD9J1QShUKkbKLQQHdxRyw73sw4FN26iWr3DY/H34xGPe4nmL1DwXyWmSWmMrA9TfQbE/XQ== + dependencies: + loose-envify "^1.1.0" + object-assign "^4.1.1" + scheduler@^0.19.0: version "0.19.0" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.0.tgz#a715d56302de403df742f4a9be11975b32f5698d"