Skip to content

Commit

Permalink
Bump fixture app to RN 0.72 (#1076)
Browse files Browse the repository at this point in the history
* Bump fixture app to RN 0.72

* Fix Detox integration
  • Loading branch information
gvarandas authored Mar 19, 2024
1 parent 1f4f8ba commit 39dc134
Show file tree
Hide file tree
Showing 56 changed files with 4,235 additions and 5,837 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-website-on-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
RUBY_VERSION: 3.0.3
NODE_VERSION: 16.13.0
NODE_VERSION: 20.4.0

jobs:
release:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/flash-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
RUBY_VERSION: 3.0.3
NODE_VERSION: 16.13.0
NODE_VERSION: 20.4.0

jobs:
build-ts:
Expand Down Expand Up @@ -86,11 +86,12 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- run: |
yarn
yarn build
cd fixture
yarn
cd android
mkdir -p /tmp/artifacts
./gradlew bundleDebugJsAndAssets
yarn react-native bundle --entry-file index.js --platform android --bundle-output /tmp/artifacts/bundle.js --sourcemap-output /tmp/artifacts/output.map
- name: Archive Android bundle artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
RUBY_VERSION: 3.0.3
NODE_VERSION: 16.13.0
NODE_VERSION: 20.4.0

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

## [Unreleased]

- Update internal dependency and fixture app to `react-native@0.72`.
- https://github.com/Shopify/flash-list/pull/1076

## [1.6.4] - 2024-03-18

- Fix `ItemSeparatorComponent ` position for the `inverted` flashlist
Expand Down
2 changes: 1 addition & 1 deletion documentation/dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: flash-list
up:
- node:
version: v16.13.0
version: v20.4.0
yarn: 1.22.15

server:
Expand Down
53 changes: 53 additions & 0 deletions fixture/.detoxrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/**
* Detox configuration
* https://wix.github.io/Detox/docs/introduction/project-setup
*
* @type {import('detox').DetoxConfig}
*/
module.exports = {
testRunner: {
$0: "jest",
args: {
config: "e2e/jest.config.js",
},
},
apps: {
"ios.release": {
type: "ios.app",
binaryPath:
"ios/build/Build/Products/Release-iphonesimulator/FlatListPro.app",
build:
"export CODE_SIGNING_REQUIRED=NO && export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/FlatListPro.xcworkspace -scheme FlatListPro -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet -destination 'generic/platform=iOS Simulator'",
},
"android.release": {
type: "android.apk",
binaryPath: "android/app/build/outputs/apk/release/app-release.apk",
build:
"cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
},
},
devices: {
simulator: {
type: "ios.simulator",
device: {
type: "iPhone 14",
},
},
emulator: {
type: "android.emulator",
device: {
avdName: "React-Native-Phone",
},
},
},
configurations: {
"ios.sim.release": {
device: "simulator",
app: "ios.release",
},
"android.emu.release": {
device: "emulator",
app: "android.release",
},
},
};
41 changes: 0 additions & 41 deletions fixture/.detoxrc.json

This file was deleted.

Loading

0 comments on commit 39dc134

Please sign in to comment.