mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:31:40 +00:00
chore(qa): remove retired Matrix package guards (#108531)
This commit is contained in:
@@ -129,7 +129,6 @@
|
||||
"!dist/extensions/pixverse/**",
|
||||
"!dist/extensions/qa-channel/**",
|
||||
"!dist/extensions/qa-lab/**",
|
||||
"!dist/extensions/qa-matrix/**",
|
||||
"!dist/extensions/openshell/**",
|
||||
"!dist/extensions/qwen/**",
|
||||
"!dist/extensions/searxng/**",
|
||||
|
||||
@@ -83,13 +83,6 @@ describe("package dist inventory", () => {
|
||||
);
|
||||
const omittedQaChunk = path.join(packageRoot, "dist", "extensions", "qa-channel", "cli.js");
|
||||
const omittedQaLabChunk = path.join(packageRoot, "dist", "extensions", "qa-lab", "cli.js");
|
||||
const omittedQaMatrixChunk = path.join(
|
||||
packageRoot,
|
||||
"dist",
|
||||
"extensions",
|
||||
"qa-matrix",
|
||||
"index.js",
|
||||
);
|
||||
const omittedQaLabPluginSdk = path.join(packageRoot, "dist", "plugin-sdk", "qa-lab.js");
|
||||
const omittedQaChannelPluginSdk = path.join(
|
||||
packageRoot,
|
||||
@@ -132,7 +125,6 @@ describe("package dist inventory", () => {
|
||||
const omittedMap = path.join(packageRoot, "dist", "feature.runtime.js.map");
|
||||
await fs.mkdir(path.dirname(packagedQaChannelRuntime), { recursive: true });
|
||||
await fs.mkdir(path.dirname(packagedQaLabRuntime), { recursive: true });
|
||||
await fs.mkdir(path.dirname(omittedQaMatrixChunk), { recursive: true });
|
||||
await fs.mkdir(path.dirname(omittedQaLabTypes), { recursive: true });
|
||||
await fs.mkdir(path.join(packageRoot, "dist", "plugin-sdk"), { recursive: true });
|
||||
await fs.mkdir(path.dirname(omittedDeepPluginSdkDeclaration), { recursive: true });
|
||||
@@ -140,7 +132,6 @@ describe("package dist inventory", () => {
|
||||
await fs.writeFile(packagedQaLabRuntime, "export {};\n", "utf8");
|
||||
await fs.writeFile(omittedQaChunk, "export {};\n", "utf8");
|
||||
await fs.writeFile(omittedQaLabChunk, "export {};\n", "utf8");
|
||||
await fs.writeFile(omittedQaMatrixChunk, "export {};\n", "utf8");
|
||||
await fs.writeFile(omittedQaLabPluginSdk, "export {};\n", "utf8");
|
||||
await fs.writeFile(omittedQaChannelPluginSdk, "export {};\n", "utf8");
|
||||
await fs.writeFile(omittedQaChannelProtocolPluginSdk, "export {};\n", "utf8");
|
||||
|
||||
@@ -13,7 +13,6 @@ const LEGACY_QA_LAB_DIR = ["qa", "lab"].join("-");
|
||||
const OMITTED_QA_EXTENSION_PREFIXES = [
|
||||
`dist/extensions/${LEGACY_QA_CHANNEL_DIR}/`,
|
||||
`dist/extensions/${LEGACY_QA_LAB_DIR}/`,
|
||||
"dist/extensions/qa-matrix/",
|
||||
];
|
||||
const OMITTED_PRIVATE_QA_PLUGIN_SDK_PREFIXES = [
|
||||
`dist/plugin-sdk/extensions/${LEGACY_QA_CHANNEL_DIR}/`,
|
||||
@@ -72,7 +71,6 @@ const OMITTED_PLUGIN_SDK_TEST_PREFIXES = [
|
||||
const OMITTED_DIST_SUBTREE_PATTERNS = [
|
||||
/^dist\/extensions\/node_modules(?:\/|$)/u,
|
||||
/^dist\/extensions\/[^/]+\/node_modules(?:\/|$)/u,
|
||||
/^dist\/extensions\/qa-matrix(?:\/|$)/u,
|
||||
/^dist\/plugin-sdk\/src(?:\/|$)/u,
|
||||
new RegExp(`^dist/plugin-sdk/extensions/${LEGACY_QA_CHANNEL_DIR}(?:/|$)`, "u"),
|
||||
new RegExp(`^dist/plugin-sdk/extensions/${LEGACY_QA_LAB_DIR}(?:/|$)`, "u"),
|
||||
|
||||
@@ -162,10 +162,8 @@ describe("bundled plugin build entries", () => {
|
||||
});
|
||||
|
||||
it("keeps private QA bundles out of required npm pack artifacts", () => {
|
||||
const entries = listBundledPluginBuildEntries();
|
||||
const artifacts = listBundledPluginPackArtifacts();
|
||||
|
||||
expectNoPrefixMatches(Object.keys(entries), "extensions/qa-matrix/");
|
||||
expectNoPrefixMatches(artifacts, "dist/extensions/qa-channel/");
|
||||
expectNoPrefixMatches(artifacts, "dist/extensions/qa-lab/");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user