chore: archive legacy workflow extensions
This commit is contained in:
@@ -23,7 +23,6 @@ const expectedWorkspaces = [
|
||||
"subagents",
|
||||
"todo-herdr",
|
||||
"update",
|
||||
"workflow",
|
||||
];
|
||||
|
||||
function readJson(file) {
|
||||
@@ -42,17 +41,12 @@ function dependencyText(manifest) {
|
||||
});
|
||||
}
|
||||
|
||||
test("workspace inventory keeps reference workflows unpublished", () => {
|
||||
test("workspace inventory contains only active extensions", () => {
|
||||
const rootManifest = readJson(path.join(root, "package.json"));
|
||||
assert.equal(rootManifest.private, true);
|
||||
assert.deepEqual(rootManifest.workspaces.packages, [
|
||||
"extensions/*",
|
||||
"!extensions/_workflows",
|
||||
]);
|
||||
assert.equal(
|
||||
readdirSync(path.join(extensionsRoot, "_workflows")).includes("package.json"),
|
||||
false,
|
||||
);
|
||||
|
||||
const actual = readdirSync(extensionsRoot)
|
||||
.filter((directory) => {
|
||||
@@ -65,7 +59,6 @@ test("workspace inventory keeps reference workflows unpublished", () => {
|
||||
})
|
||||
.sort();
|
||||
assert.deepEqual(actual, expectedWorkspaces);
|
||||
assert.equal(workspaceManifest("workflow").private, true);
|
||||
});
|
||||
|
||||
test("imported package snapshots retain explicit main-branch provenance", () => {
|
||||
|
||||
Reference in New Issue
Block a user