mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:50:43 +00:00
18 lines
676 B
JavaScript
18 lines
676 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import { createExtensionImportBoundaryChecker } from "./lib/extension-import-boundary-checker.mjs";
|
|
import { runAsScript } from "./lib/ts-guard-utils.mjs";
|
|
|
|
const checker = createExtensionImportBoundaryChecker({
|
|
roots: ["test/helpers"],
|
|
boundaryLabel: "test helper",
|
|
rule: "Rule: test/helpers/** must not import bundled plugin files directly",
|
|
cleanMessage: "No test-helper import boundary violations found.",
|
|
inventoryTitle: "Test-helper extension import boundary inventory:",
|
|
});
|
|
|
|
export const collectTestHelperExtensionImportBoundaryInventory = checker.collectInventory;
|
|
export const main = checker.main;
|
|
|
|
runAsScript(import.meta.url, main);
|