Add ESLint to all packages and reorganize CLI
ESLint: - Add @macalinao/eslint-config and eslint to all packages/apps - Add lint scripts to all package.json files - Create eslint.config.js for all apps - Add lint task to turbo.json - Add @macalinao/eslint-config and @types/bun to catalog Biome: - Exclude docs/ from biome checks CLI Reorganization: - Restructure CLI to use route maps with one command per file - Move commands to routes/ directory structure - Use func property instead of async loaders - Route maps in _command.ts files for each directory Environment: - Use Bun.env instead of process.env for env vars - Add DATABASE_URL and PORT to turbo.json globalEnv Lint Fixes: - Fix nullish coalescing operator usage - Update deprecated Zod API (z.email() instead of .string().email()) - Fix import sorting Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
37
README.md
Normal file
37
README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Reviq Publisher Dashboard
|
||||
|
||||
## Setup
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- [devenv](https://devenv.sh/) for development environment management
|
||||
|
||||
### Environment Variables
|
||||
|
||||
Copy `.env.dev` to `.env` for local development:
|
||||
|
||||
```bash
|
||||
cp .env.dev .env
|
||||
```
|
||||
|
||||
| Variable | Description |
|
||||
|----------|-------------|
|
||||
| `DATABASE_URL` | PostgreSQL connection string |
|
||||
|
||||
### Development
|
||||
|
||||
Start the development environment:
|
||||
|
||||
```bash
|
||||
devenv up
|
||||
```
|
||||
|
||||
This starts:
|
||||
- PostgreSQL database
|
||||
- Publisher dashboard dev server (port 6827)
|
||||
- Package build watcher
|
||||
|
||||
The database is automatically initialized with:
|
||||
- Database: `reviq-dashboard`
|
||||
- User: `reviq`
|
||||
- Password: `reviq`
|
||||
Reference in New Issue
Block a user