git-semver-tagger 1.4.26 → 1.4.28

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.
@@ -1,7 +1,8 @@
1
- (function (_, kotlin_kotlin, kotlin_com_zegreatrob_tools_tagger_core, kotlin_clikt_clikt, kotlin_com_zegreatrob_tools_git_adapter, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json, kotlin_com_zegreatrob_tools_cli_tools, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
1
+ (function (_, kotlin_clikt_clikt, kotlin_kotlin, kotlin_com_zegreatrob_tools_tagger_core, kotlin_com_zegreatrob_tools_git_adapter, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json, kotlin_com_zegreatrob_tools_cli_tools, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
+ var CliktError = kotlin_clikt_clikt.$_$.b;
5
6
  var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.g;
6
7
  var Regex_init_$Create$ = kotlin_kotlin.$_$.y;
7
8
  var VersionRegex = kotlin_com_zegreatrob_tools_tagger_core.$_$.c;
@@ -9,15 +10,16 @@
9
10
  var CliktCommand = kotlin_clikt_clikt.$_$.a;
10
11
  var context = kotlin_clikt_clikt.$_$.c;
11
12
  var argument = kotlin_clikt_clikt.$_$.e;
12
- var option = kotlin_clikt_clikt.$_$.h;
13
- var boolean = kotlin_clikt_clikt.$_$.j;
14
- var default_0 = kotlin_clikt_clikt.$_$.f;
13
+ var optional = kotlin_clikt_clikt.$_$.f;
14
+ var VOID = kotlin_kotlin.$_$.f;
15
+ var option = kotlin_clikt_clikt.$_$.i;
16
+ var boolean = kotlin_clikt_clikt.$_$.k;
17
+ var default_0 = kotlin_clikt_clikt.$_$.g;
15
18
  var Defaults_getInstance = kotlin_com_zegreatrob_tools_tagger_core.$_$.h;
16
19
  var Companion_instance = kotlin_com_zegreatrob_tools_tagger_core.$_$.g;
17
20
  var GitAdapter = kotlin_com_zegreatrob_tools_git_adapter.$_$.a;
18
21
  var TaggerCore = kotlin_com_zegreatrob_tools_tagger_core.$_$.b;
19
22
  var calculateNextVersion = kotlin_com_zegreatrob_tools_tagger_core.$_$.d;
20
- var VOID = kotlin_kotlin.$_$.f;
21
23
  var protoOf = kotlin_kotlin.$_$.ca;
22
24
  var classMeta = kotlin_kotlin.$_$.x8;
23
25
  var setMetadataFor = kotlin_kotlin.$_$.da;
@@ -27,12 +29,12 @@
27
29
  var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
28
30
  var collectionSizeOrDefault = kotlin_kotlin.$_$.e5;
29
31
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
30
- var Companion_instance_0 = kotlin_clikt_clikt.$_$.l;
32
+ var Companion_instance_0 = kotlin_clikt_clikt.$_$.m;
31
33
  var get_jsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
32
34
  var JsonArray = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
33
35
  var IllegalArgumentException = kotlin_kotlin.$_$.yd;
34
36
  var split = kotlin_kotlin.$_$.pc;
35
- var Companion_instance_1 = kotlin_clikt_clikt.$_$.k;
37
+ var Companion_instance_1 = kotlin_clikt_clikt.$_$.l;
36
38
  var listOf = kotlin_kotlin.$_$.w6;
37
39
  var Regex_init_$Create$_0 = kotlin_kotlin.$_$.x;
38
40
  var readFromFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.b;
@@ -48,13 +50,12 @@
48
50
  var toString = kotlin_kotlin.$_$.a2;
49
51
  var platformArgCorrection = kotlin_com_zegreatrob_tools_cli_tools.$_$.a;
50
52
  var subcommands = kotlin_clikt_clikt.$_$.d;
51
- var required = kotlin_clikt_clikt.$_$.i;
53
+ var required = kotlin_clikt_clikt.$_$.j;
52
54
  var tag = kotlin_com_zegreatrob_tools_tagger_core.$_$.e;
53
- var CliktError = kotlin_clikt_clikt.$_$.b;
54
55
  var Error_0 = kotlin_com_zegreatrob_tools_tagger_core.$_$.a;
55
56
  var Success_getInstance = kotlin_com_zegreatrob_tools_tagger_core.$_$.f;
56
57
  var equals = kotlin_kotlin.$_$.z8;
57
- var flag = kotlin_clikt_clikt.$_$.g;
58
+ var flag = kotlin_clikt_clikt.$_$.h;
58
59
  var objectMeta = kotlin_kotlin.$_$.ba;
59
60
  var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s1;
60
61
  var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
@@ -77,29 +78,43 @@
77
78
  setMetadataFor($serializer, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
78
79
  setMetadataFor(TaggerConfig, 'TaggerConfig', classMeta, VOID, VOID, TaggerConfig, VOID, {0: $serializer_getInstance});
79
80
  //endregion
80
- function _get_dir__e67350($this) {
81
- return $this.u3i_1.q34($this, dir$factory_0());
81
+ function _get_gitRepoArgument__zxde8($this) {
82
+ return $this.w3i_1.x34($this, gitRepoArgument$factory_0());
83
+ }
84
+ function _get_gitRepoOption__rk7ta0($this) {
85
+ return $this.x3i_1.x34($this, gitRepoOption$factory_0());
86
+ }
87
+ function _get_workingDirectory__eyfbj($this) {
88
+ var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8($this);
89
+ var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? _get_gitRepoOption__rk7ta0($this) : tmp0_elvis_lhs;
90
+ var tmp;
91
+ if (tmp1_elvis_lhs == null) {
92
+ throw new CliktError('No target directory');
93
+ } else {
94
+ tmp = tmp1_elvis_lhs;
95
+ }
96
+ return tmp;
82
97
  }
83
98
  function _get_implicitPatch__bjk4pa($this) {
84
- return $this.v3i_1.q34($this, implicitPatch$factory_0());
99
+ return $this.y3i_1.x34($this, implicitPatch$factory_0());
85
100
  }
86
101
  function _get_releaseBranch__pqrgbs($this) {
87
- return $this.w3i_1.q34($this, releaseBranch$factory_0());
102
+ return $this.z3i_1.x34($this, releaseBranch$factory_0());
88
103
  }
89
104
  function _get_majorRegex__5j6ypp($this) {
90
- return $this.x3i_1.q34($this, majorRegex$factory_0());
105
+ return $this.a3j_1.x34($this, majorRegex$factory_0());
91
106
  }
92
107
  function _get_minorRegex__20z96h($this) {
93
- return $this.y3i_1.q34($this, minorRegex$factory_0());
108
+ return $this.b3j_1.x34($this, minorRegex$factory_0());
94
109
  }
95
110
  function _get_patchRegex__mtlu2c($this) {
96
- return $this.z3i_1.q34($this, patchRegex$factory_0());
111
+ return $this.c3j_1.x34($this, patchRegex$factory_0());
97
112
  }
98
113
  function _get_noneRegex__1tdbgi($this) {
99
- return $this.a3j_1.q34($this, noneRegex$factory_0());
114
+ return $this.d3j_1.x34($this, noneRegex$factory_0());
100
115
  }
101
116
  function _get_versionRegex__7su5ss($this) {
102
- return $this.b3j_1.q34($this, versionRegex$factory_0());
117
+ return $this.e3j_1.x34($this, versionRegex$factory_0());
103
118
  }
104
119
  function versionRegex($this) {
105
120
  var tmp = Regex_init_$Create$(_get_noneRegex__1tdbgi($this), RegexOption_IGNORE_CASE_getInstance());
@@ -131,7 +146,7 @@
131
146
  // Inline function 'com.github.ajalt.clikt.parameters.options.check.<anonymous>.<anonymous>' call
132
147
  // Inline function 'com.github.ajalt.clikt.parameters.options.check.<anonymous>' call
133
148
  var tmp$ret$2 = $message;
134
- $this$copy.z33(tmp$ret$2);
149
+ $this$copy.g34(tmp$ret$2);
135
150
  }
136
151
  tmp = tmp_0;
137
152
  }
@@ -141,27 +156,28 @@
141
156
  function CalculateVersion() {
142
157
  CliktCommand.call(this);
143
158
  context(this, CalculateVersion$lambda);
144
- this.u3i_1 = argument(this, 'git-repo').s34(this, dir$factory());
145
- this.v3i_1 = default_0(boolean(option(this, [])), true).d35(this, implicitPatch$factory());
146
- this.w3i_1 = option(this, []).d35(this, releaseBranch$factory());
147
- this.x3i_1 = default_0(option(this, []), Defaults_getInstance().c1k_1.p8_1).d35(this, majorRegex$factory());
148
- this.y3i_1 = default_0(option(this, []), Defaults_getInstance().b1k_1.p8_1).d35(this, minorRegex$factory());
149
- this.z3i_1 = default_0(option(this, []), Defaults_getInstance().a1k_1.p8_1).d35(this, patchRegex$factory());
150
- this.a3j_1 = default_0(option(this, []), Defaults_getInstance().z1j_1.p8_1).d35(this, noneRegex$factory());
159
+ this.w3i_1 = optional(argument(this, 'git-repo')).d34(this, gitRepoArgument$factory());
160
+ this.x3i_1 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD').h35(this, gitRepoOption$factory());
161
+ this.y3i_1 = default_0(boolean(option(this, [])), true).h35(this, implicitPatch$factory());
162
+ this.z3i_1 = option(this, []).h35(this, releaseBranch$factory());
163
+ this.a3j_1 = default_0(option(this, []), Defaults_getInstance().c1k_1.p8_1).h35(this, majorRegex$factory());
164
+ this.b3j_1 = default_0(option(this, []), Defaults_getInstance().b1k_1.p8_1).h35(this, minorRegex$factory());
165
+ this.c3j_1 = default_0(option(this, []), Defaults_getInstance().a1k_1.p8_1).h35(this, patchRegex$factory());
166
+ this.d3j_1 = default_0(option(this, []), Defaults_getInstance().z1j_1.p8_1).h35(this, noneRegex$factory());
151
167
  var tmp = this;
152
168
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
153
169
  var this_0 = option(this, []);
154
170
  var message = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
155
171
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
156
172
  // Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
157
- var tmp_0 = this_0.u34();
158
- var tmp_1 = this_0.v34();
159
- var tmp_2 = this_0.w34();
160
- tmp.b3j_1 = this_0.x34(tmp_0, tmp_1, tmp_2, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message)).d35(this, versionRegex$factory());
173
+ var tmp_0 = this_0.y33();
174
+ var tmp_1 = this_0.a35();
175
+ var tmp_2 = this_0.z33();
176
+ tmp.e3j_1 = this_0.b35(tmp_0, tmp_1, tmp_2, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message)).h35(this, versionRegex$factory());
161
177
  }
162
178
  protoOf(CalculateVersion).a2w = function () {
163
179
  // Inline function 'kotlin.run' call
164
- var tmp = new TaggerCore(new GitAdapter(_get_dir__e67350(this)));
180
+ var tmp = new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj(this)));
165
181
  var tmp_0 = _get_implicitPatch__bjk4pa(this);
166
182
  var tmp_1 = versionRegex(this);
167
183
  var tmp0_elvis_lhs = _get_releaseBranch__pqrgbs(this);
@@ -170,9 +186,14 @@
170
186
  this.t2v($this$run.e1i_1);
171
187
  this.t2v($this$run.f1i_1, VOID, true);
172
188
  };
173
- function dir$factory() {
174
- return getPropertyCallableRef('dir', 1, KProperty1, function (receiver) {
175
- return _get_dir__e67350(receiver);
189
+ function gitRepoArgument$factory() {
190
+ return getPropertyCallableRef('gitRepoArgument', 1, KProperty1, function (receiver) {
191
+ return _get_gitRepoArgument__zxde8(receiver);
192
+ }, null);
193
+ }
194
+ function gitRepoOption$factory() {
195
+ return getPropertyCallableRef('gitRepoOption', 1, KProperty1, function (receiver) {
196
+ return _get_gitRepoOption__rk7ta0(receiver);
176
197
  }, null);
177
198
  }
178
199
  function implicitPatch$factory() {
@@ -210,9 +231,14 @@
210
231
  return _get_versionRegex__7su5ss(receiver);
211
232
  }, null);
212
233
  }
213
- function dir$factory_0() {
214
- return getPropertyCallableRef('dir', 1, KProperty1, function (receiver) {
215
- return _get_dir__e67350(receiver);
234
+ function gitRepoArgument$factory_0() {
235
+ return getPropertyCallableRef('gitRepoArgument', 1, KProperty1, function (receiver) {
236
+ return _get_gitRepoArgument__zxde8(receiver);
237
+ }, null);
238
+ }
239
+ function gitRepoOption$factory_0() {
240
+ return getPropertyCallableRef('gitRepoOption', 1, KProperty1, function (receiver) {
241
+ return _get_gitRepoOption__rk7ta0(receiver);
216
242
  }, null);
217
243
  }
218
244
  function implicitPatch$factory_0() {
@@ -272,12 +298,12 @@
272
298
  while (tmp0_iterator_0.u()) {
273
299
  var item = tmp0_iterator_0.w();
274
300
  // Inline function 'com.zegreatrob.tools.tagger.cli.ConfigFileSource.findInvocations.<anonymous>' call
275
- var tmp$ret$0 = Companion_instance_0.m37(get_jsonPrimitive(item).h39());
301
+ var tmp$ret$0 = Companion_instance_0.o37(get_jsonPrimitive(item).j39());
276
302
  destination.q(tmp$ret$0);
277
303
  }
278
304
  return destination;
279
305
  }
280
- return Companion_instance_0.l37(get_jsonPrimitive(cursor).h39());
306
+ return Companion_instance_0.n37(get_jsonPrimitive(cursor).j39());
281
307
  } catch ($p) {
282
308
  if ($p instanceof IllegalArgumentException) {
283
309
  var e = $p;
@@ -290,7 +316,7 @@
290
316
  function parts(_this__u8e3s4, $this) {
291
317
  var tmp0_safe_receiver = _this__u8e3s4.y2w();
292
318
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : split(tmp0_safe_receiver, ['.']);
293
- return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase(Companion_instance_1.n37(_this__u8e3s4), $this)) : tmp1_elvis_lhs;
319
+ return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase(Companion_instance_1.p37(_this__u8e3s4), $this)) : tmp1_elvis_lhs;
294
320
  }
295
321
  function kebabToCamelCase(_this__u8e3s4, $this) {
296
322
  // Inline function 'kotlin.text.toRegex' call
@@ -300,7 +326,7 @@
300
326
  return pattern.h9(_this__u8e3s4, transform);
301
327
  }
302
328
  function readConfigFileAsJsonElement($this) {
303
- var pwd = $this.c3j_1('PWD');
329
+ var pwd = $this.f3j_1('PWD');
304
330
  var tmp0_elvis_lhs = readFromFile('' + pwd + '/.tagger');
305
331
  var tmp;
306
332
  if (tmp0_elvis_lhs == null) {
@@ -316,7 +342,7 @@
316
342
  // Inline function 'kotlinx.serialization.internal.cast' call
317
343
  var this_2 = serializer(this_1, createKType(getKClass(TaggerConfig), arrayOf([]), false));
318
344
  var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
319
- var config = this_0.u37(tmp$ret$1, fileContents);
345
+ var config = this_0.w37(tmp$ret$1, fileContents);
320
346
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
321
347
  var this_3 = Default_getInstance();
322
348
  // Inline function 'kotlinx.serialization.serializer' call
@@ -324,7 +350,7 @@
324
350
  // Inline function 'kotlinx.serialization.internal.cast' call
325
351
  var this_5 = serializer(this_4, createKType(getKClass(TaggerConfig), arrayOf([]), false));
326
352
  var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
327
- var configAsElement = this_3.v37(tmp$ret$4, config);
353
+ var configAsElement = this_3.x37(tmp$ret$4, config);
328
354
  return configAsElement;
329
355
  }
330
356
  function ConfigFileSource$kebabToCamelCase$lambda(it) {
@@ -335,9 +361,9 @@
335
361
  return toString(this_0).toUpperCase();
336
362
  }
337
363
  function ConfigFileSource(envvarReader) {
338
- this.c3j_1 = envvarReader;
364
+ this.f3j_1 = envvarReader;
339
365
  }
340
- protoOf(ConfigFileSource).j35 = function (context, option) {
366
+ protoOf(ConfigFileSource).n35 = function (context, option) {
341
367
  var tmp0_elvis_lhs = readConfigFileAsJsonElement(this);
342
368
  var tmp;
343
369
  if (tmp0_elvis_lhs == null) {
@@ -354,23 +380,37 @@
354
380
  function cli() {
355
381
  return subcommands(subcommands(new Tagger(), [new CalculateVersion()]), [new Tag()]);
356
382
  }
357
- function _get_dir__e67350_0($this) {
358
- return $this.u3j_1.q34($this, dir$factory_2());
383
+ function _get_gitRepoArgument__zxde8_0($this) {
384
+ return $this.x3j_1.x34($this, gitRepoArgument$factory_2());
385
+ }
386
+ function _get_gitRepoOption__rk7ta0_0($this) {
387
+ return $this.y3j_1.x34($this, gitRepoOption$factory_2());
388
+ }
389
+ function _get_workingDirectory__eyfbj_0($this) {
390
+ var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8_0($this);
391
+ var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? _get_gitRepoOption__rk7ta0_0($this) : tmp0_elvis_lhs;
392
+ var tmp;
393
+ if (tmp1_elvis_lhs == null) {
394
+ throw new CliktError('No target directory');
395
+ } else {
396
+ tmp = tmp1_elvis_lhs;
397
+ }
398
+ return tmp;
359
399
  }
360
400
  function _get_releaseBranch__pqrgbs_0($this) {
361
- return $this.v3j_1.q34($this, releaseBranch$factory_2());
401
+ return $this.z3j_1.x34($this, releaseBranch$factory_2());
362
402
  }
363
403
  function _get_version__2bx7w9($this) {
364
- return $this.w3j_1.q34($this, version$factory_0());
404
+ return $this.a3k_1.x34($this, version$factory_0());
365
405
  }
366
406
  function _get_userName__tupjmd($this) {
367
- return $this.x3j_1.q34($this, userName$factory_0());
407
+ return $this.b3k_1.x34($this, userName$factory_0());
368
408
  }
369
409
  function _get_userEmail__21hfkw($this) {
370
- return $this.y3j_1.q34($this, userEmail$factory_0());
410
+ return $this.c3k_1.x34($this, userEmail$factory_0());
371
411
  }
372
412
  function _get_warningsAsErrors__7mpwfd($this) {
373
- return $this.z3j_1.q34($this, warningsAsErrors$factory_0());
413
+ return $this.d3k_1.x34($this, warningsAsErrors$factory_0());
374
414
  }
375
415
  function Tag$lambda($this$context) {
376
416
  $this$context.r2w([new ConfigFileSource($this$context.p2w_1)]);
@@ -379,17 +419,18 @@
379
419
  function Tag() {
380
420
  CliktCommand.call(this);
381
421
  context(this, Tag$lambda);
382
- this.u3j_1 = argument(this, 'git-repo').s34(this, dir$factory_1());
383
- this.v3j_1 = required(option(this, [])).d35(this, releaseBranch$factory_1());
384
- this.w3j_1 = required(option(this, [])).d35(this, version$factory());
385
- this.x3j_1 = option(this, []).d35(this, userName$factory());
386
- this.y3j_1 = option(this, []).d35(this, userEmail$factory());
387
- this.z3j_1 = default_0(boolean(option(this, [])), false).d35(this, warningsAsErrors$factory());
422
+ this.x3j_1 = optional(argument(this, 'git-repo')).d34(this, gitRepoArgument$factory_1());
423
+ this.y3j_1 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD').h35(this, gitRepoOption$factory_1());
424
+ this.z3j_1 = required(option(this, [])).h35(this, releaseBranch$factory_1());
425
+ this.a3k_1 = required(option(this, [])).h35(this, version$factory());
426
+ this.b3k_1 = option(this, []).h35(this, userName$factory());
427
+ this.c3k_1 = option(this, []).h35(this, userEmail$factory());
428
+ this.d3k_1 = default_0(boolean(option(this, [])), false).h35(this, warningsAsErrors$factory());
388
429
  }
389
430
  protoOf(Tag).a2w = function () {
390
431
  // Inline function 'kotlin.let' call
391
432
  // Inline function 'kotlin.contracts.contract' call
392
- var it = tag(new TaggerCore(new GitAdapter(_get_dir__e67350_0(this))), _get_version__2bx7w9(this), _get_releaseBranch__pqrgbs_0(this), _get_userName__tupjmd(this), _get_userEmail__21hfkw(this));
433
+ var it = tag(new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj_0(this))), _get_version__2bx7w9(this), _get_releaseBranch__pqrgbs_0(this), _get_userName__tupjmd(this), _get_userEmail__21hfkw(this));
393
434
  var tmp;
394
435
  if (equals(it, Success_getInstance())) {
395
436
  this.t2v('Success!');
@@ -407,9 +448,14 @@
407
448
  }
408
449
  }
409
450
  };
410
- function dir$factory_1() {
411
- return getPropertyCallableRef('dir', 1, KProperty1, function (receiver) {
412
- return _get_dir__e67350_0(receiver);
451
+ function gitRepoArgument$factory_1() {
452
+ return getPropertyCallableRef('gitRepoArgument', 1, KProperty1, function (receiver) {
453
+ return _get_gitRepoArgument__zxde8_0(receiver);
454
+ }, null);
455
+ }
456
+ function gitRepoOption$factory_1() {
457
+ return getPropertyCallableRef('gitRepoOption', 1, KProperty1, function (receiver) {
458
+ return _get_gitRepoOption__rk7ta0_0(receiver);
413
459
  }, null);
414
460
  }
415
461
  function releaseBranch$factory_1() {
@@ -437,9 +483,14 @@
437
483
  return _get_warningsAsErrors__7mpwfd(receiver);
438
484
  }, null);
439
485
  }
440
- function dir$factory_2() {
441
- return getPropertyCallableRef('dir', 1, KProperty1, function (receiver) {
442
- return _get_dir__e67350_0(receiver);
486
+ function gitRepoArgument$factory_2() {
487
+ return getPropertyCallableRef('gitRepoArgument', 1, KProperty1, function (receiver) {
488
+ return _get_gitRepoArgument__zxde8_0(receiver);
489
+ }, null);
490
+ }
491
+ function gitRepoOption$factory_2() {
492
+ return getPropertyCallableRef('gitRepoOption', 1, KProperty1, function (receiver) {
493
+ return _get_gitRepoOption__rk7ta0_0(receiver);
443
494
  }, null);
444
495
  }
445
496
  function releaseBranch$factory_2() {
@@ -468,11 +519,11 @@
468
519
  }, null);
469
520
  }
470
521
  function _get_quiet__c6dzoj($this) {
471
- return $this.r3k_1.q34($this, quiet$factory_0());
522
+ return $this.v3k_1.x34($this, quiet$factory_0());
472
523
  }
473
524
  function Tagger() {
474
525
  CliktCommand.call(this);
475
- this.r3k_1 = flag(option(this, ['--quiet', '-q']), [], false).d35(this, quiet$factory());
526
+ this.v3k_1 = flag(option(this, ['--quiet', '-q']), [], false).h35(this, quiet$factory());
476
527
  }
477
528
  protoOf(Tagger).a2w = function () {
478
529
  if (!_get_quiet__c6dzoj(this)) {
@@ -508,10 +559,10 @@
508
559
  tmp0_serialDesc.ct('userName', true);
509
560
  tmp0_serialDesc.ct('userEmail', true);
510
561
  tmp0_serialDesc.ct('warningsAsErrors', true);
511
- this.s3k_1 = tmp0_serialDesc;
562
+ this.w3k_1 = tmp0_serialDesc;
512
563
  }
513
564
  protoOf($serializer).cj = function () {
514
- return this.s3k_1;
565
+ return this.w3k_1;
515
566
  };
516
567
  protoOf($serializer).et = function () {
517
568
  // Inline function 'kotlin.arrayOf' call
@@ -520,7 +571,7 @@
520
571
  return [get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
521
572
  };
522
573
  protoOf($serializer).ej = function (decoder) {
523
- var tmp0_desc = this.s3k_1;
574
+ var tmp0_desc = this.w3k_1;
524
575
  var tmp1_flag = true;
525
576
  var tmp2_index = 0;
526
577
  var tmp3_bitMask0 = 0;
@@ -610,43 +661,43 @@
610
661
  tmp14_input.yl(tmp0_desc);
611
662
  return TaggerConfig_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
612
663
  };
613
- protoOf($serializer).t3k = function (encoder, value) {
614
- var tmp0_desc = this.s3k_1;
664
+ protoOf($serializer).x3k = function (encoder, value) {
665
+ var tmp0_desc = this.w3k_1;
615
666
  var tmp1_output = encoder.xl(tmp0_desc);
616
- if (tmp1_output.tn(tmp0_desc, 0) ? true : !(value.u3k_1 == null)) {
617
- tmp1_output.pn(tmp0_desc, 0, StringSerializer_getInstance(), value.u3k_1);
667
+ if (tmp1_output.tn(tmp0_desc, 0) ? true : !(value.y3k_1 == null)) {
668
+ tmp1_output.pn(tmp0_desc, 0, StringSerializer_getInstance(), value.y3k_1);
618
669
  }
619
- if (tmp1_output.tn(tmp0_desc, 1) ? true : !(value.v3k_1 == null)) {
620
- tmp1_output.pn(tmp0_desc, 1, BooleanSerializer_getInstance(), value.v3k_1);
670
+ if (tmp1_output.tn(tmp0_desc, 1) ? true : !(value.z3k_1 == null)) {
671
+ tmp1_output.pn(tmp0_desc, 1, BooleanSerializer_getInstance(), value.z3k_1);
621
672
  }
622
- if (tmp1_output.tn(tmp0_desc, 2) ? true : !(value.w3k_1 == null)) {
623
- tmp1_output.pn(tmp0_desc, 2, StringSerializer_getInstance(), value.w3k_1);
673
+ if (tmp1_output.tn(tmp0_desc, 2) ? true : !(value.a3l_1 == null)) {
674
+ tmp1_output.pn(tmp0_desc, 2, StringSerializer_getInstance(), value.a3l_1);
624
675
  }
625
- if (tmp1_output.tn(tmp0_desc, 3) ? true : !(value.x3k_1 == null)) {
626
- tmp1_output.pn(tmp0_desc, 3, StringSerializer_getInstance(), value.x3k_1);
676
+ if (tmp1_output.tn(tmp0_desc, 3) ? true : !(value.b3l_1 == null)) {
677
+ tmp1_output.pn(tmp0_desc, 3, StringSerializer_getInstance(), value.b3l_1);
627
678
  }
628
- if (tmp1_output.tn(tmp0_desc, 4) ? true : !(value.y3k_1 == null)) {
629
- tmp1_output.pn(tmp0_desc, 4, StringSerializer_getInstance(), value.y3k_1);
679
+ if (tmp1_output.tn(tmp0_desc, 4) ? true : !(value.c3l_1 == null)) {
680
+ tmp1_output.pn(tmp0_desc, 4, StringSerializer_getInstance(), value.c3l_1);
630
681
  }
631
- if (tmp1_output.tn(tmp0_desc, 5) ? true : !(value.z3k_1 == null)) {
632
- tmp1_output.pn(tmp0_desc, 5, StringSerializer_getInstance(), value.z3k_1);
682
+ if (tmp1_output.tn(tmp0_desc, 5) ? true : !(value.d3l_1 == null)) {
683
+ tmp1_output.pn(tmp0_desc, 5, StringSerializer_getInstance(), value.d3l_1);
633
684
  }
634
- if (tmp1_output.tn(tmp0_desc, 6) ? true : !(value.a3l_1 == null)) {
635
- tmp1_output.pn(tmp0_desc, 6, StringSerializer_getInstance(), value.a3l_1);
685
+ if (tmp1_output.tn(tmp0_desc, 6) ? true : !(value.e3l_1 == null)) {
686
+ tmp1_output.pn(tmp0_desc, 6, StringSerializer_getInstance(), value.e3l_1);
636
687
  }
637
- if (tmp1_output.tn(tmp0_desc, 7) ? true : !(value.b3l_1 == null)) {
638
- tmp1_output.pn(tmp0_desc, 7, StringSerializer_getInstance(), value.b3l_1);
688
+ if (tmp1_output.tn(tmp0_desc, 7) ? true : !(value.f3l_1 == null)) {
689
+ tmp1_output.pn(tmp0_desc, 7, StringSerializer_getInstance(), value.f3l_1);
639
690
  }
640
- if (tmp1_output.tn(tmp0_desc, 8) ? true : !(value.c3l_1 == null)) {
641
- tmp1_output.pn(tmp0_desc, 8, StringSerializer_getInstance(), value.c3l_1);
691
+ if (tmp1_output.tn(tmp0_desc, 8) ? true : !(value.g3l_1 == null)) {
692
+ tmp1_output.pn(tmp0_desc, 8, StringSerializer_getInstance(), value.g3l_1);
642
693
  }
643
- if (tmp1_output.tn(tmp0_desc, 9) ? true : !(value.d3l_1 == null)) {
644
- tmp1_output.pn(tmp0_desc, 9, BooleanSerializer_getInstance(), value.d3l_1);
694
+ if (tmp1_output.tn(tmp0_desc, 9) ? true : !(value.h3l_1 == null)) {
695
+ tmp1_output.pn(tmp0_desc, 9, BooleanSerializer_getInstance(), value.h3l_1);
645
696
  }
646
697
  tmp1_output.yl(tmp0_desc);
647
698
  };
648
699
  protoOf($serializer).dj = function (encoder, value) {
649
- return this.t3k(encoder, value instanceof TaggerConfig ? value : THROW_CCE());
700
+ return this.x3k(encoder, value instanceof TaggerConfig ? value : THROW_CCE());
650
701
  };
651
702
  var $serializer_instance;
652
703
  function $serializer_getInstance() {
@@ -656,48 +707,48 @@
656
707
  }
657
708
  function TaggerConfig_init_$Init$(seen1, releaseBranch, implicitPatch, majorRegex, minorRegex, patchRegex, versionRegex, noneRegex, userName, userEmail, warningsAsErrors, serializationConstructorMarker, $this) {
658
709
  if (!(0 === (0 & seen1))) {
659
- throwMissingFieldException(seen1, 0, $serializer_getInstance().s3k_1);
710
+ throwMissingFieldException(seen1, 0, $serializer_getInstance().w3k_1);
660
711
  }
661
712
  if (0 === (seen1 & 1))
662
- $this.u3k_1 = null;
713
+ $this.y3k_1 = null;
663
714
  else
664
- $this.u3k_1 = releaseBranch;
715
+ $this.y3k_1 = releaseBranch;
665
716
  if (0 === (seen1 & 2))
666
- $this.v3k_1 = null;
717
+ $this.z3k_1 = null;
667
718
  else
668
- $this.v3k_1 = implicitPatch;
719
+ $this.z3k_1 = implicitPatch;
669
720
  if (0 === (seen1 & 4))
670
- $this.w3k_1 = null;
721
+ $this.a3l_1 = null;
671
722
  else
672
- $this.w3k_1 = majorRegex;
723
+ $this.a3l_1 = majorRegex;
673
724
  if (0 === (seen1 & 8))
674
- $this.x3k_1 = null;
725
+ $this.b3l_1 = null;
675
726
  else
676
- $this.x3k_1 = minorRegex;
727
+ $this.b3l_1 = minorRegex;
677
728
  if (0 === (seen1 & 16))
678
- $this.y3k_1 = null;
729
+ $this.c3l_1 = null;
679
730
  else
680
- $this.y3k_1 = patchRegex;
731
+ $this.c3l_1 = patchRegex;
681
732
  if (0 === (seen1 & 32))
682
- $this.z3k_1 = null;
733
+ $this.d3l_1 = null;
683
734
  else
684
- $this.z3k_1 = versionRegex;
735
+ $this.d3l_1 = versionRegex;
685
736
  if (0 === (seen1 & 64))
686
- $this.a3l_1 = null;
737
+ $this.e3l_1 = null;
687
738
  else
688
- $this.a3l_1 = noneRegex;
739
+ $this.e3l_1 = noneRegex;
689
740
  if (0 === (seen1 & 128))
690
- $this.b3l_1 = null;
741
+ $this.f3l_1 = null;
691
742
  else
692
- $this.b3l_1 = userName;
743
+ $this.f3l_1 = userName;
693
744
  if (0 === (seen1 & 256))
694
- $this.c3l_1 = null;
745
+ $this.g3l_1 = null;
695
746
  else
696
- $this.c3l_1 = userEmail;
747
+ $this.g3l_1 = userEmail;
697
748
  if (0 === (seen1 & 512))
698
- $this.d3l_1 = null;
749
+ $this.h3l_1 = null;
699
750
  else
700
- $this.d3l_1 = warningsAsErrors;
751
+ $this.h3l_1 = warningsAsErrors;
701
752
  return $this;
702
753
  }
703
754
  function TaggerConfig_init_$Create$(seen1, releaseBranch, implicitPatch, majorRegex, minorRegex, patchRegex, versionRegex, noneRegex, userName, userEmail, warningsAsErrors, serializationConstructorMarker) {
@@ -714,31 +765,31 @@
714
765
  userName = userName === VOID ? null : userName;
715
766
  userEmail = userEmail === VOID ? null : userEmail;
716
767
  warningsAsErrors = warningsAsErrors === VOID ? null : warningsAsErrors;
717
- this.u3k_1 = releaseBranch;
718
- this.v3k_1 = implicitPatch;
719
- this.w3k_1 = majorRegex;
720
- this.x3k_1 = minorRegex;
721
- this.y3k_1 = patchRegex;
722
- this.z3k_1 = versionRegex;
723
- this.a3l_1 = noneRegex;
724
- this.b3l_1 = userName;
725
- this.c3l_1 = userEmail;
726
- this.d3l_1 = warningsAsErrors;
768
+ this.y3k_1 = releaseBranch;
769
+ this.z3k_1 = implicitPatch;
770
+ this.a3l_1 = majorRegex;
771
+ this.b3l_1 = minorRegex;
772
+ this.c3l_1 = patchRegex;
773
+ this.d3l_1 = versionRegex;
774
+ this.e3l_1 = noneRegex;
775
+ this.f3l_1 = userName;
776
+ this.g3l_1 = userEmail;
777
+ this.h3l_1 = warningsAsErrors;
727
778
  }
728
779
  protoOf(TaggerConfig).toString = function () {
729
- return 'TaggerConfig(releaseBranch=' + this.u3k_1 + ', implicitPatch=' + this.v3k_1 + ', majorRegex=' + this.w3k_1 + ', minorRegex=' + this.x3k_1 + ', patchRegex=' + this.y3k_1 + ', versionRegex=' + this.z3k_1 + ', noneRegex=' + this.a3l_1 + ', userName=' + this.b3l_1 + ', userEmail=' + this.c3l_1 + ', warningsAsErrors=' + this.d3l_1 + ')';
780
+ return 'TaggerConfig(releaseBranch=' + this.y3k_1 + ', implicitPatch=' + this.z3k_1 + ', majorRegex=' + this.a3l_1 + ', minorRegex=' + this.b3l_1 + ', patchRegex=' + this.c3l_1 + ', versionRegex=' + this.d3l_1 + ', noneRegex=' + this.e3l_1 + ', userName=' + this.f3l_1 + ', userEmail=' + this.g3l_1 + ', warningsAsErrors=' + this.h3l_1 + ')';
730
781
  };
731
782
  protoOf(TaggerConfig).hashCode = function () {
732
- var result = this.u3k_1 == null ? 0 : getStringHashCode(this.u3k_1);
733
- result = imul(result, 31) + (this.v3k_1 == null ? 0 : getBooleanHashCode(this.v3k_1)) | 0;
734
- result = imul(result, 31) + (this.w3k_1 == null ? 0 : getStringHashCode(this.w3k_1)) | 0;
735
- result = imul(result, 31) + (this.x3k_1 == null ? 0 : getStringHashCode(this.x3k_1)) | 0;
736
- result = imul(result, 31) + (this.y3k_1 == null ? 0 : getStringHashCode(this.y3k_1)) | 0;
737
- result = imul(result, 31) + (this.z3k_1 == null ? 0 : getStringHashCode(this.z3k_1)) | 0;
783
+ var result = this.y3k_1 == null ? 0 : getStringHashCode(this.y3k_1);
784
+ result = imul(result, 31) + (this.z3k_1 == null ? 0 : getBooleanHashCode(this.z3k_1)) | 0;
738
785
  result = imul(result, 31) + (this.a3l_1 == null ? 0 : getStringHashCode(this.a3l_1)) | 0;
739
786
  result = imul(result, 31) + (this.b3l_1 == null ? 0 : getStringHashCode(this.b3l_1)) | 0;
740
787
  result = imul(result, 31) + (this.c3l_1 == null ? 0 : getStringHashCode(this.c3l_1)) | 0;
741
- result = imul(result, 31) + (this.d3l_1 == null ? 0 : getBooleanHashCode(this.d3l_1)) | 0;
788
+ result = imul(result, 31) + (this.d3l_1 == null ? 0 : getStringHashCode(this.d3l_1)) | 0;
789
+ result = imul(result, 31) + (this.e3l_1 == null ? 0 : getStringHashCode(this.e3l_1)) | 0;
790
+ result = imul(result, 31) + (this.f3l_1 == null ? 0 : getStringHashCode(this.f3l_1)) | 0;
791
+ result = imul(result, 31) + (this.g3l_1 == null ? 0 : getStringHashCode(this.g3l_1)) | 0;
792
+ result = imul(result, 31) + (this.h3l_1 == null ? 0 : getBooleanHashCode(this.h3l_1)) | 0;
742
793
  return result;
743
794
  };
744
795
  protoOf(TaggerConfig).equals = function (other) {
@@ -747,14 +798,6 @@
747
798
  if (!(other instanceof TaggerConfig))
748
799
  return false;
749
800
  var tmp0_other_with_cast = other instanceof TaggerConfig ? other : THROW_CCE();
750
- if (!(this.u3k_1 == tmp0_other_with_cast.u3k_1))
751
- return false;
752
- if (!(this.v3k_1 == tmp0_other_with_cast.v3k_1))
753
- return false;
754
- if (!(this.w3k_1 == tmp0_other_with_cast.w3k_1))
755
- return false;
756
- if (!(this.x3k_1 == tmp0_other_with_cast.x3k_1))
757
- return false;
758
801
  if (!(this.y3k_1 == tmp0_other_with_cast.y3k_1))
759
802
  return false;
760
803
  if (!(this.z3k_1 == tmp0_other_with_cast.z3k_1))
@@ -767,6 +810,14 @@
767
810
  return false;
768
811
  if (!(this.d3l_1 == tmp0_other_with_cast.d3l_1))
769
812
  return false;
813
+ if (!(this.e3l_1 == tmp0_other_with_cast.e3l_1))
814
+ return false;
815
+ if (!(this.f3l_1 == tmp0_other_with_cast.f3l_1))
816
+ return false;
817
+ if (!(this.g3l_1 == tmp0_other_with_cast.g3l_1))
818
+ return false;
819
+ if (!(this.h3l_1 == tmp0_other_with_cast.h3l_1))
820
+ return false;
770
821
  return true;
771
822
  };
772
823
  //region block: post-declaration
@@ -777,6 +828,6 @@
777
828
  //endregion
778
829
  main([]);
779
830
  return _;
780
- }(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./tools-tagger-core.js'), require('./clikt-clikt.js'), require('./tools-git-adapter.js'), require('./kotlinx-serialization-kotlinx-serialization-json.js'), require('./tools-cli-tools.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js')));
831
+ }(module.exports, require('./clikt-clikt.js'), require('./kotlin-kotlin-stdlib.js'), require('./tools-tagger-core.js'), require('./tools-git-adapter.js'), require('./kotlinx-serialization-kotlinx-serialization-json.js'), require('./tools-cli-tools.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js')));
781
832
 
782
833
  //# sourceMappingURL=tools-tagger-cli.js.map