Skip to content

Commit

Permalink
Example app update (callstack#434)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
BartoszKlonowski authored Oct 4, 2022
1 parent e935c97 commit df02fe0
Show file tree
Hide file tree
Showing 17 changed files with 13,706 additions and 37,413 deletions.
7 changes: 0 additions & 7 deletions example/.prettierrc.js

This file was deleted.

7 changes: 7 additions & 0 deletions example/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"arrowParens": "avoid",
"bracketSameLine": true,
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "all"
}
2 changes: 1 addition & 1 deletion example/babel.config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["module:metro-react-native-babel-preset", "babel-preset-expo"]
"presets": ["module:metro-react-native-babel-preset"]
}
2 changes: 1 addition & 1 deletion example/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

import {AppRegistry} from 'react-native';
import App from './App';
import App from './src/App';
import {name as appName} from './app.json';

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

0 comments on commit df02fe0

Please sign in to comment.