Skip to content
Myr

project.ts

This file

Path

.myr/project.ts

17 lines · 945 bytes · TypeScript

Last changed by

landed by oscar217fe3d

History of this file

Take it

1import { project, run } from "@myrtechnology/cli/rules";23// `myr init` found no command that runs one test file ({path}), so4// the platform reads the run block from CI at each landing. It found:5//   setup: "bun install --frozen-lockfile" (setup inferred from bun.lock)6//   test: "bun run test" (test from package.json)7//   checks.lint: "bun run check" (checks.lint from package.json)8//   checks.types: "bun run typecheck" (checks.types from package.json)9//   checks.unit: "bun run test" (checks.unit from package.json)10// A red-first ask needs a test command with {path}; once one is here, give the unit11// lane the runner's flag that skips test/asks/**, or every answer's unit lane is red while another ask is open.12export default project({13  run: run.fromCI,14  // Anyone not denounced in vouched.td may claim an ask; "forCode" admits15  // only the people vouched for there, which a maintainer lands with vouch.16  vouch: "bansOnly",17});