Add clean-pdf dependencies and browserless dev service

This commit is contained in:
2026-07-06 11:19:51 +05:00
parent e795c4d655
commit 541853bb1d
5 changed files with 801 additions and 4 deletions
+10
View File
@@ -11,5 +11,15 @@ services:
volumes: volumes:
- postgres_data:/var/lib/postgresql - postgres_data:/var/lib/postgresql
browserless:
image: ghcr.io/browserless/chromium
restart: unless-stopped
ports:
- "127.0.0.1:3333:3000"
environment:
CONCURRENT: "2"
QUEUED: "10"
TIMEOUT: "120000"
volumes: volumes:
postgres_data: postgres_data:
+1 -1
View File
@@ -3,7 +3,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
output: "standalone", output: "standalone",
transpilePackages: ["unified", "remark-parse"], transpilePackages: ["unified", "remark-parse"],
serverExternalPackages: ["@prisma/client", "@prisma/adapter-pg", "pg"], serverExternalPackages: ["@prisma/client", "@prisma/adapter-pg", "pg", "jsdom", "playwright-core", "defuddle"],
}; };
export default nextConfig; export default nextConfig;
+785 -2
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -34,14 +34,17 @@
"better-auth": "^1.6.0", "better-auth": "^1.6.0",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"defuddle": "^0.19.1",
"disposable-email-domains": "^1.0.62", "disposable-email-domains": "^1.0.62",
"force-graph": "^1.51.4", "force-graph": "^1.51.4",
"gray-matter": "^4.0.3", "gray-matter": "^4.0.3",
"iconv-lite": "^0.7.2", "iconv-lite": "^0.7.2",
"jsdom": "^29.1.1",
"lucide-react": "^1.7.0", "lucide-react": "^1.7.0",
"next": "16.2.2", "next": "16.2.2",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"pg": "^8.20.0", "pg": "^8.20.0",
"playwright-core": "^1.61.1",
"react": "19.2.4", "react": "19.2.4",
"react-dom": "19.2.4", "react-dom": "19.2.4",
"remark-parse": "^11.0.0", "remark-parse": "^11.0.0",
@@ -54,6 +57,7 @@
"devDependencies": { "devDependencies": {
"@tailwindcss/postcss": "^4", "@tailwindcss/postcss": "^4",
"@types/bcryptjs": "^2.4.6", "@types/bcryptjs": "^2.4.6",
"@types/jsdom": "^28.0.3",
"@types/node": "^20", "@types/node": "^20",
"@types/pg": "^8.20.0", "@types/pg": "^8.20.0",
"@types/react": "^19", "@types/react": "^19",
+1 -1
View File
@@ -7,6 +7,6 @@ export default defineConfig({
}, },
test: { test: {
environment: "node", environment: "node",
include: ["src/lib/tools/**/__tests__/**/*.test.ts"], include: ["src/lib/**/__tests__/**/*.test.ts"],
}, },
}); });