diff --git a/packages/web-react/package.json b/packages/web-react/package.json index 0884ef8bd0..f801a6af7d 100644 --- a/packages/web-react/package.json +++ b/packages/web-react/package.json @@ -85,11 +85,18 @@ "webpack-merge": "6.0.1" }, "peerDependencies": { - "@lmc-eu/spirit-design-tokens": "*", - "@lmc-eu/spirit-icons": "*", - "@lmc-eu/spirit-web": "*", - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" + "@lmc-eu/spirit-icons": "^2.0.0", + "@lmc-eu/spirit-web": "^3.0.0", + "react": "^17.0.2 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.2 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@lmc-eu/spirit-icons": { + "optional": true + }, + "@lmc-eu/spirit-web": { + "optional": true + } }, "scripts": { "build:prepare": "shx rm -rf dist && shx mkdir -p dist && shx cp package.json README.md dist/ ", diff --git a/yarn.lock b/yarn.lock index 58c90541ac..837ef8c1be 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": "*" - react: ^17.0.2 || ^18.0.0 - react-dom: ^17.0.2 || ^18.0.0 + "@lmc-eu/spirit-icons": ^2.0.0 + "@lmc-eu/spirit-web": ^3.0.0 + react: ^17.0.2 || ^18.0.0 || ^19.0.0 + react-dom: ^17.0.2 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + "@lmc-eu/spirit-icons": + optional: true + "@lmc-eu/spirit-web": + optional: true languageName: unknown linkType: soft