* Remove mattermost-redux * Move mm-redux files into app/redux * Add @redux path to tsconfig.json * Fix imports * Install missing dependencies * Fix tsc errors * Fix i18n_utils test * Fix more imports * Remove redux websocket * Fix tests * Rename @redux * Apply changes from mattermost-redux PR 1103 * Remove mattermost-redux mention in template * Add missing imports * Rename app/redux/ to app/mm-redux/ * Remove test file * Fix fetching Sidebar GM profiles Co-authored-by: Elias Nahum <nahumhbl@gmail.com> |
||
|---|---|---|
| .. | ||
| generateModulePaths.js | ||
| moduleNames.js | ||
| modulePaths.js | ||
| README.md | ||
Steps to update the moduleNames.js and modulePaths.js
- Uncomment the code snippet in index.js
- Run the app on an Android device/simulator in development mode
- Open the App, enable the JavaScript debugger from the debug menu, and open the debugger
- Copy the console output starting with
module.exports =intopackager/moduleNames.js - Run
node packager/generateModulePaths.js - Run
./node_modules/.bin/eslint --fix packager/module* - Open modulePaths.js
- Remove entries for files that don't need to exist on app load:
- announcement_banner
- options_context
- remove_markdown
- retry_bar_indicator
- search_bar
- sidebars
- swiper
- team_icon
- react-deep-force-update
- react-devtools-core
- react-native-video
- react-native/Libraries/Core/Devtools
- react-native/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev
- react-native/Libraries/YellowBox
- redux-devtools-instrument
- remove-redux-devtools
- remotedev-utils
- socketcluster-client
- stacktrace-parser
- react-navigation
- Change development versions of certain files to production ones:
- configureStore.dev.js -> configureStore.prod.js
- react/cjs/react.development.js -> react/cjs/react.production.min.js
- schedule/cjs/scheduler-tracing.development.js -> schedule/cjs/scheduler-tracing.production.min.js