This is the main entrypoint for all packages in the Roll monorepo.
These are the public packages that make up the Roll network:
- @roll-network/cli
- @roll-network/eslint-config
- @roll-network/prettier-config
- @roll-network/design-system
- @roll-network/feature-flag
- @roll-network/contract-bindings
- @roll-network/api
- @roll-network/api-client
- @roll-network/auth-sdk
- @roll-network/session-manager
To demonstrate how our packages should be used by consumers, we provide several example projects:
- @roll-network/example-web-oauth-client
- @roll-network/example-native-oauth-client
- @roll-network/example-node-api-client
These examples always start with the example-
prefix.
Before you can use these packages, you need to install dependencies and build all the packages. This is done via Rollup.
- Install all dependencies by running
yarn install
in the root directory. - Run
yarn build
to build all packages.
Please note that our packages are built/bundled via Rollup.
Releasing new versions of the packages follows these steps:
- Update the code.
- Run
yarn changeset
to select the changed packages & choose the grade of your update (patch, minor, or major). - Create a PR with the generated changeset file.
- Merge the PR.
- Wait for the auto-generated
Version Packages
PR to be created. - Review the changes in the
Version Packages
PR (version updates, CHANGELOG updates).- If the changes are incorrect, update them manually.
- Merge the PR.