mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:00:43 +00:00
chore: remove stale root tooling files
This commit is contained in:
16
.jscpd.json
16
.jscpd.json
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"gitignore": true,
|
||||
"noSymlinks": true,
|
||||
"ignore": [
|
||||
"**/node_modules/**",
|
||||
"**/dist/**",
|
||||
"dist/**",
|
||||
"**/.git/**",
|
||||
"**/coverage/**",
|
||||
"**/build/**",
|
||||
"**/.build/**",
|
||||
"**/.artifacts/**",
|
||||
"docs/zh-CN/**",
|
||||
"**/CHANGELOG.md"
|
||||
]
|
||||
}
|
||||
@@ -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=
|
||||
@@ -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;
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user