A copy of a mobile React Native based component library, ideally with Expo.
To use Flask mobile components, you may want to install the root package
@lucksp/mobile
instead of specific packages since it will reduce your
dependency list.
- To start clean,
yarn clean
&&yarn boot
. - The
packages/mobile
folder is the root of the exported packages.
Most of our packages are standalone so there is no environment. You will need to
yarn link
your packages: cd/yourPackage
and then yarn link
.
You may have to symlink to view your working component changes inside an Expo app.
- prefix:
feat
|fix
|docs
|test
|chore
|style
- so your commit message would look like:
docs: update readme
Read more here
After all your commits (git commit chore: whatever), and your branch is merged
into main
:
- Switch to the main branch and run
yarn release
. Theyarn release
command will bump dependency versions in all the packages that reference each other, too. So we don't have to do that manually, which is nice.
We are not using a
develop
branch, onlymain
. This is because we want to treat each PR as "release". We don’t need to release on every merge to master, especially for chores.
Please refer to the specific package for usage, API details, examples, & installation.
Feel like contributing? Cool! We have a contributing guide to help guide you.