Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.npmrc
!default.mode1v3
!default.mode2v3
!default.pbxuser
Expand Down
4 changes: 2 additions & 2 deletions ios/RNTextSize.podspec → RNTextSize.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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.5",
"description": "Measure text accurately before laying it out and get font information from your App",
"main": "index.js",
"keywords": [
Expand All @@ -22,7 +22,8 @@
"author": "aMarCruz <amarcruzbox_git@yahoo.com>",
"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"
Expand Down