From ca4c9af187c8f7a2d27e7c6011c2adc974cf4bea Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 6 Nov 2023 17:17:52 +0100 Subject: [PATCH 1/6] Set up autolinking and publish to campfire technology --- .gitignore | 1 + ios/RNTextSize.podspec | 4 ++-- package.json | 7 ++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 1125ab0..d4420aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.npmrc !default.mode1v3 !default.mode2v3 !default.pbxuser diff --git a/ios/RNTextSize.podspec b/ios/RNTextSize.podspec index 281e201..da929db 100644 --- a/ios/RNTextSize.podspec +++ b/ios/RNTextSize.podspec @@ -1,5 +1,5 @@ require 'json' -package = JSON.parse(File.read('../package.json')) +package = JSON.parse(File.read('./package.json')) Pod::Spec.new do |s| s.name = 'RNTextSize' @@ -14,7 +14,7 @@ Pod::Spec.new do |s| s.author = package['author'] s.platform = :ios, '9.0' s.source = { :git => package['repository'], :tag => "v#{s.version}" } - s.source_files = '*.{h,m}' + s.source_files = 'ios/*.{h,m}' s.requires_arc = true s.dependency 'React' diff --git a/package.json b/package.json index e9dc76c..fa15500 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "react-native-text-size", - "version": "4.0.0-rc.1", + "name": "@campfire-technology-llc/react-native-text-size", + "version": "4.0.1", "description": "Measure text accurately before laying it out and get font information from your App", "main": "index.js", "keywords": [ @@ -22,7 +22,8 @@ "author": "aMarCruz ", "license": "BSD-2-Clause", "scripts": { - "clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && cd android && ./gradlew clean" + "clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && cd android && ./gradlew clean", + "deploy": "npm publish" }, "peerDependencies": { "react-native": ">=0.59.0" From bff944d71a0d35c72699eacf3461f90ec17b4102 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 10 Nov 2023 17:28:08 +0100 Subject: [PATCH 2/6] build after installing --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fa15500..e6bfb50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@campfire-technology-llc/react-native-text-size", - "version": "4.0.1", + "version": "4.0.2", "description": "Measure text accurately before laying it out and get font information from your App", "main": "index.js", "keywords": [ From a388417efef341e6d3d85cf304f66c07c0db12fc Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 10 Nov 2023 18:03:51 +0100 Subject: [PATCH 3/6] move podspec file to root --- ios/RNTextSize.podspec => RNTextSize.podspec | 0 package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename ios/RNTextSize.podspec => RNTextSize.podspec (100%) diff --git a/ios/RNTextSize.podspec b/RNTextSize.podspec similarity index 100% rename from ios/RNTextSize.podspec rename to RNTextSize.podspec diff --git a/package.json b/package.json index e6bfb50..f31f25d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@campfire-technology-llc/react-native-text-size", - "version": "4.0.2", + "version": "4.0.3", "description": "Measure text accurately before laying it out and get font information from your App", "main": "index.js", "keywords": [ From af752a249dffb3dfff3c64cb55e76e7f850c92a5 Mon Sep 17 00:00:00 2001 From: Jason Date: Sat, 10 Feb 2024 15:20:34 +0100 Subject: [PATCH 4/6] publish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f31f25d..d74c194 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@campfire-technology-llc/react-native-text-size", - "version": "4.0.3", + "version": "4.0.4", "description": "Measure text accurately before laying it out and get font information from your App", "main": "index.js", "keywords": [ From 5472e0a58ec8c5d23ffeda5a3b5683efff44dba4 Mon Sep 17 00:00:00 2001 From: pedro-rivas Date: Fri, 15 Mar 2024 11:00:04 +0300 Subject: [PATCH 5/6] update compileSdkVersion --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 2617bd7..3a43c2a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -9,7 +9,7 @@ def safeExtGet(prop, fallback) { } def _buildToolsVersion = safeExtGet('buildToolsVersion', '28.0.3') -def _compileSdkVersion = safeExtGet('compileSdkVersion', 28) +def _compileSdkVersion = safeExtGet('compileSdkVersion', 30) def _targetSdkVersion = safeExtGet('targetSdkVersion', 28) def _minSdkVersion = safeExtGet('minSdkVersion', 16) From 3f9f6b3272e4b64482de7cd3216469e5a861a9ff Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 15 Mar 2024 08:33:29 +0000 Subject: [PATCH 6/6] build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d74c194..e98d69c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@campfire-technology-llc/react-native-text-size", - "version": "4.0.4", + "version": "4.0.5", "description": "Measure text accurately before laying it out and get font information from your App", "main": "index.js", "keywords": [