From 8e410b224b83e4f35a030b5e03232410751c37ce Mon Sep 17 00:00:00 2001 From: literat Date: Mon, 16 Dec 2024 20:41:52 +0100 Subject: [PATCH] fixup! Chore(web-react): Icon and web package are optional peer dependencies --- packages/web-react/package.json | 7 +++---- yarn.lock | 10 +++++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/packages/web-react/package.json b/packages/web-react/package.json index 6babaf8bc0..26755a920c 100644 --- a/packages/web-react/package.json +++ b/packages/web-react/package.json @@ -21,7 +21,6 @@ "types": "./index.d.ts", "dependencies": { "@floating-ui/react": "^0.26.5", - "@react-hook/resize-observer": "^1.2.6", "classnames": "^2.3.1", "html-dom-parser": "5.0.10", "html-react-parser": "5.1.18", @@ -86,10 +85,10 @@ "webpack-merge": "6.0.1" }, "peerDependencies": { - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0", "@lmc-eu/spirit-icons": "^1.1.1", - "@lmc-eu/spirit-web": "^1.10.0" + "@lmc-eu/spirit-web": "^1.10.0", + "react": "^17.0.2 || ^18.0.0", + "react-dom": "^17.0.2 || ^18.0.0" }, "peerDependenciesMeta": { "@lmc-eu/spirit-icons": { diff --git a/yarn.lock b/yarn.lock index 58c90541ac..77906c7397 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5119,11 +5119,15 @@ __metadata: webpack-cli: "npm:5.1.4" webpack-merge: "npm:6.0.1" peerDependencies: - "@lmc-eu/spirit-design-tokens": "*" - "@lmc-eu/spirit-icons": "*" - "@lmc-eu/spirit-web": "*" + "@lmc-eu/spirit-icons": ^1.1.1 + "@lmc-eu/spirit-web": ^1.10.0 react: ^17.0.2 || ^18.0.0 react-dom: ^17.0.2 || ^18.0.0 + peerDependenciesMeta: + "@lmc-eu/spirit-icons": + optional: true + "@lmc-eu/spirit-web": + optional: true languageName: unknown linkType: soft