mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
docs: tools (1 files)
This commit is contained in:
@@ -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:**
|
||||
|
||||
Reference in New Issue
Block a user