Skip to content

Commit

Permalink
Merge pull request #342 from buttercup/feat/update
Browse files Browse the repository at this point in the history
React Native + dep upgrade
  • Loading branch information
perry-mitchell authored Nov 30, 2023
2 parents 6e32a4a + ad75ef4 commit 4f87c49
Show file tree
Hide file tree
Showing 126 changed files with 31,335 additions and 21,032 deletions.
6 changes: 0 additions & 6 deletions .buckconfig

This file was deleted.

10 changes: 10 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
root: true,
extends: ["@react-native", "plugin:prettier/recommended"],
plugins: ["prettier"],
rules: {
semi: ["error", "always"],
quotes: ["error", "double"],
"prettier/prettier": "error"
}
};
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ yarn-error.log
# BUCK
buck-out/
\.buckd/
.cxx/
*.keystore
!debug.keystore

Expand All @@ -71,5 +72,11 @@ buck-out/
/ios/Pods/
/vendor/bundle/

# Metro
.metro-health-check*

# Testing
/coverage

# General
.env
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"arrowParens": "avoid",
"bracketSameLine": true,
"bracketSameLine": false,
"bracketSpacing": true,
"printWidth": 100,
"jsxBracketSameLine": false,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "none"
Expand Down
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

2 changes: 1 addition & 1 deletion .watchmanconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

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

gem 'cocoapods', '~> 1.11', '>= 1.11.2'
gem 'cocoapods', '~> 1.12'
5 changes: 4 additions & 1 deletion __tests__/App-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ import 'react-native';
import React from 'react';
import App from '../source/App';

// Note: import explicitly to use the types shiped with jest.
import {it} from '@jest/globals';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';

it('renders correctly', () => {
renderer.create(<App />);
renderer.create(<App />);
});
55 changes: 0 additions & 55 deletions android/app/_BUCK

This file was deleted.

Loading

0 comments on commit 4f87c49

Please sign in to comment.