Files
profilarr/deno.json
Sam Chau e1de8f88cf feat: Add Kysely integration for quality profile queries and refactor database interactions
- Updated package.json to include Kysely and Deno Vite plugin dependencies.
- Introduced new types for sorting in table component.
- Refactored PCDCache to utilize Kysely for type-safe database queries.
- Created new query files for quality profiles, including general information, languages, and list queries.
- Removed outdated qualityProfiles.ts file and replaced it with modular query structure.
- Updated routes to use new query functions for loading quality profile data.
- Enhanced Vite configuration to include Deno plugin and improved watch settings.
2025-11-09 05:07:48 +11:00

47 lines
1.8 KiB
JSON

{
"imports": {
"$config": "./src/lib/server/utils/config/config.ts",
"$logger/": "./src/lib/server/utils/logger/",
"$shared/": "./src/lib/shared/",
"$stores/": "./src/lib/client/stores/",
"$ui/": "./src/lib/client/ui/",
"$assets/": "./src/lib/client/assets/",
"$alerts/": "./src/lib/client/alerts/",
"$server/": "./src/server/",
"$db/": "./src/lib/server/db/",
"$jobs/": "./src/lib/server/jobs/",
"$pcd/": "./src/lib/server/pcd/",
"$arr/": "./src/lib/server/utils/arr/",
"$http/": "./src/lib/server/utils/http/",
"$utils/": "./src/lib/server/utils/",
"$notifications/": "./src/lib/server/notifications/",
"@soapbox/kysely-deno-sqlite": "jsr:@soapbox/kysely-deno-sqlite@^2.2.0",
"@std/assert": "jsr:@std/assert@^1.0.0",
"marked": "npm:marked@^15.0.6",
"simple-icons": "npm:simple-icons@^15.17.0"
},
"tasks": {
"dev": "APP_BASE_PATH=./dist/dev deno run -A npm:vite dev",
"build": "APP_BASE_PATH=./dist/build deno run -A npm:vite build",
"preview": "APP_BASE_PATH=./dist/data ./dist/build/profilarr",
"compile": "deno compile --no-check --allow-net --allow-read --allow-write --allow-env --allow-ffi --allow-run --target x86_64-unknown-linux-gnu --output dist/build/profilarr dist/build/mod.ts",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"test": "APP_BASE_PATH=./dist/test deno test src/tests --allow-read --allow-write --allow-env",
"test:watch": "APP_BASE_PATH=./dist/test deno test src/tests --allow-read --allow-write --allow-env --watch"
},
"compilerOptions": {
"lib": ["deno.window", "dom"],
"strict": true
},
"exclude": ["dist/", "node_modules/"],
"fmt": {
"exclude": ["dist/", "node_modules/"],
"indentWidth": 2,
"useTabs": false
},
"lint": {
"exclude": ["dist/", "node_modules/"]
}
}