Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
markrickert committed Oct 10, 2023
1 parent e891616 commit 1b7533b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 26 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ module.exports = {
"require-atomic-updates": "off",
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/consistent-indexed-object-style": "off",
"@typescript-eslint/ban-ts-comment": "off",
"jsx-a11y/no-autofocus": "off",
},
overrides: [
Expand Down
28 changes: 14 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ freeline/
freeline_project_description.json

# fastlane
**/fastlane/report.xml
**/fastlane/Preview.html
**/fastlane/screenshots
**/fastlane/test_output
**/fastlane/readme.md
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md

# Version control
vcs.xml
Expand Down Expand Up @@ -198,20 +198,20 @@ dist
**/.DS_Store

# CocoaPods
*fixture/ios/Pods/
fixture/ios/Pods/

# Xcode
*fixture/ios/xcuserdata/
*fixture/ios/*.xcworkspace/xcuserdata/
*fixture/ios/*.xcodeproj/*
!*fixture/ios/*.xcodeproj/project.pbxproj
!*fixture/ios/*.xcodeproj/xcshareddata/
!*fixture/ios/*.xcworkspace/contents.xcworkspacedata
*fixture/ios/**/xcshareddata/WorkspaceSettings.xcsettings
fixture/ios/xcuserdata/
fixture/ios/*.xcworkspace/xcuserdata/
fixture/ios/*.xcodeproj/*
!fixture/ios/*.xcodeproj/project.pbxproj
!fixture/ios/*.xcodeproj/xcshareddata/
!fixture/ios/*.xcworkspace/contents.xcworkspacedata
fixture/ios/**/xcshareddata/WorkspaceSettings.xcsettings

# Android

*fixture/android/*.hprof
fixture/android/*.hprof

# e2e

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

- Added Fabric support for iOS and Android

## [1.6.1] - 2023-09-14

- Prevent an expired layout provider from being used again
Expand Down
13 changes: 4 additions & 9 deletions RNFlashList.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'

fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'

Pod::Spec.new do |s|
Expand All @@ -13,12 +12,10 @@ Pod::Spec.new do |s|
s.homepage = package['homepage']
s.license = package['license']
s.author = package['author']
s.platforms = { :ios => '12.4', :tvos => '12.0' }
s.source = { git: 'https://github.com/shopify/flash-list.git', tag: "v#{s.version}" }
s.source_files = 'ios/Sources/**/*'
s.requires_arc = true
s.swift_version = '5.0'

s.dependency "React-Core"

if fabric_enabled
Expand All @@ -37,12 +34,10 @@ Pod::Spec.new do |s|
s.dependency "RCTTypeSafety"
s.dependency "ReactCommon/turbomodule/core"
s.ios.deployment_target = "12.4"
end

if fabric_enabled
s.subspec "Fabric" do |ss|
ss.source_files = "ios/Fabric/**/*.{h,mm}"
end
s.platforms = { :ios => '12.4', :tvos => '12.0' }
else
# Settings for non-fabric builds
s.platforms = { :ios => '11.0', :tvos => '12.0' }
end

# Tests spec
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
"jest": "^28.1.1",
"metro-react-native-babel-preset": "^0.71.1",
"prettier": "^2.7.1",
"react": "18.2.0",
"react-native": "0.72.5",
"react": "17.0.2",
"react-native": "0.68.5",
"typescript": "4.8.4"
},
"files": [
Expand Down

0 comments on commit 1b7533b

Please sign in to comment.