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

Commit c416eb5

Browse files
committed
fix: rename to oclif
1 parent b9ee8e6 commit c416eb5

File tree

4 files changed

+32
-58
lines changed

4 files changed

+32
-58
lines changed

package.json

+3-21
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,15 @@
44
"version": "1.2.19",
55
"author": "Jeff Dickey @jdxcode",
66
"bugs": "https://github.com/oclif/command/issues",
7-
"anycli": {
8-
"scope": "oclif",
9-
"devPlugins": [
10-
"@anycli/plugin-plugins",
11-
"@anycli/plugin-not-found",
12-
"@anycli/plugin-help"
13-
]
14-
},
15-
"oclif": {
16-
"scope": "oclif",
17-
"devPlugins": [
18-
"@anycli/plugin-plugins",
19-
"@anycli/plugin-not-found",
20-
"@anycli/plugin-help"
21-
]
22-
},
237
"dependencies": {
24-
"@oclif/parser": "^3.2.6"
8+
"@oclif/parser": "^3.2.8"
259
},
2610
"devDependencies": {
27-
"@anycli/config": "^1.3.45",
28-
"@anycli/errors": "^0.2.2",
29-
"@anycli/plugin-help": "^0.7.2",
3011
"@anycli/plugin-not-found": "^0.1.19",
3112
"@anycli/plugin-plugins": "^0.2.15",
32-
"@oclif/config": "^1.3.43",
13+
"@oclif/config": "^1.3.47",
3314
"@oclif/errors": "^1.0.1",
15+
"@oclif/plugin-help": "^0.7.2",
3416
"@oclif/tslint": "^0.2.7",
3517
"@types/chai": "^4.1.2",
3618
"@types/mocha": "^2.2.48",

src/command.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const pjson = require('../package.json')
33
import * as Config from '@oclif/config'
44
import * as Errors from '@oclif/errors'
55
import * as Parser from '@oclif/parser'
6-
import Help from '@anycli/plugin-help'
6+
import Help from '@oclif/plugin-help'
77
import {inspect} from 'util'
88

99
import * as flags from './flags'
@@ -111,7 +111,7 @@ export default abstract class Command {
111111
}
112112

113113
protected _help() {
114-
const HHelp: typeof Help = require('@anycli/plugin-help').default
114+
const HHelp: typeof Help = require('@oclif/plugin-help').default
115115
const help = new HHelp(this.config)
116116
help.showHelp(this.argv)
117117
this.exit(0)

src/flags.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {IConfig} from '@oclif/config'
22
import * as Parser from '@oclif/parser'
3-
import Help from '@anycli/plugin-help'
3+
import Help from '@oclif/plugin-help'
44

55
import {Command} from '.'
66

@@ -77,7 +77,7 @@ export const help = (opts: Partial<Parser.flags.IBooleanFlag<boolean>> = {}) =>
7777
description: 'show CLI help',
7878
...opts,
7979
parse: (_: any, cmd: Command) => {
80-
const HHelp: typeof Help = require('@anycli/plugin-help').default
80+
const HHelp: typeof Help = require('@oclif/plugin-help').default
8181
const help = new HHelp(cmd.config)
8282
help.showHelp(cmd.argv)
8383
cmd.exit(0)

yarn.lock

+25-33
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,10 @@
88
dependencies:
99
"@anycli/parser" "^3.2.6"
1010

11-
"@anycli/config@^1.3.45":
12-
version "1.3.45"
13-
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.3.45.tgz#c92c96bab9fcb5b1347d85ef1dbeb93324f31182"
14-
15-
"@anycli/errors@^0.2.2":
16-
version "0.2.2"
17-
resolved "https://registry.yarnpkg.com/@anycli/errors/-/errors-0.2.2.tgz#1e9c8716a2164a52053dae23d7659b23dcb5e143"
18-
dependencies:
19-
clean-stack "^1.3.0"
20-
fs-extra "^5.0.0"
21-
indent-string "^3.2.0"
22-
strip-ansi "^4.0.0"
23-
wrap-ansi "^3.0.1"
24-
2511
"@anycli/parser@^3.2.6":
2612
version "3.2.6"
2713
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.2.6.tgz#bbd119a80709099179a9f11af0dc44b68c54575b"
2814

29-
"@anycli/plugin-help@^0.7.2":
30-
version "0.7.2"
31-
resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.7.2.tgz#8bf8aad477c358c0a13f29301d9cee062c7602e2"
32-
dependencies:
33-
"@anycli/command" "^1.2.18"
34-
chalk "^2.3.0"
35-
indent-string "^3.2.0"
36-
lodash.template "^4.4.0"
37-
string-width "^2.1.1"
38-
widest-line "^2.0.0"
39-
wrap-ansi "^3.0.1"
40-
4115
"@anycli/plugin-not-found@^0.1.19":
4216
version "0.1.20"
4317
resolved "https://registry.yarnpkg.com/@anycli/plugin-not-found/-/plugin-not-found-0.1.20.tgz#5eec502ea95516268a42dfd47e79fd219f2333fc"
@@ -76,9 +50,15 @@
7650
version "1.0.0"
7751
resolved "https://registry.yarnpkg.com/@heroku/linewrap/-/linewrap-1.0.0.tgz#a9d4e99f0a3e423a899b775f5f3d6747a1ff15c6"
7852

79-
"@oclif/config@^1.3.43":
80-
version "1.3.46"
81-
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.3.46.tgz#47fcf0a89e8e9955304e880b34c48a77bc08559e"
53+
"@oclif/command@^1.2.19":
54+
version "1.2.19"
55+
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.2.19.tgz#369204c0abf0621c19fa883f31118f6cdb9666a5"
56+
dependencies:
57+
"@oclif/parser" "^3.2.6"
58+
59+
"@oclif/config@^1.3.47":
60+
version "1.3.47"
61+
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.3.47.tgz#7e7cf7ab0634edd60bd1675260ac588e6f6521fe"
8262

8363
"@oclif/errors@^1.0.1":
8464
version "1.0.1"
@@ -90,9 +70,21 @@
9070
strip-ansi "^4.0.0"
9171
wrap-ansi "^3.0.1"
9272

93-
"@oclif/parser@^3.2.6":
94-
version "3.2.7"
95-
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.2.7.tgz#c1c53f3b5f959bea2c449328a6498fb195e7d567"
73+
"@oclif/parser@^3.2.6", "@oclif/parser@^3.2.8":
74+
version "3.2.8"
75+
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.2.8.tgz#2b2e35b5c075d200d70950923acd64e258c5ae1d"
76+
77+
"@oclif/plugin-help@^0.7.2":
78+
version "0.7.2"
79+
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-0.7.2.tgz#1d0ca82c786f6f8f9e7aeb38b52ad6279347f685"
80+
dependencies:
81+
"@oclif/command" "^1.2.19"
82+
chalk "^2.3.1"
83+
indent-string "^3.2.0"
84+
lodash.template "^4.4.0"
85+
string-width "^2.1.1"
86+
widest-line "^2.0.0"
87+
wrap-ansi "^3.0.1"
9688

9789
"@oclif/screen@^1.0.0":
9890
version "1.0.1"
@@ -238,7 +230,7 @@ chalk@^1.1.3:
238230
strip-ansi "^3.0.0"
239231
supports-color "^2.0.0"
240232

241-
chalk@^2.3.0:
233+
chalk@^2.3.0, chalk@^2.3.1:
242234
version "2.3.1"
243235
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.1.tgz#523fe2678aec7b04e8041909292fe8b17059b796"
244236
dependencies:

0 commit comments

Comments
 (0)