git-digger 1.2.21 → 1.2.23
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 +1195 -1195
- package/kotlin/clikt-clikt.js +1226 -1226
- package/kotlin/colormath-root-colormath.js +434 -434
- package/kotlin/kotlin-kotlin-stdlib.js +487 -573
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +871 -871
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +302 -302
- package/kotlin/markdown.js +1905 -1905
- package/kotlin/mordant-mordant.js +1636 -1636
- package/kotlin/tools-digger-cli.js +71 -71
- package/kotlin/tools-digger-core.js +226 -680
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +102 -102
- package/kotlin/tools-digger-model.js +54 -54
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_com_zegreatrob_tools_digger_core, kotlin_clikt_clikt, kotlin_com_zegreatrob_tools_digger_json) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var split = kotlin_kotlin.$_$.
|
|
5
|
-
var lastOrNull = kotlin_kotlin.$_$.
|
|
6
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
4
|
+
var split = kotlin_kotlin.$_$.gb;
|
|
5
|
+
var lastOrNull = kotlin_kotlin.$_$.m5;
|
|
6
|
+
var isBlank = kotlin_kotlin.$_$.na;
|
|
7
7
|
var DiggerGitWrapper = kotlin_com_zegreatrob_tools_digger_core.$_$.b;
|
|
8
8
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
9
9
|
var Defaults_getInstance = kotlin_com_zegreatrob_tools_digger_core.$_$.d;
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
var option = kotlin_clikt_clikt.$_$.e;
|
|
15
15
|
var default_0 = kotlin_clikt_clikt.$_$.d;
|
|
16
16
|
var toJsonString = kotlin_com_zegreatrob_tools_digger_json.$_$.b;
|
|
17
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
18
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
19
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
20
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
17
|
+
var Unit_instance = kotlin_kotlin.$_$.k3;
|
|
18
|
+
var protoOf = kotlin_kotlin.$_$.x8;
|
|
19
|
+
var classMeta = kotlin_kotlin.$_$.t7;
|
|
20
|
+
var setMetadataFor = kotlin_kotlin.$_$.y8;
|
|
21
21
|
var VOID = kotlin_kotlin.$_$.g;
|
|
22
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
23
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
22
|
+
var KProperty1 = kotlin_kotlin.$_$.p9;
|
|
23
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.z7;
|
|
24
24
|
var toJsonString_0 = kotlin_com_zegreatrob_tools_digger_json.$_$.a;
|
|
25
25
|
var subcommands = kotlin_clikt_clikt.$_$.b;
|
|
26
|
-
var until = kotlin_kotlin.$_$.
|
|
27
|
-
var slice = kotlin_kotlin.$_$.
|
|
28
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
26
|
+
var until = kotlin_kotlin.$_$.k9;
|
|
27
|
+
var slice = kotlin_kotlin.$_$.k6;
|
|
28
|
+
var copyToArray = kotlin_kotlin.$_$.p4;
|
|
29
29
|
//endregion
|
|
30
30
|
//region block: pre-declaration
|
|
31
31
|
setMetadataFor(AllContributionData, 'AllContributionData', classMeta, CliktCommand, VOID, AllContributionData);
|
|
@@ -33,31 +33,31 @@
|
|
|
33
33
|
setMetadataFor(Welcome, 'Welcome', classMeta, CliktCommand, VOID, Welcome);
|
|
34
34
|
//endregion
|
|
35
35
|
function _get_dir__e67350($this) {
|
|
36
|
-
return $this.
|
|
36
|
+
return $this.c30_1.o2w($this, dir$factory_0());
|
|
37
37
|
}
|
|
38
38
|
function _get_outputFile__pta58u($this) {
|
|
39
|
-
return $this.
|
|
39
|
+
return $this.d30_1.o2w($this, outputFile$factory_0());
|
|
40
40
|
}
|
|
41
41
|
function _get_label__euqgmb($this) {
|
|
42
|
-
return $this.
|
|
42
|
+
return $this.e30_1.o2w($this, label$factory_0());
|
|
43
43
|
}
|
|
44
44
|
function _get_majorRegex__5j6ypp($this) {
|
|
45
|
-
return $this.
|
|
45
|
+
return $this.f30_1.o2w($this, majorRegex$factory_0());
|
|
46
46
|
}
|
|
47
47
|
function _get_minorRegex__20z96h($this) {
|
|
48
|
-
return $this.
|
|
48
|
+
return $this.g30_1.o2w($this, minorRegex$factory_0());
|
|
49
49
|
}
|
|
50
50
|
function _get_patchRegex__mtlu2c($this) {
|
|
51
|
-
return $this.
|
|
51
|
+
return $this.h30_1.o2w($this, patchRegex$factory_0());
|
|
52
52
|
}
|
|
53
53
|
function _get_noneRegex__1tdbgi($this) {
|
|
54
|
-
return $this.
|
|
54
|
+
return $this.i30_1.o2w($this, noneRegex$factory_0());
|
|
55
55
|
}
|
|
56
56
|
function _get_storyIdRegex__auqux8($this) {
|
|
57
|
-
return $this.
|
|
57
|
+
return $this.j30_1.o2w($this, storyIdRegex$factory_0());
|
|
58
58
|
}
|
|
59
59
|
function _get_easeRegex__pf594o($this) {
|
|
60
|
-
return $this.
|
|
60
|
+
return $this.k30_1.o2w($this, easeRegex$factory_0());
|
|
61
61
|
}
|
|
62
62
|
function _get_core__d4zfrg($this) {
|
|
63
63
|
// Inline function 'kotlin.text.ifBlank' call
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
tmp_2 = Regex_init_$Create$(tmp0_safe_receiver);
|
|
82
82
|
}
|
|
83
83
|
var tmp1_elvis_lhs = tmp_2;
|
|
84
|
-
var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance().
|
|
84
|
+
var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance().t18_1 : tmp1_elvis_lhs;
|
|
85
85
|
var tmp2_safe_receiver = _get_minorRegex__20z96h($this);
|
|
86
86
|
var tmp_4;
|
|
87
87
|
if (tmp2_safe_receiver == null) {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
tmp_4 = Regex_init_$Create$(tmp2_safe_receiver);
|
|
93
93
|
}
|
|
94
94
|
var tmp3_elvis_lhs = tmp_4;
|
|
95
|
-
var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance().
|
|
95
|
+
var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance().u18_1 : tmp3_elvis_lhs;
|
|
96
96
|
var tmp4_safe_receiver = _get_patchRegex__mtlu2c($this);
|
|
97
97
|
var tmp_6;
|
|
98
98
|
if (tmp4_safe_receiver == null) {
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
tmp_6 = Regex_init_$Create$(tmp4_safe_receiver);
|
|
104
104
|
}
|
|
105
105
|
var tmp5_elvis_lhs = tmp_6;
|
|
106
|
-
var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance().
|
|
106
|
+
var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance().v18_1 : tmp5_elvis_lhs;
|
|
107
107
|
var tmp6_safe_receiver = _get_noneRegex__1tdbgi($this);
|
|
108
108
|
var tmp_8;
|
|
109
109
|
if (tmp6_safe_receiver == null) {
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
tmp_8 = Regex_init_$Create$(tmp6_safe_receiver);
|
|
115
115
|
}
|
|
116
116
|
var tmp7_elvis_lhs = tmp_8;
|
|
117
|
-
var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance().
|
|
117
|
+
var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance().w18_1 : tmp7_elvis_lhs;
|
|
118
118
|
var tmp8_safe_receiver = _get_storyIdRegex__auqux8($this);
|
|
119
119
|
var tmp_10;
|
|
120
120
|
if (tmp8_safe_receiver == null) {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
tmp_10 = Regex_init_$Create$(tmp8_safe_receiver);
|
|
126
126
|
}
|
|
127
127
|
var tmp9_elvis_lhs = tmp_10;
|
|
128
|
-
var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance().
|
|
128
|
+
var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance().x18_1 : tmp9_elvis_lhs;
|
|
129
129
|
var tmp10_safe_receiver = _get_easeRegex__pf594o($this);
|
|
130
130
|
var tmp_12;
|
|
131
131
|
if (tmp10_safe_receiver == null) {
|
|
@@ -136,26 +136,26 @@
|
|
|
136
136
|
tmp_12 = Regex_init_$Create$(tmp10_safe_receiver);
|
|
137
137
|
}
|
|
138
138
|
var tmp11_elvis_lhs = tmp_12;
|
|
139
|
-
return new DiggerCore(tmp_0, tmp_1, new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance().
|
|
139
|
+
return new DiggerCore(tmp_0, tmp_1, new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance().y18_1 : tmp11_elvis_lhs));
|
|
140
140
|
}
|
|
141
141
|
function AllContributionData() {
|
|
142
142
|
CliktCommand.call(this);
|
|
143
|
-
this.
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
}
|
|
153
|
-
protoOf(AllContributionData).
|
|
143
|
+
this.c30_1 = argument(this, 'git-repo').q2w(this, dir$factory());
|
|
144
|
+
this.d30_1 = default_0(option(this, []), 'allContributionData.json').b2x(this, outputFile$factory());
|
|
145
|
+
this.e30_1 = default_0(option(this, []), '').b2x(this, label$factory());
|
|
146
|
+
this.f30_1 = option(this, []).b2x(this, majorRegex$factory());
|
|
147
|
+
this.g30_1 = option(this, []).b2x(this, minorRegex$factory());
|
|
148
|
+
this.h30_1 = option(this, []).b2x(this, patchRegex$factory());
|
|
149
|
+
this.i30_1 = option(this, []).b2x(this, noneRegex$factory());
|
|
150
|
+
this.j30_1 = option(this, []).b2x(this, storyIdRegex$factory());
|
|
151
|
+
this.k30_1 = option(this, []).b2x(this, easeRegex$factory());
|
|
152
|
+
}
|
|
153
|
+
protoOf(AllContributionData).e2o = function () {
|
|
154
154
|
// Inline function 'kotlin.also' call
|
|
155
|
-
writeToFile(toJsonString(_get_core__d4zfrg(this).
|
|
155
|
+
writeToFile(toJsonString(_get_core__d4zfrg(this).s18()), _get_outputFile__pta58u(this));
|
|
156
156
|
// Inline function 'kotlin.contracts.contract' call
|
|
157
157
|
// Inline function 'com.zegreatrob.tools.digger.cli.AllContributionData.run.<anonymous>' call
|
|
158
|
-
this.
|
|
158
|
+
this.x2n('Data written to ' + _get_outputFile__pta58u(this));
|
|
159
159
|
return Unit_instance;
|
|
160
160
|
};
|
|
161
161
|
function dir$factory() {
|
|
@@ -249,31 +249,31 @@
|
|
|
249
249
|
}, null);
|
|
250
250
|
}
|
|
251
251
|
function _get_dir__e67350_0($this) {
|
|
252
|
-
return $this.
|
|
252
|
+
return $this.c31_1.o2w($this, dir$factory_2());
|
|
253
253
|
}
|
|
254
254
|
function _get_outputFile__pta58u_0($this) {
|
|
255
|
-
return $this.
|
|
255
|
+
return $this.d31_1.o2w($this, outputFile$factory_2());
|
|
256
256
|
}
|
|
257
257
|
function _get_label__euqgmb_0($this) {
|
|
258
|
-
return $this.
|
|
258
|
+
return $this.e31_1.o2w($this, label$factory_2());
|
|
259
259
|
}
|
|
260
260
|
function _get_majorRegex__5j6ypp_0($this) {
|
|
261
|
-
return $this.
|
|
261
|
+
return $this.f31_1.o2w($this, majorRegex$factory_2());
|
|
262
262
|
}
|
|
263
263
|
function _get_minorRegex__20z96h_0($this) {
|
|
264
|
-
return $this.
|
|
264
|
+
return $this.g31_1.o2w($this, minorRegex$factory_2());
|
|
265
265
|
}
|
|
266
266
|
function _get_patchRegex__mtlu2c_0($this) {
|
|
267
|
-
return $this.
|
|
267
|
+
return $this.h31_1.o2w($this, patchRegex$factory_2());
|
|
268
268
|
}
|
|
269
269
|
function _get_noneRegex__1tdbgi_0($this) {
|
|
270
|
-
return $this.
|
|
270
|
+
return $this.i31_1.o2w($this, noneRegex$factory_2());
|
|
271
271
|
}
|
|
272
272
|
function _get_storyIdRegex__auqux8_0($this) {
|
|
273
|
-
return $this.
|
|
273
|
+
return $this.j31_1.o2w($this, storyIdRegex$factory_2());
|
|
274
274
|
}
|
|
275
275
|
function _get_easeRegex__pf594o_0($this) {
|
|
276
|
-
return $this.
|
|
276
|
+
return $this.k31_1.o2w($this, easeRegex$factory_2());
|
|
277
277
|
}
|
|
278
278
|
function _get_core__d4zfrg_0($this) {
|
|
279
279
|
// Inline function 'kotlin.text.ifBlank' call
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
tmp_2 = Regex_init_$Create$(tmp0_safe_receiver);
|
|
298
298
|
}
|
|
299
299
|
var tmp1_elvis_lhs = tmp_2;
|
|
300
|
-
var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance().
|
|
300
|
+
var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance().t18_1 : tmp1_elvis_lhs;
|
|
301
301
|
var tmp2_safe_receiver = _get_minorRegex__20z96h_0($this);
|
|
302
302
|
var tmp_4;
|
|
303
303
|
if (tmp2_safe_receiver == null) {
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
tmp_4 = Regex_init_$Create$(tmp2_safe_receiver);
|
|
309
309
|
}
|
|
310
310
|
var tmp3_elvis_lhs = tmp_4;
|
|
311
|
-
var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance().
|
|
311
|
+
var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance().u18_1 : tmp3_elvis_lhs;
|
|
312
312
|
var tmp4_safe_receiver = _get_patchRegex__mtlu2c_0($this);
|
|
313
313
|
var tmp_6;
|
|
314
314
|
if (tmp4_safe_receiver == null) {
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
tmp_6 = Regex_init_$Create$(tmp4_safe_receiver);
|
|
320
320
|
}
|
|
321
321
|
var tmp5_elvis_lhs = tmp_6;
|
|
322
|
-
var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance().
|
|
322
|
+
var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance().v18_1 : tmp5_elvis_lhs;
|
|
323
323
|
var tmp6_safe_receiver = _get_noneRegex__1tdbgi_0($this);
|
|
324
324
|
var tmp_8;
|
|
325
325
|
if (tmp6_safe_receiver == null) {
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
tmp_8 = Regex_init_$Create$(tmp6_safe_receiver);
|
|
331
331
|
}
|
|
332
332
|
var tmp7_elvis_lhs = tmp_8;
|
|
333
|
-
var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance().
|
|
333
|
+
var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance().w18_1 : tmp7_elvis_lhs;
|
|
334
334
|
var tmp8_safe_receiver = _get_storyIdRegex__auqux8_0($this);
|
|
335
335
|
var tmp_10;
|
|
336
336
|
if (tmp8_safe_receiver == null) {
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
tmp_10 = Regex_init_$Create$(tmp8_safe_receiver);
|
|
342
342
|
}
|
|
343
343
|
var tmp9_elvis_lhs = tmp_10;
|
|
344
|
-
var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance().
|
|
344
|
+
var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance().x18_1 : tmp9_elvis_lhs;
|
|
345
345
|
var tmp10_safe_receiver = _get_easeRegex__pf594o_0($this);
|
|
346
346
|
var tmp_12;
|
|
347
347
|
if (tmp10_safe_receiver == null) {
|
|
@@ -352,26 +352,26 @@
|
|
|
352
352
|
tmp_12 = Regex_init_$Create$(tmp10_safe_receiver);
|
|
353
353
|
}
|
|
354
354
|
var tmp11_elvis_lhs = tmp_12;
|
|
355
|
-
return new DiggerCore(tmp_0, tmp_1, new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance().
|
|
355
|
+
return new DiggerCore(tmp_0, tmp_1, new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance().y18_1 : tmp11_elvis_lhs));
|
|
356
356
|
}
|
|
357
357
|
function CurrentContributionData() {
|
|
358
358
|
CliktCommand.call(this);
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
361
|
-
this.
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
364
|
-
this.
|
|
365
|
-
this.
|
|
366
|
-
this.
|
|
367
|
-
this.
|
|
368
|
-
}
|
|
369
|
-
protoOf(CurrentContributionData).
|
|
359
|
+
this.c31_1 = argument(this, 'git-repo').q2w(this, dir$factory_1());
|
|
360
|
+
this.d31_1 = default_0(option(this, []), 'currentContributionData.json').b2x(this, outputFile$factory_1());
|
|
361
|
+
this.e31_1 = default_0(option(this, []), '').b2x(this, label$factory_1());
|
|
362
|
+
this.f31_1 = option(this, []).b2x(this, majorRegex$factory_1());
|
|
363
|
+
this.g31_1 = option(this, []).b2x(this, minorRegex$factory_1());
|
|
364
|
+
this.h31_1 = option(this, []).b2x(this, patchRegex$factory_1());
|
|
365
|
+
this.i31_1 = option(this, []).b2x(this, noneRegex$factory_1());
|
|
366
|
+
this.j31_1 = option(this, []).b2x(this, storyIdRegex$factory_1());
|
|
367
|
+
this.k31_1 = option(this, []).b2x(this, easeRegex$factory_1());
|
|
368
|
+
}
|
|
369
|
+
protoOf(CurrentContributionData).e2o = function () {
|
|
370
370
|
// Inline function 'kotlin.also' call
|
|
371
|
-
writeToFile(toJsonString_0(_get_core__d4zfrg_0(this).
|
|
371
|
+
writeToFile(toJsonString_0(_get_core__d4zfrg_0(this).q18()), _get_outputFile__pta58u_0(this));
|
|
372
372
|
// Inline function 'kotlin.contracts.contract' call
|
|
373
373
|
// Inline function 'com.zegreatrob.tools.digger.cli.CurrentContributionData.run.<anonymous>' call
|
|
374
|
-
this.
|
|
374
|
+
this.x2n('Data written to ' + _get_outputFile__pta58u_0(this));
|
|
375
375
|
return Unit_instance;
|
|
376
376
|
};
|
|
377
377
|
function dir$factory_1() {
|
|
@@ -465,13 +465,13 @@
|
|
|
465
465
|
}, null);
|
|
466
466
|
}
|
|
467
467
|
function main(args) {
|
|
468
|
-
return subcommands(subcommands(new Welcome(), [new CurrentContributionData()]), [new AllContributionData()]).
|
|
468
|
+
return subcommands(subcommands(new Welcome(), [new CurrentContributionData()]), [new AllContributionData()]).d2o(platformArgCorrection(args));
|
|
469
469
|
}
|
|
470
470
|
function Welcome() {
|
|
471
471
|
CliktCommand.call(this);
|
|
472
472
|
}
|
|
473
|
-
protoOf(Welcome).
|
|
474
|
-
this.
|
|
473
|
+
protoOf(Welcome).e2o = function () {
|
|
474
|
+
this.x2n('Welcome to Digger CLI.');
|
|
475
475
|
};
|
|
476
476
|
function get_fs() {
|
|
477
477
|
_init_properties_CurrentContributionData_js_kt__l41kec();
|