* Reformat

* Prettier: Print Width 140

* SwiftFormat: Disable `organizeDeclarations`

* React Helpers -> React Utils

* Use bundle exec for pods

* Disable Hermes in Example

* Create clean.sh

* Update package.json

* Re-generate lockfiles

* Add bundle install step to bootstrap
This commit is contained in:
Marc Rousavy
2021-03-31 15:43:29 +02:00
committed by GitHub
parent 67b72682b4
commit 7c33839e36
24 changed files with 993 additions and 996 deletions

51
scripts/clean.sh Executable file
View File

@@ -0,0 +1,51 @@
#!/bin/bash
cd "$(dirname "$0")"
cd ..
echo "Running clean script in $PWD"
echo "rm -rf node_modules"
rm -rf node_modules
echo "rm -rf yarn.lock"
rm -rf yarn.lock
rm -rf package-lock.json
echo "cd example"
cd example
echo "rm -rf node_modules"
rm -rf node_modules
echo "rm -rf yarn.lock"
rm -rf yarn.lock
rm -rf package-lock.json
echo "rm -rf ~/Library/Caches/CocoaPods"
rm -rf ~/Library/Caches/CocoaPods
echo "rm -rf ios/Pods"
rm -rf ios/Pods
echo "rm -rf ios/Podfile.lock"
rm -rf ios/Podfile.lock
echo "rm -rf ~/Library/Developer/Xcode/DerivedData/*"
rm -rf ~/Library/Developer/Xcode/DerivedData/*
cd ios
echo "pod deintegrate"
pod deintegrate
echo "bundle clean"
bundle clean --force
cd ../..
echo "yarn in $PWD"
yarn
cd example
echo "yarn in $PWD"
yarn
cd ios
echo "bundle install"
bundle install
echo "pod setup"
bundle exec pod setup
echo "pod install"
bundle exec pod install