Skip to content

Commit 153d956

Browse files
author
bestGao
committed
feat(m): ddd
1 parent 1e8d639 commit 153d956

File tree

14 files changed

+1179
-1214
lines changed

14 files changed

+1179
-1214
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ https://javasbot.github.io
88
github actions
99

1010
## 服务端
11-
本来想用NestJS写,谁知道NestJS占用的资源(内存)太大了,直接OOM了,还是老老实实用原生Node.js写吧<img width="395" alt="截屏2024-10-05 21 47 33" src="https://github.com/user-attachments/assets/c47912f5-8113-4f73-afab-ac77b6872e65">
11+
本来想用NestJS写,不料NestJS占用的资源(内存)太大了,服务器直接OOM了,还是老老实实用原生Node.js写了<img width="395" alt="截屏2024-10-05 21 47 33" src="https://github.com/user-attachments/assets/c47912f5-8113-4f73-afab-ac77b6872e65">
1212

1313
<img width="388" alt="截屏2024-10-05 21 48 36" src="https://github.com/user-attachments/assets/65d884dd-8b60-4c9c-92ec-21faef3a9333">

package.json

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,34 @@
88
"email": "1055652678@qq.com"
99
},
1010
"scripts": {
11-
"start": "node scripts/dev.cjs --mode dev",
11+
"start:prod": "node scripts/dev.cjs --mode prod",
12+
"start:dev": "node scripts/dev.cjs --mode dev",
1213
"build": "tsc && vite build --mode prod",
1314
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
1415
"preview": "vite preview"
1516
},
1617
"dependencies": {
17-
"@ant-design/icons": "^5.5.1",
18-
"antd": "^5.21.2",
19-
"axios": "^1.7.7",
18+
"@ant-design/icons": "^5.5.2",
19+
"antd": "^5.22.5",
20+
"axios": "^1.7.9",
2021
"classnames": "^2.5.1",
21-
"less": "^4.2.0",
22+
"less": "^4.2.1",
2223
"lodash-es": "^4.17.21",
23-
"react": "^18.3.1",
24-
"react-dom": "^18.3.1",
25-
"react-router-dom": "^6.26.2",
26-
"vditor": "^3.10.7"
24+
"react": "^19.0.0",
25+
"react-dom": "^19.0.0",
26+
"react-router-dom": "^7.1.0",
27+
"vditor": "^3.10.8"
2728
},
2829
"devDependencies": {
29-
"@types/react": "^18.3.11",
30-
"@types/react-dom": "^18.3.0",
31-
"@typescript-eslint/eslint-plugin": "^8.8.0",
32-
"@typescript-eslint/parser": "^8.8.0",
33-
"@vitejs/plugin-react": "^4.3.2",
34-
"eslint": "^9.12.0",
35-
"eslint-plugin-react-hooks": "^4.6.2",
36-
"eslint-plugin-react-refresh": "^0.4.12",
37-
"typescript": "^5.6.2",
38-
"vite": "^5.4.8"
30+
"@types/react": "^19.0.2",
31+
"@types/react-dom": "^19.0.2",
32+
"@typescript-eslint/eslint-plugin": "^8.18.1",
33+
"@typescript-eslint/parser": "^8.18.1",
34+
"@vitejs/plugin-react": "^4.3.4",
35+
"eslint": "^9.17.0",
36+
"eslint-plugin-react-hooks": "^5.1.0",
37+
"eslint-plugin-react-refresh": "^0.4.16",
38+
"typescript": "^5.7.2",
39+
"vite": "^6.0.5"
3940
}
4041
}

0 commit comments

Comments
 (0)