fix: bump packages, eslint, tsconfig, prettier and resolve all conflicts (#2114)

PR bumping packages, eslint, tsconfig, prettier and resolving all conflicts connected to it.
This commit is contained in:
Wojciech Lewicki
2023-08-07 17:44:58 +02:00
committed by GitHub
parent 3599c57e31
commit 416ccc8a86
64 changed files with 4762 additions and 4382 deletions

View File

@@ -11,46 +11,25 @@ Pod::Spec.new do |s|
s.license = package['license']
s.homepage = package['homepage']
s.authors = 'Horcrux Chen'
s.platforms = { :osx => "10.14", :ios => "9.0", :tvos => "9.2" }
s.source = { :git => 'https://github.com/react-native-community/react-native-svg.git', :tag => "v#{s.version}" }
s.source_files = 'apple/**/*.{h,m,mm}'
s.ios.exclude_files = '**/*.macos.{h,m,mm}'
s.tvos.exclude_files = '**/*.macos.{h,m,mm}'
s.osx.exclude_files = '**/*.ios.{h,m,mm}'
s.requires_arc = true
if fabric_enabled
# folly_version must match the version used in React Native
# See folly_version in react-native/React/FBReactNativeSpec/FBReactNativeSpec.podspec
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
s.platforms = { :osx => "10.14", ios: '12.4', tvos: '11.0' }
install_modules_dependencies(s)
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/boost-for-react-native" "$(PODS_ROOT)/RCT-Folly"',
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
}
s.platforms = { ios: '12.4', tvos: '11.0' }
s.compiler_flags = folly_compiler_flags + ' -DRCT_NEW_ARCH_ENABLED'
s.source_files = 'apple/**/*.{h,m,mm,cpp}'
s.ios.exclude_files = '**/*.macos.{h,m,mm,cpp}'
s.tvos.exclude_files = '**/*.macos.{h,m,mm,cpp}'
s.osx.exclude_files = '**/*.ios.{h,m,mm,cpp}'
s.requires_arc = true
s.dependency "React"
s.dependency "React-RCTFabric"
s.dependency "React-Codegen"
s.dependency "RCT-Folly"
s.dependency "RCTRequired"
s.dependency "RCTTypeSafety"
s.dependency "ReactCommon/turbomodule/core"
s.subspec "common" do |ss|
ss.source_files = "common/cpp/**/*.{cpp,h}"
ss.header_dir = "rnsvg"
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/common/cpp\"" }
end
else
s.source_files = 'apple/**/*.{h,m,mm}'
s.platforms = { :osx => "10.14", :ios => "9.0", :tvos => "9.2" }
s.exclude_files = 'apple/Utils/RNSVGFabricConversions.h'
s.ios.exclude_files = '**/*.macos.{h,m,mm}'
s.tvos.exclude_files = '**/*.macos.{h,m,mm}'
s.osx.exclude_files = '**/*.ios.{h,m,mm}'
s.requires_arc = true
s.dependency 'React-Core'
end
end