/nx-expo-monorepo

a repo showing 2 apps created by @nx/expo

Primary LanguageTypeScript

NxExpoMonorepo

This workspace is created using @nx/expo (Nx and Expo).

This workspace has been generated by Nx, a Smart, fast and extensible build system.

Workspace structure

It contains 2 apps:

  • cats and its e2e (cypress/playwright)
  • dogs and its e2e (cypress/playwright)

4 libs:

Commands

  • nx start cats to start the cats app
  • nx start dogs to start the dogs app
  • nx build cats to build the cats app using EAS
  • nx build dogs to build the dogs app using EAS
  • nx test cats to test the cats app
  • nx test dogs to test the dogs app
  • nx lint cats to lint the cats app
  • nx lint dogs to lint the dogs app
  • npm run deploy to deploy the cats app to github page
  • nx e2e cats-cypress to run cypress e2e tests on cats app
  • nx e2e cats-playwright to run playwright e2e tests on cats app
  • nx e2e dogs-cypress to run cypress e2e tests on dogs app
  • nx e2e dogs-playwright to run playwright e2e tests on dogs app
  • nx storybook cats to serve storybook on cats app
  • nx storybook ui to serve storybook on ui library

Understand this workspace

Run nx graph to see a diagram of the dependencies of the projects.

Remote caching

Run npx nx connect-to-nx-cloud to enable remote caching and make CI faster.

Further help

Visit the Nx Documentation to learn more.