mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-10-03 10:13:47 +10:00
Prune the unit and e2e suites to what protects security, user data, public contracts and past regressions. Drop what slowed development without catching bugs: markup and label assertions, wrappers that only proved Base UI works, copied inventories and snapshots, mock call-shape checks, permutation matrices across templates, fonts and locales, and env-gated suites that never ran in CI. - Unit: 4749 tests in 421 files become 1212 in 227. PDF tests that rendered or rasterized every template, font and locale combination go; one render per template stays and now checks that every visible section reaches a page, which a blank page used to pass. - E2E: 55 tests in 35 specs become 11 in 9, one journey per severe area: sign-up and sign-in, autosave, a failed save during navigation, JSON export and import, public and password-protected sharing, slug redirects, OAuth consent for MCP clients, and the assistant. - Tests a coverage review found to be the only guard of a contract were kept or restored, each checked by breaking the code it guards. - Remove exports, tooling and dev dependencies that only the pruned tests used. - The Semantic CSS guide check now reads indented code fences, so the guide example it skipped is compiled too.
158 lines
3.1 KiB
JSON
158 lines
3.1 KiB
JSON
{
|
|
"$schema": "https://v2-10-7.turborepo.dev/schema.json",
|
|
"ui": "stream",
|
|
"boundaries": {
|
|
"dependencies": {
|
|
"deny": ["web", "server"]
|
|
},
|
|
"implicitDependencies": [
|
|
"vitest",
|
|
"@testing-library/jest-dom",
|
|
"@testing-library/react",
|
|
"@testing-library/user-event"
|
|
],
|
|
"tags": {
|
|
"app:server": {
|
|
"dependencies": {
|
|
"deny": ["app:web", "runtime:browser"]
|
|
}
|
|
},
|
|
"runtime:server": {
|
|
"dependencies": {
|
|
"deny": ["app:web", "runtime:browser"]
|
|
}
|
|
},
|
|
"runtime:browser": {
|
|
"dependencies": {
|
|
"deny": ["app:server", "runtime:server"]
|
|
}
|
|
},
|
|
"runtime:universal": {
|
|
"dependencies": {
|
|
"deny": ["app:web", "app:server", "runtime:server"]
|
|
}
|
|
},
|
|
"role:domain": {
|
|
"dependencies": {
|
|
"deny": ["app:web", "app:server", "role:adapter", "role:infra"]
|
|
}
|
|
},
|
|
"role:ui": {
|
|
"dependencies": {
|
|
"deny": ["app:web", "app:server", "runtime:server", "role:infra"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"globalEnv": [
|
|
"PORT",
|
|
"SERVER_PORT",
|
|
"APP_URL",
|
|
"ROOT_RESUME_ID",
|
|
"DATABASE_URL",
|
|
"AUTH_SECRET",
|
|
"BETTER_AUTH_API_KEY",
|
|
"BETTER_AUTH_INTERNAL_URL",
|
|
"GOOGLE_CLIENT_ID",
|
|
"GOOGLE_CLIENT_SECRET",
|
|
"GITHUB_CLIENT_ID",
|
|
"GITHUB_CLIENT_SECRET",
|
|
"LINKEDIN_CLIENT_ID",
|
|
"LINKEDIN_CLIENT_SECRET",
|
|
"OAUTH_PROVIDER_NAME",
|
|
"OAUTH_CLIENT_ID",
|
|
"OAUTH_CLIENT_SECRET",
|
|
"OAUTH_DISCOVERY_URL",
|
|
"OAUTH_AUTHORIZATION_URL",
|
|
"OAUTH_TOKEN_URL",
|
|
"OAUTH_USER_INFO_URL",
|
|
"OAUTH_SCOPES",
|
|
"SMTP_HOST",
|
|
"SMTP_PORT",
|
|
"SMTP_USER",
|
|
"SMTP_PASS",
|
|
"SMTP_FROM",
|
|
"SMTP_SECURE",
|
|
"LOCAL_STORAGE_PATH",
|
|
"S3_ACCESS_KEY_ID",
|
|
"S3_SECRET_ACCESS_KEY",
|
|
"S3_REGION",
|
|
"S3_ENDPOINT",
|
|
"S3_BUCKET",
|
|
"S3_FORCE_PATH_STYLE",
|
|
"REDIS_URL",
|
|
"ENCRYPTION_SECRET",
|
|
"FLAG_DISABLE_SIGNUPS",
|
|
"FLAG_DISABLE_EMAIL_AUTH",
|
|
"FLAG_DISABLE_IMAGE_PROCESSING",
|
|
"FLAG_DISABLE_API_RATE_LIMIT",
|
|
"FLAG_ALLOW_UNSAFE_OAUTH_REDIRECT_URI",
|
|
"FLAG_ALLOW_UNSAFE_AI_BASE_URL",
|
|
"AI_TEST_TIMEOUT_MS",
|
|
"STRICT_SCHEMA_CHECK",
|
|
"VERCEL",
|
|
"VERCEL_ENV",
|
|
"VERCEL_URL",
|
|
"VERCEL_PROJECT_PRODUCTION_URL",
|
|
"VERCEL_BRANCH_URL",
|
|
"VERCEL_OIDC_TOKEN",
|
|
"DATABASE_MIGRATION_URL",
|
|
"DATABASE_POOL_MAX",
|
|
"DATABASE_URL_UNPOOLED",
|
|
"POSTGRES_URL",
|
|
"POSTGRES_URL_NON_POOLING",
|
|
"KV_URL",
|
|
"STORAGE_BACKEND",
|
|
"BLOB_READ_WRITE_TOKEN",
|
|
"BLOB_STORE_ID",
|
|
"DEPLOYMENT_NAMESPACE",
|
|
"ALLOW_PREVIEW_MIGRATIONS"
|
|
],
|
|
"tasks": {
|
|
"transit": {
|
|
"dependsOn": ["^transit"]
|
|
},
|
|
"build": {
|
|
"inputs": ["$TURBO_DEFAULT$", "$TURBO_ROOT$/.env*"],
|
|
"outputs": ["dist/**", ".vercel/**"],
|
|
"dependsOn": ["transit"]
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["transit"]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["transit"]
|
|
},
|
|
"test:coverage": {
|
|
"dependsOn": ["transit"]
|
|
},
|
|
"test:ci": {
|
|
"dependsOn": ["transit"]
|
|
},
|
|
"test:agent": {
|
|
"dependsOn": ["transit"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"start": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"db:generate": {
|
|
"cache": false
|
|
},
|
|
"db:migrate": {
|
|
"cache": false
|
|
},
|
|
"db:studio": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"lingui:extract": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|