This is a monorepo containing the React elements for Ensemble, built with Turborepo.
To get started integrating Ensemble to your React App, see the starter app and README.
Clone the repo and then cd into the root directory of the repo.
Activate pnpm
with node's corepack:
corepack prepare pnpm@6.32.2 --activate
Run the following commands in the root directory:
pnpm install
pnpm build
This repo includes the following packages/apps:
starter
: a React app boostrapped with Create React App, that uses the Ensemble runtimeframework
: a low level Typescript and React hooks library that contains the plumbing for Ensembleruntime
: a React library for running an Ensemble Appeslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
You can run the app in dev mode using this command
pnpm dev
This command will start the development server, and it should automatically open your default web browser displaying the app. If it doesn't, you can manually navigate to http://localhost:3000 in your browser.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Learn more about the power of Turborepo: