feat(student-portal): 完整实现 student-portal 微前端

包含 src 全部实现、Dockerfile、配置文件、contracts 包等
This commit is contained in:
SpecialX
2026-07-10 19:10:36 +08:00
parent 24c2860b41
commit 74474a2d04
80 changed files with 17226 additions and 70 deletions

View File

@@ -0,0 +1,52 @@
{
"name": "@edu/student-portal",
"version": "0.1.0",
"private": true,
"description": "学生端微前端MF Remote端口 4001- ai14",
"scripts": {
"dev": "next dev -p 4001",
"build": "next build",
"start": "next start -p 4001",
"lint": "eslint src",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@edu/contracts": "workspace:*",
"@edu/hooks": "workspace:*",
"@edu/shared-ts": "workspace:*",
"@edu/ui-components": "workspace:*",
"@edu/ui-tokens": "workspace:*",
"@module-federation/nextjs-mf": "^8.3.0",
"@sentry/nextjs": "^8.30.0",
"@tanstack/react-query": "^5.59.0",
"graphql": "^16.9.0",
"idb-keyval": "^6.2.1",
"next": "^14.2.0",
"next-intl": "^3.20.0",
"nuqs": "^1.19.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react-hook-form": "^7.53.0",
"recharts": "^2.12.0",
"urql": "^4.2.0",
"zod": "^3.23.0",
"zustand": "^4.5.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.10.0",
"@eslint/js": "^9.0.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/client-preset": "^4.5.0",
"@types/node": "^22.0.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.0",
"eslint": "^9.0.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"mock-socket": "^9.3.1",
"msw": "^2.4.0",
"postcss": "^8.4.0",
"tailwindcss": "^3.4.0",
"typescript": "^5.6.0"
}
}