Babylon Typescript Monorepo
TypeScript application & libraries
This repository is a monorepo for Babylon Labs TypeScript applications and libraries. It uses Nx to manage multiple packages, allowing for efficient development and deployment of TypeScript-based projects.
Please follow the guidelines outlined in the DEVELOPMENT.md file.
The services are located in the services directory. To get started with development, follow these steps:
Note: Replace {service-name} with the actual name of the service you want to work on. For example, @services/simple-staking and @services/vault.
pnpm run build # Build the entire monorepo. After the first run, the build result will be cached for most packages.Option 1:
pnpm exec nx dev @services/{service-name} # Start the development server for the {service-name} service.
pnpm exec nx watchDeps @services/{service-name} # Watch for changes in dependencies and rebuild as necessary.Option 2:
pnpm exec nx dev:watchDeps @services/{service-name} # Start the development server and watch for changes in dependencies. The problem with this approach is that all logs are mixed together and can be hard to find out what's going on some times.