diff --git a/.jscpd.json b/.jscpd.json deleted file mode 100644 index 777b025b0c8..00000000000 --- a/.jscpd.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "gitignore": true, - "noSymlinks": true, - "ignore": [ - "**/node_modules/**", - "**/dist/**", - "dist/**", - "**/.git/**", - "**/coverage/**", - "**/build/**", - "**/.build/**", - "**/.artifacts/**", - "docs/zh-CN/**", - "**/CHANGELOG.md" - ] -} diff --git a/Makefile b/Makefile deleted file mode 100644 index 0728d70d24c..00000000000 --- a/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -.PHONY: build - -build: - pnpm build diff --git a/openclaw.podman.env b/openclaw.podman.env deleted file mode 100644 index 34500ab809e..00000000000 --- a/openclaw.podman.env +++ /dev/null @@ -1,24 +0,0 @@ -# OpenClaw Podman environment -# Copy to openclaw.podman.env.local and set OPENCLAW_GATEWAY_TOKEN (or use -e when running). -# This file can be used with: -# OPENCLAW_PODMAN_ENV=/path/to/openclaw.podman.env ./scripts/run-openclaw-podman.sh launch - -# Required: gateway auth token. Generate with: openssl rand -hex 32 -# Set this before running the container (or use run-openclaw-podman.sh which can generate it). -OPENCLAW_GATEWAY_TOKEN= - -# Optional: web provider (leave empty to skip) -# CLAUDE_AI_SESSION_KEY= -# CLAUDE_WEB_SESSION_KEY= -# CLAUDE_WEB_COOKIE= - -# Host port mapping (defaults; override if needed) -OPENCLAW_PODMAN_GATEWAY_HOST_PORT=18789 -OPENCLAW_PODMAN_BRIDGE_HOST_PORT=18790 - -# Gateway bind (used by the launch script) -OPENCLAW_GATEWAY_BIND=lan - -# Optional: LLM provider API keys (for zero cost use Ollama locally or Groq free tier) -# OLLAMA_API_KEY=ollama-local -# GROQ_API_KEY= diff --git a/scripts/changed-lanes.mjs b/scripts/changed-lanes.mjs index 1241492a786..89e17fcdfe3 100644 --- a/scripts/changed-lanes.mjs +++ b/scripts/changed-lanes.mjs @@ -9,7 +9,7 @@ const APP_PATH_RE = /^(?:apps\/|Swabble\/|appcast\.xml$)/u; const EXTENSION_PATH_RE = /^extensions\/[^/]+(?:\/|$)/u; const CORE_PATH_RE = /^(?:src\/|ui\/|packages\/)/u; const TOOLING_PATH_RE = - /^(?: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; + /^(?: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; const ROOT_GLOBAL_PATH_RE = /^(?:package\.json$|pnpm-lock\.yaml$|pnpm-workspace\.yaml$|tsdown\.config\.ts$|vitest\.config\.ts$)/u; const LEGACY_ROOT_ASSET_PATH_RE = /^assets\//u; diff --git a/test/scripts/changed-lanes.test.ts b/test/scripts/changed-lanes.test.ts index 30f6541c276..4e1f2c6d414 100644 --- a/test/scripts/changed-lanes.test.ts +++ b/test/scripts/changed-lanes.test.ts @@ -321,7 +321,14 @@ describe("scripts/changed-lanes", () => { }); it("routes root hygiene config changes to tooling instead of all lanes", () => { - const result = detectChangedLanes([".dockerignore", ".pre-commit-config.yaml", ".swiftformat"]); + const result = detectChangedLanes([ + ".dockerignore", + ".jscpd.json", + ".pre-commit-config.yaml", + ".swiftformat", + "Makefile", + "openclaw.podman.env", + ]); const plan = createChangedCheckPlan(result); expect(result.lanes).toMatchObject({