docs: tools (1 files)

This commit is contained in:
2025-12-26 01:12:05 +00:00
parent 926d4c70ad
commit dc2907e660

View File

@@ -15,6 +15,7 @@ Scripts organized by function:
- **`migrate-to-prisma.sh`** - Migrate existing database to Prisma ORM
- **`migrate-to-prisma.cjs`** - CJS-based migration utility
- **`setup-packages.cjs`** - Initialize package structure
- **`generate-package-index.cjs`** - Build `packages/index.json` from package metadata
### Testing & Deployment
@@ -120,6 +121,16 @@ npm run act
./scripts/run-act.sh -h
```
### `generate-package-index.cjs`
Generate `packages/index.json` so the package loader can discover packages dynamically.
**Usage:**
```bash
node tools/generate-package-index.cjs
```
**Common Use Cases:**
1. **Test CI pipeline before pushing:**