Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit a8a9b25

Browse files
committed
fix: use new plugin names
1 parent a3f35a0 commit a8a9b25

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"devDependencies": {
1515
"@anycli/config": "^0.2.11",
16-
"@anycli/help": "^0.3.5",
16+
"@anycli/plugin-help": "^0.3.6",
1717
"@anycli/tslint": "^0.2.2",
1818
"@types/chai": "^4.1.2",
1919
"@types/lodash": "^4.14.100",

src/command.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const pjson = require('../package.json')
22
import * as Config from '@anycli/config'
3-
import Help from '@anycli/help'
43
import {args} from '@anycli/parser'
4+
import Help from '@anycli/plugin-help'
55
import cli from 'cli-ux'
66
import * as _ from 'lodash'
77

@@ -50,7 +50,7 @@ export default abstract class Command {
5050
if (err instanceof VersionErr) {
5151
cli.info(config.userAgent)
5252
} else if (err instanceof HelpErr || err.message.match(/Unexpected argument: -h/)) {
53-
const Helper: typeof Help = require('@anycli/help').default
53+
const Helper: typeof Help = require('@anycli/plugin-help').default
5454
const help = new Helper(config)
5555
help.command(this.convertToCached())
5656
cli.info(help.command(this.convertToCached()))

yarn.lock

+15-15
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# yarn lockfile v1
33

44

5-
"@anycli/command@^0.3.1":
6-
version "0.3.3"
7-
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.3.tgz#38f2d56fee0c18ad528c3a42d90ae9c97b17d652"
5+
"@anycli/command@^0.3.4":
6+
version "0.3.5"
7+
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.5.tgz#1ae5d93151f00260f8ec576bb67b69d8b8c20999"
88
dependencies:
99
"@anycli/parser" "^3.0.4"
1010
cli-ux "^3.3.12"
@@ -23,27 +23,27 @@
2323
lodash "^4.17.4"
2424
read-pkg "^3.0.0"
2525

26-
"@anycli/help@^0.3.5":
27-
version "0.3.5"
28-
resolved "https://registry.yarnpkg.com/@anycli/help/-/help-0.3.5.tgz#5fc846214da0b2a760885fe42c133bfd2903d5ab"
26+
"@anycli/parser@^3.0.4":
27+
version "3.0.4"
28+
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.0.4.tgz#8714c4f73134625fe3781b9e2b5aa0ebb5685a82"
2929
dependencies:
30-
"@anycli/command" "^0.3.1"
3130
"@anycli/screen" "^0.0.3"
3231
chalk "^2.3.0"
33-
cli-ux "^3.3.12"
34-
indent-string "^3.2.0"
3532
lodash "^4.17.4"
36-
string-width "^2.1.1"
37-
widest-line "^2.0.0"
38-
wrap-ansi "^3.0.1"
3933

40-
"@anycli/parser@^3.0.4":
41-
version "3.0.4"
42-
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.0.4.tgz#8714c4f73134625fe3781b9e2b5aa0ebb5685a82"
34+
"@anycli/plugin-help@^0.3.6":
35+
version "0.3.6"
36+
resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.3.6.tgz#f7f8aac308c0a91dfb5f7f0ca79c91d4585bc4d7"
4337
dependencies:
38+
"@anycli/command" "^0.3.4"
4439
"@anycli/screen" "^0.0.3"
4540
chalk "^2.3.0"
41+
cli-ux "^3.3.12"
42+
indent-string "^3.2.0"
4643
lodash "^4.17.4"
44+
string-width "^2.1.1"
45+
widest-line "^2.0.0"
46+
wrap-ansi "^3.0.1"
4747

4848
"@anycli/screen@^0.0.3":
4949
version "0.0.3"

0 commit comments

Comments
 (0)