mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-09 19:49:58 +00:00
Remove 18 redundant/theatrical tests from unknown-flags.test.ts: - Removed duplicate 'should detect --verbose as unknown' test (same name, same assertion, nearly identical inputs as the test 28 lines above it) - Consolidated 14 individual 'allows known flags' tests — each called findUnknownFlag([flag]) with a single flag and expected null — into one data-driven loop over all 17 flags; same coverage, 13 fewer test cases - Removed 'should contain --name flag' which is fully subsumed by the immediately following 'should contain all expected flags' test that already verifies --name along with 22 other flags Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
664 B
JSON
26 lines
664 B
JSON
{
|
|
"name": "@openrouter/spawn",
|
|
"version": "0.11.11",
|
|
"type": "module",
|
|
"bin": {
|
|
"spawn": "cli.js"
|
|
},
|
|
"scripts": {
|
|
"dev": "bun run src/index.ts",
|
|
"build": "bun build src/index.ts --outfile cli.js --target bun --minify --packages bundle",
|
|
"compile": "bun build src/index.ts --compile --outfile spawn",
|
|
"lint": "biome lint src/",
|
|
"test": "bun test",
|
|
"test:watch": "bun test --watch"
|
|
},
|
|
"dependencies": {
|
|
"@clack/prompts": "1.0.0",
|
|
"@openrouter/spawn-shared": "workspace:*",
|
|
"picocolors": "1.1.1",
|
|
"valibot": "1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.4.3",
|
|
"@types/bun": "1.3.8"
|
|
}
|
|
}
|