mainfast 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/mainfast.cjs +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ npx mainfast audit owners
|
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
`init` never overwrites a file without `--force`, and never pushes or changes branch protection.
|
|
14
|
-
Every command takes `--help` and `--json`. Exit codes: 0
|
|
14
|
+
Every command takes `--help` and `--json`. Exit codes: 0 nothing failed (warnings can still be listed), 1 findings that fail or something missing, 2 error. Tokens come
|
|
15
15
|
only from `GITHUB_TOKEN` or `GH_TOKEN` and are never printed.
|
|
16
16
|
|
|
17
17
|
## MCP
|
package/dist/mainfast.cjs
CHANGED
|
@@ -14595,7 +14595,7 @@ var import_node_child_process = require("node:child_process");
|
|
|
14595
14595
|
// package.json
|
|
14596
14596
|
var package_default = {
|
|
14597
14597
|
name: "mainfast",
|
|
14598
|
-
version: "0.1.
|
|
14598
|
+
version: "0.1.1",
|
|
14599
14599
|
description: "Set up and run Mainfast, GitHub checks that stop merges from silently breaking main. CLI and MCP server.",
|
|
14600
14600
|
license: "MIT",
|
|
14601
14601
|
author: "Mainfast authors",
|
|
@@ -32225,7 +32225,7 @@ usage: mainfast <command> [options]
|
|
|
32225
32225
|
mcp serve these commands as MCP tools over stdio
|
|
32226
32226
|
|
|
32227
32227
|
Run mainfast <command> --help for its options. Every command takes --json.
|
|
32228
|
-
Exit codes: 0
|
|
32228
|
+
Exit codes: 0 nothing failed (warnings can still be listed), 1 findings that fail or something missing, 2 error.
|
|
32229
32229
|
Token: GITHUB_TOKEN or GH_TOKEN, never printed.
|
|
32230
32230
|
`,
|
|
32231
32231
|
init: `usage: mainfast init [--checks intact,owners,...] [--dry-run] [--force]
|
|
@@ -32246,7 +32246,7 @@ ${COMMON}`,
|
|
|
32246
32246
|
check: `usage: mainfast check [<merge-commit>] [--range A..B] [--main <branch>] [--fail-on error|warning|notice]
|
|
32247
32247
|
|
|
32248
32248
|
Runs Intact locally. With no commit or range, checks every merge commit in <main>..HEAD.
|
|
32249
|
-
Exit codes: 0
|
|
32249
|
+
Exit codes: 0 nothing failed (warnings can still be listed), 1 findings that fail, 2 error.
|
|
32250
32250
|
|
|
32251
32251
|
${COMMON}`,
|
|
32252
32252
|
audit: `usage: mainfast audit <${AUDIT_CHECKS.join("|")}> [--main <branch>] [--pr <n>] [--offline]
|
package/package.json
CHANGED