mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-07-14 18:15:56 -04:00
- Add `@sofa/tsconfig` package with a shared `base.json` (target, lib, strict, moduleResolution, etc.) and migrate all packages/apps to `"extends": "@sofa/tsconfig/base.json"` to eliminate duplicated compiler options - Move `display-status.ts` (and its `DisplayStatus` type + `getDisplayStatus` fn) from `@sofa/api` to `@sofa/core`; remove the `./display-status` export from `@sofa/api` and update all import sites in `discovery.ts` and `tracking.ts` - Add `packages/core/test/display-status.test.ts`: 15 tests covering `ONGOING_TMDB_STATUSES` and all `getDisplayStatus` branches (movie, TV watchlist/in_progress/caught_up/completed, edge cases) - Add `packages/i18n/vitest.config.ts` and two new test files: `date-buckets.test.ts` and `format.test.ts` covering date bucketing and locale formatting utilities
22 lines
444 B
JSON
22 lines
444 B
JSON
{
|
|
"name": "@sofa/test",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./setup": "./src/setup.ts",
|
|
"./db": "./src/db.ts"
|
|
},
|
|
"dependencies": {
|
|
"@sofa/db": "workspace:*",
|
|
"better-sqlite3": "12.8.0",
|
|
"drizzle-orm": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@sofa/tsconfig": "workspace:*",
|
|
"@types/better-sqlite3": "7.6.13",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|