mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-05 04:48:17 +00:00
Config: separate core/plugin baseline entries (#60162)
* Config: separate core/plugin baseline entries * Config: split config baseline by kind * Config: split generated baselines by kind * chore(build): skip generated baseline shards in local tooling * chore(build): forbid generated docs in npm pack
This commit is contained in:
@@ -243,6 +243,19 @@ describe("collectForbiddenPackPaths", () => {
|
||||
]),
|
||||
).toEqual([bundledPluginFile("tlon", "node_modules/.bin/tlon"), "node_modules/.bin/openclaw"]);
|
||||
});
|
||||
|
||||
it("blocks generated docs artifacts from npm pack output", () => {
|
||||
expect(
|
||||
collectForbiddenPackPaths([
|
||||
"dist/index.js",
|
||||
"docs/.generated/config-baseline.json",
|
||||
"docs/.generated/config-baseline.core.json",
|
||||
]),
|
||||
).toEqual([
|
||||
"docs/.generated/config-baseline.core.json",
|
||||
"docs/.generated/config-baseline.json",
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
describe("collectMissingPackPaths", () => {
|
||||
|
||||
Reference in New Issue
Block a user