Documentation Index
Fetch the complete documentation index at: https://mintlify.com/rifandani/be-monorepo/llms.txt
Use this file to discover all available pages before exploring further.
NPM Scripts
The BE Monorepo uses npm scripts for common development tasks. Scripts are defined at both the root level and within individual apps.Root-Level Scripts
These scripts run from the repository root and affect the entire monorepo.Development Scripts
prepare
compose:up
docker/docker-compose.yml with build.
Code Quality Scripts
format
format:unsafe
lint
lint:fix
lint:doctor
typecheck
lint-typecheck
Maintenance Scripts
clean
bump:deps
npm-check-updates. See Upgrading Dependencies for more details.
Changeset Scripts
cs
cs:v
Hono App Scripts
These scripts target the@workspace/hono app specifically.
Root Shortcuts
From the repository root, you can run Hono-specific commands:hono
hono:ci
hono:typecheck
hono:test
Hono-Specific Scripts
These scripts run within theapps/hono/ directory.
Development
dev
dev:prod
node:dev
node:dev:prod
Building
node:build
node:build:prod
node:start
node:start:prod
Database Scripts
db:pull
db:push
db:gen
db:migrate
db:studio
http://localhost:3003 for database exploration.
Authentication
auth:gen
Testing
test
Utilities
typecheck
ngrok
Script Naming Conventions
Prefixes
- No prefix: General-purpose commands (e.g.,
lint,test) hono:: Commands that target the Hono app from the rootdb:: Database-related commandsauth:: Authentication-related commandsnode:: Node.js-specific runtime commandscs:: Changeset-related commands
Suffixes
:fix: Automatically fixes issues (e.g.,lint:fix):unsafe: Performs potentially breaking operations (e.g.,format:unsafe):ci: Optimized for CI environments:prod: Uses production environment variables
