- Introduced `cache-monitor.ts` for real-time cache monitoring, providing stats and actions for managing Jira analytics cache. - Updated `package.json` with new cache-related scripts for easy access. - Enhanced `JiraAnalyticsCacheService` to support TTL for cache entries, automatic cleanup of expired entries, and improved logging for cache operations. - Added methods for calculating time until expiry and formatting TTL for better visibility.
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"name": "towercontrol",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build --turbopack",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"backup:create": "npx tsx scripts/backup-manager.ts create",
|
|
"backup:list": "npx tsx scripts/backup-manager.ts list",
|
|
"backup:verify": "npx tsx scripts/backup-manager.ts verify",
|
|
"backup:config": "npx tsx scripts/backup-manager.ts config",
|
|
"backup:start": "npx tsx scripts/backup-manager.ts scheduler-start",
|
|
"backup:stop": "npx tsx scripts/backup-manager.ts scheduler-stop",
|
|
"backup:status": "npx tsx scripts/backup-manager.ts scheduler-status",
|
|
"cache:monitor": "npx tsx scripts/cache-monitor.ts",
|
|
"cache:stats": "npx tsx scripts/cache-monitor.ts stats",
|
|
"cache:cleanup": "npx tsx scripts/cache-monitor.ts cleanup",
|
|
"cache:clear": "npx tsx scripts/cache-monitor.ts clear"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@prisma/client": "^6.16.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"next": "15.5.3",
|
|
"prisma": "^6.16.1",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"recharts": "^3.2.1",
|
|
"tailwind-merge": "^3.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "^15.5.3",
|
|
"knip": "^5.64.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5"
|
|
}
|
|
}
|