Files
publisher-dashboard/package.json
igm 2baf10b0cd Replace String() calls with .toString()/.toLocaleString() per ast-grep rule
- Add formatError() helper in CLI to safely handle unknown error types
- Add uniqueTestId() helper for generating unique test identifiers
- Replace String(id) with id.toString() for database ID conversions
- Replace String(n) with n.toLocaleString() for user-facing number formatting
- Fix TypeScript errors in test files (undefined checks, unused variables)
- Update lint commands to include ast-grep scanning

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 15:02:46 +08:00

41 lines
1.2 KiB
JSON

{
"name": "publisher-dashboard",
"private": true,
"workspaces": [
"apps/*",
"packages/*",
"packages/testing/*"
],
"scripts": {
"dev": "turbo dev",
"build": "turbo build",
"build:watch:packages": "turbo watch build --filter=./packages/*",
"build:packages": "turbo build --filter=./packages/*",
"lint": "biome check && ast-grep scan && turbo run lint",
"lint:fix": "biome check --write --unsafe && ast-grep scan --update-all && turbo run lint -- --fix",
"typecheck": "turbo typecheck",
"clean": "turbo clean",
"test": "turbo test",
"test:unit": "SKIP_DB_TESTS=1 turbo test",
"test:all": "turbo test",
"test:cov": "bun test --coverage",
"test:unit:cov": "SKIP_DB_TESTS=1 bun test --coverage",
"db:codegen": "bun run --cwd packages/db-schema generate"
},
"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.3.5"
}