Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: orgnize sourcecode in `src` directory Since there is more than a file now by including the web platform code, it is quite a mess to include them in config files like tsconfig, gitignore or npmignore. I have managed to place the typescript code that should be compiled in a `src` directory so that we can have less configuration. * build: fix build path for flowgen * refactor: cleanup codebase * 5.0.0 Co-authored-by: hyochan <dooboolab@gmail.com>
- Loading branch information
Showing
57 changed files
with
4,168 additions
and
8,397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
src/**/*.js | ||
src/**/*.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
module.exports = { | ||
root: true, | ||
extends: "@dooboo/eslint-config", | ||
extends: "@dooboo/eslint-config-react-native", | ||
settings: { | ||
react: {version: 'detect'}, | ||
jest: {version: 26}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ node_modules/ | |
KakaoLoginExample/ | ||
image/ | ||
|
||
index.ts | ||
src/**/*.ts | ||
!src/**/*.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
module.exports = { | ||
root: true, | ||
extends: '@dooboo/eslint-config', | ||
extends: '@dooboo/eslint-config-react-native', | ||
rules: { | ||
'eslint-comments/no-unlimited-disable': 0, | ||
'eslint-comments/no-unused-disable': 0, | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,10 @@ | ||
// eslint-disable-next-line | ||
const path = require('path'); | ||
|
||
const fbtEnumPath = path.join( | ||
__dirname, | ||
'src/utils/i18n/fbt/.enum_manifest.json', | ||
); | ||
|
||
module.exports = { | ||
presets: [ | ||
'module:metro-react-native-babel-preset', | ||
'@babel/preset-typescript', | ||
], | ||
plugins: [ | ||
'babel-plugin-fbt-runtime', | ||
[ | ||
'babel-plugin-fbt', | ||
{ | ||
fbtEnumPath, | ||
extraOptions: {__self: true}, | ||
}, | ||
], | ||
], | ||
plugins: [], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
import React from 'react'; | ||
import RootNavigator from './components/navigations/RootStackNavigator'; | ||
import RootProvider from './providers'; | ||
import {initFbt} from './utils/fbt'; | ||
|
||
initFbt(); | ||
|
||
function App(): React.ReactElement { | ||
return <RootNavigator />; | ||
} | ||
|
||
function ProviderWrapper(): React.ReactElement { | ||
return ( | ||
<RootProvider> | ||
<App /> | ||
</RootProvider> | ||
); | ||
return <App />; | ||
} | ||
|
||
export default ProviderWrapper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.