chore: remove stale root tooling files · openclaw/openclaw@fd5e6ae
steipete
·
2026-05-03
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ const APP_PATH_RE = /^(?:apps\/|Swabble\/|appcast\.xml$)/u;
|
9 | 9 | const EXTENSION_PATH_RE = /^extensions\/[^/]+(?:\/|$)/u; |
10 | 10 | const CORE_PATH_RE = /^(?:src\/|ui\/|packages\/)/u; |
11 | 11 | const TOOLING_PATH_RE = |
12 | | -/^(?:scripts\/|test\/vitest\/|\.github\/|\.vscode\/|git-hooks\/|Dockerfile\.sandbox(?:-(?:browser|common))?$|vitest(?:\..+)?\.config\.ts$|tsconfig.*\.json$|\.dockerignore$|\.gitignore$|\.pre-commit-config\.yaml$|\.swiftformat$|\.oxlint.*|\.oxfmt.*)/u; |
| 12 | +/^(?:scripts\/|test\/vitest\/|\.github\/|\.vscode\/|git-hooks\/|Dockerfile\.sandbox(?:-(?:browser|common))?$|Makefile$|openclaw\.podman\.env$|vitest(?:\..+)?\.config\.ts$|tsconfig.*\.json$|\.dockerignore$|\.gitignore$|\.jscpd\.json$|\.pre-commit-config\.yaml$|\.swiftformat$|\.oxlint.*|\.oxfmt.*)/u; |
13 | 13 | const ROOT_GLOBAL_PATH_RE = |
14 | 14 | /^(?:package\.json$|pnpm-lock\.yaml$|pnpm-workspace\.yaml$|tsdown\.config\.ts$|vitest\.config\.ts$)/u; |
15 | 15 | const LEGACY_ROOT_ASSET_PATH_RE = /^assets\//u; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -321,7 +321,14 @@ describe("scripts/changed-lanes", () => {
|
321 | 321 | }); |
322 | 322 | |
323 | 323 | it("routes root hygiene config changes to tooling instead of all lanes", () => { |
324 | | -const result = detectChangedLanes([".dockerignore", ".pre-commit-config.yaml", ".swiftformat"]); |
| 324 | +const result = detectChangedLanes([ |
| 325 | +".dockerignore", |
| 326 | +".jscpd.json", |
| 327 | +".pre-commit-config.yaml", |
| 328 | +".swiftformat", |
| 329 | +"Makefile", |
| 330 | +"openclaw.podman.env", |
| 331 | +]); |
325 | 332 | const plan = createChangedCheckPlan(result); |
326 | 333 | |
327 | 334 | expect(result.lanes).toMatchObject({ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。