/blui-react-native

This monorepo includes all the Brightlayer UI's react native resources

Primary LanguageTypeScript

blui-react-native

This blui-react-native leverages the power of nx to manage a collection of Brightlayer UI React Native libraries and example projects within a single codebase. This approach, known as a monorepo, offers a structured and efficient way to develop and maintain multiple interconnected projects.

Getting Started

Prerequisites:

Node.js and npm installed (https://nodejs.org/en/download/package-manager)

Clone the Repository:

git clone https://github.com/etn-ccis/blui-react-native.git

Install Dependencies:

cd blui-react-native
yarn install

This will install all dependencies for the monorepo and its libraries.

Development Setup

Build a Library:

npx nx build <library-name>

Run a Library Example:

npx nx serve <example-name>

Start the Development Server (for all examples):

npx nx serve all

Run Tests for a Library/Example:

npx nx test <library-name/example-name>

Run Tests for All Libraries:

npx nx test all

Run Lint for a Library/Example:

npx nx lint <library-name/example-name>

Run Tests for All Libraries:

npx nx lint all

Run Prettier for a Library/Example:

npx nx format:write <library-name/example-name>

Run Tests for All Libraries:

npx nx format:write all