Files
ericpapa80 ddd78235da chore: glob root CI file lists instead of hand-editing package.json
New skill helpers and tests were easy to omit from the growing lint/test/pack scripts. Discover them by path so CI stays complete without touching package.json.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 11:08:53 +09:00

16 lines
431 B
JavaScript

#!/usr/bin/env node
"use strict";
const { listPublishableWorkspaces } = require("./ci-paths");
const { npmCommand, run } = require("./ci-run");
const workspaces = listPublishableWorkspaces();
if (workspaces.length === 0) {
console.error("pack-dry-run: no publishable workspaces found");
process.exit(1);
}
for (const workspaceName of workspaces) {
run(npmCommand(), ["pack", "--workspace", workspaceName, "--dry-run"]);
}