chore: move swabble into apps

This commit is contained in:
Peter Steinberger
2026-05-03 13:09:58 +01:00
parent 0031ef3120
commit 869103684f
53 changed files with 62 additions and 20 deletions

View File

@@ -320,6 +320,19 @@ describe("scripts/changed-lanes", () => {
expect(plan.commands.map((command) => command.args[0])).not.toContain("test");
});
it("routes root hygiene config changes to tooling instead of all lanes", () => {
const result = detectChangedLanes([".dockerignore", ".pre-commit-config.yaml", ".swiftformat"]);
const plan = createChangedCheckPlan(result);
expect(result.lanes).toMatchObject({
tooling: true,
all: false,
});
expect(plan.commands.map((command) => command.args[0])).toContain("lint:scripts");
expect(plan.commands.map((command) => command.args[0])).not.toContain("tsgo:all");
expect(plan.commands.map((command) => command.args[0])).not.toContain("test");
});
it("routes VS Code workspace settings to tooling instead of all lanes", () => {
const result = detectChangedLanes([".vscode/settings.json", ".vscode/extensions.json"]);
const plan = createChangedCheckPlan(result);
@@ -757,6 +770,17 @@ describe("scripts/changed-lanes", () => {
expect(plan.commands.map((command) => command.args[0])).not.toContain("test");
});
it("routes legacy Swabble deletions as app surface during the app move", () => {
const result = detectChangedLanes(["Swabble/Sources/SwabbleKit/WakeWordGate.swift"]);
const plan = createChangedCheckPlan(result);
expect(result.lanes).toMatchObject({
apps: true,
all: false,
});
expect(plan.commands.map((command) => command.args[0])).not.toContain("tsgo:all");
});
it("keeps shared Vitest wiring changes out of check test execution", () => {
const result = detectChangedLanes(["test/vitest/vitest.shared.config.ts"]);
const plan = createChangedCheckPlan(result);