react-native-monorepo-tools
yarnberry-expo-quickstarter
react-native-monorepo-tools | yarnberry-expo-quickstarter | |
---|---|---|
4 | 1 | |
123 | 38 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 2 years ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-native-monorepo-tools
-
Monorepo is so frustrating...
Second app with bare RN. Similar story. It doesn't work. I googled and found this https://github.com/mmazzarolo/react-native-monorepo-tools . But still doesn't work... I found some random example https://github.com/aws-samples/aws-sdk-js-tests/blob/main/packages/react-native/metro.config.js and wow it works. I skip the confusion with tsconfig.json, setting path etc.
-
Running React Native everywhere: The Web
Install CRACO and react-native-monorepo-tools:
-
Running React Native everywhere: Windows & macOS
Last but not least, use react-native-monorepo-tools to make metro compatible with Yarn Workspaces:
-
Running React Native everywhere: Android & iOS
To do so, install react-native-monorepo-tools, a set of utilities for making metro compatible with Yarn workspaces based on our nohoist list.
yarnberry-expo-quickstarter
-
Monorepo is so frustrating...
Ok, I run the application - it doesn't work. I need to configure Expo with workspaces.... There is a special documentation for this -> https://docs.expo.dev/guides/monorepos/ , copy / paste step by step. I restart the application and... obviously does not work. Somewhere in the depths of the internet I found this https://github.com/jsamr/yarnberry-expo-quickstarter/blob/master/packages/expo-client/metro.config.js , I copy the metro.config.js configuration and luckily it works! Wow.
What are some alternatives?
metro - ๐ The JavaScript bundler for React Native
Release It! ๐ - ๐ Automate versioning and package publishing
react-app-rewired - Override create-react-app webpack configs without ejecting
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
Next.js - The React Framework
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
workspaces - A release-it plugin for publishing projects with workspaces
create-react-app - Set up a modern web app by running one command.
aws-sdk-js-tests - Code Sample for testing AWS SDK for JavaScript
react-native-web - Cross-platform React UI packages
nx - Smart Monorepos ยท Fast CI