@uscreen.de/lazynx
v0.1.0-a4
Published
Combined Process-Manager/Task-Runner and Log-Viewer for monorepos.
Downloads
13
Keywords
Readme
lazyNx
Combined Process-Manager/Task-Runner and Log-Viewer for monorepos.
Alpha-Warning: This is a work in progress. Tested with pnpm and nx only.
Installation
Add lazynx to your monorepo as a dev dependency.
pnpm add -D @uscreen.de/lazynx -wConfiguration
Place a services.yaml file in the root of your monorepo. This file contains the configuration for the services you want to run. Example:
services:
- name: api
command: pnpm
args: [nx, run, '@project/api:dev']
- name: dashboard
command: pnpm
args: [nx, run, '@project/dashboard:dev']
- name: website
command: pnpm
args: [nx, run, '@project/website:dev']
- name: mailer
command: pnpm
args: [nx, run, '@project/mailer:dev']
- name: auth
command: pnpm
args: [nx, run, '@project/auth:dev']Usage
Run the following command to start all services in parallel:
pnpm lazynxCommands
- Arrow Keys: Switch between services and Panels
- Enter: View logs of the selected service
- Tab: Switch between Panels
- Q: Stop all services
