From 7f6fa1026b57f3c06fef376a990b27c15ec53b07 Mon Sep 17 00:00:00 2001 From: Jakub Grzywacz Date: Thu, 9 Jan 2025 20:59:38 +0100 Subject: [PATCH] fix: include `scripts/rnsvg_utils.rb` in release (#2607) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Summary Hotfix for #2606, where `RNSVG.podspec` imports `scripts/rnsvg_utils.rb` but `scripts` catalog is not included in the release. Closes #2606 # Issue ```bash ❯ bundle exec pod install [!] Invalid `Podfile` file: [!] Invalid `RNSVG.podspec` file: cannot load such file -- /node_modules/react-native-svg/scripts/rnsvg_utils. # from /node_modules/react-native-svg/RNSVG.podspec:2 # ------------------------------------------- # require 'json' > require_relative './scripts/rnsvg_utils' # # ------------------------------------------- ``` --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f95fa06b..426075fd 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "RNSVG.podspec", "!android/build", "windows", - "react-native.config.js" + "react-native.config.js", + "scripts/rnsvg_utils.rb" ], "react-native-builder-bob": { "source": "src",