- Create @reviq/test-helpers package with shared test utilities - Add describeE2E helper that auto-prefixes test names with [e2e] - Support SKIP_DB_TESTS=1 to skip database-dependent tests - Add unix socket support for TEST_DATABASE_URL - Add root commands: test:unit, test:all, test:cov, test:unit:cov - Configure bunfig.toml to exclude dist/ from coverage reports - Clean up tsconfig.json files to remove redundant settings Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
1.1 KiB
JSON
41 lines
1.1 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 && turbo run lint",
|
|
"lint:fix": "biome check --write --unsafe && 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"
|
|
}
|