@oclif/plugin-test-esbuild 0.2.0 → 0.2.2
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 +5 -5
- package/dist/index.js +6 -6
- package/oclif.manifest.json +9 -9
- package/package.json +1 -1
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.2.
|
|
21
|
+
@oclif/plugin-test-esbuild/0.2.2 linux-x64 node-v20.11.0
|
|
22
22
|
$ bundle --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ bundle COMMAND
|
|
@@ -27,7 +27,7 @@ USAGE
|
|
|
27
27
|
<!-- usagestop -->
|
|
28
28
|
# Commands
|
|
29
29
|
<!-- commands -->
|
|
30
|
-
* [`bundle esbuild [
|
|
30
|
+
* [`bundle esbuild [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG]`](#bundle-esbuild-optionalarg-defaultarg-defaultfnarg)
|
|
31
31
|
* [`bundle hello PERSON`](#bundle-hello-person)
|
|
32
32
|
* [`bundle hello alias`](#bundle-hello-alias)
|
|
33
33
|
* [`bundle hello world`](#bundle-hello-world)
|
|
@@ -43,12 +43,12 @@ USAGE
|
|
|
43
43
|
* [`bundle plugins:uninstall PLUGIN...`](#bundle-pluginsuninstall-plugin-2)
|
|
44
44
|
* [`bundle plugins update`](#bundle-plugins-update)
|
|
45
45
|
|
|
46
|
-
## `bundle esbuild [
|
|
46
|
+
## `bundle esbuild [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG]`
|
|
47
47
|
|
|
48
48
|
```
|
|
49
49
|
USAGE
|
|
50
|
-
$ bundle esbuild [
|
|
51
|
-
[--defaultString <value>] [--
|
|
50
|
+
$ bundle esbuild [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG] [--json] [--optionalString <value>]
|
|
51
|
+
[--defaultString <value>] [--defaultFnString <value>]
|
|
52
52
|
|
|
53
53
|
FLAGS
|
|
54
54
|
--defaultFnString=<value> [default: async fn default]
|
package/dist/index.js
CHANGED
|
@@ -230576,23 +230576,23 @@ module.exports = __toCommonJS(src_exports);
|
|
|
230576
230576
|
var import_core = __toESM(require_lib2());
|
|
230577
230577
|
var ESBuild = class _ESBuild extends import_core.Command {
|
|
230578
230578
|
static args = {
|
|
230579
|
+
optionalArg: import_core.Args.string(),
|
|
230579
230580
|
defaultArg: import_core.Args.string({
|
|
230580
230581
|
default: "simple string default"
|
|
230581
230582
|
}),
|
|
230582
230583
|
defaultFnArg: import_core.Args.string({
|
|
230583
230584
|
default: async () => "async fn default"
|
|
230584
|
-
})
|
|
230585
|
-
optionalArg: import_core.Args.string()
|
|
230585
|
+
})
|
|
230586
230586
|
};
|
|
230587
230587
|
static enableJsonFlag = true;
|
|
230588
230588
|
static flags = {
|
|
230589
|
-
|
|
230590
|
-
default: async () => "async fn default"
|
|
230591
|
-
}),
|
|
230589
|
+
optionalString: import_core.Flags.string(),
|
|
230592
230590
|
defaultString: import_core.Flags.string({
|
|
230593
230591
|
default: "simple string default"
|
|
230594
230592
|
}),
|
|
230595
|
-
|
|
230593
|
+
defaultFnString: import_core.Flags.string({
|
|
230594
|
+
default: async () => "async fn default"
|
|
230595
|
+
})
|
|
230596
230596
|
};
|
|
230597
230597
|
async run() {
|
|
230598
230598
|
const { args, flags } = await this.parse(_ESBuild);
|
package/oclif.manifest.json
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
"esbuild": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {
|
|
6
|
+
"optionalArg": {
|
|
7
|
+
"name": "optionalArg"
|
|
8
|
+
},
|
|
6
9
|
"defaultArg": {
|
|
7
10
|
"default": "simple string default",
|
|
8
11
|
"name": "defaultArg"
|
|
@@ -10,9 +13,6 @@
|
|
|
10
13
|
"defaultFnArg": {
|
|
11
14
|
"default": "async fn default",
|
|
12
15
|
"name": "defaultFnArg"
|
|
13
|
-
},
|
|
14
|
-
"optionalArg": {
|
|
15
|
-
"name": "optionalArg"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"flags": {
|
|
@@ -23,9 +23,8 @@
|
|
|
23
23
|
"allowNo": false,
|
|
24
24
|
"type": "boolean"
|
|
25
25
|
},
|
|
26
|
-
"
|
|
27
|
-
"name": "
|
|
28
|
-
"default": "async fn default",
|
|
26
|
+
"optionalString": {
|
|
27
|
+
"name": "optionalString",
|
|
29
28
|
"hasDynamicHelp": false,
|
|
30
29
|
"multiple": false,
|
|
31
30
|
"type": "option"
|
|
@@ -37,8 +36,9 @@
|
|
|
37
36
|
"multiple": false,
|
|
38
37
|
"type": "option"
|
|
39
38
|
},
|
|
40
|
-
"
|
|
41
|
-
"name": "
|
|
39
|
+
"defaultFnString": {
|
|
40
|
+
"name": "defaultFnString",
|
|
41
|
+
"default": "async fn default",
|
|
42
42
|
"hasDynamicHelp": false,
|
|
43
43
|
"multiple": false,
|
|
44
44
|
"type": "option"
|
|
@@ -121,5 +121,5 @@
|
|
|
121
121
|
"enableJsonFlag": false
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
"version": "0.2.
|
|
124
|
+
"version": "0.2.2"
|
|
125
125
|
}
|