- Node.js 统一到 node:22-alpine,Go 统一到 golang:1.25-alpine,Python 统一到 python:3.12-slim - pnpm 升级到 11.13.0(corepack),新增 allowBuilds 白名单解决 ERR_PNPM_IGNORED_BUILDS - 新增 packages/shared-py 集中 Python 共享依赖,shared-ts 补充 graphql-yoga/prom-client - api-gateway 修复 go.mod 的 shared-go 依赖 + Dockerfile 改用 repo 根作 context - Python 服务(data-ana/ai)Dockerfile 改用 repo 根作 context + 声明 uv workspace sources - 16 个服务的 Dockerfile + CI + docker-compose.tools.yml 全部对齐版本矩阵 - known-issues.md 沉淀 9 条 pnpm 11 / uv workspace / Go shared-go 迁移经验 - 验证:4 服务完全成功(api-gateway /healthz 200),其余 install 成功(build 失败为预存 TS 错误)
21 lines
417 B
YAML
21 lines
417 B
YAML
packages:
|
|
- 'services/*'
|
|
- 'apps/*'
|
|
- 'packages/*'
|
|
- 'scripts/*'
|
|
|
|
# pnpm 11+ build scripts 白名单(从 package.json 的 pnpm.onlyBuiltDependencies 迁移)
|
|
allowBuilds:
|
|
'@module-federation/nextjs-mf': true
|
|
'@nestjs/core': true
|
|
'@sentry/cli': true
|
|
'@swc/core': true
|
|
bcrypt: true
|
|
better-sqlite3: true
|
|
cpu-features: true
|
|
esbuild: true
|
|
msw: true
|
|
protobufjs: true
|
|
ssh2: true
|
|
tsx: true
|