mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-09 22:51:57 +08:00
The code for the stack is almost the same as v5, with the only differences being the types and the navigation object. To avoid making same changes in 2 places which error-prone, I decided to reuse the same code. Due to the differences, it's not possible to just use it as a dependency, so I followed this approach: - Copy the source files on post install and apply patches to make it work with React Navigation 4 - When we need to make changes, we can make them in v5 repo and update the version here, most of the time it wouldn't need any extra work - If we need to make v4 specific changes, we can change the code in vendor/ and then re-generate the patch with `yarn patch`
58 lines
554 B
Plaintext
58 lines
554 B
Plaintext
# OSX
|
|
#
|
|
.DS_Store
|
|
|
|
# XDE
|
|
.expo/
|
|
|
|
# VSCode
|
|
.vscode/
|
|
jsconfig.json
|
|
|
|
# Xcode
|
|
#
|
|
build/
|
|
*.pbxuser
|
|
!default.pbxuser
|
|
*.mode1v3
|
|
!default.mode1v3
|
|
*.mode2v3
|
|
!default.mode2v3
|
|
*.perspectivev3
|
|
!default.perspectivev3
|
|
xcuserdata
|
|
*.xccheckout
|
|
*.moved-aside
|
|
DerivedData
|
|
*.hmap
|
|
*.ipa
|
|
*.xcuserstate
|
|
project.xcworkspace
|
|
|
|
# Android/IJ
|
|
#
|
|
.idea
|
|
.gradle
|
|
local.properties
|
|
|
|
# node.js
|
|
#
|
|
node_modules/
|
|
npm-debug.log
|
|
yarn-debug.log
|
|
yarn-error.log
|
|
|
|
# BUCK
|
|
buck-out/
|
|
\.buckd/
|
|
android/app/libs
|
|
android/keystores/debug.keystore
|
|
|
|
# Build
|
|
dist/
|
|
generated/
|
|
vendor/
|
|
|
|
# generated by bob
|
|
lib/
|