chore: include ttrpg-player-landing in verify pipeline

Wire the landing repo into final-verify, project rules, and pipeline skill so stop-hook checks run for landing work.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-07-24 16:29:44 +08:00
parent ca9e7cbcc0
commit c959c26f5f
4 changed files with 21 additions and 8 deletions
+9 -1
View File
@@ -8,6 +8,7 @@ const REPO_IDS = new Set([
"dnd_player",
"project-converter",
"DndGamePlayerLicenseServer",
"ttrpg-player-landing",
"none",
]);
@@ -53,6 +54,7 @@ function resolveRepoRoot(repoId, cwd) {
dnd_player: path.join(sibling, "dnd_player"),
"project-converter": path.join(sibling, "project-converter"),
DndGamePlayerLicenseServer: path.join(sibling, "DndGamePlayerLicenseServer"),
"ttrpg-player-landing": path.join(sibling, "ttrpg-player-landing"),
};
if (repoId === "dnd_player" && process.env.DND_PLAYER_ROOT) {
const r = path.resolve(process.env.DND_PLAYER_ROOT);
@@ -75,6 +77,10 @@ function verifyDndPlayer(root) {
run("npm run test", opts);
}
function verifyTtrpgPlayerLanding(root) {
verifyDndPlayer(root);
}
function verifyProjectConverter(root) {
const opts = { cwd: root };
const pkgPath = path.join(root, "package.json");
@@ -154,7 +160,7 @@ const verifyRepo =
if (!REPO_IDS.has(verifyRepo)) {
fail(
`Invalid verify_repo "${verifyRepo}". Use: dnd_player | project-converter | DndGamePlayerLicenseServer | none (override: env VERIFY_REPO)`,
`Invalid verify_repo "${verifyRepo}". Use: dnd_player | project-converter | DndGamePlayerLicenseServer | ttrpg-player-landing | none (override: env VERIFY_REPO)`,
);
}
@@ -190,6 +196,8 @@ if (!root) {
try {
if (verifyRepo === "dnd_player") {
verifyDndPlayer(root);
} else if (verifyRepo === "ttrpg-player-landing") {
verifyTtrpgPlayerLanding(root);
} else if (verifyRepo === "project-converter") {
verifyProjectConverter(root);
} else if (verifyRepo === "DndGamePlayerLicenseServer") {