|
35 | 35 | "prebuild": "tsx scripts/prebuild.mts && npm run lint", |
36 | 36 | "build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 next build --webpack", |
37 | 37 | "postbuild": "npm run build-sitemap && npm run build-migrate-db", |
| 38 | + "build-migrate-db": "bun run db:migrate", |
| 39 | + "build-sitemap": "tsx ./scripts/buildSitemapIndex/index.ts", |
38 | 40 | "build:analyze": "NODE_OPTIONS=--max-old-space-size=81920 ANALYZE=true next build --webpack", |
39 | 41 | "build:docker": "npm run prebuild && NODE_OPTIONS=--max-old-space-size=8192 DOCKER=true next build --webpack && npm run build-sitemap", |
40 | 42 | "build:electron": "cross-env NODE_OPTIONS=--max-old-space-size=8192 NEXT_PUBLIC_IS_DESKTOP_APP=1 tsx scripts/electronWorkflow/buildNextApp.mts", |
41 | 43 | "build:vercel": "npm run prebuild && cross-env NODE_OPTIONS=--max-old-space-size=6144 next build --webpack && npm run postbuild", |
42 | | - "build-migrate-db": "bun run db:migrate", |
43 | | - "build-sitemap": "tsx ./scripts/buildSitemapIndex/index.ts", |
44 | 44 | "clean:node_modules": "bash -lc 'set -e; echo \"Removing all node_modules...\"; rm -rf node_modules; pnpm -r exec rm -rf node_modules; rm -rf apps/desktop/node_modules; echo \"All node_modules removed.\"'", |
45 | 45 | "db:generate": "drizzle-kit generate && npm run workflow:dbml", |
46 | 46 | "db:migrate": "MIGRATION_DB=1 tsx ./scripts/migrateServerDB/index.ts", |
|
87 | 87 | "start": "next start -p 3210", |
88 | 88 | "stylelint": "stylelint \"src/**/*.{js,jsx,ts,tsx}\" --fix", |
89 | 89 | "test": "npm run test-app && npm run test-server", |
| 90 | + "test-app": "vitest run", |
| 91 | + "test-app:coverage": "vitest --coverage --silent='passed-only'", |
90 | 92 | "test:e2e": "pnpm --filter @lobechat/e2e-tests test", |
91 | 93 | "test:e2e:smoke": "pnpm --filter @lobechat/e2e-tests test:smoke", |
92 | 94 | "test:update": "vitest -u", |
93 | | - "test-app": "vitest run", |
94 | | - "test-app:coverage": "vitest --coverage --silent='passed-only'", |
95 | 95 | "tunnel:cloudflare": "cloudflared tunnel --url http://localhost:3010", |
96 | 96 | "tunnel:ngrok": "ngrok http http://localhost:3011", |
97 | 97 | "type-check": "tsgo --noEmit", |
|
133 | 133 | ] |
134 | 134 | }, |
135 | 135 | "overrides": { |
| 136 | + "pdfjs-dist": "5.4.530", |
136 | 137 | "stylelint-config-clean-order": "7.0.0" |
137 | 138 | }, |
138 | 139 | "dependencies": { |
|
206 | 207 | "@lobehub/tts": "^4.0.2", |
207 | 208 | "@lobehub/ui": "^4.27.4", |
208 | 209 | "@modelcontextprotocol/sdk": "^1.25.1", |
| 210 | + "@napi-rs/canvas": "^0.1.88", |
209 | 211 | "@neondatabase/serverless": "^1.0.2", |
210 | 212 | "@next/third-parties": "^16.1.1", |
211 | 213 | "@opentelemetry/exporter-jaeger": "^2.2.0", |
212 | 214 | "@opentelemetry/winston-transport": "^0.19.0", |
213 | | - "@react-pdf/renderer": "^4.3.1", |
| 215 | + "@react-pdf/renderer": "^4.3.2", |
214 | 216 | "@react-three/drei": "^10.7.7", |
215 | 217 | "@react-three/fiber": "^9.4.2", |
216 | 218 | "@saintno/comfyui-sdk": "^0.2.49", |
|
296 | 298 | "path-browserify-esm": "^1.0.6", |
297 | 299 | "pathe": "^2.0.3", |
298 | 300 | "pdf-parse": "^1.1.4", |
299 | | - "pdfjs-dist": "4.8.69", |
| 301 | + "pdfjs-dist": "5.4.530", |
300 | 302 | "pdfkit": "^0.17.2", |
301 | 303 | "pg": "^8.16.3", |
302 | 304 | "pino": "^10.1.0", |
|
316 | 318 | "react-hotkeys-hook": "^5.2.1", |
317 | 319 | "react-i18next": "^16.5.0", |
318 | 320 | "react-lazy-load": "^4.0.1", |
319 | | - "react-pdf": "^9.2.1", |
| 321 | + "react-pdf": "^10.3.0", |
320 | 322 | "react-responsive": "^10.0.1", |
321 | 323 | "react-rnd": "^10.5.2", |
322 | 324 | "react-router-dom": "^7.11.0", |
|
0 commit comments