mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
fix: repair ci lockfile and boundary drift
This commit is contained in:
@@ -7,6 +7,7 @@ const TEST_LIKE_SEGMENT_RE =
|
||||
const TEST_LIKE_FILENAME_RE =
|
||||
/(^|\/)[^/]*test-(?:support|helpers|fixtures|harness)\.(?:[cm]?ts|[cm]?js|tsx|jsx)$/u;
|
||||
const TEST_SHARED_FILENAME_RE = /(^|\/)[^/]*\.test-[^/]*\.(?:[cm]?ts|[cm]?js|tsx|jsx)$/u;
|
||||
const TEST_CANARY_FILENAME_RE = /(^|\/)__rootdir_boundary_canary__\.(?:[cm]?ts|[cm]?js|tsx|jsx)$/u;
|
||||
const SNAPSHOT_FILE_RE = /\.snap$/u;
|
||||
const SUFFIX_SKIP_RE = /\.(?:test|spec|fixture)\./u;
|
||||
const INFRA_DIR_RE = /(^|\/)(?:coverage|dist|node_modules)(?:\/|$)/u;
|
||||
@@ -25,6 +26,7 @@ export function classifyBundledExtensionSourcePath(filePath) {
|
||||
TEST_LIKE_SEGMENT_RE.test(normalizedPath) ||
|
||||
TEST_LIKE_FILENAME_RE.test(normalizedPath) ||
|
||||
TEST_SHARED_FILENAME_RE.test(normalizedPath) ||
|
||||
TEST_CANARY_FILENAME_RE.test(normalizedPath) ||
|
||||
SUFFIX_SKIP_RE.test(normalizedPath) ||
|
||||
SNAPSHOT_FILE_RE.test(normalizedPath) ||
|
||||
INFRA_NAME_RE.test(normalizedPath);
|
||||
|
||||
Reference in New Issue
Block a user