docs(admin-portal): 新增 nextstep-v2.md 记录下游核查结果

v1 声称完成的下游工作经核查实际未完成:
- api-gateway: /api/admin/graphql 路由未注册,go vet 编译失败
- teacher-bff: resolver 已完成但 schema 未同步(命名空间 vs 扁平)
- iam: proto 缺 BatchGetUsers rpc 声明

v2 记录详细核查证据和修复要求
This commit is contained in:
SpecialX
2026-07-14 08:26:27 +08:00
parent 99580fa13a
commit 0b42302a64
42 changed files with 4804 additions and 637 deletions

View File

@@ -5,6 +5,7 @@
* - exposes: AppShell + GraphQLProvider + 共享 hooks + 共享 UI 组件
* - shared: react/react-dom/urql/graphql/@edu/* 设为 singleton
* - remotes: P2 为空NEXT_PUBLIC_MF_ENABLED=falseP3+ 逐步接入
* - i18n: next-intl非路由式cookie 驱动zh-CN/en
*
* 维护者ai13teacher-portal
* 关联ARB-002 §2.2 暴露清单、03-long-term-architecture.md §1.3 绞杀者模式
@@ -12,6 +13,10 @@
/** @type {import('next').NextConfig} */
// next-intl 插件非路由式cookie 驱动,无 [locale] 路由段)
const createNextIntlPlugin = require("next-intl/plugin");
const withNextIntl = createNextIntlPlugin("./src/i18n.ts");
// NextFederationPlugin 动态 require避免构建时硬依赖MF 2.0 在 Next 14 App Router 下按需加载)
let NextFederationPlugin;
try {
@@ -78,6 +83,11 @@ function buildShared() {
const nextConfig = {
reactStrictMode: true,
// typedRoutes 显式关闭next-intl 非路由式不依赖路由类型)
experimental: {
typedRoutes: false,
},
// standalone 模式Next.js 自动打包所有依赖到 .next/standalone
// 解决 pnpm symlink 在 Docker runtime 下无法解析 react/jsx-runtime 的问题
output: "standalone",
@@ -141,4 +151,4 @@ const nextConfig = {
},
};
module.exports = nextConfig;
module.exports = withNextIntl(nextConfig);