Merge pull request #9 from presenton/deps_cleanup
nextjs deps cleanup & build process omit=dev
This commit is contained in:
commit
6039fc9ee6
4 changed files with 21 additions and 3679 deletions
|
|
@ -13,7 +13,7 @@
|
|||
"setup:env": "npm install && cd servers/fastapi && poetry install && cd ../../servers/nextjs && npm install",
|
||||
"build:ts": "tsc",
|
||||
"build:css": "tailwindcss -i ./resources/ui/assets/tailwind.import.css -o ./resources/ui/assets/tailwind.css",
|
||||
"build:nextjs": "rm -rf resources/nextjs && cp -r servers/nextjs resources/nextjs && cd resources/nextjs && npm install && npm run build",
|
||||
"build:nextjs": "rm -rf resources/nextjs && cp -r servers/nextjs resources/nextjs && cd resources/nextjs && npm install --omit=dev && npm run build",
|
||||
"build:fastapi": "rm -rf resources/fastapi && cd servers/fastapi && .venv/bin/pyinstaller --name fastapi --distpath ../../resources server.py",
|
||||
"build:electron": "tsc && node build.js",
|
||||
"clean:build": "rm -rf resources/nextjs && rm -rf resources/fastapi"
|
||||
|
|
|
|||
|
|
@ -27,7 +27,10 @@ import { jsonrepair } from "jsonrepair";
|
|||
import { Button } from "@/components/ui/button";
|
||||
import { AlertCircle } from "lucide-react";
|
||||
import Help from "./Help";
|
||||
import { BASE_URL } from "@/utils/constant";
|
||||
import { getEnv } from "@/utils/constant";
|
||||
|
||||
const urls = getEnv();
|
||||
const BASE_URL = urls.BASE_URL;
|
||||
|
||||
// Custom debounce function
|
||||
function useDebounce<T extends (...args: any[]) => void>(
|
||||
|
|
|
|||
3682
servers/nextjs/package-lock.json
generated
3682
servers/nextjs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -43,7 +43,6 @@
|
|||
"cmdk": "^1.0.0",
|
||||
"html-to-image": "^1.11.13",
|
||||
"jsonrepair": "^3.12.0",
|
||||
"license-checker-rseidelsohn": "^4.4.2",
|
||||
"lucide-react": "^0.447.0",
|
||||
"marked": "^15.0.11",
|
||||
"next": "^14.2.14",
|
||||
|
|
@ -52,14 +51,12 @@
|
|||
"react-dom": "^18",
|
||||
"react-redux": "^9.1.2",
|
||||
"recharts": "^2.15.0",
|
||||
"shadcn-ui": "^0.9.2",
|
||||
"sqlite": "^5.1.1",
|
||||
"sqlite3": "^5.1.7",
|
||||
"tailwind-merge": "^2.5.3",
|
||||
"tailwind-scrollbar-hide": "^2.0.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"tiptap-markdown": "^0.8.10",
|
||||
"uuid": "^11.0.2"
|
||||
"tiptap-markdown": "^0.8.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
|
|
@ -68,13 +65,7 @@
|
|||
"@types/puppeteer": "^5.4.7",
|
||||
"@types/react": "^18",
|
||||
"@types/react-dom": "^18",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.14.0",
|
||||
"@typescript-eslint/parser": "^8.14.0",
|
||||
"cypress": "^14.3.3",
|
||||
"eslint": "^8",
|
||||
"eslint-config-next": "^14.2.14",
|
||||
"postcss": "^8",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^5"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue