mirror of
https://github.com/NomaDamas/k-skill.git
synced 2026-09-14 16:37:18 +08:00
ddd78235da
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>
16 lines
431 B
JavaScript
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"]);
|
|
}
|