npx create-react-native-library@latest new-lib
yarn package:setup new-lib
To update the versions of all workspace packages, run the following command in the project root directory:
yarn version:bump yarn version:apply
Commit version changes and push to GitHub.
Run publish package actions on GitHub.