refactor: bare structure for new backend architecture and runtime; no behavior changes yet

This commit is contained in:
Haileyesus
2026-03-12 14:17:12 +03:00
parent b54cdf8168
commit e67738c9fc
40 changed files with 10316 additions and 9 deletions

View File

@@ -25,16 +25,21 @@
},
"scripts": {
"dev": "concurrently --kill-others \"npm run server\" \"npm run client\"",
"server": "node server/index.js",
"server:dev": "tsx watch server/src/bootstrap.ts",
"server": "tsx server/src/bootstrap.ts",
"server:build": "tsc -p server/tsconfig.json",
"server:start": "node server/index.js",
"client": "vite",
"build": "vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit -p tsconfig.json",
"typecheck:client": "tsc --noEmit -p tsconfig.json",
"typecheck:server": "tsc --noEmit -p server/tsconfig.json",
"typecheck": "npm run typecheck:client && npm run typecheck:server",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"start": "npm run build && npm run server",
"start": "npm run build && npm run server:build && npm run server:start",
"release": "./release.sh",
"prepublishOnly": "npm run build",
"prepublishOnly": "npm run build && npm run server:build",
"postinstall": "node scripts/fix-node-pty.js",
"prepare": "husky"
},
@@ -111,9 +116,12 @@
"@commitlint/config-conventional": "^20.4.3",
"@eslint/js": "^9.39.3",
"@release-it/conventional-changelog": "^10.0.5",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/node": "^22.19.7",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/ws": "^8.18.1",
"@vitejs/plugin-react": "^4.6.0",
"auto-changelog": "^2.5.0",
"autoprefixer": "^10.4.16",
@@ -133,6 +141,7 @@
"release-it": "^19.0.5",
"sharp": "^0.34.2",
"tailwindcss": "^3.4.0",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"vite": "^7.0.4"