This repository contains a collection of packages consumed by the white label apps, and all players running javascript. The idea is to enable as much code sharing as possible between the various apps and players.
rbm-ott-sdk
. An auto generated integration to the ExposureApi. Includes data type definitions and methods for fetching data.app-sdk
. A package managing data fetching and transformation for the white label apps, including an integration with the white label cms, and various utilities for generating carousels and components.app-sdk-react
. A react wrapper based on react-query aroundapp-sdk
andrbm-ott-sdk
. Contains various hooks for for accessing data withing the react lifecycle.conventional-changelog-redbeemedia
. A commandline tool for generating changelogs based on git history.etcd-client
A simple etcd-client. Used by the imagedeliveryservicenodejs-logger
Simple logger for nodejs services built around the winston-loggerexposure-sdk
DEPRECATED. Replaced byrbm-ott-sdk
. Data models and data fetching from the exposure api.whitelabel-sdk
DEPRECATED. Replaced byapp-sdk
. A package managing data type definitions and data fetching from the whitelabelinternalapiwhitelabel-react
DEPRECATED. replaced by app-sdk-react. A react wrapper based on react-query aroundwhitelabel-sdk
andexposure-sdk
. Contains various hooks for for accessing data withing the react lifecycle
Make sure you read Working with git before getting started.
npm install
, this will install all dependencies and link together all packages in this reponpm run build
to build once andnpm run watch
to rebuild on changesnpm install <path-to-this-repo>/packages/<package-to-work-with>
run this from any project using these packages.npm run demo
to run the demo appliction in the app-sdk-react package
To release and publish the NPM package to GitHub run the following in master branch:
npm run lerna:version
This will create a specific commit message that will trigger a GitHub Actions workflow. The script will automatically detect updated packages and resolve any dependencies, it will also prompt you to select a version bump type, please follow the semver standard.