Skip to content

Commit

Permalink
feat: add standard version for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Aug 8, 2020
1 parent fdff476 commit 51b9312
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 8 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
#

Hope Tambala<[email protected]>
Joseph McCombs<[email protected]>

14 changes: 10 additions & 4 deletions App.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
// REACT
import React from 'react';
import { Provider } from 'react-redux';
import { Provider as PaperProvider } from 'react-native-paper';
import { Provider as StoreProvider } from 'react-redux';
import MainNavigation from './components/MainNavigation';

// REDUX
import configureStore from './modules/state-management/configure-store';

// STYLING
import theme from './modules/theme'

const store = configureStore();

const App = () => {
return (
<Provider store={store}>
<MainNavigation />
</Provider>
<StoreProvider store={store}>
<PaperProvider theme={theme}>
<MainNavigation />
</PaperProvider>
</StoreProvider>
);
}

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ Here are some quick npm commands to get started:
- `npm lint-fix`: Run the ESLinter.


## Resources

- [React Native Paper](https://callstack.github.io/react-native-paper/index.html)


## Standards
[![js-standard-style](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/expo-community/standard-version-expo)

8 changes: 5 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@
],
"ios": {
"supportsTablet": true,
"buildNumber": "0.1.0"
"buildNumber": "0.1.0",
"bundleIdentifier": "com.puente.collect"
},
"web": {
"favicon": "./assets/images/favicon.png"
},
"android": {
"versionCode": 370000100
"versionCode": 370000100,
"package": "com.puente.collect"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Ionicons } from '@expo/vector-icons';
import * as React from 'react';

import Colors from '../constants/style/Colors';
import Colors from '../../modules/theme/colors';

export default function TabBarIcon(props) {
const { name, focused } = props;
Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions modules/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { DefaultTheme } from 'react-native-paper';


const theme = {
...DefaultTheme,
colors: {
...DefaultTheme.colors,
primary: 'tomato',
accent: 'yellow',
},
};


export default theme;

0 comments on commit 51b9312

Please sign in to comment.