From 81581f50e8085336d31becc2eea32c2adc9c4bcb Mon Sep 17 00:00:00 2001 From: Ivan Vasilov Date: Mon, 2 Sep 2024 11:38:22 +0200 Subject: [PATCH] fix: Change all apps to use the same version of lucide-react package (#29000) * Delete all versions of lucide from the apps so that it resolves only the version specified in ui package. * Remove unneeded lines from package-lock.json. --- apps/design-system/package.json | 2 +- apps/www/package.json | 2 +- package-lock.json | 22 +++------------------- packages/ui/package.json | 2 +- 4 files changed, 6 insertions(+), 22 deletions(-) diff --git a/apps/design-system/package.json b/apps/design-system/package.json index eb74f256f5d..af3e909ca92 100644 --- a/apps/design-system/package.json +++ b/apps/design-system/package.json @@ -19,7 +19,7 @@ "fs": "^0.0.1-security", "jotai": "^2.8.0", "lodash.template": "4.5.0", - "lucide-react": "^0.338.0", + "lucide-react": "*", "markdown-wasm": "^1.2.0", "next": "^14.2.3", "next-contentlayer2": "0.4.6", diff --git a/apps/www/package.json b/apps/www/package.json index b5d799257d7..84fa52e4761 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -43,7 +43,7 @@ "globby": "^13.2.2", "gray-matter": "^4.0.3", "icons": "*", - "lucide-react": "^0.436.0", + "lucide-react": "*", "markdown-toc": "^1.2.0", "next": "^14.2.3", "next-contentlayer2": "0.4.6", diff --git a/package-lock.json b/package-lock.json index 0f45f27c3c6..dc0c0f3ba6a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "fs": "^0.0.1-security", "jotai": "^2.8.0", "lodash.template": "4.5.0", - "lucide-react": "^0.338.0", + "lucide-react": "*", "markdown-wasm": "^1.2.0", "next": "^14.2.3", "next-contentlayer2": "0.4.6", @@ -431,14 +431,6 @@ "url": "https://opencollective.com/unified" } }, - "apps/design-system/node_modules/lucide-react": { - "version": "0.338.0", - "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.338.0.tgz", - "integrity": "sha512-Uq+vcn/gp6l01GpDH8SxY6eAvO6Ur2bSU39NxEEJt35OotnVCH5q26TZEVPtJf23gTAncXd3DJQqcezIm6HA7w==", - "peerDependencies": { - "react": "^16.5.1 || ^17.0.0 || ^18.0.0" - } - }, "apps/design-system/node_modules/mdast-util-to-hast": { "version": "13.2.0", "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz", @@ -2699,7 +2691,7 @@ "globby": "^13.2.2", "gray-matter": "^4.0.3", "icons": "*", - "lucide-react": "^0.436.0", + "lucide-react": "*", "markdown-toc": "^1.2.0", "next": "^14.2.3", "next-contentlayer2": "0.4.6", @@ -43177,7 +43169,7 @@ "highlightjs-curl": "^1.3.0", "input-otp": "^1.2.3", "lodash": "^4.17.21", - "lucide-react": "^0.338.0", + "lucide-react": "^0.436.0", "next-themes": "^0.3.0", "openai": "^4.17.0", "postcss": "^8.4.31", @@ -44310,14 +44302,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/ui/node_modules/lucide-react": { - "version": "0.338.0", - "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.338.0.tgz", - "integrity": "sha512-Uq+vcn/gp6l01GpDH8SxY6eAvO6Ur2bSU39NxEEJt35OotnVCH5q26TZEVPtJf23gTAncXd3DJQqcezIm6HA7w==", - "peerDependencies": { - "react": "^16.5.1 || ^17.0.0 || ^18.0.0" - } - }, "packages/ui/node_modules/minimatch": { "version": "5.1.6", "dev": true, diff --git a/packages/ui/package.json b/packages/ui/package.json index b71058dac4b..109b003b8dd 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -60,7 +60,7 @@ "highlightjs-curl": "^1.3.0", "input-otp": "^1.2.3", "lodash": "^4.17.21", - "lucide-react": "^0.338.0", + "lucide-react": "^0.436.0", "next-themes": "^0.3.0", "openai": "^4.17.0", "postcss": "^8.4.31",