@oclif/plugin-test-esbuild 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +276 -1
- package/dist/{chunk-VXI4PM45.js → chunk-6AQAVIMI.js} +1 -1
- package/dist/{chunk-5PYTI2PW.js → chunk-I2Y7BTZP.js} +1 -1
- package/dist/{chunk-6MP3HI3C.js → chunk-NET6CTRU.js} +2 -0
- package/dist/{chunk-WOI45AUT.js → chunk-T3WI7GAZ.js} +1 -1
- package/dist/{chunk-KIJSKMIE.js → chunk-YOJ7W5SK.js} +1 -1
- package/dist/commands/esbuild.js +2 -2
- package/dist/commands/hello/index.js +2 -2
- package/dist/commands/hello/world.js +2 -2
- package/dist/hooks/init/init.js +2 -2
- package/dist/index.js +4322 -18
- package/oclif.manifest.json +294 -1
- package/package.json +8 -3
package/oclif.manifest.json
CHANGED
|
@@ -53,6 +53,299 @@
|
|
|
53
53
|
"strict": true,
|
|
54
54
|
"enableJsonFlag": true
|
|
55
55
|
},
|
|
56
|
+
"plugins": {
|
|
57
|
+
"aliases": [],
|
|
58
|
+
"args": {},
|
|
59
|
+
"description": "List installed plugins.",
|
|
60
|
+
"examples": [
|
|
61
|
+
"<%= config.bin %> <%= command.id %>"
|
|
62
|
+
],
|
|
63
|
+
"flags": {
|
|
64
|
+
"json": {
|
|
65
|
+
"description": "Format output as json.",
|
|
66
|
+
"helpGroup": "GLOBAL",
|
|
67
|
+
"name": "json",
|
|
68
|
+
"allowNo": false,
|
|
69
|
+
"type": "boolean"
|
|
70
|
+
},
|
|
71
|
+
"core": {
|
|
72
|
+
"description": "Show core plugins.",
|
|
73
|
+
"name": "core",
|
|
74
|
+
"allowNo": false,
|
|
75
|
+
"type": "boolean"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"hasDynamicHelp": false,
|
|
79
|
+
"hiddenAliases": [],
|
|
80
|
+
"id": "plugins",
|
|
81
|
+
"pluginAlias": "@oclif/plugin-test-esbuild",
|
|
82
|
+
"pluginName": "@oclif/plugin-test-esbuild",
|
|
83
|
+
"pluginType": "core",
|
|
84
|
+
"strict": true,
|
|
85
|
+
"enableJsonFlag": true
|
|
86
|
+
},
|
|
87
|
+
"plugins:inspect": {
|
|
88
|
+
"aliases": [],
|
|
89
|
+
"args": {
|
|
90
|
+
"plugin": {
|
|
91
|
+
"default": ".",
|
|
92
|
+
"description": "Plugin to inspect.",
|
|
93
|
+
"name": "plugin",
|
|
94
|
+
"required": true
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"description": "Displays installation properties of a plugin.",
|
|
98
|
+
"examples": [
|
|
99
|
+
"<%= config.bin %> <%= command.id %> <%- config.pjson.oclif.examplePlugin || \"myplugin\" %> "
|
|
100
|
+
],
|
|
101
|
+
"flags": {
|
|
102
|
+
"json": {
|
|
103
|
+
"description": "Format output as json.",
|
|
104
|
+
"helpGroup": "GLOBAL",
|
|
105
|
+
"name": "json",
|
|
106
|
+
"allowNo": false,
|
|
107
|
+
"type": "boolean"
|
|
108
|
+
},
|
|
109
|
+
"help": {
|
|
110
|
+
"char": "h",
|
|
111
|
+
"description": "Show CLI help.",
|
|
112
|
+
"name": "help",
|
|
113
|
+
"allowNo": false,
|
|
114
|
+
"type": "boolean"
|
|
115
|
+
},
|
|
116
|
+
"verbose": {
|
|
117
|
+
"char": "v",
|
|
118
|
+
"name": "verbose",
|
|
119
|
+
"allowNo": false,
|
|
120
|
+
"type": "boolean"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"hasDynamicHelp": false,
|
|
124
|
+
"hiddenAliases": [],
|
|
125
|
+
"id": "plugins:inspect",
|
|
126
|
+
"pluginAlias": "@oclif/plugin-test-esbuild",
|
|
127
|
+
"pluginName": "@oclif/plugin-test-esbuild",
|
|
128
|
+
"pluginType": "core",
|
|
129
|
+
"strict": false,
|
|
130
|
+
"usage": "plugins:inspect PLUGIN...",
|
|
131
|
+
"enableJsonFlag": true
|
|
132
|
+
},
|
|
133
|
+
"plugins:install": {
|
|
134
|
+
"aliases": [
|
|
135
|
+
"plugins:add"
|
|
136
|
+
],
|
|
137
|
+
"args": {
|
|
138
|
+
"plugin": {
|
|
139
|
+
"description": "Plugin to install.",
|
|
140
|
+
"name": "plugin",
|
|
141
|
+
"required": true
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"description": "Installs a plugin into the CLI.\nCan be installed from npm or a git url.\n\nInstallation of a user-installed plugin will override a core plugin.\n\ne.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in the CLI without the need to patch and update the whole CLI.\n",
|
|
145
|
+
"examples": [
|
|
146
|
+
"<%= config.bin %> <%= command.id %> <%- config.pjson.oclif.examplePlugin || \"myplugin\" %> ",
|
|
147
|
+
"<%= config.bin %> <%= command.id %> https://github.com/someuser/someplugin",
|
|
148
|
+
"<%= config.bin %> <%= command.id %> someuser/someplugin"
|
|
149
|
+
],
|
|
150
|
+
"flags": {
|
|
151
|
+
"json": {
|
|
152
|
+
"description": "Format output as json.",
|
|
153
|
+
"helpGroup": "GLOBAL",
|
|
154
|
+
"name": "json",
|
|
155
|
+
"allowNo": false,
|
|
156
|
+
"type": "boolean"
|
|
157
|
+
},
|
|
158
|
+
"force": {
|
|
159
|
+
"char": "f",
|
|
160
|
+
"description": "Run yarn install with force flag.",
|
|
161
|
+
"name": "force",
|
|
162
|
+
"allowNo": false,
|
|
163
|
+
"type": "boolean"
|
|
164
|
+
},
|
|
165
|
+
"help": {
|
|
166
|
+
"char": "h",
|
|
167
|
+
"description": "Show CLI help.",
|
|
168
|
+
"name": "help",
|
|
169
|
+
"allowNo": false,
|
|
170
|
+
"type": "boolean"
|
|
171
|
+
},
|
|
172
|
+
"jit": {
|
|
173
|
+
"hidden": true,
|
|
174
|
+
"name": "jit",
|
|
175
|
+
"allowNo": false,
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
178
|
+
"silent": {
|
|
179
|
+
"char": "s",
|
|
180
|
+
"description": "Silences yarn output.",
|
|
181
|
+
"exclusive": [
|
|
182
|
+
"verbose"
|
|
183
|
+
],
|
|
184
|
+
"name": "silent",
|
|
185
|
+
"allowNo": false,
|
|
186
|
+
"type": "boolean"
|
|
187
|
+
},
|
|
188
|
+
"verbose": {
|
|
189
|
+
"char": "v",
|
|
190
|
+
"description": "Show verbose yarn output.",
|
|
191
|
+
"exclusive": [
|
|
192
|
+
"silent"
|
|
193
|
+
],
|
|
194
|
+
"name": "verbose",
|
|
195
|
+
"allowNo": false,
|
|
196
|
+
"type": "boolean"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"hasDynamicHelp": false,
|
|
200
|
+
"hiddenAliases": [],
|
|
201
|
+
"id": "plugins:install",
|
|
202
|
+
"pluginAlias": "@oclif/plugin-test-esbuild",
|
|
203
|
+
"pluginName": "@oclif/plugin-test-esbuild",
|
|
204
|
+
"pluginType": "core",
|
|
205
|
+
"strict": false,
|
|
206
|
+
"usage": "plugins:install PLUGIN...",
|
|
207
|
+
"enableJsonFlag": true
|
|
208
|
+
},
|
|
209
|
+
"plugins:link": {
|
|
210
|
+
"aliases": [],
|
|
211
|
+
"args": {
|
|
212
|
+
"path": {
|
|
213
|
+
"default": ".",
|
|
214
|
+
"description": "path to plugin",
|
|
215
|
+
"name": "path",
|
|
216
|
+
"required": true
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"description": "Links a plugin into the CLI for development.\nInstallation of a linked plugin will override a user-installed or core plugin.\n\ne.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work.\n",
|
|
220
|
+
"examples": [
|
|
221
|
+
"<%= config.bin %> <%= command.id %> <%- config.pjson.oclif.examplePlugin || \"myplugin\" %> "
|
|
222
|
+
],
|
|
223
|
+
"flags": {
|
|
224
|
+
"help": {
|
|
225
|
+
"char": "h",
|
|
226
|
+
"description": "Show CLI help.",
|
|
227
|
+
"name": "help",
|
|
228
|
+
"allowNo": false,
|
|
229
|
+
"type": "boolean"
|
|
230
|
+
},
|
|
231
|
+
"install": {
|
|
232
|
+
"description": "Install dependencies after linking the plugin.",
|
|
233
|
+
"name": "install",
|
|
234
|
+
"allowNo": true,
|
|
235
|
+
"type": "boolean"
|
|
236
|
+
},
|
|
237
|
+
"verbose": {
|
|
238
|
+
"char": "v",
|
|
239
|
+
"name": "verbose",
|
|
240
|
+
"allowNo": false,
|
|
241
|
+
"type": "boolean"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"hasDynamicHelp": false,
|
|
245
|
+
"hiddenAliases": [],
|
|
246
|
+
"id": "plugins:link",
|
|
247
|
+
"pluginAlias": "@oclif/plugin-test-esbuild",
|
|
248
|
+
"pluginName": "@oclif/plugin-test-esbuild",
|
|
249
|
+
"pluginType": "core",
|
|
250
|
+
"strict": true,
|
|
251
|
+
"usage": "plugins:link PLUGIN",
|
|
252
|
+
"enableJsonFlag": false
|
|
253
|
+
},
|
|
254
|
+
"plugins:reset": {
|
|
255
|
+
"aliases": [],
|
|
256
|
+
"args": {},
|
|
257
|
+
"flags": {
|
|
258
|
+
"hard": {
|
|
259
|
+
"name": "hard",
|
|
260
|
+
"summary": "Delete node_modules and package manager related files in addition to uninstalling plugins.",
|
|
261
|
+
"allowNo": false,
|
|
262
|
+
"type": "boolean"
|
|
263
|
+
},
|
|
264
|
+
"reinstall": {
|
|
265
|
+
"name": "reinstall",
|
|
266
|
+
"summary": "Reinstall all plugins after uninstalling.",
|
|
267
|
+
"allowNo": false,
|
|
268
|
+
"type": "boolean"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"hasDynamicHelp": false,
|
|
272
|
+
"hiddenAliases": [],
|
|
273
|
+
"id": "plugins:reset",
|
|
274
|
+
"pluginAlias": "@oclif/plugin-test-esbuild",
|
|
275
|
+
"pluginName": "@oclif/plugin-test-esbuild",
|
|
276
|
+
"pluginType": "core",
|
|
277
|
+
"strict": true,
|
|
278
|
+
"summary": "Remove all user-installed and linked plugins.",
|
|
279
|
+
"enableJsonFlag": false
|
|
280
|
+
},
|
|
281
|
+
"plugins:uninstall": {
|
|
282
|
+
"aliases": [
|
|
283
|
+
"plugins:unlink",
|
|
284
|
+
"plugins:remove"
|
|
285
|
+
],
|
|
286
|
+
"args": {
|
|
287
|
+
"plugin": {
|
|
288
|
+
"description": "plugin to uninstall",
|
|
289
|
+
"name": "plugin"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"description": "Removes a plugin from the CLI.",
|
|
293
|
+
"examples": [
|
|
294
|
+
"<%= config.bin %> <%= command.id %> <%- config.pjson.oclif.examplePlugin || \"myplugin\" %>"
|
|
295
|
+
],
|
|
296
|
+
"flags": {
|
|
297
|
+
"help": {
|
|
298
|
+
"char": "h",
|
|
299
|
+
"description": "Show CLI help.",
|
|
300
|
+
"name": "help",
|
|
301
|
+
"allowNo": false,
|
|
302
|
+
"type": "boolean"
|
|
303
|
+
},
|
|
304
|
+
"verbose": {
|
|
305
|
+
"char": "v",
|
|
306
|
+
"name": "verbose",
|
|
307
|
+
"allowNo": false,
|
|
308
|
+
"type": "boolean"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"hasDynamicHelp": false,
|
|
312
|
+
"hiddenAliases": [],
|
|
313
|
+
"id": "plugins:uninstall",
|
|
314
|
+
"pluginAlias": "@oclif/plugin-test-esbuild",
|
|
315
|
+
"pluginName": "@oclif/plugin-test-esbuild",
|
|
316
|
+
"pluginType": "core",
|
|
317
|
+
"strict": false,
|
|
318
|
+
"usage": "plugins:uninstall PLUGIN...",
|
|
319
|
+
"enableJsonFlag": false
|
|
320
|
+
},
|
|
321
|
+
"plugins:update": {
|
|
322
|
+
"aliases": [],
|
|
323
|
+
"args": {},
|
|
324
|
+
"description": "Update installed plugins.",
|
|
325
|
+
"flags": {
|
|
326
|
+
"help": {
|
|
327
|
+
"char": "h",
|
|
328
|
+
"description": "Show CLI help.",
|
|
329
|
+
"name": "help",
|
|
330
|
+
"allowNo": false,
|
|
331
|
+
"type": "boolean"
|
|
332
|
+
},
|
|
333
|
+
"verbose": {
|
|
334
|
+
"char": "v",
|
|
335
|
+
"name": "verbose",
|
|
336
|
+
"allowNo": false,
|
|
337
|
+
"type": "boolean"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"hasDynamicHelp": false,
|
|
341
|
+
"hiddenAliases": [],
|
|
342
|
+
"id": "plugins:update",
|
|
343
|
+
"pluginAlias": "@oclif/plugin-test-esbuild",
|
|
344
|
+
"pluginName": "@oclif/plugin-test-esbuild",
|
|
345
|
+
"pluginType": "core",
|
|
346
|
+
"strict": true,
|
|
347
|
+
"enableJsonFlag": false
|
|
348
|
+
},
|
|
56
349
|
"esbuild": {
|
|
57
350
|
"aliases": [],
|
|
58
351
|
"args": {
|
|
@@ -174,5 +467,5 @@
|
|
|
174
467
|
"enableJsonFlag": false
|
|
175
468
|
}
|
|
176
469
|
},
|
|
177
|
-
"version": "0.
|
|
470
|
+
"version": "0.4.1"
|
|
178
471
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-test-esbuild",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Bundled plugin for testing",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/plugin-test-esbuild/issues",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@oclif/core": "3.20.1-dev.0",
|
|
15
|
-
"@oclif/plugin-test-esm-1": "^0.7.1"
|
|
15
|
+
"@oclif/plugin-test-esm-1": "^0.7.1",
|
|
16
|
+
"@oclif/plugin-plugins": "4.2.6-dev.0"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@oclif/prettier-config": "^0.2.1",
|
|
@@ -70,7 +71,11 @@
|
|
|
70
71
|
"target": "./dist/index.js",
|
|
71
72
|
"identifier": "ESM1_INIT_HOOK"
|
|
72
73
|
}
|
|
73
|
-
]
|
|
74
|
+
],
|
|
75
|
+
"update": {
|
|
76
|
+
"target": "./dist/index.js",
|
|
77
|
+
"identifier": "UPDATE_HOOK"
|
|
78
|
+
}
|
|
74
79
|
}
|
|
75
80
|
},
|
|
76
81
|
"repository": "oclif/plugin-test-esbuild",
|