()
| 56 | const documented = readReadmeCommandKeys(); |
| 57 | const missing = wired.filter((key) => !documented.has(key)); |
| 58 | |
| 59 | if (missing.length > 0) { |
| 60 | console.error( |
| 61 | "[check:scripts-docs] scripts/README.md is missing package.json commands:\n" |
| 62 | ); |
| 63 | |
| 64 | for (const key of missing) { |
| 65 | console.error(` - bun run ${key}`); |
| 66 | } |
| 67 | |
| 68 | process.exit(1); |
| 69 | } |
| 70 | |
| 71 | console.log( |
| 72 | "[check:scripts-docs] scripts/README.md covers all wired commands." |
| 73 | ); |
| 74 | } |
| 75 | |
| 76 | main(); |
no test coverage detected