git-semver-tagger 1.6.1 → 1.6.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/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +2349 -1496
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +98 -98
- package/kotlin/clikt-clikt.js +1893 -1891
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +463 -463
- package/kotlin/command-line-tools-tagger-cli.js +221 -221
- package/kotlin/kotlin-kotlin-stdlib.js +976 -939
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2052 -1916
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1347 -1347
- package/kotlin/mordant-mordant.js +1588 -1588
- package/kotlin/tools-cli-tools.js +5 -5
- package/kotlin/tools-digger-core.js +8 -8
- package/kotlin/tools-git-adapter.js +132 -132
- package/kotlin/tools-tagger-core.js +152 -152
- package/package.json +1 -1
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.ba;
|
|
6
|
+
var initMetadataForObject = kotlin_kotlin.$_$.g9;
|
|
7
7
|
var CliktError = kotlin_clikt_clikt.$_$.a;
|
|
8
8
|
var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.g;
|
|
9
9
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
10
10
|
var VersionRegex = kotlin_com_zegreatrob_tools_tagger_core.$_$.c;
|
|
11
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
11
|
+
var Unit_instance = kotlin_kotlin.$_$.e4;
|
|
12
12
|
var CliktCommand = kotlin_clikt_clikt_mordant.$_$.a;
|
|
13
13
|
var context = kotlin_clikt_clikt.$_$.e;
|
|
14
14
|
var argument = kotlin_clikt_clikt.$_$.j;
|
|
@@ -22,57 +22,57 @@
|
|
|
22
22
|
var GitAdapter = kotlin_com_zegreatrob_tools_git_adapter.$_$.a;
|
|
23
23
|
var TaggerCore = kotlin_com_zegreatrob_tools_tagger_core.$_$.b;
|
|
24
24
|
var calculateNextVersion = kotlin_com_zegreatrob_tools_tagger_core.$_$.d;
|
|
25
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
26
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
27
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
28
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
25
|
+
var initMetadataForClass = kotlin_kotlin.$_$.b9;
|
|
26
|
+
var KProperty1 = kotlin_kotlin.$_$.wa;
|
|
27
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.y8;
|
|
28
|
+
var emptyList = kotlin_kotlin.$_$.t5;
|
|
29
29
|
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
|
|
30
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
30
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.c5;
|
|
31
31
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
32
32
|
var Companion_instance_0 = kotlin_clikt_clikt.$_$.s;
|
|
33
33
|
var get_jsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
|
|
34
34
|
var JsonArray = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
35
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
36
|
-
var split = kotlin_kotlin.$_$.
|
|
35
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.xd;
|
|
36
|
+
var split = kotlin_kotlin.$_$.oc;
|
|
37
37
|
var Companion_instance_1 = kotlin_clikt_clikt.$_$.r;
|
|
38
|
-
var listOf = kotlin_kotlin.$_$.
|
|
38
|
+
var listOf = kotlin_kotlin.$_$.p6;
|
|
39
39
|
var Regex_init_$Create$_0 = kotlin_kotlin.$_$.w;
|
|
40
40
|
var readFromFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.b;
|
|
41
41
|
var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
42
42
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
43
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
43
|
+
var arrayOf = kotlin_kotlin.$_$.pe;
|
|
44
44
|
var createKType = kotlin_kotlin.$_$.b;
|
|
45
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
46
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
47
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
48
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
49
|
-
var last = kotlin_kotlin.$_$.
|
|
50
|
-
var toString = kotlin_kotlin.$_$.
|
|
45
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
46
|
+
var THROW_CCE = kotlin_kotlin.$_$.de;
|
|
47
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
48
|
+
var isInterface = kotlin_kotlin.$_$.p9;
|
|
49
|
+
var last = kotlin_kotlin.$_$.cc;
|
|
50
|
+
var toString = kotlin_kotlin.$_$.x1;
|
|
51
51
|
var platformArgCorrection = kotlin_com_zegreatrob_tools_cli_tools.$_$.a;
|
|
52
52
|
var main = kotlin_clikt_clikt.$_$.f;
|
|
53
53
|
var subcommands = kotlin_clikt_clikt.$_$.h;
|
|
54
54
|
var required = kotlin_clikt_clikt.$_$.p;
|
|
55
55
|
var tag = kotlin_com_zegreatrob_tools_tagger_core.$_$.e;
|
|
56
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
56
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ze;
|
|
57
57
|
var Error_0 = kotlin_com_zegreatrob_tools_tagger_core.$_$.a;
|
|
58
58
|
var Success_getInstance = kotlin_com_zegreatrob_tools_tagger_core.$_$.f;
|
|
59
|
-
var equals = kotlin_kotlin.$_$.
|
|
59
|
+
var equals = kotlin_kotlin.$_$.u8;
|
|
60
60
|
var PrintMessage = kotlin_clikt_clikt.$_$.d;
|
|
61
|
-
var setOf = kotlin_kotlin.$_$.
|
|
61
|
+
var setOf = kotlin_kotlin.$_$.f7;
|
|
62
62
|
var eagerOption = kotlin_clikt_clikt.$_$.m;
|
|
63
63
|
var flag = kotlin_clikt_clikt.$_$.n;
|
|
64
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
65
|
-
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
66
|
-
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
67
|
-
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
68
|
-
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
69
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
70
|
-
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
71
|
-
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
72
|
-
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
73
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
74
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
75
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
64
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.c9;
|
|
65
|
+
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
66
|
+
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
67
|
+
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
68
|
+
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
69
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
70
|
+
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1;
|
|
71
|
+
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
72
|
+
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
|
|
73
|
+
var objectCreate = kotlin_kotlin.$_$.aa;
|
|
74
|
+
var getStringHashCode = kotlin_kotlin.$_$.z8;
|
|
75
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.w8;
|
|
76
76
|
//endregion
|
|
77
77
|
//region block: pre-declaration
|
|
78
78
|
initMetadataForObject(Versions, 'Versions');
|
|
@@ -85,17 +85,17 @@
|
|
|
85
85
|
initMetadataForClass(TaggerConfig, 'TaggerConfig', TaggerConfig, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
86
86
|
//endregion
|
|
87
87
|
function Versions() {
|
|
88
|
-
this.
|
|
88
|
+
this.d31_1 = '1.6.2';
|
|
89
89
|
}
|
|
90
90
|
var Versions_instance;
|
|
91
91
|
function Versions_getInstance() {
|
|
92
92
|
return Versions_instance;
|
|
93
93
|
}
|
|
94
94
|
function _get_gitRepoArgument__zxde8($this) {
|
|
95
|
-
return $this.
|
|
95
|
+
return $this.t31_1.n22($this, gitRepoArgument$factory_0());
|
|
96
96
|
}
|
|
97
97
|
function _get_gitRepoOption__rk7ta0($this) {
|
|
98
|
-
return $this.
|
|
98
|
+
return $this.u31_1.n22($this, gitRepoOption$factory_0());
|
|
99
99
|
}
|
|
100
100
|
function _get_workingDirectory__eyfbj($this) {
|
|
101
101
|
var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8($this);
|
|
@@ -109,25 +109,25 @@
|
|
|
109
109
|
return tmp;
|
|
110
110
|
}
|
|
111
111
|
function _get_implicitPatch__bjk4pa($this) {
|
|
112
|
-
return $this.
|
|
112
|
+
return $this.v31_1.n22($this, implicitPatch$factory_0());
|
|
113
113
|
}
|
|
114
114
|
function _get_releaseBranch__pqrgbs($this) {
|
|
115
|
-
return $this.
|
|
115
|
+
return $this.w31_1.n22($this, releaseBranch$factory_0());
|
|
116
116
|
}
|
|
117
117
|
function _get_majorRegex__5j6ypp($this) {
|
|
118
|
-
return $this.
|
|
118
|
+
return $this.x31_1.n22($this, majorRegex$factory_0());
|
|
119
119
|
}
|
|
120
120
|
function _get_minorRegex__20z96h($this) {
|
|
121
|
-
return $this.
|
|
121
|
+
return $this.y31_1.n22($this, minorRegex$factory_0());
|
|
122
122
|
}
|
|
123
123
|
function _get_patchRegex__mtlu2c($this) {
|
|
124
|
-
return $this.
|
|
124
|
+
return $this.z31_1.n22($this, patchRegex$factory_0());
|
|
125
125
|
}
|
|
126
126
|
function _get_noneRegex__1tdbgi($this) {
|
|
127
|
-
return $this.
|
|
127
|
+
return $this.a32_1.n22($this, noneRegex$factory_0());
|
|
128
128
|
}
|
|
129
129
|
function _get_versionRegex__7su5ss($this) {
|
|
130
|
-
return $this.
|
|
130
|
+
return $this.b32_1.n22($this, versionRegex$factory_0());
|
|
131
131
|
}
|
|
132
132
|
function versionRegex($this) {
|
|
133
133
|
var tmp = Regex_init_$Create$(_get_noneRegex__1tdbgi($this), RegexOption_IGNORE_CASE_getInstance());
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
return new VersionRegex(tmp, tmp_0, tmp_1, tmp_2, tmp_3);
|
|
147
147
|
}
|
|
148
148
|
function CalculateVersion$lambda($this$context) {
|
|
149
|
-
$this$context.
|
|
149
|
+
$this$context.v1s([new ConfigFileSource($this$context.r1s_1)]);
|
|
150
150
|
return Unit_instance;
|
|
151
151
|
}
|
|
152
152
|
function CalculateVersion$versionRegex$delegate$lambda($tmp2_check_$receiver, $message) {
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
if (!(it == null)) {
|
|
156
156
|
// Inline function 'com.zegreatrob.tools.tagger.cli.CalculateVersion.versionRegex$delegate.stub_for_inlining' call
|
|
157
157
|
var tmp_0;
|
|
158
|
-
if (!$tmp2_check_$receiver.
|
|
158
|
+
if (!$tmp2_check_$receiver.t1o(it)) {
|
|
159
159
|
// Inline function 'com.github.ajalt.clikt.parameters.options.check.<anonymous>.<anonymous>' call
|
|
160
160
|
// Inline function 'com.github.ajalt.clikt.parameters.options.check.<anonymous>' call
|
|
161
161
|
var tmp$ret$2 = $message;
|
|
162
|
-
$this$copy.
|
|
162
|
+
$this$copy.w21(tmp$ret$2);
|
|
163
163
|
}
|
|
164
164
|
tmp = tmp_0;
|
|
165
165
|
}
|
|
@@ -169,26 +169,26 @@
|
|
|
169
169
|
function CalculateVersion() {
|
|
170
170
|
CliktCommand.call(this);
|
|
171
171
|
context(this, CalculateVersion$lambda);
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
175
|
-
this.
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
179
|
-
this.
|
|
172
|
+
this.t31_1 = optional(argument(this, 'git-repo')).t21(this, gitRepoArgument$factory());
|
|
173
|
+
this.u31_1 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD').x22(this, gitRepoOption$factory());
|
|
174
|
+
this.v31_1 = default_0(boolean(option(this, [])), true).x22(this, implicitPatch$factory());
|
|
175
|
+
this.w31_1 = option(this, []).x22(this, releaseBranch$factory());
|
|
176
|
+
this.x31_1 = default_0(option(this, []), Defaults_getInstance().r1o_1.nc_1).x22(this, majorRegex$factory());
|
|
177
|
+
this.y31_1 = default_0(option(this, []), Defaults_getInstance().q1o_1.nc_1).x22(this, minorRegex$factory());
|
|
178
|
+
this.z31_1 = default_0(option(this, []), Defaults_getInstance().p1o_1.nc_1).x22(this, patchRegex$factory());
|
|
179
|
+
this.a32_1 = default_0(option(this, []), Defaults_getInstance().o1o_1.nc_1).x22(this, noneRegex$factory());
|
|
180
180
|
var tmp = this;
|
|
181
181
|
var tmp0 = option(this, []);
|
|
182
182
|
// Inline function 'com.github.ajalt.clikt.parameters.options.check' call
|
|
183
183
|
var message = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
|
|
184
184
|
// Inline function 'com.github.ajalt.clikt.parameters.options.check' call
|
|
185
185
|
// Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
|
|
186
|
-
var tmp_0 = tmp0.
|
|
187
|
-
var tmp_1 = tmp0.
|
|
188
|
-
var tmp_2 = tmp0.
|
|
189
|
-
tmp.
|
|
186
|
+
var tmp_0 = tmp0.o21();
|
|
187
|
+
var tmp_1 = tmp0.q22();
|
|
188
|
+
var tmp_2 = tmp0.p21();
|
|
189
|
+
tmp.b32_1 = tmp0.r22(tmp_0, tmp_1, tmp_2, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message)).x22(this, versionRegex$factory());
|
|
190
190
|
}
|
|
191
|
-
protoOf(CalculateVersion).
|
|
191
|
+
protoOf(CalculateVersion).n1t = function () {
|
|
192
192
|
var tmp = new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj(this)));
|
|
193
193
|
var tmp_0 = _get_implicitPatch__bjk4pa(this);
|
|
194
194
|
var tmp_1 = versionRegex(this);
|
|
@@ -196,8 +196,8 @@
|
|
|
196
196
|
// Inline function 'kotlin.run' call
|
|
197
197
|
// Inline function 'com.zegreatrob.tools.tagger.cli.CalculateVersion.run.<anonymous>' call
|
|
198
198
|
var $this$run = calculateNextVersion(tmp, tmp_0, tmp_1, tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
|
|
199
|
-
this.
|
|
200
|
-
this.
|
|
199
|
+
this.b1s($this$run.t1m_1);
|
|
200
|
+
this.b1s($this$run.u1m_1, VOID, true);
|
|
201
201
|
};
|
|
202
202
|
function gitRepoArgument$factory() {
|
|
203
203
|
return getPropertyCallableRef('gitRepoArgument', 1, KProperty1, function (receiver) {
|
|
@@ -292,9 +292,9 @@
|
|
|
292
292
|
function findInvocations($this, configAsElement, option) {
|
|
293
293
|
var cursor = configAsElement;
|
|
294
294
|
var parts_0 = parts(option, $this);
|
|
295
|
-
var _iterator__ex2g4s = parts_0.
|
|
296
|
-
while (_iterator__ex2g4s.
|
|
297
|
-
var part = _iterator__ex2g4s.
|
|
295
|
+
var _iterator__ex2g4s = parts_0.p();
|
|
296
|
+
while (_iterator__ex2g4s.q()) {
|
|
297
|
+
var part = _iterator__ex2g4s.r();
|
|
298
298
|
if (!(cursor instanceof JsonObject))
|
|
299
299
|
return emptyList();
|
|
300
300
|
cursor = cursor.md(part);
|
|
@@ -307,16 +307,16 @@
|
|
|
307
307
|
var this_0 = cursor;
|
|
308
308
|
// Inline function 'kotlin.collections.mapTo' call
|
|
309
309
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
310
|
-
var _iterator__ex2g4s_0 = this_0.
|
|
311
|
-
while (_iterator__ex2g4s_0.
|
|
312
|
-
var item = _iterator__ex2g4s_0.
|
|
310
|
+
var _iterator__ex2g4s_0 = this_0.p();
|
|
311
|
+
while (_iterator__ex2g4s_0.q()) {
|
|
312
|
+
var item = _iterator__ex2g4s_0.r();
|
|
313
313
|
// Inline function 'com.zegreatrob.tools.tagger.cli.ConfigFileSource.findInvocations.<anonymous>' call
|
|
314
|
-
var tmp$ret$0 = Companion_instance_0.
|
|
314
|
+
var tmp$ret$0 = Companion_instance_0.n27(get_jsonPrimitive(item).s2r());
|
|
315
315
|
destination.e(tmp$ret$0);
|
|
316
316
|
}
|
|
317
317
|
return destination;
|
|
318
318
|
}
|
|
319
|
-
return Companion_instance_0.
|
|
319
|
+
return Companion_instance_0.m27(get_jsonPrimitive(cursor).s2r());
|
|
320
320
|
} catch ($p) {
|
|
321
321
|
if ($p instanceof IllegalArgumentException) {
|
|
322
322
|
var _unused_var__etf5q3 = $p;
|
|
@@ -327,9 +327,9 @@
|
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
function parts(_this__u8e3s4, $this) {
|
|
330
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
330
|
+
var tmp0_safe_receiver = _this__u8e3s4.b1u();
|
|
331
331
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : split(tmp0_safe_receiver, ['.']);
|
|
332
|
-
return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase(Companion_instance_1.
|
|
332
|
+
return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase(Companion_instance_1.o27(_this__u8e3s4), $this)) : tmp1_elvis_lhs;
|
|
333
333
|
}
|
|
334
334
|
function kebabToCamelCase(_this__u8e3s4, $this) {
|
|
335
335
|
// Inline function 'kotlin.text.toRegex' call
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
return pattern.fd(_this__u8e3s4, transform);
|
|
340
340
|
}
|
|
341
341
|
function readConfigFileAsJsonElement($this) {
|
|
342
|
-
var pwd = $this.
|
|
342
|
+
var pwd = $this.c32_1('PWD');
|
|
343
343
|
var tmp0_elvis_lhs = readFromFile('' + pwd + '/.tagger');
|
|
344
344
|
var tmp;
|
|
345
345
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -351,19 +351,19 @@
|
|
|
351
351
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
352
352
|
var this_0 = Default_getInstance();
|
|
353
353
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
354
|
-
var this_1 = this_0.
|
|
354
|
+
var this_1 = this_0.hp();
|
|
355
355
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
356
356
|
var this_2 = serializer(this_1, createKType(getKClass(TaggerConfig), arrayOf([]), false));
|
|
357
357
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
358
|
-
var config = this_0.
|
|
358
|
+
var config = this_0.f2q(tmp$ret$1, fileContents);
|
|
359
359
|
// Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
|
|
360
360
|
var this_3 = Default_getInstance();
|
|
361
361
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
362
|
-
var this_4 = this_3.
|
|
362
|
+
var this_4 = this_3.hp();
|
|
363
363
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
364
364
|
var this_5 = serializer(this_4, createKType(getKClass(TaggerConfig), arrayOf([]), false));
|
|
365
365
|
var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
|
|
366
|
-
var configAsElement = this_3.
|
|
366
|
+
var configAsElement = this_3.g2q(tmp$ret$4, config);
|
|
367
367
|
return configAsElement;
|
|
368
368
|
}
|
|
369
369
|
function ConfigFileSource$kebabToCamelCase$lambda(it) {
|
|
@@ -374,9 +374,9 @@
|
|
|
374
374
|
return toString(this_0).toUpperCase();
|
|
375
375
|
}
|
|
376
376
|
function ConfigFileSource(envvarReader) {
|
|
377
|
-
this.
|
|
377
|
+
this.c32_1 = envvarReader;
|
|
378
378
|
}
|
|
379
|
-
protoOf(ConfigFileSource).
|
|
379
|
+
protoOf(ConfigFileSource).z22 = function (context, option) {
|
|
380
380
|
var tmp0_elvis_lhs = readConfigFileAsJsonElement(this);
|
|
381
381
|
var tmp;
|
|
382
382
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -397,10 +397,10 @@
|
|
|
397
397
|
main_0([]);
|
|
398
398
|
}
|
|
399
399
|
function _get_gitRepoArgument__zxde8_0($this) {
|
|
400
|
-
return $this.
|
|
400
|
+
return $this.s32_1.n22($this, gitRepoArgument$factory_2());
|
|
401
401
|
}
|
|
402
402
|
function _get_gitRepoOption__rk7ta0_0($this) {
|
|
403
|
-
return $this.
|
|
403
|
+
return $this.t32_1.n22($this, gitRepoOption$factory_2());
|
|
404
404
|
}
|
|
405
405
|
function _get_workingDirectory__eyfbj_0($this) {
|
|
406
406
|
var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8_0($this);
|
|
@@ -414,47 +414,47 @@
|
|
|
414
414
|
return tmp;
|
|
415
415
|
}
|
|
416
416
|
function _get_releaseBranch__pqrgbs_0($this) {
|
|
417
|
-
return $this.
|
|
417
|
+
return $this.u32_1.n22($this, releaseBranch$factory_2());
|
|
418
418
|
}
|
|
419
419
|
function _get_version__2bx7w9($this) {
|
|
420
|
-
return $this.
|
|
420
|
+
return $this.v32_1.n22($this, version$factory_0());
|
|
421
421
|
}
|
|
422
422
|
function _get_userName__tupjmd($this) {
|
|
423
|
-
return $this.
|
|
423
|
+
return $this.w32_1.n22($this, userName$factory_0());
|
|
424
424
|
}
|
|
425
425
|
function _get_userEmail__21hfkw($this) {
|
|
426
|
-
return $this.
|
|
426
|
+
return $this.x32_1.n22($this, userEmail$factory_0());
|
|
427
427
|
}
|
|
428
428
|
function _get_warningsAsErrors__7mpwfd($this) {
|
|
429
|
-
return $this.
|
|
429
|
+
return $this.y32_1.n22($this, warningsAsErrors$factory_0());
|
|
430
430
|
}
|
|
431
431
|
function Tag$lambda($this$context) {
|
|
432
|
-
$this$context.
|
|
432
|
+
$this$context.v1s([new ConfigFileSource($this$context.r1s_1)]);
|
|
433
433
|
return Unit_instance;
|
|
434
434
|
}
|
|
435
435
|
function Tag() {
|
|
436
436
|
CliktCommand.call(this);
|
|
437
437
|
context(this, Tag$lambda);
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
444
|
-
this.
|
|
445
|
-
}
|
|
446
|
-
protoOf(Tag).
|
|
438
|
+
this.s32_1 = optional(argument(this, 'git-repo')).t21(this, gitRepoArgument$factory_1());
|
|
439
|
+
this.t32_1 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD').x22(this, gitRepoOption$factory_1());
|
|
440
|
+
this.u32_1 = required(option(this, [])).x22(this, releaseBranch$factory_1());
|
|
441
|
+
this.v32_1 = required(option(this, [])).x22(this, version$factory());
|
|
442
|
+
this.w32_1 = option(this, []).x22(this, userName$factory());
|
|
443
|
+
this.x32_1 = option(this, []).x22(this, userEmail$factory());
|
|
444
|
+
this.y32_1 = default_0(boolean(option(this, [])), false).x22(this, warningsAsErrors$factory());
|
|
445
|
+
}
|
|
446
|
+
protoOf(Tag).n1t = function () {
|
|
447
447
|
// Inline function 'kotlin.let' call
|
|
448
448
|
// Inline function 'com.zegreatrob.tools.tagger.cli.Tag.run.<anonymous>' call
|
|
449
449
|
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));
|
|
450
450
|
if (equals(it, Success_getInstance())) {
|
|
451
|
-
this.
|
|
451
|
+
this.b1s('Success!');
|
|
452
452
|
} else {
|
|
453
453
|
if (it instanceof Error_0)
|
|
454
454
|
if (_get_warningsAsErrors__7mpwfd(this)) {
|
|
455
|
-
throw new CliktError(it.
|
|
455
|
+
throw new CliktError(it.n1o_1);
|
|
456
456
|
} else {
|
|
457
|
-
this.
|
|
457
|
+
this.b1s(it.n1o_1, VOID, true);
|
|
458
458
|
}
|
|
459
459
|
else {
|
|
460
460
|
noWhenBranchMatchedException();
|
|
@@ -532,28 +532,28 @@
|
|
|
532
532
|
}, null);
|
|
533
533
|
}
|
|
534
534
|
function _get_quiet__c6dzoj($this) {
|
|
535
|
-
return $this.
|
|
535
|
+
return $this.o33_1.n22($this, quiet$factory_0());
|
|
536
536
|
}
|
|
537
537
|
function Tagger$lambda($version, $this) {
|
|
538
538
|
return function ($this$eagerOption) {
|
|
539
539
|
// Inline function 'com.github.ajalt.clikt.parameters.options.versionOption.<anonymous>' call
|
|
540
540
|
var it = $version;
|
|
541
|
-
var tmp$ret$0 = $this.
|
|
541
|
+
var tmp$ret$0 = $this.u1o_1 + ' version ' + it;
|
|
542
542
|
throw new PrintMessage(tmp$ret$0);
|
|
543
543
|
};
|
|
544
544
|
}
|
|
545
545
|
function Tagger() {
|
|
546
546
|
CliktCommand.call(this);
|
|
547
547
|
// Inline function 'com.github.ajalt.clikt.parameters.options.versionOption' call
|
|
548
|
-
var version = Versions_instance.
|
|
548
|
+
var version = Versions_instance.d31_1;
|
|
549
549
|
var help = 'Show the version and exit';
|
|
550
550
|
var names = setOf('--version');
|
|
551
551
|
eagerOption(this, names, help, VOID, VOID, VOID, Tagger$lambda(version, this));
|
|
552
|
-
this.
|
|
552
|
+
this.o33_1 = flag(option(this, ['--quiet', '-q']), [], false).x22(this, quiet$factory());
|
|
553
553
|
}
|
|
554
|
-
protoOf(Tagger).
|
|
554
|
+
protoOf(Tagger).n1t = function () {
|
|
555
555
|
if (!_get_quiet__c6dzoj(this)) {
|
|
556
|
-
this.
|
|
556
|
+
this.b1s('Welcome to Tagger CLI.');
|
|
557
557
|
}
|
|
558
558
|
};
|
|
559
559
|
function quiet$factory() {
|
|
@@ -575,58 +575,58 @@
|
|
|
575
575
|
function $serializer() {
|
|
576
576
|
$serializer_instance = this;
|
|
577
577
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.TaggerConfig', this, 10);
|
|
578
|
-
tmp0_serialDesc.
|
|
579
|
-
tmp0_serialDesc.
|
|
580
|
-
tmp0_serialDesc.
|
|
581
|
-
tmp0_serialDesc.
|
|
582
|
-
tmp0_serialDesc.
|
|
583
|
-
tmp0_serialDesc.
|
|
584
|
-
tmp0_serialDesc.
|
|
585
|
-
tmp0_serialDesc.
|
|
586
|
-
tmp0_serialDesc.
|
|
587
|
-
tmp0_serialDesc.
|
|
588
|
-
this.
|
|
589
|
-
}
|
|
590
|
-
protoOf($serializer).
|
|
591
|
-
var tmp0_desc = this.
|
|
592
|
-
var tmp1_output = encoder.
|
|
593
|
-
if (tmp1_output.
|
|
594
|
-
tmp1_output.
|
|
578
|
+
tmp0_serialDesc.zv('releaseBranch', true);
|
|
579
|
+
tmp0_serialDesc.zv('implicitPatch', true);
|
|
580
|
+
tmp0_serialDesc.zv('majorRegex', true);
|
|
581
|
+
tmp0_serialDesc.zv('minorRegex', true);
|
|
582
|
+
tmp0_serialDesc.zv('patchRegex', true);
|
|
583
|
+
tmp0_serialDesc.zv('versionRegex', true);
|
|
584
|
+
tmp0_serialDesc.zv('noneRegex', true);
|
|
585
|
+
tmp0_serialDesc.zv('userName', true);
|
|
586
|
+
tmp0_serialDesc.zv('userEmail', true);
|
|
587
|
+
tmp0_serialDesc.zv('warningsAsErrors', true);
|
|
588
|
+
this.p33_1 = tmp0_serialDesc;
|
|
589
|
+
}
|
|
590
|
+
protoOf($serializer).q33 = function (encoder, value) {
|
|
591
|
+
var tmp0_desc = this.p33_1;
|
|
592
|
+
var tmp1_output = encoder.so(tmp0_desc);
|
|
593
|
+
if (tmp1_output.oq(tmp0_desc, 0) ? true : !(value.r33_1 == null)) {
|
|
594
|
+
tmp1_output.kq(tmp0_desc, 0, StringSerializer_getInstance(), value.r33_1);
|
|
595
595
|
}
|
|
596
|
-
if (tmp1_output.
|
|
597
|
-
tmp1_output.
|
|
596
|
+
if (tmp1_output.oq(tmp0_desc, 1) ? true : !(value.s33_1 == null)) {
|
|
597
|
+
tmp1_output.kq(tmp0_desc, 1, BooleanSerializer_getInstance(), value.s33_1);
|
|
598
598
|
}
|
|
599
|
-
if (tmp1_output.
|
|
600
|
-
tmp1_output.
|
|
599
|
+
if (tmp1_output.oq(tmp0_desc, 2) ? true : !(value.t33_1 == null)) {
|
|
600
|
+
tmp1_output.kq(tmp0_desc, 2, StringSerializer_getInstance(), value.t33_1);
|
|
601
601
|
}
|
|
602
|
-
if (tmp1_output.
|
|
603
|
-
tmp1_output.
|
|
602
|
+
if (tmp1_output.oq(tmp0_desc, 3) ? true : !(value.u33_1 == null)) {
|
|
603
|
+
tmp1_output.kq(tmp0_desc, 3, StringSerializer_getInstance(), value.u33_1);
|
|
604
604
|
}
|
|
605
|
-
if (tmp1_output.
|
|
606
|
-
tmp1_output.
|
|
605
|
+
if (tmp1_output.oq(tmp0_desc, 4) ? true : !(value.v33_1 == null)) {
|
|
606
|
+
tmp1_output.kq(tmp0_desc, 4, StringSerializer_getInstance(), value.v33_1);
|
|
607
607
|
}
|
|
608
|
-
if (tmp1_output.
|
|
609
|
-
tmp1_output.
|
|
608
|
+
if (tmp1_output.oq(tmp0_desc, 5) ? true : !(value.w33_1 == null)) {
|
|
609
|
+
tmp1_output.kq(tmp0_desc, 5, StringSerializer_getInstance(), value.w33_1);
|
|
610
610
|
}
|
|
611
|
-
if (tmp1_output.
|
|
612
|
-
tmp1_output.
|
|
611
|
+
if (tmp1_output.oq(tmp0_desc, 6) ? true : !(value.x33_1 == null)) {
|
|
612
|
+
tmp1_output.kq(tmp0_desc, 6, StringSerializer_getInstance(), value.x33_1);
|
|
613
613
|
}
|
|
614
|
-
if (tmp1_output.
|
|
615
|
-
tmp1_output.
|
|
614
|
+
if (tmp1_output.oq(tmp0_desc, 7) ? true : !(value.y33_1 == null)) {
|
|
615
|
+
tmp1_output.kq(tmp0_desc, 7, StringSerializer_getInstance(), value.y33_1);
|
|
616
616
|
}
|
|
617
|
-
if (tmp1_output.
|
|
618
|
-
tmp1_output.
|
|
617
|
+
if (tmp1_output.oq(tmp0_desc, 8) ? true : !(value.z33_1 == null)) {
|
|
618
|
+
tmp1_output.kq(tmp0_desc, 8, StringSerializer_getInstance(), value.z33_1);
|
|
619
619
|
}
|
|
620
|
-
if (tmp1_output.
|
|
621
|
-
tmp1_output.
|
|
620
|
+
if (tmp1_output.oq(tmp0_desc, 9) ? true : !(value.a34_1 == null)) {
|
|
621
|
+
tmp1_output.kq(tmp0_desc, 9, BooleanSerializer_getInstance(), value.a34_1);
|
|
622
622
|
}
|
|
623
|
-
tmp1_output.
|
|
623
|
+
tmp1_output.to(tmp0_desc);
|
|
624
624
|
};
|
|
625
625
|
protoOf($serializer).ol = function (encoder, value) {
|
|
626
|
-
return this.
|
|
626
|
+
return this.q33(encoder, value instanceof TaggerConfig ? value : THROW_CCE());
|
|
627
627
|
};
|
|
628
628
|
protoOf($serializer).pl = function (decoder) {
|
|
629
|
-
var tmp0_desc = this.
|
|
629
|
+
var tmp0_desc = this.p33_1;
|
|
630
630
|
var tmp1_flag = true;
|
|
631
631
|
var tmp2_index = 0;
|
|
632
632
|
var tmp3_bitMask0 = 0;
|
|
@@ -640,86 +640,86 @@
|
|
|
640
640
|
var tmp11_local7 = null;
|
|
641
641
|
var tmp12_local8 = null;
|
|
642
642
|
var tmp13_local9 = null;
|
|
643
|
-
var tmp14_input = decoder.
|
|
644
|
-
if (tmp14_input.
|
|
645
|
-
tmp4_local0 = tmp14_input.
|
|
643
|
+
var tmp14_input = decoder.so(tmp0_desc);
|
|
644
|
+
if (tmp14_input.ip()) {
|
|
645
|
+
tmp4_local0 = tmp14_input.gp(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
646
646
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
647
|
-
tmp5_local1 = tmp14_input.
|
|
647
|
+
tmp5_local1 = tmp14_input.gp(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
648
648
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
649
|
-
tmp6_local2 = tmp14_input.
|
|
649
|
+
tmp6_local2 = tmp14_input.gp(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
650
650
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
651
|
-
tmp7_local3 = tmp14_input.
|
|
651
|
+
tmp7_local3 = tmp14_input.gp(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
652
652
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
653
|
-
tmp8_local4 = tmp14_input.
|
|
653
|
+
tmp8_local4 = tmp14_input.gp(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
654
654
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
655
|
-
tmp9_local5 = tmp14_input.
|
|
655
|
+
tmp9_local5 = tmp14_input.gp(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
656
656
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
657
|
-
tmp10_local6 = tmp14_input.
|
|
657
|
+
tmp10_local6 = tmp14_input.gp(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
658
658
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
659
|
-
tmp11_local7 = tmp14_input.
|
|
659
|
+
tmp11_local7 = tmp14_input.gp(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
660
660
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
661
|
-
tmp12_local8 = tmp14_input.
|
|
661
|
+
tmp12_local8 = tmp14_input.gp(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
662
662
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
663
|
-
tmp13_local9 = tmp14_input.
|
|
663
|
+
tmp13_local9 = tmp14_input.gp(tmp0_desc, 9, BooleanSerializer_getInstance(), tmp13_local9);
|
|
664
664
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
665
665
|
} else
|
|
666
666
|
while (tmp1_flag) {
|
|
667
|
-
tmp2_index = tmp14_input.
|
|
667
|
+
tmp2_index = tmp14_input.jp(tmp0_desc);
|
|
668
668
|
switch (tmp2_index) {
|
|
669
669
|
case -1:
|
|
670
670
|
tmp1_flag = false;
|
|
671
671
|
break;
|
|
672
672
|
case 0:
|
|
673
|
-
tmp4_local0 = tmp14_input.
|
|
673
|
+
tmp4_local0 = tmp14_input.gp(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
674
674
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
675
675
|
break;
|
|
676
676
|
case 1:
|
|
677
|
-
tmp5_local1 = tmp14_input.
|
|
677
|
+
tmp5_local1 = tmp14_input.gp(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
678
678
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
679
679
|
break;
|
|
680
680
|
case 2:
|
|
681
|
-
tmp6_local2 = tmp14_input.
|
|
681
|
+
tmp6_local2 = tmp14_input.gp(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
682
682
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
683
683
|
break;
|
|
684
684
|
case 3:
|
|
685
|
-
tmp7_local3 = tmp14_input.
|
|
685
|
+
tmp7_local3 = tmp14_input.gp(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
686
686
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
687
687
|
break;
|
|
688
688
|
case 4:
|
|
689
|
-
tmp8_local4 = tmp14_input.
|
|
689
|
+
tmp8_local4 = tmp14_input.gp(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
690
690
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
691
691
|
break;
|
|
692
692
|
case 5:
|
|
693
|
-
tmp9_local5 = tmp14_input.
|
|
693
|
+
tmp9_local5 = tmp14_input.gp(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
694
694
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
695
695
|
break;
|
|
696
696
|
case 6:
|
|
697
|
-
tmp10_local6 = tmp14_input.
|
|
697
|
+
tmp10_local6 = tmp14_input.gp(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
698
698
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
699
699
|
break;
|
|
700
700
|
case 7:
|
|
701
|
-
tmp11_local7 = tmp14_input.
|
|
701
|
+
tmp11_local7 = tmp14_input.gp(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
702
702
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
703
703
|
break;
|
|
704
704
|
case 8:
|
|
705
|
-
tmp12_local8 = tmp14_input.
|
|
705
|
+
tmp12_local8 = tmp14_input.gp(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
706
706
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
707
707
|
break;
|
|
708
708
|
case 9:
|
|
709
|
-
tmp13_local9 = tmp14_input.
|
|
709
|
+
tmp13_local9 = tmp14_input.gp(tmp0_desc, 9, BooleanSerializer_getInstance(), tmp13_local9);
|
|
710
710
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
711
711
|
break;
|
|
712
712
|
default:
|
|
713
713
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
tmp14_input.
|
|
716
|
+
tmp14_input.to(tmp0_desc);
|
|
717
717
|
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);
|
|
718
718
|
};
|
|
719
719
|
protoOf($serializer).nl = function () {
|
|
720
|
-
return this.
|
|
720
|
+
return this.p33_1;
|
|
721
721
|
};
|
|
722
|
-
protoOf($serializer).
|
|
722
|
+
protoOf($serializer).bw = function () {
|
|
723
723
|
// Inline function 'kotlin.arrayOf' call
|
|
724
724
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
725
725
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -733,48 +733,48 @@
|
|
|
733
733
|
}
|
|
734
734
|
function TaggerConfig_init_$Init$(seen0, releaseBranch, implicitPatch, majorRegex, minorRegex, patchRegex, versionRegex, noneRegex, userName, userEmail, warningsAsErrors, serializationConstructorMarker, $this) {
|
|
735
735
|
if (!(0 === (0 & seen0))) {
|
|
736
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance().
|
|
736
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance().p33_1);
|
|
737
737
|
}
|
|
738
738
|
if (0 === (seen0 & 1))
|
|
739
|
-
$this.
|
|
739
|
+
$this.r33_1 = null;
|
|
740
740
|
else
|
|
741
|
-
$this.
|
|
741
|
+
$this.r33_1 = releaseBranch;
|
|
742
742
|
if (0 === (seen0 & 2))
|
|
743
|
-
$this.
|
|
743
|
+
$this.s33_1 = null;
|
|
744
744
|
else
|
|
745
|
-
$this.
|
|
745
|
+
$this.s33_1 = implicitPatch;
|
|
746
746
|
if (0 === (seen0 & 4))
|
|
747
|
-
$this.
|
|
747
|
+
$this.t33_1 = null;
|
|
748
748
|
else
|
|
749
|
-
$this.
|
|
749
|
+
$this.t33_1 = majorRegex;
|
|
750
750
|
if (0 === (seen0 & 8))
|
|
751
|
-
$this.
|
|
751
|
+
$this.u33_1 = null;
|
|
752
752
|
else
|
|
753
|
-
$this.
|
|
753
|
+
$this.u33_1 = minorRegex;
|
|
754
754
|
if (0 === (seen0 & 16))
|
|
755
|
-
$this.
|
|
755
|
+
$this.v33_1 = null;
|
|
756
756
|
else
|
|
757
|
-
$this.
|
|
757
|
+
$this.v33_1 = patchRegex;
|
|
758
758
|
if (0 === (seen0 & 32))
|
|
759
|
-
$this.
|
|
759
|
+
$this.w33_1 = null;
|
|
760
760
|
else
|
|
761
|
-
$this.
|
|
761
|
+
$this.w33_1 = versionRegex;
|
|
762
762
|
if (0 === (seen0 & 64))
|
|
763
|
-
$this.
|
|
763
|
+
$this.x33_1 = null;
|
|
764
764
|
else
|
|
765
|
-
$this.
|
|
765
|
+
$this.x33_1 = noneRegex;
|
|
766
766
|
if (0 === (seen0 & 128))
|
|
767
|
-
$this.
|
|
767
|
+
$this.y33_1 = null;
|
|
768
768
|
else
|
|
769
|
-
$this.
|
|
769
|
+
$this.y33_1 = userName;
|
|
770
770
|
if (0 === (seen0 & 256))
|
|
771
|
-
$this.
|
|
771
|
+
$this.z33_1 = null;
|
|
772
772
|
else
|
|
773
|
-
$this.
|
|
773
|
+
$this.z33_1 = userEmail;
|
|
774
774
|
if (0 === (seen0 & 512))
|
|
775
|
-
$this.
|
|
775
|
+
$this.a34_1 = null;
|
|
776
776
|
else
|
|
777
|
-
$this.
|
|
777
|
+
$this.a34_1 = warningsAsErrors;
|
|
778
778
|
return $this;
|
|
779
779
|
}
|
|
780
780
|
function TaggerConfig_init_$Create$(seen0, releaseBranch, implicitPatch, majorRegex, minorRegex, patchRegex, versionRegex, noneRegex, userName, userEmail, warningsAsErrors, serializationConstructorMarker) {
|
|
@@ -791,31 +791,31 @@
|
|
|
791
791
|
userName = userName === VOID ? null : userName;
|
|
792
792
|
userEmail = userEmail === VOID ? null : userEmail;
|
|
793
793
|
warningsAsErrors = warningsAsErrors === VOID ? null : warningsAsErrors;
|
|
794
|
-
this.
|
|
795
|
-
this.
|
|
796
|
-
this.
|
|
797
|
-
this.
|
|
798
|
-
this.
|
|
799
|
-
this.
|
|
800
|
-
this.
|
|
801
|
-
this.
|
|
802
|
-
this.
|
|
803
|
-
this.
|
|
794
|
+
this.r33_1 = releaseBranch;
|
|
795
|
+
this.s33_1 = implicitPatch;
|
|
796
|
+
this.t33_1 = majorRegex;
|
|
797
|
+
this.u33_1 = minorRegex;
|
|
798
|
+
this.v33_1 = patchRegex;
|
|
799
|
+
this.w33_1 = versionRegex;
|
|
800
|
+
this.x33_1 = noneRegex;
|
|
801
|
+
this.y33_1 = userName;
|
|
802
|
+
this.z33_1 = userEmail;
|
|
803
|
+
this.a34_1 = warningsAsErrors;
|
|
804
804
|
}
|
|
805
805
|
protoOf(TaggerConfig).toString = function () {
|
|
806
|
-
return 'TaggerConfig(releaseBranch=' + this.
|
|
806
|
+
return 'TaggerConfig(releaseBranch=' + this.r33_1 + ', implicitPatch=' + this.s33_1 + ', majorRegex=' + this.t33_1 + ', minorRegex=' + this.u33_1 + ', patchRegex=' + this.v33_1 + ', versionRegex=' + this.w33_1 + ', noneRegex=' + this.x33_1 + ', userName=' + this.y33_1 + ', userEmail=' + this.z33_1 + ', warningsAsErrors=' + this.a34_1 + ')';
|
|
807
807
|
};
|
|
808
808
|
protoOf(TaggerConfig).hashCode = function () {
|
|
809
|
-
var result = this.
|
|
810
|
-
result = imul(result, 31) + (this.
|
|
811
|
-
result = imul(result, 31) + (this.
|
|
812
|
-
result = imul(result, 31) + (this.
|
|
813
|
-
result = imul(result, 31) + (this.
|
|
814
|
-
result = imul(result, 31) + (this.
|
|
815
|
-
result = imul(result, 31) + (this.
|
|
816
|
-
result = imul(result, 31) + (this.
|
|
817
|
-
result = imul(result, 31) + (this.
|
|
818
|
-
result = imul(result, 31) + (this.
|
|
809
|
+
var result = this.r33_1 == null ? 0 : getStringHashCode(this.r33_1);
|
|
810
|
+
result = imul(result, 31) + (this.s33_1 == null ? 0 : getBooleanHashCode(this.s33_1)) | 0;
|
|
811
|
+
result = imul(result, 31) + (this.t33_1 == null ? 0 : getStringHashCode(this.t33_1)) | 0;
|
|
812
|
+
result = imul(result, 31) + (this.u33_1 == null ? 0 : getStringHashCode(this.u33_1)) | 0;
|
|
813
|
+
result = imul(result, 31) + (this.v33_1 == null ? 0 : getStringHashCode(this.v33_1)) | 0;
|
|
814
|
+
result = imul(result, 31) + (this.w33_1 == null ? 0 : getStringHashCode(this.w33_1)) | 0;
|
|
815
|
+
result = imul(result, 31) + (this.x33_1 == null ? 0 : getStringHashCode(this.x33_1)) | 0;
|
|
816
|
+
result = imul(result, 31) + (this.y33_1 == null ? 0 : getStringHashCode(this.y33_1)) | 0;
|
|
817
|
+
result = imul(result, 31) + (this.z33_1 == null ? 0 : getStringHashCode(this.z33_1)) | 0;
|
|
818
|
+
result = imul(result, 31) + (this.a34_1 == null ? 0 : getBooleanHashCode(this.a34_1)) | 0;
|
|
819
819
|
return result;
|
|
820
820
|
};
|
|
821
821
|
protoOf(TaggerConfig).equals = function (other) {
|
|
@@ -824,30 +824,30 @@
|
|
|
824
824
|
if (!(other instanceof TaggerConfig))
|
|
825
825
|
return false;
|
|
826
826
|
var tmp0_other_with_cast = other instanceof TaggerConfig ? other : THROW_CCE();
|
|
827
|
-
if (!(this.
|
|
827
|
+
if (!(this.r33_1 == tmp0_other_with_cast.r33_1))
|
|
828
828
|
return false;
|
|
829
|
-
if (!(this.
|
|
829
|
+
if (!(this.s33_1 == tmp0_other_with_cast.s33_1))
|
|
830
830
|
return false;
|
|
831
|
-
if (!(this.
|
|
831
|
+
if (!(this.t33_1 == tmp0_other_with_cast.t33_1))
|
|
832
832
|
return false;
|
|
833
|
-
if (!(this.
|
|
833
|
+
if (!(this.u33_1 == tmp0_other_with_cast.u33_1))
|
|
834
834
|
return false;
|
|
835
|
-
if (!(this.
|
|
835
|
+
if (!(this.v33_1 == tmp0_other_with_cast.v33_1))
|
|
836
836
|
return false;
|
|
837
|
-
if (!(this.
|
|
837
|
+
if (!(this.w33_1 == tmp0_other_with_cast.w33_1))
|
|
838
838
|
return false;
|
|
839
|
-
if (!(this.
|
|
839
|
+
if (!(this.x33_1 == tmp0_other_with_cast.x33_1))
|
|
840
840
|
return false;
|
|
841
|
-
if (!(this.
|
|
841
|
+
if (!(this.y33_1 == tmp0_other_with_cast.y33_1))
|
|
842
842
|
return false;
|
|
843
|
-
if (!(this.
|
|
843
|
+
if (!(this.z33_1 == tmp0_other_with_cast.z33_1))
|
|
844
844
|
return false;
|
|
845
|
-
if (!(this.
|
|
845
|
+
if (!(this.a34_1 == tmp0_other_with_cast.a34_1))
|
|
846
846
|
return false;
|
|
847
847
|
return true;
|
|
848
848
|
};
|
|
849
849
|
//region block: post-declaration
|
|
850
|
-
protoOf($serializer).
|
|
850
|
+
protoOf($serializer).cw = typeParametersSerializers;
|
|
851
851
|
//endregion
|
|
852
852
|
//region block: init
|
|
853
853
|
Versions_instance = new Versions();
|