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 CONTRIBUTING.md file.
The simple-staking service is located in the services/simple-staking
directory. To get started with development, follow these steps:
npm run build # Build the entire monorepo. After the first run, the build result will be cached for most packages.
Option 1:
npx nx dev @services/simple-staking # Start the development server for the simple-staking service.
npx nx watchDeps @services/simple-staking # Watch for changes in dependencies and rebuild as necessary.
Option 2:
npx nx dev:watchDeps @services/simple-staking # 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.