volume-react-native
React native components for Volume.
Documentation
For instructions please see Documentation Site
Development
Setup
Install dependencies
bun install
Install iOs pod dependencies
bun pods
or
cd example/ios
pod install
Manually running metro
bun example start
Run example app
bun example ios
bun example android
Clearing deps
bun nuke
Linting
bun run lint
Build library
bun run build
Tests
bun run test
Release
This repository uses the changesets workflow for releases.
To release, create a PR as normal, you then have two options to create a changeset which will trigger a release:
-
Run bun changeset
and follow the prompts, this will create a changeset file in the .changeset
directory on your PR and increment the package version.
-
Use the changeset bot which comments on your PR with instructions on how to create a changeset
The simpler option is to use the PR bot, click the link to create a new changeset.
This will open the github UI to create a new changeset, you can then commit this changeset to your PR.
Once your PR is merged, the changeset github action will create a PR with the new version and changelog.
Simply merge this to main and the new version will be published to npm.