Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,44 +91,37 @@
]
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@monaco-editor/react": "^4.7.0",
"@unified-latex/unified-latex-util-parse": "^1.8.3",
"@unified-latex/unified-latex-util-to-string": "^1.8.3",
"adm-zip": "^0.5.16",
"axios": "^1.12.2",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"driver.js": "^1.4.0",
"express": "^5.1.0",
"fs-extra": "^11.3.2",
"multer": "^2.0.2",
"nodemon": "^3.1.10",
"pdf-parse": "^2.4.5",
"pdfjs-dist": "^5.4.296",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.5.0",
"react-pdf": "^10.3.0",
"react-quill-new": "^3.6.0",
"react-router-dom": "^7.9.2",
"sharp": "^0.34.4",
"slate": "^0.124.0",
"slate-react": "^0.124.0",
"tar": "^7.5.11",
"uuid": "^13.0.0",
"y-indexeddb": "^9.0.12",
"y-monaco": "^0.1.6",
"y-websocket": "^3.0.0",
"yjs": "^13.6.29"
"pdf-parse": "^2.4.5"
},
"devDependencies": {
"@eslint/js": "^9.25.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.4.1",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^7.9.2",
"y-indexeddb": "^9.0.12",
"y-websocket": "^3.0.0",
"yjs": "^13.6.29",
"autoprefixer": "^10.4.16",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
Expand All @@ -142,6 +135,13 @@
"tailwindcss": "^3.4.3",
"vite": "^6.3.5",
"vite-plugin-svgr": "^4.5.0",
"wait-on": "^9.0.3"
"wait-on": "^9.0.3",
"react-icons": "^5.5.0",
"@monaco-editor/react": "^4.7.0",
"pdfjs-dist": "^5.4.296",
"react-pdf": "^10.3.0",
"driver.js": "^1.4.0",
"react-quill-new": "^3.6.0",
"y-monaco": "^0.1.6"
}
}
6 changes: 4 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function decrypt(text) {

const execAsync = util.promisify(exec);
const app = express();
const PORT = process.env.PORT || 5000;
const PORT = 5000;
const AI_SERVICE_URL = "http://localhost:5025";

// Middleware
Expand Down Expand Up @@ -1499,7 +1499,9 @@ app.get("/api/projects/:id/export-zip", async (req, res) => {
.json({ success: false, error: "Project not found" });
}

const projectData = await fs.readJSON(path.join(projectDir, "project.json"));
const projectData = await fs.readJSON(
path.join(projectDir, "project.json"),
);
const zip = new AdmZip();

// Add files to ZIP from project.json list
Expand Down
Loading