|
|
2a7f7be738
|
chore(docker,ci): Dockerfile 与 CI 切换 pnpm workspace,docs 同步
Dockerfile:
- Node 22 安装段追加 corepack enable + pnpm 11.8.0
- 缓存层从'只 tiptap 的 package.json'扩展为整个 workspace
(libs/package.json + pnpm-workspace.yaml + pnpm-lock.yaml + 4 lib manifest),
npm ci 改为 pnpm install --frozen-lockfile,覆盖全部 4 个 lib 的 Docker 层缓存
- 构建步骤 make build-editor 改为 make build-libs
Gitea CI:
- check job 的 Install Node 步骤加装 pnpm,新增 Biome lint 步骤
(cd libs && pnpm install --frozen-lockfile && pnpm exec biome check .)
- build job 同步装 pnpm,make build 不变(Makefile 已改用 workspace)
.dockerignore: 补齐其余 3 个 lib 的 public 产物 + workspace node_modules 模式
AGENTS.md: Development Commands 删 make clippy、新增 make lint/make fix 说明;
Prerequisites 补 Biome;libs 段改为 pnpm workspace 模型;修正文档漂移
(tt-reveal→tt-expand,eval→Reflect::get)
|
2026-07-02 18:10:11 +08:00 |
|
|
|
ae84c37f21
|
build: add Dockerfile and .dockerignore for static musl image
CI / build (push) Has been cancelled
CI / check (push) Has been cancelled
- Multi-stage build using rust:1.96-bookworm builder and scratch runtime.
- Produces a fully statically linked x86_64-unknown-linux-musl server binary.
- Builds frontend assets (Tiptap, Tailwind, Dioxus WASM) and bundles public/.
- Image size ~25 MB; server listens on 0.0.0.0:3000.
|
2026-06-17 09:48:12 +08:00 |
|