From 13d038099db65485f98d6d127c9ad8f6c47ed982 Mon Sep 17 00:00:00 2001 From: Rafael Rollo Date: Wed, 29 Jan 2025 19:28:58 +0000 Subject: [PATCH] fix(package): moves yoga-icons dep to peer dependencies --- packages/yoga/package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/yoga/package.json b/packages/yoga/package.json index 2a5ba68710..a15d737c95 100644 --- a/packages/yoga/package.json +++ b/packages/yoga/package.json @@ -38,7 +38,6 @@ "dependencies": { "@gympass/yoga-common": "^1.4.1", "@gympass/yoga-helpers": "^1.1.1", - "@gympass/yoga-icons": "^1.28.0", "@gympass/yoga-illustrations": "^0.7.1", "@gympass/yoga-system": "^0.25.0", "@gympass/yoga-tokens": "^3.6.4", @@ -56,6 +55,7 @@ "react-phone-input-2": "^2.15.1" }, "devDependencies": { + "@gympass/yoga-icons": "^1.28.0", "@react-native-community/eslint-config": "^3.0.1", "@types/styled-components": "^5.1.34", "babel-plugin-inline-react-svg": "^1.1.1", @@ -63,11 +63,17 @@ "styled-components": "^4.4.0" }, "peerDependencies": { + "@gympass/yoga-icons": "^1.28.0", "@react-native-picker/picker": "^2.4.9", "react": ">=16", "react-native": "0.72.3", "styled-components": "^4.4.0" }, + "peerDependenciesMeta": { + "@gympass/yoga-icons": { + "optional": true + } + }, "tsup": { "entry": [ "src/index.ts",