Skip to content

Commit 8b480b5

Browse files
boneskullclaude
andauthored
fix(cli): migrate to @boneskull/bargs (#224)
Co-authored-by: Claude <[email protected]>
1 parent c956bff commit 8b480b5

File tree

10 files changed

+868
-1053
lines changed

10 files changed

+868
-1053
lines changed

cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
"whozit",
8787
"flibbertigibbet",
8888
"kerploppus",
89-
"mauroalderete"
89+
"mauroalderete",
90+
"bargs"
9091
],
9192
"words": ["bupkis", "deoptimization"]
9293
}

package-lock.json

Lines changed: 20 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@
121121
"test:watch": "npm run test:base -- --watch"
122122
},
123123
"dependencies": {
124+
"@boneskull/bargs": "3.6.2",
124125
"cosmiconfig": "9.0.0",
125126
"cosmiconfig-typescript-loader": "6.2.0",
126127
"glob": "13.0.0",
127128
"minimatch": "10.1.1",
128129
"tinybench": "6.0.0",
129-
"yargs": "18.0.0",
130130
"zod": "4.2.1"
131131
},
132132
"devDependencies": {
@@ -141,7 +141,6 @@
141141
"@types/mocha": "10.0.10",
142142
"@types/node": "24.10.4",
143143
"@types/wallabyjs": "0.0.15",
144-
"@types/yargs": "17.0.35",
145144
"asciinema-player": "3.13.5",
146145
"astro": "5.16.6",
147146
"astro-broken-link-checker": "file:./vendor/astro-broken-link-checker",

src/cli/commands/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import { hasErrorCode, isError } from '../../utils/type-guards.js';
4646
* arguments provide values. They represent sensible defaults for running
4747
* benchmarks.
4848
*/
49-
export const RUN_COMMAND_DEFAULTS = {
49+
const RUN_COMMAND_DEFAULTS = {
5050
bail: false,
5151
quiet: false,
5252
reporters: ['human'],

0 commit comments

Comments
 (0)