Files
publisher-dashboard/package.json
RevIQ 8f3f711af0 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>
2026-01-09 12:01:41 +08:00

33 lines
824 B
JSON

{
"name": "publisher-dashboard",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"dev": "turbo dev",
"build": "turbo build",
"build:watch:packages": "turbo watch build --filter=./packages/*",
"lint": "biome check && turbo run lint",
"lint:fix": "biome check --write --unsafe && turbo run lint -- --fix",
"typecheck": "turbo typecheck",
"clean": "turbo clean"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@macalinao/biome-config": "^0.1.7",
"turbo": "^2.7.3",
"typescript": "^5.9.3"
},
"catalog": {
"@macalinao/eslint-config": "^7.0.3",
"@macalinao/tsconfig": "^3.2.5",
"@types/bun": "^1.2.14",
"eslint": "^9.39.2",
"tslib": "^2.8.1",
"typescript": "^5.7.2"
},
"packageManager": "bun@1.1.42"
}