User checkpoint: Implement hourly cron job to check for and import new newsletters, sending push notifications for updates. Removes unnecessary queue processing.

This commit is contained in:
TerribleDev
2025-02-15 19:36:11 +00:00
parent 30738ef594
commit 37d8aace1b
9 changed files with 85 additions and 472 deletions

View File

@@ -4,10 +4,11 @@
"type": "module",
"license": "MIT",
"scripts": {
"dev": "SCRAPE_NEWSLETTER_CONTENT=false tsx server/index.ts",
"build": "vite build && esbuild server/index.ts --platform=node --packages=external --bundle --format=esm --outdir=dist2",
"dev": "tsx server/index.ts",
"build": "vite build && esbuild server/index.ts --platform=node --packages=external --bundle --format=esm --outdir=dist",
"start": "NODE_ENV=production node dist/index.js",
"check": "tsc"
"check": "tsc",
"db:push": "drizzle-kit push"
},
"dependencies": {
"@hookform/resolvers": "^3.9.1",
@@ -42,11 +43,9 @@
"@radix-ui/react-tooltip": "^1.1.3",
"@replit/vite-plugin-shadcn-theme-json": "^0.0.4",
"@tanstack/react-query": "^5.60.5",
"@types/bull": "^3.15.9",
"@types/node-schedule": "^2.1.7",
"@types/web-push": "^3.6.4",
"axios": "^1.7.9",
"bull": "^4.16.5",
"cheerio": "^1.0.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",