Skip to content

Commit bc6639e

Browse files
committed
Remove commander dependency
It was supposed to be useful when running the binary as a CLI app. If it only runs one thing and is run from a hook, the commander features are not needed.
1 parent 68568d9 commit bc6639e

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"license": "MIT",
1010
"private": false,
1111
"dependencies": {
12-
"commander": "^2.19.0",
1312
"cosmiconfig": "^5.0.7",
1413
"execa": "^1.0.0",
1514
"micromatch": "^3.1.10",

run-if-changed.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env node
22

3-
require('./src/cliInit')();
4-
53
const config = require('./src/configLoad')();
64
const changedFiles = require('./src/gitChangedFilesSinceLastHead')();
75

src/cliInit.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ color-name@1.1.3:
338338
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
339339
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
340340

341-
commander@^2.14.1, commander@^2.19.0, commander@^2.9.0:
341+
commander@^2.14.1, commander@^2.9.0:
342342
version "2.19.0"
343343
resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a"
344344
integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==

0 commit comments

Comments
 (0)