@oclif/plugin-test-esbuild 0.3.0 → 0.4.0

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 CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @oclif/plugin-test-esbuild
18
18
  $ bundle COMMAND
19
19
  running command...
20
20
  $ bundle (--version)
21
- @oclif/plugin-test-esbuild/0.3.0 linux-x64 node-v20.11.1
21
+ @oclif/plugin-test-esbuild/0.4.0 linux-x64 node-v20.11.1
22
22
  $ bundle --help [COMMAND]
23
23
  USAGE
24
24
  $ bundle COMMAND
@@ -32,6 +32,16 @@ USAGE
32
32
  * [`bundle hello PERSON`](#bundle-hello-person)
33
33
  * [`bundle hello alias`](#bundle-hello-alias)
34
34
  * [`bundle hello world`](#bundle-hello-world)
35
+ * [`bundle plugins`](#bundle-plugins)
36
+ * [`bundle plugins:install PLUGIN...`](#bundle-pluginsinstall-plugin)
37
+ * [`bundle plugins:inspect PLUGIN...`](#bundle-pluginsinspect-plugin)
38
+ * [`bundle plugins:install PLUGIN...`](#bundle-pluginsinstall-plugin-1)
39
+ * [`bundle plugins:link PLUGIN`](#bundle-pluginslink-plugin)
40
+ * [`bundle plugins:uninstall PLUGIN...`](#bundle-pluginsuninstall-plugin)
41
+ * [`bundle plugins reset`](#bundle-plugins-reset)
42
+ * [`bundle plugins:uninstall PLUGIN...`](#bundle-pluginsuninstall-plugin-1)
43
+ * [`bundle plugins:uninstall PLUGIN...`](#bundle-pluginsuninstall-plugin-2)
44
+ * [`bundle plugins update`](#bundle-plugins-update)
35
45
 
36
46
  ## `bundle esbuild [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG]`
37
47
 
@@ -118,4 +128,269 @@ EXAMPLES
118
128
  $ bundle hello world
119
129
  hello world! (./src/commands/hello/world.ts)
120
130
  ```
131
+
132
+ ## `bundle plugins`
133
+
134
+ List installed plugins.
135
+
136
+ ```
137
+ USAGE
138
+ $ bundle plugins [--json] [--core]
139
+
140
+ FLAGS
141
+ --core Show core plugins.
142
+
143
+ GLOBAL FLAGS
144
+ --json Format output as json.
145
+
146
+ DESCRIPTION
147
+ List installed plugins.
148
+
149
+ EXAMPLES
150
+ $ bundle plugins
151
+ ```
152
+
153
+ ## `bundle plugins:install PLUGIN...`
154
+
155
+ Installs a plugin into the CLI.
156
+
157
+ ```
158
+ USAGE
159
+ $ bundle plugins add plugins:install PLUGIN...
160
+
161
+ ARGUMENTS
162
+ PLUGIN Plugin to install.
163
+
164
+ FLAGS
165
+ -f, --force Run yarn install with force flag.
166
+ -h, --help Show CLI help.
167
+ -s, --silent Silences yarn output.
168
+ -v, --verbose Show verbose yarn output.
169
+
170
+ GLOBAL FLAGS
171
+ --json Format output as json.
172
+
173
+ DESCRIPTION
174
+ Installs a plugin into the CLI.
175
+ Can be installed from npm or a git url.
176
+
177
+ Installation of a user-installed plugin will override a core plugin.
178
+
179
+ e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
180
+ will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
181
+ the CLI without the need to patch and update the whole CLI.
182
+
183
+
184
+ ALIASES
185
+ $ bundle plugins add
186
+
187
+ EXAMPLES
188
+ $ bundle plugins add myplugin
189
+
190
+ $ bundle plugins add https://github.com/someuser/someplugin
191
+
192
+ $ bundle plugins add someuser/someplugin
193
+ ```
194
+
195
+ ## `bundle plugins:inspect PLUGIN...`
196
+
197
+ Displays installation properties of a plugin.
198
+
199
+ ```
200
+ USAGE
201
+ $ bundle plugins inspect PLUGIN...
202
+
203
+ ARGUMENTS
204
+ PLUGIN [default: .] Plugin to inspect.
205
+
206
+ FLAGS
207
+ -h, --help Show CLI help.
208
+ -v, --verbose
209
+
210
+ GLOBAL FLAGS
211
+ --json Format output as json.
212
+
213
+ DESCRIPTION
214
+ Displays installation properties of a plugin.
215
+
216
+ EXAMPLES
217
+ $ bundle plugins inspect myplugin
218
+ ```
219
+
220
+ ## `bundle plugins:install PLUGIN...`
221
+
222
+ Installs a plugin into the CLI.
223
+
224
+ ```
225
+ USAGE
226
+ $ bundle plugins install PLUGIN...
227
+
228
+ ARGUMENTS
229
+ PLUGIN Plugin to install.
230
+
231
+ FLAGS
232
+ -f, --force Run yarn install with force flag.
233
+ -h, --help Show CLI help.
234
+ -s, --silent Silences yarn output.
235
+ -v, --verbose Show verbose yarn output.
236
+
237
+ GLOBAL FLAGS
238
+ --json Format output as json.
239
+
240
+ DESCRIPTION
241
+ Installs a plugin into the CLI.
242
+ Can be installed from npm or a git url.
243
+
244
+ Installation of a user-installed plugin will override a core plugin.
245
+
246
+ e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
247
+ will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
248
+ the CLI without the need to patch and update the whole CLI.
249
+
250
+
251
+ ALIASES
252
+ $ bundle plugins add
253
+
254
+ EXAMPLES
255
+ $ bundle plugins install myplugin
256
+
257
+ $ bundle plugins install https://github.com/someuser/someplugin
258
+
259
+ $ bundle plugins install someuser/someplugin
260
+ ```
261
+
262
+ ## `bundle plugins:link PLUGIN`
263
+
264
+ Links a plugin into the CLI for development.
265
+
266
+ ```
267
+ USAGE
268
+ $ bundle plugins link PLUGIN
269
+
270
+ ARGUMENTS
271
+ PATH [default: .] path to plugin
272
+
273
+ FLAGS
274
+ -h, --help Show CLI help.
275
+ -v, --verbose
276
+ --[no-]install Install dependencies after linking the plugin.
277
+
278
+ DESCRIPTION
279
+ Links a plugin into the CLI for development.
280
+ Installation of a linked plugin will override a user-installed or core plugin.
281
+
282
+ e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
283
+ command will override the user-installed or core plugin implementation. This is useful for development work.
284
+
285
+
286
+ EXAMPLES
287
+ $ bundle plugins link myplugin
288
+ ```
289
+
290
+ ## `bundle plugins:uninstall PLUGIN...`
291
+
292
+ Removes a plugin from the CLI.
293
+
294
+ ```
295
+ USAGE
296
+ $ bundle plugins remove plugins:uninstall PLUGIN...
297
+
298
+ ARGUMENTS
299
+ PLUGIN plugin to uninstall
300
+
301
+ FLAGS
302
+ -h, --help Show CLI help.
303
+ -v, --verbose
304
+
305
+ DESCRIPTION
306
+ Removes a plugin from the CLI.
307
+
308
+ ALIASES
309
+ $ bundle plugins unlink
310
+ $ bundle plugins remove
311
+
312
+ EXAMPLES
313
+ $ bundle plugins remove myplugin
314
+ ```
315
+
316
+ ## `bundle plugins reset`
317
+
318
+ Remove all user-installed and linked plugins.
319
+
320
+ ```
321
+ USAGE
322
+ $ bundle plugins reset [--hard] [--reinstall]
323
+
324
+ FLAGS
325
+ --hard Delete node_modules and package manager related files in addition to uninstalling plugins.
326
+ --reinstall Reinstall all plugins after uninstalling.
327
+ ```
328
+
329
+ ## `bundle plugins:uninstall PLUGIN...`
330
+
331
+ Removes a plugin from the CLI.
332
+
333
+ ```
334
+ USAGE
335
+ $ bundle plugins uninstall PLUGIN...
336
+
337
+ ARGUMENTS
338
+ PLUGIN plugin to uninstall
339
+
340
+ FLAGS
341
+ -h, --help Show CLI help.
342
+ -v, --verbose
343
+
344
+ DESCRIPTION
345
+ Removes a plugin from the CLI.
346
+
347
+ ALIASES
348
+ $ bundle plugins unlink
349
+ $ bundle plugins remove
350
+
351
+ EXAMPLES
352
+ $ bundle plugins uninstall myplugin
353
+ ```
354
+
355
+ ## `bundle plugins:uninstall PLUGIN...`
356
+
357
+ Removes a plugin from the CLI.
358
+
359
+ ```
360
+ USAGE
361
+ $ bundle plugins unlink plugins:uninstall PLUGIN...
362
+
363
+ ARGUMENTS
364
+ PLUGIN plugin to uninstall
365
+
366
+ FLAGS
367
+ -h, --help Show CLI help.
368
+ -v, --verbose
369
+
370
+ DESCRIPTION
371
+ Removes a plugin from the CLI.
372
+
373
+ ALIASES
374
+ $ bundle plugins unlink
375
+ $ bundle plugins remove
376
+
377
+ EXAMPLES
378
+ $ bundle plugins unlink myplugin
379
+ ```
380
+
381
+ ## `bundle plugins update`
382
+
383
+ Update installed plugins.
384
+
385
+ ```
386
+ USAGE
387
+ $ bundle plugins update [-h] [-v]
388
+
389
+ FLAGS
390
+ -h, --help Show CLI help.
391
+ -v, --verbose
392
+
393
+ DESCRIPTION
394
+ Update installed plugins.
395
+ ```
121
396
  <!-- commandsstop -->
@@ -0,0 +1,63 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
9
+ }) : x)(function(x) {
10
+ if (typeof require !== "undefined")
11
+ return require.apply(this, arguments);
12
+ throw Error('Dynamic require of "' + x + '" is not supported');
13
+ });
14
+ var __glob = (map) => (path2) => {
15
+ var fn = map[path2];
16
+ if (fn)
17
+ return fn();
18
+ throw new Error("Module not found in bundle: " + path2);
19
+ };
20
+ var __esm = (fn, res) => function __init() {
21
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
22
+ };
23
+ var __commonJS = (cb, mod) => function __require2() {
24
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
25
+ };
26
+ var __copyProps = (to, from, except, desc) => {
27
+ if (from && typeof from === "object" || typeof from === "function") {
28
+ for (let key of __getOwnPropNames(from))
29
+ if (!__hasOwnProp.call(to, key) && key !== except)
30
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
31
+ }
32
+ return to;
33
+ };
34
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
35
+ // If the importer is in node compatibility mode or this is not an ESM
36
+ // file that has been converted to a CommonJS file using a Babel-
37
+ // compatible transform (i.e. "__esModule" has not been set), then set
38
+ // "default" to the CommonJS "module.exports" for node compatibility.
39
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
40
+ mod
41
+ ));
42
+
43
+ // bin/cjs-shims.js
44
+ import { createRequire } from "node:module";
45
+ import path from "node:path";
46
+ import url from "node:url";
47
+ var init_cjs_shims = __esm({
48
+ "bin/cjs-shims.js"() {
49
+ "use strict";
50
+ globalThis.require = createRequire(import.meta.url);
51
+ globalThis.__filename = url.fileURLToPath(import.meta.url);
52
+ globalThis.__dirname = path.dirname(__filename);
53
+ }
54
+ });
55
+
56
+ export {
57
+ __require,
58
+ __glob,
59
+ __esm,
60
+ __commonJS,
61
+ __toESM,
62
+ init_cjs_shims
63
+ };
@@ -1,8 +1,10 @@
1
1
  import {
2
- __toESM,
3
- init_cjs_shims,
4
2
  require_lib
5
- } from "./chunk-6MP3HI3C.js";
3
+ } from "./chunk-SP5LIBJJ.js";
4
+ import {
5
+ __toESM,
6
+ init_cjs_shims
7
+ } from "./chunk-CKYVUCCZ.js";
6
8
 
7
9
  // src/commands/esbuild.ts
8
10
  init_cjs_shims();
@@ -1,8 +1,10 @@
1
1
  import {
2
- __toESM,
3
- init_cjs_shims,
4
2
  require_lib
5
- } from "./chunk-6MP3HI3C.js";
3
+ } from "./chunk-SP5LIBJJ.js";
4
+ import {
5
+ __toESM,
6
+ init_cjs_shims
7
+ } from "./chunk-CKYVUCCZ.js";
6
8
 
7
9
  // src/hooks/init/init.ts
8
10
  init_cjs_shims();
@@ -1,8 +1,10 @@
1
1
  import {
2
- __toESM,
3
- init_cjs_shims,
4
2
  require_lib
5
- } from "./chunk-6MP3HI3C.js";
3
+ } from "./chunk-SP5LIBJJ.js";
4
+ import {
5
+ __toESM,
6
+ init_cjs_shims
7
+ } from "./chunk-CKYVUCCZ.js";
6
8
 
7
9
  // src/commands/hello/index.ts
8
10
  init_cjs_shims();