From 5cebf6e6f79a0c06f8c1de97b2b30fa9115325b1 Mon Sep 17 00:00:00 2001 From: Junior Garcia Date: Tue, 11 Apr 2023 21:37:36 -0300 Subject: [PATCH] fix: tsup disabled while fragment issue is fixed --- package.json | 9 +++++---- src/Icons/CaretDown.js | 4 ++-- src/Icons/CaretLeft.js | 4 ++-- src/Icons/CaretRight.js | 4 ++-- src/Icons/CaretUp.js | 4 ++-- website/package.json | 2 +- website/yarn.lock | 8 ++++---- 7 files changed, 18 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 5f634d3..bda1478 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "react-iconly", - "version": "2.2.8", + "version": "2.2.10", "description": "React component for Iconly icons", "author": "Junior Garcia ", "license": "MIT", "repository": "jrgarciadev/react-iconly", "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.modern.js", "types": "dist/react-iconly.d.ts", "source": "src/index.js", "sideEffects": false, @@ -27,9 +27,10 @@ "design" ], "scripts": { - "build": "tsup --loader '.js=jsx' && yarn copytypes", - "build:fast": "tsup --loader '.js=jsx'", + "build": "microbundle-crl --define process.env.NODE_ENV=production --compress --strict --format modern,cjs && yarn copytypes", + "start": "microbundle-crl watch --no-compress --format modern,cjs", "dev": "yarn build:fast -- --watch", + "prepare": "run-s build", "copytypes": "cp react-iconly.d.ts dist/react-iconly.d.ts", "test": "run-s test:unit test:lint test:build", "test:build": "run-s build", diff --git a/src/Icons/CaretDown.js b/src/Icons/CaretDown.js index 384412e..1ff6088 100644 --- a/src/Icons/CaretDown.js +++ b/src/Icons/CaretDown.js @@ -12,7 +12,7 @@ const CaretDown = ({ color, secondaryColor, strokeWidth, opacity, set }) => { ) const Bulk = () => ( - + <> { - + ) const Light = () => ( diff --git a/src/Icons/CaretLeft.js b/src/Icons/CaretLeft.js index bc7a330..8708228 100644 --- a/src/Icons/CaretLeft.js +++ b/src/Icons/CaretLeft.js @@ -13,7 +13,7 @@ const CaretLeft = ({ color, secondaryColor, strokeWidth, opacity, set }) => { ) const Bulk = () => ( - + <> { - + ) const Light = () => ( diff --git a/src/Icons/CaretRight.js b/src/Icons/CaretRight.js index 99725e2..94f3a57 100644 --- a/src/Icons/CaretRight.js +++ b/src/Icons/CaretRight.js @@ -12,7 +12,7 @@ const CaretRight = ({ color, secondaryColor, strokeWidth, opacity, set }) => { ) const Bulk = () => ( - + <> { - + ) const Light = () => ( diff --git a/src/Icons/CaretUp.js b/src/Icons/CaretUp.js index 9075f39..f4b31f3 100644 --- a/src/Icons/CaretUp.js +++ b/src/Icons/CaretUp.js @@ -12,7 +12,7 @@ const CaretUp = ({ color, secondaryColor, strokeWidth, opacity, set }) => { ) const Bulk = () => ( - + <> { - + ) const Light = () => ( diff --git a/website/package.json b/website/package.json index b344a00..eaa24d1 100644 --- a/website/package.json +++ b/website/package.json @@ -26,7 +26,7 @@ "p-iteration": "^1.1.8", "react": "17.0.1", "react-dom": "17.0.1", - "react-iconly": "^2.2.8", + "react-iconly": "^2.2.10", "react-instantsearch-dom": "^6.8.2", "react-outside-click-handler": "^1.3.0", "react-tippy": "^1.4.0", diff --git a/website/yarn.lock b/website/yarn.lock index f90d465..361e1fb 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -4728,10 +4728,10 @@ react-fast-compare@^3.0.0: resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== -react-iconly@^2.2.7: - version "2.2.7" - resolved "https://registry.yarnpkg.com/react-iconly/-/react-iconly-2.2.7.tgz#0378d1e48ef200a733c184487ad5a502be118bc3" - integrity sha512-vMMQMrAX3hQH4r+WjRE84cPDqP042PERVMquv6U2cwZci1PjNEpacn/DppopoJTJCvQH6DJXfLDGE5ipUwUFFQ== +react-iconly@^2.2.10: + version "2.2.10" + resolved "https://registry.yarnpkg.com/react-iconly/-/react-iconly-2.2.10.tgz#da7719a2f99d52dff53e318aa6b9b2a02f274d12" + integrity sha512-AZYJRzXMj7yw+KIFUkom3cWhvfbrdlbOLbBDuFnPJrbrgynmNCcJhX8dIQ/JGKq5XDo1P9j8Gico0xZnV/bXWA== react-instantsearch-core@^6.10.3: version "6.10.3"