mirror of
https://github.com/chrisbenincasa/tunarr.git
synced 2026-04-18 09:03:35 -04:00
We should be referencing media_sources by their ID on programs, external_ids, etc. This enables us to use proper foreign keys for referential integrity at the DB level, not worry about unique names for media sources, and simplifies a lot of the code relating to media source deletion and the cleanup thereafter. This change also introduces the DBContext, which should allow for arbitrarily calling other DB accessor functions when within transactions and not deadlocking the connection to the DB.
63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"name": "tunarr",
|
|
"version": "0.18.12",
|
|
"description": "Create LiveTV channels from your Plex media",
|
|
"type": "module",
|
|
"author": "chrisbenincasa",
|
|
"license": "Zlib",
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"dev": "turbo run dev",
|
|
"fmt": "prettier --write .",
|
|
"lint-staged": "lint-staged",
|
|
"lint-changed": "eslint --fix $(git diff --name-only HEAD -- './**/*.ts*' | xargs)",
|
|
"test": "turbo run test",
|
|
"preinstall": "npx only-allow pnpm"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.27.7",
|
|
"@commitlint/cli": "^19.3.0",
|
|
"@commitlint/config-conventional": "^19.2.2",
|
|
"@commitlint/types": "^19.0.3",
|
|
"@eslint/eslintrc": "^3.0.2",
|
|
"@eslint/js": "^9.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.21.0",
|
|
"@typescript-eslint/parser": "^8.21.0",
|
|
"esbuild": "^0.21.5",
|
|
"eslint": "9.17.0",
|
|
"eslint-import-resolver-typescript": "^3.7.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-react": "^7.37.3",
|
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
"eslint-plugin-react-refresh": "^0.4.16",
|
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
"globals": "^15.0.0",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^15.2.2",
|
|
"prettier": "^3.5.1",
|
|
"turbo": "^2.3.3",
|
|
"typescript": "5.7.3",
|
|
"vitest": "^1.6.0"
|
|
},
|
|
"engines": {
|
|
"node": "22"
|
|
},
|
|
"packageManager": "pnpm@9.12.3",
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"ts-essentials@9.4.1": "patches/ts-essentials@9.4.1.patch",
|
|
"kysely": "patches/kysely.patch"
|
|
},
|
|
"overrides": {
|
|
"eslint": "9.17.0",
|
|
"@types/node": "22.10.7"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint --fix --no-warn-ignored"
|
|
]
|
|
}
|
|
}
|