|
35 | 35 | "build-sitemap": "tsx ./scripts/buildSitemapIndex/index.ts",
|
36 | 36 | "build:analyze": "ANALYZE=true next build",
|
37 | 37 | "build:docker": "DOCKER=true next build && npm run build-sitemap",
|
38 |
| - "build:electron": "NODE_OPTIONS=--max-old-space-size=6144 NEXT_PUBLIC_IS_DESKTOP_APP=1 NEXT_PUBLIC_SERVICE_MODE=server next build", |
39 |
| - "build:move-to-electron-dist": "tsx scripts/electronWorkflow/moveNextStandalone.ts", |
| 38 | + "build:electron": "cross-env NODE_OPTIONS=--max-old-space-size=6144 NEXT_PUBLIC_IS_DESKTOP_APP=1 NEXT_PUBLIC_SERVICE_MODE=server next build", |
40 | 39 | "db:generate": "drizzle-kit generate && npm run db:generate-client && npm run workflow:dbml",
|
41 | 40 | "db:generate-client": "tsx ./scripts/migrateClientDB/compile-migrations.ts",
|
42 | 41 | "db:migrate": "MIGRATION_DB=1 tsx ./scripts/migrateServerDB/index.ts",
|
|
45 | 44 | "db:studio": "drizzle-kit studio",
|
46 | 45 | "db:visualize": "dbdocs build docs/developer/database-schema.dbml --project lobe-chat",
|
47 | 46 | "db:z-pull": "drizzle-kit introspect",
|
| 47 | + "desktop:build": "npm run desktop:build-next && npm run desktop:prepare-dist && npm run desktop:build-electron", |
| 48 | + "desktop:build-electron": "npm run build --prefix=./apps/desktop", |
48 | 49 | "desktop:build-next": "npm run build:electron",
|
| 50 | + "desktop:prepare-dist": "tsx scripts/electronWorkflow/moveNextStandalone.ts", |
49 | 51 | "dev": "next dev --turbopack -p 3010",
|
50 | 52 | "docs:i18n": "lobe-i18n md && npm run lint:md && npm run lint:mdx",
|
51 | 53 | "docs:seo": "lobe-seo && npm run lint:mdx",
|
|
296 | 298 | "ajv-keywords": "^5.1.0",
|
297 | 299 | "commitlint": "^19.6.1",
|
298 | 300 | "consola": "^3.3.3",
|
| 301 | + "cross-env": "^7.0.3", |
299 | 302 | "crypto-js": "^4.2.0",
|
300 | 303 | "dbdocs": "^0.14.3",
|
301 | 304 | "dotenv": "^16.4.7",
|
|
0 commit comments