1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/lib/config/cmd-list.js TAP > must match snapshot 1`] = `
Object {
"affordances": Object {
"add": "install",
"add-user": "adduser",
"apihelp": "help",
"author": "owner",
"dist-tags": "dist-tag",
"find": "search",
"home": "docs",
"ic": "ci",
"info": "view",
"innit": "init",
"install-clean": "ci",
"isntall": "install",
"isntall-clean": "ci",
"issues": "bugs",
"la": "ll",
"login": "adduser",
"ogr": "org",
"r": "uninstall",
"remove": "uninstall",
"rm": "uninstall",
"rum": "run-script",
"show": "view",
"sit": "cit",
"udpate": "update",
"unlink": "uninstall",
"upgrade": "update",
"urn": "run-script",
"verison": "version",
},
"aliases": Object {
"add": "install",
"add-user": "adduser",
"apihelp": "help",
"author": "owner",
"c": "config",
"cit": "install-ci-test",
"clean-install": "ci",
"clean-install-test": "cit",
"create": "init",
"ddp": "dedupe",
"dist-tags": "dist-tag",
"find": "search",
"home": "docs",
"i": "install",
"ic": "ci",
"info": "view",
"innit": "init",
"install-clean": "ci",
"isntall": "install",
"isntall-clean": "ci",
"issues": "bugs",
"it": "install-test",
"la": "ll",
"list": "ls",
"ln": "link",
"login": "adduser",
"ogr": "org",
"r": "uninstall",
"rb": "rebuild",
"remove": "uninstall",
"rm": "uninstall",
"rum": "run-script",
"run": "run-script",
"s": "search",
"se": "search",
"show": "view",
"sit": "cit",
"t": "test",
"tst": "test",
"udpate": "update",
"un": "uninstall",
"unlink": "uninstall",
"unstar": "star",
"up": "update",
"upgrade": "update",
"urn": "run-script",
"v": "view",
"verison": "version",
},
"cmdList": Array [
"ci",
"install-ci-test",
"install",
"install-test",
"uninstall",
"cache",
"config",
"set",
"get",
"update",
"outdated",
"prune",
"pack",
"find-dupes",
"dedupe",
"hook",
"rebuild",
"link",
"publish",
"star",
"stars",
"adduser",
"login",
"logout",
"unpublish",
"owner",
"access",
"team",
"deprecate",
"shrinkwrap",
"token",
"profile",
"audit",
"fund",
"org",
"help",
"help-search",
"ls",
"ll",
"search",
"view",
"init",
"version",
"edit",
"explore",
"docs",
"repo",
"bugs",
"root",
"prefix",
"bin",
"whoami",
"dist-tag",
"ping",
"test",
"stop",
"start",
"restart",
"run-script",
"completion",
"doctor",
],
"plumbing": Array [
"birthday",
],
"shorthands": Object {
"c": "config",
"cit": "install-ci-test",
"clean-install": "ci",
"clean-install-test": "cit",
"create": "init",
"ddp": "dedupe",
"i": "install",
"it": "install-test",
"list": "ls",
"ln": "link",
"rb": "rebuild",
"run": "run-script",
"s": "search",
"se": "search",
"t": "test",
"tst": "test",
"un": "uninstall",
"unstar": "star",
"up": "update",
"v": "view",
},
}
`
|