Skip to content

Commit df02fe0

Browse files
Example app update (#434)
* Transform prettier config to use JSON instead of JS * Update react-native to 0.70.1 * Avoid including specific example implementation files * Remove redundant presets from babel config * Update package lockfile regarding postinstall script * Update Pods regarding react-native update * Revert "Avoid including specific example implementation files" This reverts commit f040be7. * Update locks regarding Hermes engine * Reorganize example source structure * Fix the incorrect event used for Sliding Start example
1 parent e935c97 commit df02fe0

17 files changed

+13706
-37413
lines changed

example/.prettierrc.js

-7
This file was deleted.

example/.prettierrc.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"arrowParens": "avoid",
3+
"bracketSameLine": true,
4+
"bracketSpacing": false,
5+
"singleQuote": true,
6+
"trailingComma": "all"
7+
}

example/babel.config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["module:metro-react-native-babel-preset", "babel-preset-expo"]
2+
"presets": ["module:metro-react-native-babel-preset"]
33
}

example/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
import {AppRegistry} from 'react-native';
6-
import App from './App';
6+
import App from './src/App';
77
import {name as appName} from './app.json';
88

99
AppRegistry.registerComponent(appName, () => App);

0 commit comments

Comments
 (0)