test(release): sync llama peer fixture

This commit is contained in:
Peter Steinberger
2026-03-25 06:05:50 -07:00
parent 284084672a
commit 436aa838fe

View File

@@ -225,7 +225,7 @@ describe("collectReleasePackageMetadataErrors", () => {
license: "MIT", license: "MIT",
repository: { url: "git+https://github.com/openclaw/openclaw.git" }, repository: { url: "git+https://github.com/openclaw/openclaw.git" },
bin: { openclaw: "openclaw.mjs" }, bin: { openclaw: "openclaw.mjs" },
peerDependencies: { "node-llama-cpp": "3.16.2" }, peerDependencies: { "node-llama-cpp": "3.18.1" },
peerDependenciesMeta: { "node-llama-cpp": { optional: true } }, peerDependenciesMeta: { "node-llama-cpp": { optional: true } },
}), }),
).toEqual([]); ).toEqual([]);
@@ -239,7 +239,7 @@ describe("collectReleasePackageMetadataErrors", () => {
license: "MIT", license: "MIT",
repository: { url: "git+https://github.com/openclaw/openclaw.git" }, repository: { url: "git+https://github.com/openclaw/openclaw.git" },
bin: { openclaw: "openclaw.mjs" }, bin: { openclaw: "openclaw.mjs" },
peerDependencies: { "node-llama-cpp": "3.16.2" }, peerDependencies: { "node-llama-cpp": "3.18.1" },
}), }),
).toContain('package.json peerDependenciesMeta["node-llama-cpp"].optional must be true.'); ).toContain('package.json peerDependenciesMeta["node-llama-cpp"].optional must be true.');
}); });