Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adh update tiny quickstart #26

Merged
merged 9 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dependencies": {
"iron-session": "^6.1.3",
"next": "^12.2.4",
"plaid": "^10.9.0",
"plaid": "^21.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-plaid-link": "^3.3.0"
Expand Down
6 changes: 3 additions & 3 deletions react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ If you're looking for a more fully-featured quickstart, covering more API endpoi

#### Set up your environment

This app uses Node 16 and should work with recent versions of Node. You can use a tool such as [nvm](https://github.com/nvm-sh/nvm) to make sure the app uses your desired version of Node. For information on installing Node, see [How to install Node.js](https://nodejs.dev/learn/how-to-install-nodejs).
This app uses Node 20 and should work with recent versions of Node. You can use a tool such as [nvm](https://github.com/nvm-sh/nvm) to make sure the app uses the target version of Node. For information on installing Node, see [How to install Node.js](https://nodejs.dev/learn/how-to-install-nodejs).

#### Install dependencies

Ensure you're in the **react/** folder, then install the necessary dependencies:

```bash
yarn install
npm install
```

#### Equip the app with credentials
Expand All @@ -31,7 +31,7 @@ Fill out the contents of the **.env** file with the [client ID and Sandbox secre
#### Start the server

```bash
yarn start
npm start
```

The app will run on port 3000 and will hot-reload if you make edits.
Expand Down
4 changes: 2 additions & 2 deletions react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"express": "^4.17.1",
"express-session": "^1.17.2",
"npm-run-all": "^4.1.5",
"plaid": "^9.0.0-beta.11",
"plaid": "^21.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-plaid-link": "^3.5.1",
Expand Down Expand Up @@ -41,7 +41,7 @@
},
"proxy": "http://localhost:8080",
"devDependencies": {
"nodemon": "^2.0.7",
"nodemon": "^3.1.0",
"npm-run-all": "^4.1.5",
"sass": "^1.49.9"
},
Expand Down
6 changes: 3 additions & 3 deletions react_native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Follow the environment setup instructions found in the official React Native doc

#### Install dependencies

Ensure your Node version is >= 16.14.0. Next, run `npm install` in the **TinyQuickstartReactNative/** folder.
Ensure you're using Node 20; you can run `nvm use` to make sure you are using a compatible version of Node for this project. Next, run `npm install` in the **TinyQuickstartReactNative/** folder.

Navigate to the **ios/** folder and run `pod install` to install all necessary iOS dependencies.
Navigate to the **ios/** folder and run `bundle install && pod install` to install all necessary iOS dependencies.

#### Equip the app with API credentials

Expand Down Expand Up @@ -99,4 +99,4 @@ To observe OAuth in action, type "oauth" into the search bar when prompted to se

* Wipe all data from the Android emulator. First, quit the Android emulator. Next, open Android studio. In the "Device Manager", wipe data from the corresponding device/emulator by expanding the menu under "Actions" and clicking "Wipe Data". Restart the emulator and rebuild the app using `npx react-native run-android`.

![Android Studio wipe data](./android-studio-wipe-data.png)
![Android Studio wipe data](./android-studio-wipe-data.png)
12 changes: 10 additions & 2 deletions react_native/TinyQuickstartReactNative/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
ios/.xcode.env.local
**/.xcode.env.local

# Android/IntelliJ
#
Expand Down Expand Up @@ -60,5 +60,13 @@ buck-out/
*.jsbundle

# Ruby / CocoaPods
/ios/Pods/
**/Pods/
/vendor/bundle/

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
2 changes: 1 addition & 1 deletion react_native/TinyQuickstartReactNative/.node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
2 changes: 1 addition & 1 deletion react_native/TinyQuickstartReactNative/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.14.0
v20.11.1
2 changes: 1 addition & 1 deletion react_native/TinyQuickstartReactNative/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.5
3.3.0
11 changes: 7 additions & 4 deletions react_native/TinyQuickstartReactNative/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
source 'https://rubygems.org'

# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby '2.7.5'

gem 'cocoapods', '~> 1.11', '>= 1.11.2'
ruby ">= 2.6.10"

# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
# bound in the template on Cocoapods with next React Native release.
gem 'cocoapods', '>= 1.13', '< 1.15'
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
23 changes: 6 additions & 17 deletions react_native/TinyQuickstartReactNative/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,17 @@ GEM
specs:
CFPropertyList (3.0.6)
rexml
activesupport (7.1.2)
base64
bigdecimal
activesupport (7.0.8.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
base64 (0.2.0)
bigdecimal (3.1.5)
claide (1.1.0)
cocoapods (1.14.3)
addressable (~> 2.8)
Expand Down Expand Up @@ -60,10 +53,7 @@ GEM
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
drb (2.2.0)
ruby2_keywords
concurrent-ruby (1.2.3)
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
Expand All @@ -72,19 +62,17 @@ GEM
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.8.3)
i18n (1.14.1)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
json (2.7.1)
minitest (5.20.0)
minitest (5.22.3)
molinillo (0.8.0)
mutex_m (0.2.0)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
public_suffix (4.0.7)
rexml (3.2.6)
ruby-macho (2.5.1)
ruby2_keywords (0.0.5)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
Expand All @@ -101,7 +89,8 @@ PLATFORMS
ruby

DEPENDENCIES
cocoapods (~> 1.11, >= 1.11.2)
activesupport (>= 6.1.7.5, < 7.1.0)
cocoapods (>= 1.13, < 1.15)

RUBY VERSION
ruby 2.7.5p203
Expand Down
Loading