chore(web): centralize shared frontend dependency versions

- add a web workspace catalog to manage dependency versions shared by default and classic frontends.
- switch shared dependencies including @lobehub/icons to catalog references and align @lobehub/icons on 5.10.0.
- replace separate frontend Bun lockfiles with a unified web/bun.lock to reduce duplicate maintenance.
This commit is contained in:
QuentinHsu
2026-06-01 19:12:39 +08:00
parent 45d54c1613
commit b596de739d
5 changed files with 1234 additions and 2769 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"name": "new-api-web-workspace",
"private": true,
"workspaces": [
"default",
"classic"
],
"catalog": {
"@lobehub/icons": "^5.10.0",
"axios": "^1.16.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.20",
"prettier": "^3.8.3",
"qrcode.react": "^4.2.0",
"react-icons": "^5.6.0",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"sse.js": "^2.8.0"
}
}