@oclif/plugin-test-esbuild 0.2.1 → 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 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.1 linux-x64 node-v20.11.0
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
@@ -47,8 +47,8 @@ USAGE
47
47
 
48
48
  ```
49
49
  USAGE
50
- $ bundle esbuild [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG] [--json] [--defaultFnString <value>]
51
- [--defaultString <value>] [--optionalString <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
@@ -230577,7 +230577,6 @@ var import_core = __toESM(require_lib2());
230577
230577
  var ESBuild = class _ESBuild extends import_core.Command {
230578
230578
  static args = {
230579
230579
  optionalArg: import_core.Args.string(),
230580
- // eslint-disable-next-line perfectionist/sort-objects
230581
230580
  defaultArg: import_core.Args.string({
230582
230581
  default: "simple string default"
230583
230582
  }),
@@ -230587,13 +230586,13 @@ var ESBuild = class _ESBuild extends import_core.Command {
230587
230586
  };
230588
230587
  static enableJsonFlag = true;
230589
230588
  static flags = {
230590
- defaultFnString: import_core.Flags.string({
230591
- default: async () => "async fn default"
230592
- }),
230589
+ optionalString: import_core.Flags.string(),
230593
230590
  defaultString: import_core.Flags.string({
230594
230591
  default: "simple string default"
230595
230592
  }),
230596
- optionalString: import_core.Flags.string()
230593
+ defaultFnString: import_core.Flags.string({
230594
+ default: async () => "async fn default"
230595
+ })
230597
230596
  };
230598
230597
  async run() {
230599
230598
  const { args, flags } = await this.parse(_ESBuild);
@@ -23,9 +23,8 @@
23
23
  "allowNo": false,
24
24
  "type": "boolean"
25
25
  },
26
- "defaultFnString": {
27
- "name": "defaultFnString",
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
- "optionalString": {
41
- "name": "optionalString",
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.1"
124
+ "version": "0.2.2"
125
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Bundled plugin for testing",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-test-esbuild/issues",