Skip to content

Commit

Permalink
chore: add peerDependenciesMeta tag (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusNotheis authored May 29, 2020
1 parent 0ef66dd commit 7230d8e
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
"react": "^16.8.0",
"react-jss": "^10.0.4"
},
"peerDependenciesMeta": {
"@ui5/webcomponents-base": {
"optional": true
}
},
"publishConfig": {
"access": "public"
}
Expand Down
8 changes: 8 additions & 0 deletions packages/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
32 changes: 30 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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==
Expand Down Expand Up @@ -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==
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 7230d8e

Please sign in to comment.