Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit e51fb8b

Browse files
committed
fix: update cac
1 parent 3ad34b0 commit e51fb8b

File tree

3 files changed

+6
-23
lines changed

3 files changed

+6
-23
lines changed

bin/cli.js

-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ cli
1616
flags
1717
)
1818

19-
if (!options.generator) {
20-
return cli.showHelp()
21-
}
22-
2319
return require('../')(options)
2420
.run()
2521
.catch(err => {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"author": "egoist <0x142857@gmail.com>",
2121
"license": "MIT",
2222
"dependencies": {
23-
"cac": "^6.0.1",
23+
"cac": "^6.1.3",
2424
"chalk": "^2.4.1",
2525
"conf": "^2.0.0",
2626
"cross-spawn": "^6.0.5",

yarn.lock

+5-18
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,6 @@
169169
into-stream "^4.0.0"
170170
lodash "^4.17.4"
171171

172-
"@types/minimist@^1.2.0":
173-
version "1.2.0"
174-
resolved "http://registry.npmjs.org/@types/minimist/-/minimist-1.2.0.tgz#69a23a3ad29caf0097f06eda59b361ee2f0639f6"
175-
integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=
176-
177172
JSONStream@^1.0.4, JSONStream@^1.3.4:
178173
version "1.3.5"
179174
resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
@@ -1112,12 +1107,12 @@ byte-size@^4.0.3:
11121107
resolved "https://registry.npmjs.org/byte-size/-/byte-size-4.0.4.tgz#29d381709f41aae0d89c631f1c81aec88cd40b23"
11131108
integrity sha512-82RPeneC6nqCdSwCX2hZUz3JPOvN5at/nTEw/CMf05Smu3Hrpo9Psb7LjN+k+XndNArG1EY8L4+BM3aTM4BCvw==
11141109

1115-
cac@^6.0.1:
1116-
version "6.0.1"
1117-
resolved "https://registry.npmjs.org/cac/-/cac-6.0.1.tgz#a0de49a3d64190534fefd907d214622edff30249"
1118-
integrity sha512-9pYdRwP5buE/OHLYF/RUT6iLEbQsBstI36uiVPf9jfiOokH5LyT7UZxIJvzhMnhHdEe9/FlypZzh1cbQAXj20A==
1110+
cac@^6.1.3:
1111+
version "6.1.3"
1112+
resolved "https://registry.npmjs.org/cac/-/cac-6.1.3.tgz#30d3de5c255231288eb00040241c600e47af2a40"
1113+
integrity sha512-IxFpgHi/ZNCWifRlCjM/HE+nLjGadXNNnVdG3Bf6VxcxGUM9Ofoo6eKHZ+YwkP3WrXCLofWkDINZgxFH4+ng7Q==
11191114
dependencies:
1120-
minimost "^1.2.0"
1115+
minimist "^1.2.0"
11211116

11221117
cacache@^10.0.4:
11231118
version "10.0.4"
@@ -5124,14 +5119,6 @@ minimist@~0.0.1:
51245119
resolved "http://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
51255120
integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=
51265121

5127-
minimost@^1.2.0:
5128-
version "1.2.0"
5129-
resolved "https://registry.npmjs.org/minimost/-/minimost-1.2.0.tgz#a37f91d60395fc003180d208ca9e0316bcc4e3a2"
5130-
integrity sha512-/+eWyOtXw41WIUV9rBgrXna11bxbqymebSeW2arsfp/MCGCwe+2czzsOueEtLZgH4xb4QXhje5H9MLCsCPibLA==
5131-
dependencies:
5132-
"@types/minimist" "^1.2.0"
5133-
minimist "^1.2.0"
5134-
51355122
minipass@^2.2.1, minipass@^2.3.3, minipass@^2.3.4:
51365123
version "2.3.5"
51375124
resolved "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848"

0 commit comments

Comments
 (0)