Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from wordpress-mobile/upgrade_to_rn_0.64
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhun authored Jun 21, 2021
2 parents 52bf430 + deafc7a commit 18a49b8
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 34 deletions.
13 changes: 13 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
node_modules/**/*
build
BVLinearGradient.xcodeproj/xcuserdata/**/*
BVLinearGradient.xcodeproj/project.xcworkspace/**/*
.idea
.gradle/
gradlew
gradlew.bat
gradle/
*.properties
*.iml
npm-debug.log
Examples/
images/
4 changes: 2 additions & 2 deletions BVLinearGradient.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Pod::Spec.new do |s|
s.summary = "A <LinearGradient /> component for react-native"
s.license = "MIT"
s.author = { "Brent Vatne" => "brentvatne@gmail.com" }
s.ios.deployment_target = '9.0'
s.ios.deployment_target = '7.0'
s.tvos.deployment_target = '9.0'
s.source = { :git => "https://github.com/brentvatne/react-native-linear-gradient.git", :tag => "v#{s.version}" }
s.source_files = 'ios/*.{h,m}'
s.source_files = 'BVLinearGradient/*.{h,m}'
s.preserve_paths = "**/*.js"
s.frameworks = 'UIKit', 'QuartzCore', 'Foundation'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@

/* Begin PBXFileReference section */
134814201AA4EA6300B7C361 /* libBVLinearGradient.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libBVLinearGradient.a; sourceTree = BUILT_PRODUCTS_DIR; };
21A8AA16239A7C7500B411EC /* BVLinearGradient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BVLinearGradient.h; sourceTree = "<group>"; };
21A8AA17239A7C7500B411EC /* BVLinearGradientManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BVLinearGradientManager.h; sourceTree = "<group>"; };
21A8AA18239A7C7500B411EC /* BVLinearGradient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BVLinearGradient.m; sourceTree = "<group>"; };
21A8AA19239A7C7600B411EC /* BVLinearGradientManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BVLinearGradientManager.m; sourceTree = "<group>"; };
21A8AA1A239A7C7600B411EC /* BVLinearGradientLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BVLinearGradientLayer.m; sourceTree = "<group>"; };
21A8AA1B239A7C7600B411EC /* BVLinearGradientLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BVLinearGradientLayer.h; sourceTree = "<group>"; };
21A8AA16239A7C7500B411EC /* BVLinearGradient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BVLinearGradient.h; path = BVLinearGradient/BVLinearGradient.h; sourceTree = "<group>"; };
21A8AA17239A7C7500B411EC /* BVLinearGradientManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BVLinearGradientManager.h; path = BVLinearGradient/BVLinearGradientManager.h; sourceTree = "<group>"; };
21A8AA18239A7C7500B411EC /* BVLinearGradient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BVLinearGradient.m; path = BVLinearGradient/BVLinearGradient.m; sourceTree = "<group>"; };
21A8AA19239A7C7600B411EC /* BVLinearGradientManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BVLinearGradientManager.m; path = BVLinearGradient/BVLinearGradientManager.m; sourceTree = "<group>"; };
21A8AA1A239A7C7600B411EC /* BVLinearGradientLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BVLinearGradientLayer.m; path = BVLinearGradient/BVLinearGradientLayer.m; sourceTree = "<group>"; };
21A8AA1B239A7C7600B411EC /* BVLinearGradientLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BVLinearGradientLayer.h; path = BVLinearGradient/BVLinearGradientLayer.h; sourceTree = "<group>"; };
64AA15081EF7F30100718508 /* libBVLinearGradient.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libBVLinearGradient.a; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ repositories {
jcenter()
mavenCentral()
maven {
url "https://dl.bintray.com/wordpress-mobile/react-native-mirror/"
url "https://a8c-libs.s3.amazonaws.com/android/react-native-mirror"
}
}

dependencies {
if (project == rootProject) {
// If this is the root project (e.g. Jitpack), specify a version
implementation 'com.facebook.react:react-native:0.60.0-rc.1'
implementation 'com.facebook.react:react-native:0.64.0'
} else {
//noinspection GradleDynamicVersion
api "com.facebook.react:react-native:+"
}
}
}
6 changes: 0 additions & 6 deletions ios/.npmignore

This file was deleted.

24 changes: 7 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,7 @@
"name": "react-native-linear-gradient",
"version": "2.5.6",
"description": "A <LinearGradient> element for React Native",
"main": "index.js",
"files": [
"android",
"ios",
"windows",
"common.js",
"index.android.js",
"index.d.ts",
"index.ios.js",
"index.windows.js",
"BVLinearGradient.podspec"
],
"main": "index",
"author": {
"name": "Brent Vatne",
"email": "brentvatne@gmail.com",
Expand Down Expand Up @@ -48,15 +37,16 @@
},
"dependencies": {},
"peerDependencies": {
"react": "^16.8.1",
"react-native": ">=0.55"
},
"devDependencies": {
"flow-bin": "^0.98",
"react": "16.8.6",
"react-native": "0.60.5"
"flow-bin": "^0.92",
"react": "^16.8.3",
"react-native": "^0.59.1"
},
"scripts": {
"flow": "flow check"
"flow": "yarn flow:android && yarn flow:ios",
"flow:android": "flow check --flowconfig-name .flowconfig.android",
"flow:ios": "flow check"
}
}

0 comments on commit 18a49b8

Please sign in to comment.