Skip to content

Commit db9c556

Browse files
committed
docs(testing): add release group governance checklist
1 parent 6a6123e commit db9c556

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

website/content/en/testing.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,23 @@ When introducing a new fixture under `apps/`:
7474
- Empty map file usually means the fixture has no valid class inventory at build time.
7575
- For Next 16 + webpack adapter, prefer `next build --webpack` in fixture scripts.
7676
- For webpack-like pipelines, keep `sources.include` focused to avoid unrelated resource transforms.
77+
78+
## Release governance
79+
80+
Core package releases now follow a grouped policy for:
81+
82+
- `@tailwindcss-mangle/shared`
83+
- `@tailwindcss-mangle/config`
84+
- `@tailwindcss-mangle/core`
85+
- `tailwindcss-patch`
86+
- `unplugin-tailwindcss-mangle`
87+
88+
Before publishing, run:
89+
90+
1. `pnpm check:boundaries`
91+
2. `pnpm build`
92+
3. `pnpm test`
93+
4. `pnpm test:e2e`
94+
5. optional browser parity: `pnpm run test:e2e:apps:pw`
95+
96+
Repository reference: `docs/release/release-group-policy.md`.

website/content/zh/testing.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,23 @@ pnpm run test:e2e:apps:pw
7474
- 映射文件为空通常表示构建阶段没有拿到有效类名清单。
7575
- Next 16 + webpack 适配器建议使用 `next build --webpack`
7676
- Webpack 类流水线建议收敛 `sources.include`,避免误处理无关资源。
77+
78+
## 发布治理
79+
80+
核心包现在按发布组策略协同发布:
81+
82+
- `@tailwindcss-mangle/shared`
83+
- `@tailwindcss-mangle/config`
84+
- `@tailwindcss-mangle/core`
85+
- `tailwindcss-patch`
86+
- `unplugin-tailwindcss-mangle`
87+
88+
发布前建议执行:
89+
90+
1. `pnpm check:boundaries`
91+
2. `pnpm build`
92+
3. `pnpm test`
93+
4. `pnpm test:e2e`
94+
5. 可选浏览器一致性校验:`pnpm run test:e2e:apps:pw`
95+
96+
仓库参考文档:`docs/release/release-group-policy.md`

0 commit comments

Comments
 (0)