@modern-js/ssg-generator 1.0.0 → 1.1.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/dist/js/node/main.js +676 -486
- package/package.json +6 -18
package/dist/js/node/main.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
2
2
|
/******/ var __webpack_modules__ = ({
|
3
3
|
|
4
|
-
/***/
|
4
|
+
/***/ 67977:
|
5
5
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
6
6
|
|
7
7
|
"use strict";
|
@@ -12,13 +12,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
12
12
|
}));
|
13
13
|
exports.listNode = void 0;
|
14
14
|
|
15
|
-
var _easyFormCli = __webpack_require__(
|
15
|
+
var _easyFormCli = __webpack_require__(24191);
|
16
16
|
|
17
|
-
var _inquirerTypes = __webpack_require__(
|
17
|
+
var _inquirerTypes = __webpack_require__(46133);
|
18
18
|
|
19
|
-
var _constant = __webpack_require__(
|
19
|
+
var _constant = __webpack_require__(79503);
|
20
20
|
|
21
|
-
const
|
21
|
+
const registerListPrompt = inquirer => {
|
22
22
|
try {
|
23
23
|
inquirer.registerPrompt(_constant.CLI_TYPE.LISTNODE, _inquirerTypes.List);
|
24
24
|
} catch (error) {}
|
@@ -33,7 +33,7 @@ const listNode = options => {
|
|
33
33
|
promptModule,
|
34
34
|
childNodes
|
35
35
|
} = options;
|
36
|
-
|
36
|
+
registerListPrompt(inquirer);
|
37
37
|
return async answers => {
|
38
38
|
const listHandler = (0, _easyFormCli.toPromiseQuestionHandler)({
|
39
39
|
schema,
|
@@ -100,7 +100,7 @@ exports.listNode = listNode;
|
|
100
100
|
|
101
101
|
/***/ }),
|
102
102
|
|
103
|
-
/***/
|
103
|
+
/***/ 79503:
|
104
104
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
105
105
|
|
106
106
|
"use strict";
|
@@ -111,7 +111,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
111
111
|
}));
|
112
112
|
exports.CLI_TYPE = void 0;
|
113
113
|
|
114
|
-
var _easyFormCli = __webpack_require__(
|
114
|
+
var _easyFormCli = __webpack_require__(24191);
|
115
115
|
|
116
116
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
117
117
|
|
@@ -125,7 +125,7 @@ exports.CLI_TYPE = CLI_TYPE;
|
|
125
125
|
|
126
126
|
/***/ }),
|
127
127
|
|
128
|
-
/***/
|
128
|
+
/***/ 74370:
|
129
129
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
130
130
|
|
131
131
|
"use strict";
|
@@ -135,7 +135,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
135
135
|
value: true
|
136
136
|
}));
|
137
137
|
|
138
|
-
var _ListNode = __webpack_require__(
|
138
|
+
var _ListNode = __webpack_require__(67977);
|
139
139
|
|
140
140
|
Object.keys(_ListNode).forEach(function (key) {
|
141
141
|
if (key === "default" || key === "__esModule") return;
|
@@ -150,7 +150,7 @@ Object.keys(_ListNode).forEach(function (key) {
|
|
150
150
|
|
151
151
|
/***/ }),
|
152
152
|
|
153
|
-
/***/
|
153
|
+
/***/ 3437:
|
154
154
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
155
155
|
|
156
156
|
"use strict";
|
@@ -183,19 +183,19 @@ var _execa = _interopRequireDefault(__webpack_require__(16228));
|
|
183
183
|
|
184
184
|
var _commentJson = __webpack_require__(66623);
|
185
185
|
|
186
|
-
var _codesmithApiNpm = __webpack_require__(
|
186
|
+
var _codesmithApiNpm = __webpack_require__(90423);
|
187
187
|
|
188
|
-
var _codesmithApiGit = __webpack_require__(
|
188
|
+
var _codesmithApiGit = __webpack_require__(64179);
|
189
189
|
|
190
|
-
var _codesmithApiHandlebars = __webpack_require__(
|
190
|
+
var _codesmithApiHandlebars = __webpack_require__(1849);
|
191
191
|
|
192
|
-
var _easyFormCli = __webpack_require__(
|
192
|
+
var _easyFormCli = __webpack_require__(24191);
|
193
193
|
|
194
|
-
var _transformSchema = __webpack_require__(
|
194
|
+
var _transformSchema = __webpack_require__(45921);
|
195
195
|
|
196
|
-
var handlers = _interopRequireWildcard(__webpack_require__(
|
196
|
+
var handlers = _interopRequireWildcard(__webpack_require__(74370));
|
197
197
|
|
198
|
-
var _locale = __webpack_require__(
|
198
|
+
var _locale = __webpack_require__(21557);
|
199
199
|
|
200
200
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
201
201
|
|
@@ -222,7 +222,7 @@ class AppAPI {
|
|
222
222
|
this.generatorCore = generatorCore;
|
223
223
|
this.generatorContext = generatorContext;
|
224
224
|
this.npmApi = new _codesmithApiNpm.NpmAPI(generatorCore);
|
225
|
-
this.gitApi = new _codesmithApiGit.GitAPI(generatorCore);
|
225
|
+
this.gitApi = new _codesmithApiGit.GitAPI(generatorCore, generatorContext);
|
226
226
|
this.handlebarsAPI = new _codesmithApiHandlebars.HandlebarsAPI(this.generatorCore);
|
227
227
|
}
|
228
228
|
|
@@ -409,7 +409,7 @@ exports.AppAPI = AppAPI;
|
|
409
409
|
|
410
410
|
/***/ }),
|
411
411
|
|
412
|
-
/***/
|
412
|
+
/***/ 31799:
|
413
413
|
/***/ ((__unused_webpack_module, exports) => {
|
414
414
|
|
415
415
|
"use strict";
|
@@ -448,7 +448,7 @@ exports.EN_LOCALE = EN_LOCALE;
|
|
448
448
|
|
449
449
|
/***/ }),
|
450
450
|
|
451
|
-
/***/
|
451
|
+
/***/ 21557:
|
452
452
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
453
453
|
|
454
454
|
"use strict";
|
@@ -465,11 +465,11 @@ Object.defineProperty(exports, "I18n", ({
|
|
465
465
|
}));
|
466
466
|
exports.localeKeys = exports.i18n = void 0;
|
467
467
|
|
468
|
-
var _pluginI18n = __webpack_require__(
|
468
|
+
var _pluginI18n = __webpack_require__(98368);
|
469
469
|
|
470
|
-
var _zh = __webpack_require__(
|
470
|
+
var _zh = __webpack_require__(88218);
|
471
471
|
|
472
|
-
var _en = __webpack_require__(
|
472
|
+
var _en = __webpack_require__(31799);
|
473
473
|
|
474
474
|
const i18n = new _pluginI18n.I18n();
|
475
475
|
exports.i18n = i18n;
|
@@ -481,7 +481,7 @@ exports.localeKeys = localeKeys;
|
|
481
481
|
|
482
482
|
/***/ }),
|
483
483
|
|
484
|
-
/***/
|
484
|
+
/***/ 88218:
|
485
485
|
/***/ ((__unused_webpack_module, exports) => {
|
486
486
|
|
487
487
|
"use strict";
|
@@ -520,7 +520,7 @@ exports.ZH_LOCALE = ZH_LOCALE;
|
|
520
520
|
|
521
521
|
/***/ }),
|
522
522
|
|
523
|
-
/***/
|
523
|
+
/***/ 45921:
|
524
524
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
525
525
|
|
526
526
|
"use strict";
|
@@ -533,7 +533,7 @@ exports.transformSchema = transformSchema;
|
|
533
533
|
|
534
534
|
var _isUndefined2 = _interopRequireDefault(__webpack_require__(88066));
|
535
535
|
|
536
|
-
var _easyFormCli = __webpack_require__(
|
536
|
+
var _easyFormCli = __webpack_require__(24191);
|
537
537
|
|
538
538
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
539
539
|
|
@@ -580,7 +580,7 @@ function transformSchema(schema, configValue = {}, validateMap = {}) {
|
|
580
580
|
|
581
581
|
/***/ }),
|
582
582
|
|
583
|
-
/***/
|
583
|
+
/***/ 64179:
|
584
584
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
585
585
|
|
586
586
|
"use strict";
|
@@ -591,12 +591,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
591
591
|
}));
|
592
592
|
exports.GitAPI = void 0;
|
593
593
|
|
594
|
-
var _utils = __webpack_require__(
|
594
|
+
var _utils = __webpack_require__(6818);
|
595
595
|
|
596
596
|
class GitAPI {
|
597
|
-
constructor(generatorCore) {
|
597
|
+
constructor(generatorCore, generatorContext) {
|
598
598
|
this.generatorCore = void 0;
|
599
|
+
this.generatorContext = void 0;
|
599
600
|
this.generatorCore = generatorCore;
|
601
|
+
this.generatorContext = generatorContext;
|
600
602
|
}
|
601
603
|
|
602
604
|
async isInGitRepo(cwd = this.generatorCore.outputPath) {
|
@@ -624,7 +626,16 @@ class GitAPI {
|
|
624
626
|
}
|
625
627
|
|
626
628
|
try {
|
627
|
-
|
629
|
+
const {
|
630
|
+
config: {
|
631
|
+
defaultBranch = 'master'
|
632
|
+
}
|
633
|
+
} = this.generatorContext || {
|
634
|
+
config: {
|
635
|
+
defaultBranch: 'master'
|
636
|
+
}
|
637
|
+
};
|
638
|
+
await (0, _utils.initGitRepo)(cwd, defaultBranch);
|
628
639
|
} catch (e) {
|
629
640
|
this.generatorCore.logger.debug('[GitAPI.error]:', e);
|
630
641
|
throw e;
|
@@ -653,7 +664,7 @@ exports.GitAPI = GitAPI;
|
|
653
664
|
|
654
665
|
/***/ }),
|
655
666
|
|
656
|
-
/***/
|
667
|
+
/***/ 6818:
|
657
668
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
658
669
|
|
659
670
|
"use strict";
|
@@ -695,11 +706,24 @@ async function isInGitRepo(cwd) {
|
|
695
706
|
}
|
696
707
|
}
|
697
708
|
|
698
|
-
async function initGitRepo(cwd) {
|
709
|
+
async function initGitRepo(cwd, defaultBranch) {
|
699
710
|
await (0, _execa.default)('git', ['init'], {
|
700
711
|
env: process.env,
|
701
712
|
cwd
|
702
713
|
});
|
714
|
+
const {
|
715
|
+
stdout
|
716
|
+
} = await (0, _execa.default)('git', ['symbolic-ref', '--short', 'HEAD'], {
|
717
|
+
env: process.env,
|
718
|
+
cwd
|
719
|
+
});
|
720
|
+
|
721
|
+
if (stdout !== defaultBranch) {
|
722
|
+
await (0, _execa.default)('git', ['checkout', '-b', defaultBranch], {
|
723
|
+
env: process.env,
|
724
|
+
cwd
|
725
|
+
});
|
726
|
+
}
|
703
727
|
}
|
704
728
|
|
705
729
|
async function gitAdd(cwd) {
|
@@ -718,7 +742,7 @@ async function gitCommit(cwd, commitMessage) {
|
|
718
742
|
|
719
743
|
/***/ }),
|
720
744
|
|
721
|
-
/***/
|
745
|
+
/***/ 1849:
|
722
746
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
723
747
|
|
724
748
|
"use strict";
|
@@ -735,9 +759,9 @@ Object.defineProperty(exports, "renderString", ({
|
|
735
759
|
}
|
736
760
|
}));
|
737
761
|
|
738
|
-
var _codesmith = __webpack_require__(
|
762
|
+
var _codesmith = __webpack_require__(54345);
|
739
763
|
|
740
|
-
var _utils = __webpack_require__(
|
764
|
+
var _utils = __webpack_require__(40682);
|
741
765
|
|
742
766
|
class HandlebarsAPI {
|
743
767
|
constructor(generatorCore, registers) {
|
@@ -781,7 +805,7 @@ exports.HandlebarsAPI = HandlebarsAPI;
|
|
781
805
|
|
782
806
|
/***/ }),
|
783
807
|
|
784
|
-
/***/
|
808
|
+
/***/ 40682:
|
785
809
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
786
810
|
|
787
811
|
"use strict";
|
@@ -797,11 +821,11 @@ Object.defineProperty(exports, "renderString", ({
|
|
797
821
|
}
|
798
822
|
}));
|
799
823
|
|
800
|
-
var _renderString = __webpack_require__(
|
824
|
+
var _renderString = __webpack_require__(60311);
|
801
825
|
|
802
826
|
/***/ }),
|
803
827
|
|
804
|
-
/***/
|
828
|
+
/***/ 60311:
|
805
829
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
806
830
|
|
807
831
|
"use strict";
|
@@ -834,7 +858,7 @@ function renderString(template, fullData, registers) {
|
|
834
858
|
|
835
859
|
/***/ }),
|
836
860
|
|
837
|
-
/***/
|
861
|
+
/***/ 99657:
|
838
862
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
839
863
|
|
840
864
|
"use strict";
|
@@ -849,7 +873,7 @@ var _commentJson = _interopRequireDefault(__webpack_require__(66623));
|
|
849
873
|
|
850
874
|
var declarationUpdate = _interopRequireWildcard(__webpack_require__(8200));
|
851
875
|
|
852
|
-
var _utils = __webpack_require__(
|
876
|
+
var _utils = __webpack_require__(10334);
|
853
877
|
|
854
878
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
855
879
|
|
@@ -915,7 +939,7 @@ exports.JsonAPI = JsonAPI;
|
|
915
939
|
|
916
940
|
/***/ }),
|
917
941
|
|
918
|
-
/***/
|
942
|
+
/***/ 10334:
|
919
943
|
/***/ ((__unused_webpack_module, exports) => {
|
920
944
|
|
921
945
|
"use strict";
|
@@ -942,7 +966,7 @@ async function editJson(generatorCore, resource, getNewJsonValue) {
|
|
942
966
|
|
943
967
|
/***/ }),
|
944
968
|
|
945
|
-
/***/
|
969
|
+
/***/ 90423:
|
946
970
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
947
971
|
|
948
972
|
"use strict";
|
@@ -956,7 +980,7 @@ var _exportNames = {
|
|
956
980
|
};
|
957
981
|
exports.NpmAPI = void 0;
|
958
982
|
|
959
|
-
var _utils = __webpack_require__(
|
983
|
+
var _utils = __webpack_require__(63716);
|
960
984
|
|
961
985
|
Object.keys(_utils).forEach(function (key) {
|
962
986
|
if (key === "default" || key === "__esModule") return;
|
@@ -994,7 +1018,7 @@ exports.NpmAPI = NpmAPI;
|
|
994
1018
|
|
995
1019
|
/***/ }),
|
996
1020
|
|
997
|
-
/***/
|
1021
|
+
/***/ 45033:
|
998
1022
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
999
1023
|
|
1000
1024
|
"use strict";
|
@@ -1059,7 +1083,7 @@ async function canUsePnpm() {
|
|
1059
1083
|
|
1060
1084
|
/***/ }),
|
1061
1085
|
|
1062
|
-
/***/
|
1086
|
+
/***/ 63716:
|
1063
1087
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1064
1088
|
|
1065
1089
|
"use strict";
|
@@ -1111,13 +1135,13 @@ Object.defineProperty(exports, "yarnInstall", ({
|
|
1111
1135
|
}
|
1112
1136
|
}));
|
1113
1137
|
|
1114
|
-
var _env = __webpack_require__(
|
1138
|
+
var _env = __webpack_require__(45033);
|
1115
1139
|
|
1116
|
-
var _install = __webpack_require__(
|
1140
|
+
var _install = __webpack_require__(6285);
|
1117
1141
|
|
1118
1142
|
/***/ }),
|
1119
1143
|
|
1120
|
-
/***/
|
1144
|
+
/***/ 6285:
|
1121
1145
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1122
1146
|
|
1123
1147
|
"use strict";
|
@@ -1133,7 +1157,7 @@ exports.yarnInstall = yarnInstall;
|
|
1133
1157
|
|
1134
1158
|
var _execa = _interopRequireDefault(__webpack_require__(16228));
|
1135
1159
|
|
1136
|
-
var _env = __webpack_require__(
|
1160
|
+
var _env = __webpack_require__(45033);
|
1137
1161
|
|
1138
1162
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1139
1163
|
|
@@ -1211,7 +1235,7 @@ async function pnpmInstall(cwd, registryUrl) {
|
|
1211
1235
|
|
1212
1236
|
/***/ }),
|
1213
1237
|
|
1214
|
-
/***/
|
1238
|
+
/***/ 5579:
|
1215
1239
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1216
1240
|
|
1217
1241
|
"use strict";
|
@@ -1224,15 +1248,15 @@ exports.CodeSmith = void 0;
|
|
1224
1248
|
|
1225
1249
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
1226
1250
|
|
1227
|
-
var _generator = __webpack_require__(
|
1251
|
+
var _generator = __webpack_require__(50891);
|
1228
1252
|
|
1229
|
-
var _logger = __webpack_require__(
|
1253
|
+
var _logger = __webpack_require__(73842);
|
1230
1254
|
|
1231
|
-
var _constants = __webpack_require__(
|
1255
|
+
var _constants = __webpack_require__(68725);
|
1232
1256
|
|
1233
|
-
var _materials = __webpack_require__(
|
1257
|
+
var _materials = __webpack_require__(3797);
|
1234
1258
|
|
1235
|
-
var _FsMaterial = __webpack_require__(
|
1259
|
+
var _FsMaterial = __webpack_require__(78741);
|
1236
1260
|
|
1237
1261
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1238
1262
|
|
@@ -1291,7 +1315,7 @@ exports.CodeSmith = CodeSmith;
|
|
1291
1315
|
|
1292
1316
|
/***/ }),
|
1293
1317
|
|
1294
|
-
/***/
|
1318
|
+
/***/ 84795:
|
1295
1319
|
/***/ ((__unused_webpack_module, exports) => {
|
1296
1320
|
|
1297
1321
|
"use strict";
|
@@ -1308,7 +1332,7 @@ exports.CATCHE_VALIDITY_PREIOD = CATCHE_VALIDITY_PREIOD;
|
|
1308
1332
|
|
1309
1333
|
/***/ }),
|
1310
1334
|
|
1311
|
-
/***/
|
1335
|
+
/***/ 50891:
|
1312
1336
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1313
1337
|
|
1314
1338
|
"use strict";
|
@@ -1329,11 +1353,11 @@ var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
|
1329
1353
|
|
1330
1354
|
var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
|
1331
1355
|
|
1332
|
-
var _FsMaterial = __webpack_require__(
|
1356
|
+
var _FsMaterial = __webpack_require__(78741);
|
1333
1357
|
|
1334
|
-
var _nodeRequire = __webpack_require__(
|
1358
|
+
var _nodeRequire = __webpack_require__(18447);
|
1335
1359
|
|
1336
|
-
var _getGeneratorDir = __webpack_require__(
|
1360
|
+
var _getGeneratorDir = __webpack_require__(85282);
|
1337
1361
|
|
1338
1362
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1339
1363
|
|
@@ -1564,7 +1588,7 @@ exports.GeneratorCore = GeneratorCore;
|
|
1564
1588
|
|
1565
1589
|
/***/ }),
|
1566
1590
|
|
1567
|
-
/***/
|
1591
|
+
/***/ 54345:
|
1568
1592
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1569
1593
|
|
1570
1594
|
"use strict";
|
@@ -1639,21 +1663,21 @@ Object.defineProperty(exports, "MaterialsManager", ({
|
|
1639
1663
|
}
|
1640
1664
|
}));
|
1641
1665
|
|
1642
|
-
var _constants = __webpack_require__(
|
1666
|
+
var _constants = __webpack_require__(68725);
|
1643
1667
|
|
1644
|
-
var _logger = __webpack_require__(
|
1668
|
+
var _logger = __webpack_require__(73842);
|
1645
1669
|
|
1646
|
-
var _codesmith = __webpack_require__(
|
1670
|
+
var _codesmith = __webpack_require__(5579);
|
1647
1671
|
|
1648
|
-
var _generator = __webpack_require__(
|
1672
|
+
var _generator = __webpack_require__(50891);
|
1649
1673
|
|
1650
|
-
var _materials = __webpack_require__(
|
1674
|
+
var _materials = __webpack_require__(3797);
|
1651
1675
|
|
1652
|
-
var _FsMaterial = __webpack_require__(
|
1676
|
+
var _FsMaterial = __webpack_require__(78741);
|
1653
1677
|
|
1654
|
-
var _FsResource = __webpack_require__(
|
1678
|
+
var _FsResource = __webpack_require__(49448);
|
1655
1679
|
|
1656
|
-
var _utils = __webpack_require__(
|
1680
|
+
var _utils = __webpack_require__(27351);
|
1657
1681
|
|
1658
1682
|
Object.keys(_utils).forEach(function (key) {
|
1659
1683
|
if (key === "default" || key === "__esModule") return;
|
@@ -1669,7 +1693,7 @@ Object.keys(_utils).forEach(function (key) {
|
|
1669
1693
|
|
1670
1694
|
/***/ }),
|
1671
1695
|
|
1672
|
-
/***/
|
1696
|
+
/***/ 68725:
|
1673
1697
|
/***/ ((__unused_webpack_module, exports) => {
|
1674
1698
|
|
1675
1699
|
"use strict";
|
@@ -1697,7 +1721,7 @@ exports.LevelPriority = LevelPriority;
|
|
1697
1721
|
|
1698
1722
|
/***/ }),
|
1699
1723
|
|
1700
|
-
/***/
|
1724
|
+
/***/ 73842:
|
1701
1725
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1702
1726
|
|
1703
1727
|
"use strict";
|
@@ -1710,7 +1734,7 @@ exports.Logger = void 0;
|
|
1710
1734
|
|
1711
1735
|
var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
1712
1736
|
|
1713
|
-
var _constants = __webpack_require__(
|
1737
|
+
var _constants = __webpack_require__(68725);
|
1714
1738
|
|
1715
1739
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1716
1740
|
|
@@ -1785,7 +1809,7 @@ exports.Logger = Logger;
|
|
1785
1809
|
|
1786
1810
|
/***/ }),
|
1787
1811
|
|
1788
|
-
/***/
|
1812
|
+
/***/ 78741:
|
1789
1813
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1790
1814
|
|
1791
1815
|
"use strict";
|
@@ -1800,7 +1824,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
1800
1824
|
|
1801
1825
|
var _globPromise = _interopRequireDefault(__webpack_require__(39646));
|
1802
1826
|
|
1803
|
-
var _FsResource = __webpack_require__(
|
1827
|
+
var _FsResource = __webpack_require__(49448);
|
1804
1828
|
|
1805
1829
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1806
1830
|
|
@@ -1833,7 +1857,7 @@ exports.FsMaterial = FsMaterial;
|
|
1833
1857
|
|
1834
1858
|
/***/ }),
|
1835
1859
|
|
1836
|
-
/***/
|
1860
|
+
/***/ 49448:
|
1837
1861
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1838
1862
|
|
1839
1863
|
"use strict";
|
@@ -1848,7 +1872,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
1848
1872
|
|
1849
1873
|
var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
|
1850
1874
|
|
1851
|
-
var _constants = __webpack_require__(
|
1875
|
+
var _constants = __webpack_require__(70516);
|
1852
1876
|
|
1853
1877
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1854
1878
|
|
@@ -1886,7 +1910,7 @@ exports.FsResource = FsResource;
|
|
1886
1910
|
|
1887
1911
|
/***/ }),
|
1888
1912
|
|
1889
|
-
/***/
|
1913
|
+
/***/ 70516:
|
1890
1914
|
/***/ ((__unused_webpack_module, exports) => {
|
1891
1915
|
|
1892
1916
|
"use strict";
|
@@ -1901,7 +1925,7 @@ exports.IMAGE_EXT_LIST = IMAGE_EXT_LIST;
|
|
1901
1925
|
|
1902
1926
|
/***/ }),
|
1903
1927
|
|
1904
|
-
/***/
|
1928
|
+
/***/ 3797:
|
1905
1929
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1906
1930
|
|
1907
1931
|
"use strict";
|
@@ -1914,9 +1938,9 @@ exports.MaterialsManager = void 0;
|
|
1914
1938
|
|
1915
1939
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
1916
1940
|
|
1917
|
-
var _FsMaterial = __webpack_require__(
|
1941
|
+
var _FsMaterial = __webpack_require__(78741);
|
1918
1942
|
|
1919
|
-
var _utils = __webpack_require__(
|
1943
|
+
var _utils = __webpack_require__(27351);
|
1920
1944
|
|
1921
1945
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1922
1946
|
|
@@ -1961,7 +1985,7 @@ exports.MaterialsManager = MaterialsManager;
|
|
1961
1985
|
|
1962
1986
|
/***/ }),
|
1963
1987
|
|
1964
|
-
/***/
|
1988
|
+
/***/ 81337:
|
1965
1989
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1966
1990
|
|
1967
1991
|
"use strict";
|
@@ -1980,15 +2004,15 @@ var _axios = _interopRequireDefault(__webpack_require__(45114));
|
|
1980
2004
|
|
1981
2005
|
var _tar = _interopRequireDefault(__webpack_require__(74634));
|
1982
2006
|
|
1983
|
-
var _getNpmTarballUrl = __webpack_require__(
|
2007
|
+
var _getNpmTarballUrl = __webpack_require__(27272);
|
1984
2008
|
|
1985
|
-
var _getNpmVersion = __webpack_require__(
|
2009
|
+
var _getNpmVersion = __webpack_require__(38016);
|
1986
2010
|
|
1987
|
-
var _fsExists = __webpack_require__(
|
2011
|
+
var _fsExists = __webpack_require__(62279);
|
1988
2012
|
|
1989
|
-
var _packageManager = __webpack_require__(
|
2013
|
+
var _packageManager = __webpack_require__(14888);
|
1990
2014
|
|
1991
|
-
var _constants = __webpack_require__(
|
2015
|
+
var _constants = __webpack_require__(84795);
|
1992
2016
|
|
1993
2017
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1994
2018
|
|
@@ -2108,7 +2132,7 @@ async function downloadPackage(pkgName, pkgVersion = 'latest', options = {}) {
|
|
2108
2132
|
|
2109
2133
|
/***/ }),
|
2110
2134
|
|
2111
|
-
/***/
|
2135
|
+
/***/ 62279:
|
2112
2136
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2113
2137
|
|
2114
2138
|
"use strict";
|
@@ -2139,7 +2163,7 @@ async function fsExists(path) {
|
|
2139
2163
|
|
2140
2164
|
/***/ }),
|
2141
2165
|
|
2142
|
-
/***/
|
2166
|
+
/***/ 85282:
|
2143
2167
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2144
2168
|
|
2145
2169
|
"use strict";
|
@@ -2154,7 +2178,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
2154
2178
|
|
2155
2179
|
var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
|
2156
2180
|
|
2157
|
-
var _fsExists = __webpack_require__(
|
2181
|
+
var _fsExists = __webpack_require__(62279);
|
2158
2182
|
|
2159
2183
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2160
2184
|
|
@@ -2184,7 +2208,7 @@ async function getGeneratorDir(generator) {
|
|
2184
2208
|
|
2185
2209
|
/***/ }),
|
2186
2210
|
|
2187
|
-
/***/
|
2211
|
+
/***/ 27272:
|
2188
2212
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2189
2213
|
|
2190
2214
|
"use strict";
|
@@ -2197,9 +2221,9 @@ exports.getNpmTarballUrl = getNpmTarballUrl;
|
|
2197
2221
|
|
2198
2222
|
var _packageJson = _interopRequireDefault(__webpack_require__(27499));
|
2199
2223
|
|
2200
|
-
var _timeoutPromise = __webpack_require__(
|
2224
|
+
var _timeoutPromise = __webpack_require__(80767);
|
2201
2225
|
|
2202
|
-
var _constants = __webpack_require__(
|
2226
|
+
var _constants = __webpack_require__(84795);
|
2203
2227
|
|
2204
2228
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2205
2229
|
|
@@ -2236,7 +2260,7 @@ async function getNpmTarballUrl(pkgName, pkgVersion, options) {
|
|
2236
2260
|
|
2237
2261
|
/***/ }),
|
2238
2262
|
|
2239
|
-
/***/
|
2263
|
+
/***/ 38016:
|
2240
2264
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2241
2265
|
|
2242
2266
|
"use strict";
|
@@ -2249,9 +2273,9 @@ exports.getNpmVersion = getNpmVersion;
|
|
2249
2273
|
|
2250
2274
|
var _packageJson = _interopRequireDefault(__webpack_require__(27499));
|
2251
2275
|
|
2252
|
-
var _timeoutPromise = __webpack_require__(
|
2276
|
+
var _timeoutPromise = __webpack_require__(80767);
|
2253
2277
|
|
2254
|
-
var _constants = __webpack_require__(
|
2278
|
+
var _constants = __webpack_require__(84795);
|
2255
2279
|
|
2256
2280
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2257
2281
|
|
@@ -2270,7 +2294,7 @@ async function getNpmVersion(packageName, options) {
|
|
2270
2294
|
|
2271
2295
|
/***/ }),
|
2272
2296
|
|
2273
|
-
/***/
|
2297
|
+
/***/ 20892:
|
2274
2298
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2275
2299
|
|
2276
2300
|
"use strict";
|
@@ -2319,7 +2343,7 @@ function getPackageInfo(packageName) {
|
|
2319
2343
|
|
2320
2344
|
/***/ }),
|
2321
2345
|
|
2322
|
-
/***/
|
2346
|
+
/***/ 27351:
|
2323
2347
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2324
2348
|
|
2325
2349
|
"use strict";
|
@@ -2389,25 +2413,25 @@ Object.defineProperty(exports, "timeoutPromise", ({
|
|
2389
2413
|
}
|
2390
2414
|
}));
|
2391
2415
|
|
2392
|
-
var _fsExists = __webpack_require__(
|
2416
|
+
var _fsExists = __webpack_require__(62279);
|
2393
2417
|
|
2394
|
-
var _nodeRequire = __webpack_require__(
|
2418
|
+
var _nodeRequire = __webpack_require__(18447);
|
2395
2419
|
|
2396
|
-
var _packageManager = __webpack_require__(
|
2420
|
+
var _packageManager = __webpack_require__(14888);
|
2397
2421
|
|
2398
|
-
var _timeoutPromise = __webpack_require__(
|
2422
|
+
var _timeoutPromise = __webpack_require__(80767);
|
2399
2423
|
|
2400
|
-
var _downloadPackage = __webpack_require__(
|
2424
|
+
var _downloadPackage = __webpack_require__(81337);
|
2401
2425
|
|
2402
|
-
var _getNpmTarballUrl = __webpack_require__(
|
2426
|
+
var _getNpmTarballUrl = __webpack_require__(27272);
|
2403
2427
|
|
2404
|
-
var _getNpmVersion = __webpack_require__(
|
2428
|
+
var _getNpmVersion = __webpack_require__(38016);
|
2405
2429
|
|
2406
|
-
var _getPackageInfo = __webpack_require__(
|
2430
|
+
var _getPackageInfo = __webpack_require__(20892);
|
2407
2431
|
|
2408
2432
|
/***/ }),
|
2409
2433
|
|
2410
|
-
/***/
|
2434
|
+
/***/ 18447:
|
2411
2435
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2412
2436
|
|
2413
2437
|
"use strict";
|
@@ -2433,7 +2457,7 @@ const nodeRequire = path => {
|
|
2433
2457
|
|
2434
2458
|
return module;
|
2435
2459
|
} catch (error) {
|
2436
|
-
const module = __webpack_require__(
|
2460
|
+
const module = __webpack_require__(15525)(path);
|
2437
2461
|
|
2438
2462
|
if (module !== null && module !== void 0 && module.default) {
|
2439
2463
|
return module.default;
|
@@ -2447,7 +2471,7 @@ exports.nodeRequire = nodeRequire;
|
|
2447
2471
|
|
2448
2472
|
/***/ }),
|
2449
2473
|
|
2450
|
-
/***/
|
2474
|
+
/***/ 14888:
|
2451
2475
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2452
2476
|
|
2453
2477
|
"use strict";
|
@@ -2542,7 +2566,7 @@ async function runInstall(targetDir, registryUrl) {
|
|
2542
2566
|
|
2543
2567
|
/***/ }),
|
2544
2568
|
|
2545
|
-
/***/
|
2569
|
+
/***/ 80767:
|
2546
2570
|
/***/ ((__unused_webpack_module, exports) => {
|
2547
2571
|
|
2548
2572
|
"use strict";
|
@@ -2577,7 +2601,7 @@ async function timeoutPromise(promise, ms, reason = 'Operation') {
|
|
2577
2601
|
|
2578
2602
|
/***/ }),
|
2579
2603
|
|
2580
|
-
/***/
|
2604
|
+
/***/ 15525:
|
2581
2605
|
/***/ ((module) => {
|
2582
2606
|
|
2583
2607
|
function webpackEmptyContext(req) {
|
@@ -2587,12 +2611,12 @@ function webpackEmptyContext(req) {
|
|
2587
2611
|
}
|
2588
2612
|
webpackEmptyContext.keys = () => ([]);
|
2589
2613
|
webpackEmptyContext.resolve = webpackEmptyContext;
|
2590
|
-
webpackEmptyContext.id =
|
2614
|
+
webpackEmptyContext.id = 15525;
|
2591
2615
|
module.exports = webpackEmptyContext;
|
2592
2616
|
|
2593
2617
|
/***/ }),
|
2594
2618
|
|
2595
|
-
/***/
|
2619
|
+
/***/ 35516:
|
2596
2620
|
/***/ ((__unused_webpack_module, exports) => {
|
2597
2621
|
|
2598
2622
|
"use strict";
|
@@ -2604,14 +2628,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2604
2628
|
|
2605
2629
|
/***/ }),
|
2606
2630
|
|
2607
|
-
/***/
|
2631
|
+
/***/ 32661:
|
2608
2632
|
/***/ (() => {
|
2609
2633
|
|
2610
2634
|
|
2611
2635
|
|
2612
2636
|
/***/ }),
|
2613
2637
|
|
2614
|
-
/***/
|
2638
|
+
/***/ 27969:
|
2615
2639
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2616
2640
|
|
2617
2641
|
"use strict";
|
@@ -2622,9 +2646,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2622
2646
|
}));
|
2623
2647
|
exports.BaseCliReader = void 0;
|
2624
2648
|
|
2625
|
-
var _easyFormCore = __webpack_require__(
|
2649
|
+
var _easyFormCore = __webpack_require__(67566);
|
2626
2650
|
|
2627
|
-
var _constant = __webpack_require__(
|
2651
|
+
var _constant = __webpack_require__(56124);
|
2628
2652
|
|
2629
2653
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
2630
2654
|
|
@@ -2810,7 +2834,7 @@ exports.BaseCliReader = BaseCliReader;
|
|
2810
2834
|
|
2811
2835
|
/***/ }),
|
2812
2836
|
|
2813
|
-
/***/
|
2837
|
+
/***/ 90444:
|
2814
2838
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2815
2839
|
|
2816
2840
|
"use strict";
|
@@ -2821,9 +2845,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2821
2845
|
}));
|
2822
2846
|
exports.checkboxNode = void 0;
|
2823
2847
|
|
2824
|
-
__webpack_require__(
|
2848
|
+
__webpack_require__(32661);
|
2825
2849
|
|
2826
|
-
var _utils = __webpack_require__(
|
2850
|
+
var _utils = __webpack_require__(32300);
|
2827
2851
|
|
2828
2852
|
const checkboxNode = options => {
|
2829
2853
|
const {
|
@@ -2859,7 +2883,7 @@ exports.checkboxNode = checkboxNode;
|
|
2859
2883
|
|
2860
2884
|
/***/ }),
|
2861
2885
|
|
2862
|
-
/***/
|
2886
|
+
/***/ 15352:
|
2863
2887
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2864
2888
|
|
2865
2889
|
"use strict";
|
@@ -2870,9 +2894,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2870
2894
|
}));
|
2871
2895
|
exports.childNode = void 0;
|
2872
2896
|
|
2873
|
-
__webpack_require__(
|
2897
|
+
__webpack_require__(32661);
|
2874
2898
|
|
2875
|
-
var _utils = __webpack_require__(
|
2899
|
+
var _utils = __webpack_require__(32300);
|
2876
2900
|
|
2877
2901
|
const childNode = options => {
|
2878
2902
|
const {
|
@@ -2898,7 +2922,7 @@ exports.childNode = childNode;
|
|
2898
2922
|
|
2899
2923
|
/***/ }),
|
2900
2924
|
|
2901
|
-
/***/
|
2925
|
+
/***/ 79470:
|
2902
2926
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2903
2927
|
|
2904
2928
|
"use strict";
|
@@ -2909,9 +2933,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2909
2933
|
}));
|
2910
2934
|
exports.formNode = void 0;
|
2911
2935
|
|
2912
|
-
__webpack_require__(
|
2936
|
+
__webpack_require__(32661);
|
2913
2937
|
|
2914
|
-
var _utils = __webpack_require__(
|
2938
|
+
var _utils = __webpack_require__(32300);
|
2915
2939
|
|
2916
2940
|
const formNode = options => {
|
2917
2941
|
const {
|
@@ -2924,7 +2948,7 @@ exports.formNode = formNode;
|
|
2924
2948
|
|
2925
2949
|
/***/ }),
|
2926
2950
|
|
2927
|
-
/***/
|
2951
|
+
/***/ 47909:
|
2928
2952
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2929
2953
|
|
2930
2954
|
"use strict";
|
@@ -2934,7 +2958,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2934
2958
|
value: true
|
2935
2959
|
}));
|
2936
2960
|
|
2937
|
-
var _checkboxNode = __webpack_require__(
|
2961
|
+
var _checkboxNode = __webpack_require__(90444);
|
2938
2962
|
|
2939
2963
|
Object.keys(_checkboxNode).forEach(function (key) {
|
2940
2964
|
if (key === "default" || key === "__esModule") return;
|
@@ -2947,7 +2971,7 @@ Object.keys(_checkboxNode).forEach(function (key) {
|
|
2947
2971
|
});
|
2948
2972
|
});
|
2949
2973
|
|
2950
|
-
var _rootNode = __webpack_require__(
|
2974
|
+
var _rootNode = __webpack_require__(75634);
|
2951
2975
|
|
2952
2976
|
Object.keys(_rootNode).forEach(function (key) {
|
2953
2977
|
if (key === "default" || key === "__esModule") return;
|
@@ -2960,7 +2984,7 @@ Object.keys(_rootNode).forEach(function (key) {
|
|
2960
2984
|
});
|
2961
2985
|
});
|
2962
2986
|
|
2963
|
-
var _childNode = __webpack_require__(
|
2987
|
+
var _childNode = __webpack_require__(15352);
|
2964
2988
|
|
2965
2989
|
Object.keys(_childNode).forEach(function (key) {
|
2966
2990
|
if (key === "default" || key === "__esModule") return;
|
@@ -2973,7 +2997,7 @@ Object.keys(_childNode).forEach(function (key) {
|
|
2973
2997
|
});
|
2974
2998
|
});
|
2975
2999
|
|
2976
|
-
var _formNode = __webpack_require__(
|
3000
|
+
var _formNode = __webpack_require__(79470);
|
2977
3001
|
|
2978
3002
|
Object.keys(_formNode).forEach(function (key) {
|
2979
3003
|
if (key === "default" || key === "__esModule") return;
|
@@ -2986,7 +3010,7 @@ Object.keys(_formNode).forEach(function (key) {
|
|
2986
3010
|
});
|
2987
3011
|
});
|
2988
3012
|
|
2989
|
-
var _inputNode = __webpack_require__(
|
3013
|
+
var _inputNode = __webpack_require__(78734);
|
2990
3014
|
|
2991
3015
|
Object.keys(_inputNode).forEach(function (key) {
|
2992
3016
|
if (key === "default" || key === "__esModule") return;
|
@@ -2999,7 +3023,7 @@ Object.keys(_inputNode).forEach(function (key) {
|
|
2999
3023
|
});
|
3000
3024
|
});
|
3001
3025
|
|
3002
|
-
var _listNode = __webpack_require__(
|
3026
|
+
var _listNode = __webpack_require__(4533);
|
3003
3027
|
|
3004
3028
|
Object.keys(_listNode).forEach(function (key) {
|
3005
3029
|
if (key === "default" || key === "__esModule") return;
|
@@ -3012,7 +3036,7 @@ Object.keys(_listNode).forEach(function (key) {
|
|
3012
3036
|
});
|
3013
3037
|
});
|
3014
3038
|
|
3015
|
-
var _numberNode = __webpack_require__(
|
3039
|
+
var _numberNode = __webpack_require__(14247);
|
3016
3040
|
|
3017
3041
|
Object.keys(_numberNode).forEach(function (key) {
|
3018
3042
|
if (key === "default" || key === "__esModule") return;
|
@@ -3027,7 +3051,7 @@ Object.keys(_numberNode).forEach(function (key) {
|
|
3027
3051
|
|
3028
3052
|
/***/ }),
|
3029
3053
|
|
3030
|
-
/***/
|
3054
|
+
/***/ 78734:
|
3031
3055
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3032
3056
|
|
3033
3057
|
"use strict";
|
@@ -3038,9 +3062,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3038
3062
|
}));
|
3039
3063
|
exports.inputNode = void 0;
|
3040
3064
|
|
3041
|
-
__webpack_require__(
|
3065
|
+
__webpack_require__(32661);
|
3042
3066
|
|
3043
|
-
var _utils = __webpack_require__(
|
3067
|
+
var _utils = __webpack_require__(32300);
|
3044
3068
|
|
3045
3069
|
const inputNode = options => {
|
3046
3070
|
const {
|
@@ -3064,7 +3088,7 @@ exports.inputNode = inputNode;
|
|
3064
3088
|
|
3065
3089
|
/***/ }),
|
3066
3090
|
|
3067
|
-
/***/
|
3091
|
+
/***/ 4533:
|
3068
3092
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3069
3093
|
|
3070
3094
|
"use strict";
|
@@ -3075,9 +3099,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3075
3099
|
}));
|
3076
3100
|
exports.listNode = void 0;
|
3077
3101
|
|
3078
|
-
__webpack_require__(
|
3102
|
+
__webpack_require__(32661);
|
3079
3103
|
|
3080
|
-
var _utils = __webpack_require__(
|
3104
|
+
var _utils = __webpack_require__(32300);
|
3081
3105
|
|
3082
3106
|
const listNode = options => {
|
3083
3107
|
const {
|
@@ -3113,7 +3137,7 @@ exports.listNode = listNode;
|
|
3113
3137
|
|
3114
3138
|
/***/ }),
|
3115
3139
|
|
3116
|
-
/***/
|
3140
|
+
/***/ 14247:
|
3117
3141
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3118
3142
|
|
3119
3143
|
"use strict";
|
@@ -3124,9 +3148,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3124
3148
|
}));
|
3125
3149
|
exports.numberNode = void 0;
|
3126
3150
|
|
3127
|
-
__webpack_require__(
|
3151
|
+
__webpack_require__(32661);
|
3128
3152
|
|
3129
|
-
var _utils = __webpack_require__(
|
3153
|
+
var _utils = __webpack_require__(32300);
|
3130
3154
|
|
3131
3155
|
const numberNode = options => {
|
3132
3156
|
const {
|
@@ -3150,7 +3174,7 @@ exports.numberNode = numberNode;
|
|
3150
3174
|
|
3151
3175
|
/***/ }),
|
3152
3176
|
|
3153
|
-
/***/
|
3177
|
+
/***/ 75634:
|
3154
3178
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3155
3179
|
|
3156
3180
|
"use strict";
|
@@ -3161,7 +3185,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3161
3185
|
}));
|
3162
3186
|
exports.rootNode = void 0;
|
3163
3187
|
|
3164
|
-
__webpack_require__(
|
3188
|
+
__webpack_require__(32661);
|
3165
3189
|
|
3166
3190
|
const rootNode = options => {
|
3167
3191
|
const {
|
@@ -3182,7 +3206,7 @@ exports.rootNode = rootNode;
|
|
3182
3206
|
|
3183
3207
|
/***/ }),
|
3184
3208
|
|
3185
|
-
/***/
|
3209
|
+
/***/ 74589:
|
3186
3210
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3187
3211
|
|
3188
3212
|
"use strict";
|
@@ -3202,13 +3226,13 @@ var _inquirer = _interopRequireDefault(__webpack_require__(82761));
|
|
3202
3226
|
|
3203
3227
|
var Rx = _interopRequireWildcard(__webpack_require__(68798));
|
3204
3228
|
|
3205
|
-
var _baseCliReader = __webpack_require__(
|
3229
|
+
var _baseCliReader = __webpack_require__(27969);
|
3206
3230
|
|
3207
|
-
var _constant = __webpack_require__(
|
3231
|
+
var _constant = __webpack_require__(56124);
|
3208
3232
|
|
3209
|
-
var questionsHandlers = _interopRequireWildcard(__webpack_require__(
|
3233
|
+
var questionsHandlers = _interopRequireWildcard(__webpack_require__(47909));
|
3210
3234
|
|
3211
|
-
var _utils = __webpack_require__(
|
3235
|
+
var _utils = __webpack_require__(32300);
|
3212
3236
|
|
3213
3237
|
Object.keys(_utils).forEach(function (key) {
|
3214
3238
|
if (key === "default" || key === "__esModule") return;
|
@@ -3416,7 +3440,7 @@ setCliQuestionsHandlers(questionsHandlers);
|
|
3416
3440
|
|
3417
3441
|
/***/ }),
|
3418
3442
|
|
3419
|
-
/***/
|
3443
|
+
/***/ 32300:
|
3420
3444
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3421
3445
|
|
3422
3446
|
"use strict";
|
@@ -3427,7 +3451,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3427
3451
|
}));
|
3428
3452
|
exports.toPromiseQuestionHandlerLoop = exports.toPromiseQuestionHandler = exports.getWhen = exports.getValidate = exports.getTransformer = exports.getQuestion = exports.getMessage = exports.getFilter = exports.getDefaultValue = exports.getChoices = void 0;
|
3429
3453
|
|
3430
|
-
var _easyFormCore = __webpack_require__(
|
3454
|
+
var _easyFormCore = __webpack_require__(67566);
|
3431
3455
|
|
3432
3456
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
3433
3457
|
|
@@ -3724,7 +3748,7 @@ exports.toPromiseQuestionHandlerLoop = toPromiseQuestionHandlerLoop;
|
|
3724
3748
|
|
3725
3749
|
/***/ }),
|
3726
3750
|
|
3727
|
-
/***/
|
3751
|
+
/***/ 56124:
|
3728
3752
|
/***/ ((__unused_webpack_module, exports) => {
|
3729
3753
|
|
3730
3754
|
"use strict";
|
@@ -3749,7 +3773,7 @@ exports.CliNodeHandlers = CliNodeHandlers;
|
|
3749
3773
|
|
3750
3774
|
/***/ }),
|
3751
3775
|
|
3752
|
-
/***/
|
3776
|
+
/***/ 24191:
|
3753
3777
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3754
3778
|
|
3755
3779
|
"use strict";
|
@@ -3759,7 +3783,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3759
3783
|
value: true
|
3760
3784
|
}));
|
3761
3785
|
|
3762
|
-
var _cliReader = __webpack_require__(
|
3786
|
+
var _cliReader = __webpack_require__(74589);
|
3763
3787
|
|
3764
3788
|
Object.keys(_cliReader).forEach(function (key) {
|
3765
3789
|
if (key === "default" || key === "__esModule") return;
|
@@ -3772,7 +3796,7 @@ Object.keys(_cliReader).forEach(function (key) {
|
|
3772
3796
|
});
|
3773
3797
|
});
|
3774
3798
|
|
3775
|
-
var _ICli = __webpack_require__(
|
3799
|
+
var _ICli = __webpack_require__(35516);
|
3776
3800
|
|
3777
3801
|
Object.keys(_ICli).forEach(function (key) {
|
3778
3802
|
if (key === "default" || key === "__esModule") return;
|
@@ -3785,7 +3809,7 @@ Object.keys(_ICli).forEach(function (key) {
|
|
3785
3809
|
});
|
3786
3810
|
});
|
3787
3811
|
|
3788
|
-
var _easyFormCore = __webpack_require__(
|
3812
|
+
var _easyFormCore = __webpack_require__(67566);
|
3789
3813
|
|
3790
3814
|
Object.keys(_easyFormCore).forEach(function (key) {
|
3791
3815
|
if (key === "default" || key === "__esModule") return;
|
@@ -3800,7 +3824,7 @@ Object.keys(_easyFormCore).forEach(function (key) {
|
|
3800
3824
|
|
3801
3825
|
/***/ }),
|
3802
3826
|
|
3803
|
-
/***/
|
3827
|
+
/***/ 85973:
|
3804
3828
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3805
3829
|
|
3806
3830
|
"use strict";
|
@@ -3811,11 +3835,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3811
3835
|
}));
|
3812
3836
|
exports.BaseReader = void 0;
|
3813
3837
|
|
3814
|
-
var _checkSchema = __webpack_require__(
|
3838
|
+
var _checkSchema = __webpack_require__(54887);
|
3815
3839
|
|
3816
|
-
var _constant = __webpack_require__(
|
3840
|
+
var _constant = __webpack_require__(38085);
|
3817
3841
|
|
3818
|
-
var _utils = __webpack_require__(
|
3842
|
+
var _utils = __webpack_require__(44068);
|
3819
3843
|
|
3820
3844
|
const _excluded = ["effectedByFields", "action"];
|
3821
3845
|
|
@@ -4105,7 +4129,7 @@ exports.BaseReader = BaseReader;
|
|
4105
4129
|
|
4106
4130
|
/***/ }),
|
4107
4131
|
|
4108
|
-
/***/
|
4132
|
+
/***/ 54887:
|
4109
4133
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4110
4134
|
|
4111
4135
|
"use strict";
|
@@ -4116,9 +4140,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4116
4140
|
}));
|
4117
4141
|
exports.checkSchema = void 0;
|
4118
4142
|
|
4119
|
-
var _constant = __webpack_require__(
|
4143
|
+
var _constant = __webpack_require__(38085);
|
4120
4144
|
|
4121
|
-
var _utils = __webpack_require__(
|
4145
|
+
var _utils = __webpack_require__(44068);
|
4122
4146
|
|
4123
4147
|
const checkFieldType = schema => {
|
4124
4148
|
// field type detection
|
@@ -4245,7 +4269,7 @@ exports.checkSchema = checkSchema;
|
|
4245
4269
|
|
4246
4270
|
/***/ }),
|
4247
4271
|
|
4248
|
-
/***/
|
4272
|
+
/***/ 38085:
|
4249
4273
|
/***/ ((__unused_webpack_module, exports) => {
|
4250
4274
|
|
4251
4275
|
"use strict";
|
@@ -4302,7 +4326,7 @@ exports.MESSAGE = MESSAGE;
|
|
4302
4326
|
|
4303
4327
|
/***/ }),
|
4304
4328
|
|
4305
|
-
/***/
|
4329
|
+
/***/ 82344:
|
4306
4330
|
/***/ ((__unused_webpack_module, exports) => {
|
4307
4331
|
|
4308
4332
|
"use strict";
|
@@ -4353,7 +4377,7 @@ function forEach(from, callback) {
|
|
4353
4377
|
|
4354
4378
|
/***/ }),
|
4355
4379
|
|
4356
|
-
/***/
|
4380
|
+
/***/ 93783:
|
4357
4381
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4358
4382
|
|
4359
4383
|
"use strict";
|
@@ -4364,9 +4388,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4364
4388
|
}));
|
4365
4389
|
exports.Graph = void 0;
|
4366
4390
|
|
4367
|
-
var _collections = __webpack_require__(
|
4391
|
+
var _collections = __webpack_require__(82344);
|
4368
4392
|
|
4369
|
-
var _types = __webpack_require__(
|
4393
|
+
var _types = __webpack_require__(96691);
|
4370
4394
|
|
4371
4395
|
function newNode(data) {
|
4372
4396
|
return {
|
@@ -4458,7 +4482,7 @@ exports.Graph = Graph;
|
|
4458
4482
|
|
4459
4483
|
/***/ }),
|
4460
4484
|
|
4461
|
-
/***/
|
4485
|
+
/***/ 45741:
|
4462
4486
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4463
4487
|
|
4464
4488
|
"use strict";
|
@@ -4469,11 +4493,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4469
4493
|
}));
|
4470
4494
|
exports.EffectUtil = void 0;
|
4471
4495
|
|
4472
|
-
var _utils = __webpack_require__(
|
4496
|
+
var _utils = __webpack_require__(44068);
|
4473
4497
|
|
4474
|
-
var _graph = __webpack_require__(
|
4498
|
+
var _graph = __webpack_require__(93783);
|
4475
4499
|
|
4476
|
-
var _types = __webpack_require__(
|
4500
|
+
var _types = __webpack_require__(96691);
|
4477
4501
|
|
4478
4502
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
4479
4503
|
|
@@ -4638,7 +4662,7 @@ exports.EffectUtil = EffectUtil;
|
|
4638
4662
|
|
4639
4663
|
/***/ }),
|
4640
4664
|
|
4641
|
-
/***/
|
4665
|
+
/***/ 96691:
|
4642
4666
|
/***/ ((__unused_webpack_module, exports) => {
|
4643
4667
|
|
4644
4668
|
"use strict";
|
@@ -4676,7 +4700,7 @@ function isObject(obj) {
|
|
4676
4700
|
|
4677
4701
|
/***/ }),
|
4678
4702
|
|
4679
|
-
/***/
|
4703
|
+
/***/ 67566:
|
4680
4704
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4681
4705
|
|
4682
4706
|
"use strict";
|
@@ -4686,7 +4710,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4686
4710
|
value: true
|
4687
4711
|
}));
|
4688
4712
|
|
4689
|
-
var _baseReader = __webpack_require__(
|
4713
|
+
var _baseReader = __webpack_require__(85973);
|
4690
4714
|
|
4691
4715
|
Object.keys(_baseReader).forEach(function (key) {
|
4692
4716
|
if (key === "default" || key === "__esModule") return;
|
@@ -4699,7 +4723,7 @@ Object.keys(_baseReader).forEach(function (key) {
|
|
4699
4723
|
});
|
4700
4724
|
});
|
4701
4725
|
|
4702
|
-
var _types = __webpack_require__(
|
4726
|
+
var _types = __webpack_require__(25996);
|
4703
4727
|
|
4704
4728
|
Object.keys(_types).forEach(function (key) {
|
4705
4729
|
if (key === "default" || key === "__esModule") return;
|
@@ -4712,7 +4736,7 @@ Object.keys(_types).forEach(function (key) {
|
|
4712
4736
|
});
|
4713
4737
|
});
|
4714
4738
|
|
4715
|
-
var _constant = __webpack_require__(
|
4739
|
+
var _constant = __webpack_require__(38085);
|
4716
4740
|
|
4717
4741
|
Object.keys(_constant).forEach(function (key) {
|
4718
4742
|
if (key === "default" || key === "__esModule") return;
|
@@ -4725,7 +4749,7 @@ Object.keys(_constant).forEach(function (key) {
|
|
4725
4749
|
});
|
4726
4750
|
});
|
4727
4751
|
|
4728
|
-
var _utils = __webpack_require__(
|
4752
|
+
var _utils = __webpack_require__(44068);
|
4729
4753
|
|
4730
4754
|
Object.keys(_utils).forEach(function (key) {
|
4731
4755
|
if (key === "default" || key === "__esModule") return;
|
@@ -4738,7 +4762,7 @@ Object.keys(_utils).forEach(function (key) {
|
|
4738
4762
|
});
|
4739
4763
|
});
|
4740
4764
|
|
4741
|
-
var _effectUtil = __webpack_require__(
|
4765
|
+
var _effectUtil = __webpack_require__(45741);
|
4742
4766
|
|
4743
4767
|
Object.keys(_effectUtil).forEach(function (key) {
|
4744
4768
|
if (key === "default" || key === "__esModule") return;
|
@@ -4751,7 +4775,7 @@ Object.keys(_effectUtil).forEach(function (key) {
|
|
4751
4775
|
});
|
4752
4776
|
});
|
4753
4777
|
|
4754
|
-
var _checkSchema = __webpack_require__(
|
4778
|
+
var _checkSchema = __webpack_require__(54887);
|
4755
4779
|
|
4756
4780
|
Object.keys(_checkSchema).forEach(function (key) {
|
4757
4781
|
if (key === "default" || key === "__esModule") return;
|
@@ -4766,14 +4790,14 @@ Object.keys(_checkSchema).forEach(function (key) {
|
|
4766
4790
|
|
4767
4791
|
/***/ }),
|
4768
4792
|
|
4769
|
-
/***/
|
4793
|
+
/***/ 54365:
|
4770
4794
|
/***/ (() => {
|
4771
4795
|
|
4772
4796
|
|
4773
4797
|
|
4774
4798
|
/***/ }),
|
4775
4799
|
|
4776
|
-
/***/
|
4800
|
+
/***/ 25996:
|
4777
4801
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4778
4802
|
|
4779
4803
|
"use strict";
|
@@ -4783,7 +4807,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4783
4807
|
value: true
|
4784
4808
|
}));
|
4785
4809
|
|
4786
|
-
var _ISchema = __webpack_require__(
|
4810
|
+
var _ISchema = __webpack_require__(54365);
|
4787
4811
|
|
4788
4812
|
Object.keys(_ISchema).forEach(function (key) {
|
4789
4813
|
if (key === "default" || key === "__esModule") return;
|
@@ -4798,7 +4822,7 @@ Object.keys(_ISchema).forEach(function (key) {
|
|
4798
4822
|
|
4799
4823
|
/***/ }),
|
4800
4824
|
|
4801
|
-
/***/
|
4825
|
+
/***/ 44068:
|
4802
4826
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4803
4827
|
|
4804
4828
|
"use strict";
|
@@ -4808,7 +4832,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4808
4832
|
value: true
|
4809
4833
|
}));
|
4810
4834
|
|
4811
|
-
var _tools = __webpack_require__(
|
4835
|
+
var _tools = __webpack_require__(97734);
|
4812
4836
|
|
4813
4837
|
Object.keys(_tools).forEach(function (key) {
|
4814
4838
|
if (key === "default" || key === "__esModule") return;
|
@@ -4821,7 +4845,7 @@ Object.keys(_tools).forEach(function (key) {
|
|
4821
4845
|
});
|
4822
4846
|
});
|
4823
4847
|
|
4824
|
-
var _interator = __webpack_require__(
|
4848
|
+
var _interator = __webpack_require__(2369);
|
4825
4849
|
|
4826
4850
|
Object.keys(_interator).forEach(function (key) {
|
4827
4851
|
if (key === "default" || key === "__esModule") return;
|
@@ -4834,7 +4858,7 @@ Object.keys(_interator).forEach(function (key) {
|
|
4834
4858
|
});
|
4835
4859
|
});
|
4836
4860
|
|
4837
|
-
var _itemsField = __webpack_require__(
|
4861
|
+
var _itemsField = __webpack_require__(60959);
|
4838
4862
|
|
4839
4863
|
Object.keys(_itemsField).forEach(function (key) {
|
4840
4864
|
if (key === "default" || key === "__esModule") return;
|
@@ -4847,7 +4871,7 @@ Object.keys(_itemsField).forEach(function (key) {
|
|
4847
4871
|
});
|
4848
4872
|
});
|
4849
4873
|
|
4850
|
-
var _keyField = __webpack_require__(
|
4874
|
+
var _keyField = __webpack_require__(3310);
|
4851
4875
|
|
4852
4876
|
Object.keys(_keyField).forEach(function (key) {
|
4853
4877
|
if (key === "default" || key === "__esModule") return;
|
@@ -4860,7 +4884,7 @@ Object.keys(_keyField).forEach(function (key) {
|
|
4860
4884
|
});
|
4861
4885
|
});
|
4862
4886
|
|
4863
|
-
var _stateField = __webpack_require__(
|
4887
|
+
var _stateField = __webpack_require__(63179);
|
4864
4888
|
|
4865
4889
|
Object.keys(_stateField).forEach(function (key) {
|
4866
4890
|
if (key === "default" || key === "__esModule") return;
|
@@ -4873,7 +4897,7 @@ Object.keys(_stateField).forEach(function (key) {
|
|
4873
4897
|
});
|
4874
4898
|
});
|
4875
4899
|
|
4876
|
-
var _nodeInfo = __webpack_require__(
|
4900
|
+
var _nodeInfo = __webpack_require__(16784);
|
4877
4901
|
|
4878
4902
|
Object.keys(_nodeInfo).forEach(function (key) {
|
4879
4903
|
if (key === "default" || key === "__esModule") return;
|
@@ -4888,7 +4912,7 @@ Object.keys(_nodeInfo).forEach(function (key) {
|
|
4888
4912
|
|
4889
4913
|
/***/ }),
|
4890
4914
|
|
4891
|
-
/***/
|
4915
|
+
/***/ 2369:
|
4892
4916
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4893
4917
|
|
4894
4918
|
"use strict";
|
@@ -4899,9 +4923,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4899
4923
|
}));
|
4900
4924
|
exports.forEachWithKeyChain = exports.forEach = exports.filterNone = exports.filter = void 0;
|
4901
4925
|
|
4902
|
-
var _itemsField = __webpack_require__(
|
4926
|
+
var _itemsField = __webpack_require__(60959);
|
4903
4927
|
|
4904
|
-
var _stateField = __webpack_require__(
|
4928
|
+
var _stateField = __webpack_require__(63179);
|
4905
4929
|
|
4906
4930
|
// Foreach with key chain
|
4907
4931
|
const forEachWithKeyChain = (schema, handler) => {
|
@@ -5068,7 +5092,7 @@ exports.filter = filter;
|
|
5068
5092
|
|
5069
5093
|
/***/ }),
|
5070
5094
|
|
5071
|
-
/***/
|
5095
|
+
/***/ 60959:
|
5072
5096
|
/***/ ((__unused_webpack_module, exports) => {
|
5073
5097
|
|
5074
5098
|
"use strict";
|
@@ -5096,7 +5120,7 @@ exports.getItems = getItems;
|
|
5096
5120
|
|
5097
5121
|
/***/ }),
|
5098
5122
|
|
5099
|
-
/***/
|
5123
|
+
/***/ 3310:
|
5100
5124
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5101
5125
|
|
5102
5126
|
"use strict";
|
@@ -5107,7 +5131,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
5107
5131
|
}));
|
5108
5132
|
exports.getAllKeys = void 0;
|
5109
5133
|
|
5110
|
-
var _itemsField = __webpack_require__(
|
5134
|
+
var _itemsField = __webpack_require__(60959);
|
5111
5135
|
|
5112
5136
|
const getAllKeys = schema => {
|
5113
5137
|
const keys = [];
|
@@ -5128,7 +5152,7 @@ exports.getAllKeys = getAllKeys;
|
|
5128
5152
|
|
5129
5153
|
/***/ }),
|
5130
5154
|
|
5131
|
-
/***/
|
5155
|
+
/***/ 16784:
|
5132
5156
|
/***/ ((__unused_webpack_module, exports) => {
|
5133
5157
|
|
5134
5158
|
"use strict";
|
@@ -5217,7 +5241,7 @@ exports.getNodeInfo = getNodeInfo;
|
|
5217
5241
|
|
5218
5242
|
/***/ }),
|
5219
5243
|
|
5220
|
-
/***/
|
5244
|
+
/***/ 63179:
|
5221
5245
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5222
5246
|
|
5223
5247
|
"use strict";
|
@@ -5230,9 +5254,9 @@ exports.setSchemaInitValue = exports.setInitValues = exports.isEffectedValue = e
|
|
5230
5254
|
|
5231
5255
|
var _cloneDeep2 = _interopRequireDefault(__webpack_require__(11605));
|
5232
5256
|
|
5233
|
-
var _itemsField = __webpack_require__(
|
5257
|
+
var _itemsField = __webpack_require__(60959);
|
5234
5258
|
|
5235
|
-
var _tools = __webpack_require__(
|
5259
|
+
var _tools = __webpack_require__(97734);
|
5236
5260
|
|
5237
5261
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5238
5262
|
|
@@ -5330,7 +5354,7 @@ exports.getItemValue = getItemValue;
|
|
5330
5354
|
|
5331
5355
|
/***/ }),
|
5332
5356
|
|
5333
|
-
/***/
|
5357
|
+
/***/ 97734:
|
5334
5358
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5335
5359
|
|
5336
5360
|
"use strict";
|
@@ -5387,7 +5411,7 @@ exports.booleanToString = booleanToString;
|
|
5387
5411
|
|
5388
5412
|
/***/ }),
|
5389
5413
|
|
5390
|
-
/***/
|
5414
|
+
/***/ 46133:
|
5391
5415
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5392
5416
|
|
5393
5417
|
"use strict";
|
@@ -5403,11 +5427,11 @@ Object.defineProperty(exports, "List", ({
|
|
5403
5427
|
}
|
5404
5428
|
}));
|
5405
5429
|
|
5406
|
-
var _list = __webpack_require__(
|
5430
|
+
var _list = __webpack_require__(29149);
|
5407
5431
|
|
5408
5432
|
/***/ }),
|
5409
5433
|
|
5410
|
-
/***/
|
5434
|
+
/***/ 29149:
|
5411
5435
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5412
5436
|
|
5413
5437
|
"use strict";
|
@@ -5438,7 +5462,7 @@ var _operators = __webpack_require__(26579);
|
|
5438
5462
|
|
5439
5463
|
var _incrementListIndex = _interopRequireDefault(__webpack_require__(69062));
|
5440
5464
|
|
5441
|
-
var _utils = __webpack_require__(
|
5465
|
+
var _utils = __webpack_require__(17697);
|
5442
5466
|
|
5443
5467
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5444
5468
|
|
@@ -5575,7 +5599,7 @@ exports.List = List;
|
|
5575
5599
|
|
5576
5600
|
/***/ }),
|
5577
5601
|
|
5578
|
-
/***/
|
5602
|
+
/***/ 17697:
|
5579
5603
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5580
5604
|
|
5581
5605
|
"use strict";
|
@@ -5588,7 +5612,7 @@ exports.listRender = listRender;
|
|
5588
5612
|
|
5589
5613
|
var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
5590
5614
|
|
5591
|
-
var _pointer = __webpack_require__(
|
5615
|
+
var _pointer = __webpack_require__(56040);
|
5592
5616
|
|
5593
5617
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5594
5618
|
|
@@ -5637,7 +5661,7 @@ function listRender(choices, pointer, answers) {
|
|
5637
5661
|
|
5638
5662
|
/***/ }),
|
5639
5663
|
|
5640
|
-
/***/
|
5664
|
+
/***/ 56040:
|
5641
5665
|
/***/ ((__unused_webpack_module, exports) => {
|
5642
5666
|
|
5643
5667
|
"use strict";
|
@@ -5664,7 +5688,7 @@ exports.pointer = pointer;
|
|
5664
5688
|
|
5665
5689
|
/***/ }),
|
5666
5690
|
|
5667
|
-
/***/
|
5691
|
+
/***/ 98368:
|
5668
5692
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5669
5693
|
|
5670
5694
|
"use strict";
|
@@ -5677,7 +5701,7 @@ exports.I18n = void 0;
|
|
5677
5701
|
|
5678
5702
|
var _get2 = _interopRequireDefault(__webpack_require__(71189));
|
5679
5703
|
|
5680
|
-
var
|
5704
|
+
var _index = __webpack_require__(24033);
|
5681
5705
|
|
5682
5706
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5683
5707
|
|
@@ -5715,7 +5739,7 @@ class I18n {
|
|
5715
5739
|
this.languageMap = languageMap;
|
5716
5740
|
}
|
5717
5741
|
|
5718
|
-
return (0,
|
5742
|
+
return (0, _index.getObjKeyMap)(this.languageMap[this.language]);
|
5719
5743
|
}
|
5720
5744
|
|
5721
5745
|
changeLanguage(config) {
|
@@ -5738,7 +5762,7 @@ exports.I18n = I18n;
|
|
5738
5762
|
|
5739
5763
|
/***/ }),
|
5740
5764
|
|
5741
|
-
/***/
|
5765
|
+
/***/ 24033:
|
5742
5766
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5743
5767
|
|
5744
5768
|
"use strict";
|
@@ -17460,7 +17484,7 @@ module.exports = resolveCommand;
|
|
17460
17484
|
|
17461
17485
|
/***/ }),
|
17462
17486
|
|
17463
|
-
/***/
|
17487
|
+
/***/ 88351:
|
17464
17488
|
/***/ ((module, exports, __webpack_require__) => {
|
17465
17489
|
|
17466
17490
|
/* eslint-env browser */
|
@@ -17717,7 +17741,7 @@ function localstorage() {
|
|
17717
17741
|
}
|
17718
17742
|
}
|
17719
17743
|
|
17720
|
-
module.exports = __webpack_require__(
|
17744
|
+
module.exports = __webpack_require__(19507)(exports);
|
17721
17745
|
|
17722
17746
|
const {formatters} = module.exports;
|
17723
17747
|
|
@@ -17736,7 +17760,7 @@ formatters.j = function (v) {
|
|
17736
17760
|
|
17737
17761
|
/***/ }),
|
17738
17762
|
|
17739
|
-
/***/
|
17763
|
+
/***/ 19507:
|
17740
17764
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
17741
17765
|
|
17742
17766
|
|
@@ -17775,7 +17799,7 @@ function setup(env) {
|
|
17775
17799
|
|
17776
17800
|
/**
|
17777
17801
|
* Selects a color for a debug namespace
|
17778
|
-
* @param {String} namespace The namespace string for the
|
17802
|
+
* @param {String} namespace The namespace string for the debug instance to be colored
|
17779
17803
|
* @return {Number|String} An ANSI color code for the given namespace
|
17780
17804
|
* @api private
|
17781
17805
|
*/
|
@@ -18017,7 +18041,7 @@ module.exports = setup;
|
|
18017
18041
|
|
18018
18042
|
/***/ }),
|
18019
18043
|
|
18020
|
-
/***/
|
18044
|
+
/***/ 68919:
|
18021
18045
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
18022
18046
|
|
18023
18047
|
/**
|
@@ -18026,15 +18050,15 @@ module.exports = setup;
|
|
18026
18050
|
*/
|
18027
18051
|
|
18028
18052
|
if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
|
18029
|
-
module.exports = __webpack_require__(
|
18053
|
+
module.exports = __webpack_require__(88351);
|
18030
18054
|
} else {
|
18031
|
-
module.exports = __webpack_require__(
|
18055
|
+
module.exports = __webpack_require__(89534);
|
18032
18056
|
}
|
18033
18057
|
|
18034
18058
|
|
18035
18059
|
/***/ }),
|
18036
18060
|
|
18037
|
-
/***/
|
18061
|
+
/***/ 89534:
|
18038
18062
|
/***/ ((module, exports, __webpack_require__) => {
|
18039
18063
|
|
18040
18064
|
/**
|
@@ -18276,7 +18300,7 @@ function init(debug) {
|
|
18276
18300
|
}
|
18277
18301
|
}
|
18278
18302
|
|
18279
|
-
module.exports = __webpack_require__(
|
18303
|
+
module.exports = __webpack_require__(19507)(exports);
|
18280
18304
|
|
18281
18305
|
const {formatters} = module.exports;
|
18282
18306
|
|
@@ -18317,7 +18341,7 @@ var __spreadArrays = (this && this.__spreadArrays) || function () {
|
|
18317
18341
|
return r;
|
18318
18342
|
};
|
18319
18343
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
18320
|
-
var debug_1 = __webpack_require__(
|
18344
|
+
var debug_1 = __webpack_require__(68919);
|
18321
18345
|
var mongo_eql_1 = __webpack_require__(11418);
|
18322
18346
|
var ops = __webpack_require__(98402);
|
18323
18347
|
var get_type_1 = __webpack_require__(66692);
|
@@ -18471,7 +18495,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18471
18495
|
/**
|
18472
18496
|
* Module dependencies.
|
18473
18497
|
*/
|
18474
|
-
var debug_1 = __webpack_require__(
|
18498
|
+
var debug_1 = __webpack_require__(68919);
|
18475
18499
|
var mongoDot = __webpack_require__(18266);
|
18476
18500
|
var mongo_eql_1 = __webpack_require__(11418);
|
18477
18501
|
var get_type_1 = __webpack_require__(66692);
|
@@ -19296,7 +19320,7 @@ exports.$size = function (matcher, val) {
|
|
19296
19320
|
"use strict";
|
19297
19321
|
|
19298
19322
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
19299
|
-
var debug_1 = __webpack_require__(
|
19323
|
+
var debug_1 = __webpack_require__(68919);
|
19300
19324
|
var filter_1 = __webpack_require__(32889);
|
19301
19325
|
var mods = __webpack_require__(88708);
|
19302
19326
|
var mongoDot = __webpack_require__(18266);
|
@@ -27005,7 +27029,7 @@ module.exports = makeError;
|
|
27005
27029
|
"use strict";
|
27006
27030
|
|
27007
27031
|
const os = __webpack_require__(22037);
|
27008
|
-
const onExit = __webpack_require__(
|
27032
|
+
const onExit = __webpack_require__(66217);
|
27009
27033
|
|
27010
27034
|
const DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;
|
27011
27035
|
|
@@ -27898,7 +27922,7 @@ module.exports = function () {
|
|
27898
27922
|
if (!debug) {
|
27899
27923
|
try {
|
27900
27924
|
/* eslint global-require: off */
|
27901
|
-
debug = __webpack_require__(
|
27925
|
+
debug = __webpack_require__(68919)("follow-redirects");
|
27902
27926
|
}
|
27903
27927
|
catch (error) { /* */ }
|
27904
27928
|
if (typeof debug !== "function") {
|
@@ -33107,13 +33131,13 @@ GlobSync.prototype._makeAbs = function (f) {
|
|
33107
33131
|
|
33108
33132
|
/***/ }),
|
33109
33133
|
|
33110
|
-
/***/
|
33134
|
+
/***/ 39026:
|
33111
33135
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
33112
33136
|
|
33113
33137
|
"use strict";
|
33114
33138
|
|
33115
33139
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
33116
|
-
const types_1 = __webpack_require__(
|
33140
|
+
const types_1 = __webpack_require__(10009);
|
33117
33141
|
function createRejection(error, ...beforeErrorGroups) {
|
33118
33142
|
const promise = (async () => {
|
33119
33143
|
if (error instanceof types_1.RequestError) {
|
@@ -33145,7 +33169,7 @@ exports["default"] = createRejection;
|
|
33145
33169
|
|
33146
33170
|
/***/ }),
|
33147
33171
|
|
33148
|
-
/***/
|
33172
|
+
/***/ 93285:
|
33149
33173
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
33150
33174
|
|
33151
33175
|
"use strict";
|
@@ -33164,12 +33188,12 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33164
33188
|
const events_1 = __webpack_require__(82361);
|
33165
33189
|
const is_1 = __webpack_require__(49460);
|
33166
33190
|
const PCancelable = __webpack_require__(74469);
|
33167
|
-
const types_1 = __webpack_require__(
|
33168
|
-
const parse_body_1 = __webpack_require__(
|
33169
|
-
const core_1 = __webpack_require__(
|
33170
|
-
const proxy_events_1 = __webpack_require__(
|
33171
|
-
const get_buffer_1 = __webpack_require__(
|
33172
|
-
const is_response_ok_1 = __webpack_require__(
|
33191
|
+
const types_1 = __webpack_require__(10009);
|
33192
|
+
const parse_body_1 = __webpack_require__(58405);
|
33193
|
+
const core_1 = __webpack_require__(40753);
|
33194
|
+
const proxy_events_1 = __webpack_require__(47538);
|
33195
|
+
const get_buffer_1 = __webpack_require__(21750);
|
33196
|
+
const is_response_ok_1 = __webpack_require__(67930);
|
33173
33197
|
const proxiedRequestEvents = [
|
33174
33198
|
'request',
|
33175
33199
|
'response',
|
@@ -33323,12 +33347,12 @@ function asPromise(normalizedOptions) {
|
|
33323
33347
|
return promise;
|
33324
33348
|
}
|
33325
33349
|
exports["default"] = asPromise;
|
33326
|
-
__exportStar(__webpack_require__(
|
33350
|
+
__exportStar(__webpack_require__(10009), exports);
|
33327
33351
|
|
33328
33352
|
|
33329
33353
|
/***/ }),
|
33330
33354
|
|
33331
|
-
/***/
|
33355
|
+
/***/ 11307:
|
33332
33356
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
33333
33357
|
|
33334
33358
|
"use strict";
|
@@ -33414,13 +33438,13 @@ exports["default"] = normalizeArguments;
|
|
33414
33438
|
|
33415
33439
|
/***/ }),
|
33416
33440
|
|
33417
|
-
/***/
|
33441
|
+
/***/ 58405:
|
33418
33442
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
33419
33443
|
|
33420
33444
|
"use strict";
|
33421
33445
|
|
33422
33446
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
33423
|
-
const types_1 = __webpack_require__(
|
33447
|
+
const types_1 = __webpack_require__(10009);
|
33424
33448
|
const parseBody = (response, responseType, parseJson, encoding) => {
|
33425
33449
|
const { rawBody } = response;
|
33426
33450
|
try {
|
@@ -33447,7 +33471,7 @@ exports["default"] = parseBody;
|
|
33447
33471
|
|
33448
33472
|
/***/ }),
|
33449
33473
|
|
33450
|
-
/***/
|
33474
|
+
/***/ 10009:
|
33451
33475
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
33452
33476
|
|
33453
33477
|
"use strict";
|
@@ -33464,7 +33488,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
33464
33488
|
};
|
33465
33489
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
33466
33490
|
exports.CancelError = exports.ParseError = void 0;
|
33467
|
-
const core_1 = __webpack_require__(
|
33491
|
+
const core_1 = __webpack_require__(40753);
|
33468
33492
|
/**
|
33469
33493
|
An error to be thrown when server response code is 2xx, and parsing body fails.
|
33470
33494
|
Includes a `response` property.
|
@@ -33474,6 +33498,7 @@ class ParseError extends core_1.RequestError {
|
|
33474
33498
|
const { options } = response.request;
|
33475
33499
|
super(`${error.message} in "${options.url.toString()}"`, error, response.request);
|
33476
33500
|
this.name = 'ParseError';
|
33501
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_BODY_PARSE_FAILURE' : this.code;
|
33477
33502
|
}
|
33478
33503
|
}
|
33479
33504
|
exports.ParseError = ParseError;
|
@@ -33484,18 +33509,19 @@ class CancelError extends core_1.RequestError {
|
|
33484
33509
|
constructor(request) {
|
33485
33510
|
super('Promise was canceled', {}, request);
|
33486
33511
|
this.name = 'CancelError';
|
33512
|
+
this.code = 'ERR_CANCELED';
|
33487
33513
|
}
|
33488
33514
|
get isCanceled() {
|
33489
33515
|
return true;
|
33490
33516
|
}
|
33491
33517
|
}
|
33492
33518
|
exports.CancelError = CancelError;
|
33493
|
-
__exportStar(__webpack_require__(
|
33519
|
+
__exportStar(__webpack_require__(40753), exports);
|
33494
33520
|
|
33495
33521
|
|
33496
33522
|
/***/ }),
|
33497
33523
|
|
33498
|
-
/***/
|
33524
|
+
/***/ 1512:
|
33499
33525
|
/***/ ((__unused_webpack_module, exports) => {
|
33500
33526
|
|
33501
33527
|
"use strict";
|
@@ -33532,7 +33558,7 @@ exports["default"] = calculateRetryDelay;
|
|
33532
33558
|
|
33533
33559
|
/***/ }),
|
33534
33560
|
|
33535
|
-
/***/
|
33561
|
+
/***/ 40753:
|
33536
33562
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
33537
33563
|
|
33538
33564
|
"use strict";
|
@@ -33554,19 +33580,19 @@ const decompressResponse = __webpack_require__(8673);
|
|
33554
33580
|
const http2wrapper = __webpack_require__(14277);
|
33555
33581
|
const lowercaseKeys = __webpack_require__(5974);
|
33556
33582
|
const is_1 = __webpack_require__(49460);
|
33557
|
-
const get_body_size_1 = __webpack_require__(
|
33558
|
-
const is_form_data_1 = __webpack_require__(
|
33559
|
-
const proxy_events_1 = __webpack_require__(
|
33560
|
-
const timed_out_1 = __webpack_require__(
|
33561
|
-
const url_to_options_1 = __webpack_require__(
|
33562
|
-
const options_to_url_1 = __webpack_require__(
|
33563
|
-
const weakable_map_1 = __webpack_require__(
|
33564
|
-
const get_buffer_1 = __webpack_require__(
|
33565
|
-
const dns_ip_version_1 = __webpack_require__(
|
33566
|
-
const is_response_ok_1 = __webpack_require__(
|
33567
|
-
const deprecation_warning_1 = __webpack_require__(
|
33568
|
-
const normalize_arguments_1 = __webpack_require__(
|
33569
|
-
const calculate_retry_delay_1 = __webpack_require__(
|
33583
|
+
const get_body_size_1 = __webpack_require__(96004);
|
33584
|
+
const is_form_data_1 = __webpack_require__(99678);
|
33585
|
+
const proxy_events_1 = __webpack_require__(47538);
|
33586
|
+
const timed_out_1 = __webpack_require__(69012);
|
33587
|
+
const url_to_options_1 = __webpack_require__(22326);
|
33588
|
+
const options_to_url_1 = __webpack_require__(84045);
|
33589
|
+
const weakable_map_1 = __webpack_require__(37954);
|
33590
|
+
const get_buffer_1 = __webpack_require__(21750);
|
33591
|
+
const dns_ip_version_1 = __webpack_require__(26855);
|
33592
|
+
const is_response_ok_1 = __webpack_require__(67930);
|
33593
|
+
const deprecation_warning_1 = __webpack_require__(45907);
|
33594
|
+
const normalize_arguments_1 = __webpack_require__(11307);
|
33595
|
+
const calculate_retry_delay_1 = __webpack_require__(1512);
|
33570
33596
|
let globalDnsCache;
|
33571
33597
|
const kRequest = Symbol('request');
|
33572
33598
|
const kResponse = Symbol('response');
|
@@ -33659,11 +33685,11 @@ Contains a `code` property with error class code, like `ECONNREFUSED`.
|
|
33659
33685
|
*/
|
33660
33686
|
class RequestError extends Error {
|
33661
33687
|
constructor(message, error, self) {
|
33662
|
-
var _a;
|
33688
|
+
var _a, _b;
|
33663
33689
|
super(message);
|
33664
33690
|
Error.captureStackTrace(this, this.constructor);
|
33665
33691
|
this.name = 'RequestError';
|
33666
|
-
this.code = error.code;
|
33692
|
+
this.code = (_a = error.code) !== null && _a !== void 0 ? _a : 'ERR_GOT_REQUEST_ERROR';
|
33667
33693
|
if (self instanceof Request) {
|
33668
33694
|
Object.defineProperty(this, 'request', {
|
33669
33695
|
enumerable: false,
|
@@ -33688,7 +33714,7 @@ class RequestError extends Error {
|
|
33688
33714
|
value: self
|
33689
33715
|
});
|
33690
33716
|
}
|
33691
|
-
this.timings = (
|
33717
|
+
this.timings = (_b = this.request) === null || _b === void 0 ? void 0 : _b.timings;
|
33692
33718
|
// Recover the original stacktrace
|
33693
33719
|
if (is_1.default.string(error.stack) && is_1.default.string(this.stack)) {
|
33694
33720
|
const indexOfMessage = this.stack.indexOf(this.message) + this.message.length;
|
@@ -33711,6 +33737,7 @@ class MaxRedirectsError extends RequestError {
|
|
33711
33737
|
constructor(request) {
|
33712
33738
|
super(`Redirected ${request.options.maxRedirects} times. Aborting.`, {}, request);
|
33713
33739
|
this.name = 'MaxRedirectsError';
|
33740
|
+
this.code = 'ERR_TOO_MANY_REDIRECTS';
|
33714
33741
|
}
|
33715
33742
|
}
|
33716
33743
|
exports.MaxRedirectsError = MaxRedirectsError;
|
@@ -33722,6 +33749,7 @@ class HTTPError extends RequestError {
|
|
33722
33749
|
constructor(response) {
|
33723
33750
|
super(`Response code ${response.statusCode} (${response.statusMessage})`, {}, response.request);
|
33724
33751
|
this.name = 'HTTPError';
|
33752
|
+
this.code = 'ERR_NON_2XX_3XX_RESPONSE';
|
33725
33753
|
}
|
33726
33754
|
}
|
33727
33755
|
exports.HTTPError = HTTPError;
|
@@ -33733,6 +33761,7 @@ class CacheError extends RequestError {
|
|
33733
33761
|
constructor(error, request) {
|
33734
33762
|
super(error.message, error, request);
|
33735
33763
|
this.name = 'CacheError';
|
33764
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_CACHE_ACCESS' : this.code;
|
33736
33765
|
}
|
33737
33766
|
}
|
33738
33767
|
exports.CacheError = CacheError;
|
@@ -33743,6 +33772,7 @@ class UploadError extends RequestError {
|
|
33743
33772
|
constructor(error, request) {
|
33744
33773
|
super(error.message, error, request);
|
33745
33774
|
this.name = 'UploadError';
|
33775
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_UPLOAD' : this.code;
|
33746
33776
|
}
|
33747
33777
|
}
|
33748
33778
|
exports.UploadError = UploadError;
|
@@ -33766,6 +33796,7 @@ class ReadError extends RequestError {
|
|
33766
33796
|
constructor(error, request) {
|
33767
33797
|
super(error.message, error, request);
|
33768
33798
|
this.name = 'ReadError';
|
33799
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_READING_RESPONSE_STREAM' : this.code;
|
33769
33800
|
}
|
33770
33801
|
}
|
33771
33802
|
exports.ReadError = ReadError;
|
@@ -33776,6 +33807,7 @@ class UnsupportedProtocolError extends RequestError {
|
|
33776
33807
|
constructor(options) {
|
33777
33808
|
super(`Unsupported protocol "${options.url.protocol}"`, {}, options);
|
33778
33809
|
this.name = 'UnsupportedProtocolError';
|
33810
|
+
this.code = 'ERR_UNSUPPORTED_PROTOCOL';
|
33779
33811
|
}
|
33780
33812
|
}
|
33781
33813
|
exports.UnsupportedProtocolError = UnsupportedProtocolError;
|
@@ -35031,7 +35063,7 @@ exports["default"] = Request;
|
|
35031
35063
|
|
35032
35064
|
/***/ }),
|
35033
35065
|
|
35034
|
-
/***/
|
35066
|
+
/***/ 26855:
|
35035
35067
|
/***/ ((__unused_webpack_module, exports) => {
|
35036
35068
|
|
35037
35069
|
"use strict";
|
@@ -35056,7 +35088,7 @@ exports.dnsLookupIpVersionToFamily = (dnsLookupIpVersion) => {
|
|
35056
35088
|
|
35057
35089
|
/***/ }),
|
35058
35090
|
|
35059
|
-
/***/
|
35091
|
+
/***/ 96004:
|
35060
35092
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
35061
35093
|
|
35062
35094
|
"use strict";
|
@@ -35065,7 +35097,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35065
35097
|
const fs_1 = __webpack_require__(57147);
|
35066
35098
|
const util_1 = __webpack_require__(73837);
|
35067
35099
|
const is_1 = __webpack_require__(49460);
|
35068
|
-
const is_form_data_1 = __webpack_require__(
|
35100
|
+
const is_form_data_1 = __webpack_require__(99678);
|
35069
35101
|
const statAsync = util_1.promisify(fs_1.stat);
|
35070
35102
|
exports["default"] = async (body, headers) => {
|
35071
35103
|
if (headers && 'content-length' in headers) {
|
@@ -35096,7 +35128,7 @@ exports["default"] = async (body, headers) => {
|
|
35096
35128
|
|
35097
35129
|
/***/ }),
|
35098
35130
|
|
35099
|
-
/***/
|
35131
|
+
/***/ 21750:
|
35100
35132
|
/***/ ((__unused_webpack_module, exports) => {
|
35101
35133
|
|
35102
35134
|
"use strict";
|
@@ -35120,7 +35152,7 @@ exports["default"] = getBuffer;
|
|
35120
35152
|
|
35121
35153
|
/***/ }),
|
35122
35154
|
|
35123
|
-
/***/
|
35155
|
+
/***/ 99678:
|
35124
35156
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
35125
35157
|
|
35126
35158
|
"use strict";
|
@@ -35132,7 +35164,7 @@ exports["default"] = (body) => is_1.default.nodeStream(body) && is_1.default.fun
|
|
35132
35164
|
|
35133
35165
|
/***/ }),
|
35134
35166
|
|
35135
|
-
/***/
|
35167
|
+
/***/ 67930:
|
35136
35168
|
/***/ ((__unused_webpack_module, exports) => {
|
35137
35169
|
|
35138
35170
|
"use strict";
|
@@ -35148,7 +35180,7 @@ exports.isResponseOk = (response) => {
|
|
35148
35180
|
|
35149
35181
|
/***/ }),
|
35150
35182
|
|
35151
|
-
/***/
|
35183
|
+
/***/ 84045:
|
35152
35184
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
35153
35185
|
|
35154
35186
|
"use strict";
|
@@ -35209,7 +35241,7 @@ exports["default"] = (origin, options) => {
|
|
35209
35241
|
|
35210
35242
|
/***/ }),
|
35211
35243
|
|
35212
|
-
/***/
|
35244
|
+
/***/ 47538:
|
35213
35245
|
/***/ ((__unused_webpack_module, exports) => {
|
35214
35246
|
|
35215
35247
|
"use strict";
|
@@ -35234,7 +35266,7 @@ exports["default"] = default_1;
|
|
35234
35266
|
|
35235
35267
|
/***/ }),
|
35236
35268
|
|
35237
|
-
/***/
|
35269
|
+
/***/ 69012:
|
35238
35270
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
35239
35271
|
|
35240
35272
|
"use strict";
|
@@ -35242,7 +35274,7 @@ exports["default"] = default_1;
|
|
35242
35274
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
35243
35275
|
exports.TimeoutError = void 0;
|
35244
35276
|
const net = __webpack_require__(41808);
|
35245
|
-
const unhandle_1 = __webpack_require__(
|
35277
|
+
const unhandle_1 = __webpack_require__(47884);
|
35246
35278
|
const reentry = Symbol('reentry');
|
35247
35279
|
const noop = () => { };
|
35248
35280
|
class TimeoutError extends Error {
|
@@ -35363,7 +35395,7 @@ exports["default"] = (request, delays, options) => {
|
|
35363
35395
|
|
35364
35396
|
/***/ }),
|
35365
35397
|
|
35366
|
-
/***/
|
35398
|
+
/***/ 47884:
|
35367
35399
|
/***/ ((__unused_webpack_module, exports) => {
|
35368
35400
|
|
35369
35401
|
"use strict";
|
@@ -35393,7 +35425,7 @@ exports["default"] = () => {
|
|
35393
35425
|
|
35394
35426
|
/***/ }),
|
35395
35427
|
|
35396
|
-
/***/
|
35428
|
+
/***/ 22326:
|
35397
35429
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
35398
35430
|
|
35399
35431
|
"use strict";
|
@@ -35425,7 +35457,7 @@ exports["default"] = (url) => {
|
|
35425
35457
|
|
35426
35458
|
/***/ }),
|
35427
35459
|
|
35428
|
-
/***/
|
35460
|
+
/***/ 37954:
|
35429
35461
|
/***/ ((__unused_webpack_module, exports) => {
|
35430
35462
|
|
35431
35463
|
"use strict";
|
@@ -35462,7 +35494,7 @@ exports["default"] = WeakableMap;
|
|
35462
35494
|
|
35463
35495
|
/***/ }),
|
35464
35496
|
|
35465
|
-
/***/
|
35497
|
+
/***/ 79613:
|
35466
35498
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
35467
35499
|
|
35468
35500
|
"use strict";
|
@@ -35480,10 +35512,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
35480
35512
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
35481
35513
|
exports.defaultHandler = void 0;
|
35482
35514
|
const is_1 = __webpack_require__(49460);
|
35483
|
-
const as_promise_1 = __webpack_require__(
|
35484
|
-
const create_rejection_1 = __webpack_require__(
|
35485
|
-
const core_1 = __webpack_require__(
|
35486
|
-
const deep_freeze_1 = __webpack_require__(
|
35515
|
+
const as_promise_1 = __webpack_require__(93285);
|
35516
|
+
const create_rejection_1 = __webpack_require__(39026);
|
35517
|
+
const core_1 = __webpack_require__(40753);
|
35518
|
+
const deep_freeze_1 = __webpack_require__(77116);
|
35487
35519
|
const errors = {
|
35488
35520
|
RequestError: as_promise_1.RequestError,
|
35489
35521
|
CacheError: as_promise_1.CacheError,
|
@@ -35705,12 +35737,12 @@ const create = (defaults) => {
|
|
35705
35737
|
return got;
|
35706
35738
|
};
|
35707
35739
|
exports["default"] = create;
|
35708
|
-
__exportStar(__webpack_require__(
|
35740
|
+
__exportStar(__webpack_require__(37335), exports);
|
35709
35741
|
|
35710
35742
|
|
35711
35743
|
/***/ }),
|
35712
35744
|
|
35713
|
-
/***/
|
35745
|
+
/***/ 98351:
|
35714
35746
|
/***/ (function(module, exports, __webpack_require__) {
|
35715
35747
|
|
35716
35748
|
"use strict";
|
@@ -35727,7 +35759,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
35727
35759
|
};
|
35728
35760
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
35729
35761
|
const url_1 = __webpack_require__(57310);
|
35730
|
-
const create_1 = __webpack_require__(
|
35762
|
+
const create_1 = __webpack_require__(79613);
|
35731
35763
|
const defaults = {
|
35732
35764
|
options: {
|
35733
35765
|
method: 'GET',
|
@@ -35844,13 +35876,13 @@ exports["default"] = got;
|
|
35844
35876
|
module.exports = got;
|
35845
35877
|
module.exports["default"] = got;
|
35846
35878
|
module.exports.__esModule = true; // Workaround for TS issue: https://github.com/sindresorhus/got/pull/1267
|
35847
|
-
__exportStar(__webpack_require__(
|
35848
|
-
__exportStar(__webpack_require__(
|
35879
|
+
__exportStar(__webpack_require__(79613), exports);
|
35880
|
+
__exportStar(__webpack_require__(93285), exports);
|
35849
35881
|
|
35850
35882
|
|
35851
35883
|
/***/ }),
|
35852
35884
|
|
35853
|
-
/***/
|
35885
|
+
/***/ 37335:
|
35854
35886
|
/***/ ((__unused_webpack_module, exports) => {
|
35855
35887
|
|
35856
35888
|
"use strict";
|
@@ -35860,7 +35892,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35860
35892
|
|
35861
35893
|
/***/ }),
|
35862
35894
|
|
35863
|
-
/***/
|
35895
|
+
/***/ 77116:
|
35864
35896
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
35865
35897
|
|
35866
35898
|
"use strict";
|
@@ -35880,7 +35912,7 @@ exports["default"] = deepFreeze;
|
|
35880
35912
|
|
35881
35913
|
/***/ }),
|
35882
35914
|
|
35883
|
-
/***/
|
35915
|
+
/***/ 45907:
|
35884
35916
|
/***/ ((__unused_webpack_module, exports) => {
|
35885
35917
|
|
35886
35918
|
"use strict";
|
@@ -36863,7 +36895,7 @@ var _handlebarsRuntime2 = _interopRequireDefault(_handlebarsRuntime);
|
|
36863
36895
|
|
36864
36896
|
// Compiler imports
|
36865
36897
|
|
36866
|
-
var _handlebarsCompilerAst = __webpack_require__(
|
36898
|
+
var _handlebarsCompilerAst = __webpack_require__(43753);
|
36867
36899
|
|
36868
36900
|
var _handlebarsCompilerAst2 = _interopRequireDefault(_handlebarsCompilerAst);
|
36869
36901
|
|
@@ -37118,7 +37150,7 @@ exports.logger = _logger2['default'];
|
|
37118
37150
|
|
37119
37151
|
/***/ }),
|
37120
37152
|
|
37121
|
-
/***/
|
37153
|
+
/***/ 43753:
|
37122
37154
|
/***/ ((module, exports) => {
|
37123
37155
|
|
37124
37156
|
"use strict";
|
@@ -37415,7 +37447,7 @@ var _exception2 = _interopRequireDefault(_exception);
|
|
37415
37447
|
|
37416
37448
|
var _utils = __webpack_require__(35617);
|
37417
37449
|
|
37418
|
-
var _ast = __webpack_require__(
|
37450
|
+
var _ast = __webpack_require__(43753);
|
37419
37451
|
|
37420
37452
|
var _ast2 = _interopRequireDefault(_ast);
|
37421
37453
|
|
@@ -63166,7 +63198,7 @@ module.exports.CancelError = CancelError;
|
|
63166
63198
|
|
63167
63199
|
const {Agent: HttpAgent} = __webpack_require__(13685);
|
63168
63200
|
const {Agent: HttpsAgent} = __webpack_require__(95687);
|
63169
|
-
const got = __webpack_require__(
|
63201
|
+
const got = __webpack_require__(98351);
|
63170
63202
|
const registryUrl = __webpack_require__(99399);
|
63171
63203
|
const registryAuthToken = __webpack_require__(5086);
|
63172
63204
|
const semver = __webpack_require__(20962);
|
@@ -67340,7 +67372,7 @@ module.exports = Response;
|
|
67340
67372
|
"use strict";
|
67341
67373
|
|
67342
67374
|
const onetime = __webpack_require__(26401);
|
67343
|
-
const signalExit = __webpack_require__(
|
67375
|
+
const signalExit = __webpack_require__(66217);
|
67344
67376
|
|
67345
67377
|
module.exports = onetime(() => {
|
67346
67378
|
signalExit(() => {
|
@@ -83836,7 +83868,7 @@ module.exports = /^#!(.*)/;
|
|
83836
83868
|
|
83837
83869
|
/***/ }),
|
83838
83870
|
|
83839
|
-
/***/
|
83871
|
+
/***/ 66217:
|
83840
83872
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
83841
83873
|
|
83842
83874
|
// Note: since nyc uses this module to output coverage, any lines
|
@@ -83844,12 +83876,26 @@ module.exports = /^#!(.*)/;
|
|
83844
83876
|
// ignored, since we can never get coverage for them.
|
83845
83877
|
// grab a reference to node's real process object right away
|
83846
83878
|
var process = global.process
|
83879
|
+
|
83880
|
+
const processOk = function (process) {
|
83881
|
+
return process &&
|
83882
|
+
typeof process === 'object' &&
|
83883
|
+
typeof process.removeListener === 'function' &&
|
83884
|
+
typeof process.emit === 'function' &&
|
83885
|
+
typeof process.reallyExit === 'function' &&
|
83886
|
+
typeof process.listeners === 'function' &&
|
83887
|
+
typeof process.kill === 'function' &&
|
83888
|
+
typeof process.pid === 'number' &&
|
83889
|
+
typeof process.on === 'function'
|
83890
|
+
}
|
83891
|
+
|
83847
83892
|
// some kind of non-node environment, just no-op
|
83848
|
-
|
83893
|
+
/* istanbul ignore if */
|
83894
|
+
if (!processOk(process)) {
|
83849
83895
|
module.exports = function () {}
|
83850
83896
|
} else {
|
83851
83897
|
var assert = __webpack_require__(39491)
|
83852
|
-
var signals = __webpack_require__(
|
83898
|
+
var signals = __webpack_require__(16869)
|
83853
83899
|
var isWin = /^win/i.test(process.platform)
|
83854
83900
|
|
83855
83901
|
var EE = __webpack_require__(82361)
|
@@ -83877,7 +83923,8 @@ if (typeof process !== 'object' || !process) {
|
|
83877
83923
|
}
|
83878
83924
|
|
83879
83925
|
module.exports = function (cb, opts) {
|
83880
|
-
|
83926
|
+
/* istanbul ignore if */
|
83927
|
+
if (!processOk(global.process)) {
|
83881
83928
|
return
|
83882
83929
|
}
|
83883
83930
|
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')
|
@@ -83904,7 +83951,7 @@ if (typeof process !== 'object' || !process) {
|
|
83904
83951
|
}
|
83905
83952
|
|
83906
83953
|
var unload = function unload () {
|
83907
|
-
if (!loaded || global.process
|
83954
|
+
if (!loaded || !processOk(global.process)) {
|
83908
83955
|
return
|
83909
83956
|
}
|
83910
83957
|
loaded = false
|
@@ -83921,6 +83968,7 @@ if (typeof process !== 'object' || !process) {
|
|
83921
83968
|
module.exports.unload = unload
|
83922
83969
|
|
83923
83970
|
var emit = function emit (event, code, signal) {
|
83971
|
+
/* istanbul ignore if */
|
83924
83972
|
if (emitter.emitted[event]) {
|
83925
83973
|
return
|
83926
83974
|
}
|
@@ -83932,7 +83980,8 @@ if (typeof process !== 'object' || !process) {
|
|
83932
83980
|
var sigListeners = {}
|
83933
83981
|
signals.forEach(function (sig) {
|
83934
83982
|
sigListeners[sig] = function listener () {
|
83935
|
-
|
83983
|
+
/* istanbul ignore if */
|
83984
|
+
if (!processOk(global.process)) {
|
83936
83985
|
return
|
83937
83986
|
}
|
83938
83987
|
// If there are no other listeners, an exit is coming!
|
@@ -83951,6 +84000,7 @@ if (typeof process !== 'object' || !process) {
|
|
83951
84000
|
// so use a supported signal instead
|
83952
84001
|
sig = 'SIGINT'
|
83953
84002
|
}
|
84003
|
+
/* istanbul ignore next */
|
83954
84004
|
process.kill(process.pid, sig)
|
83955
84005
|
}
|
83956
84006
|
}
|
@@ -83963,7 +84013,7 @@ if (typeof process !== 'object' || !process) {
|
|
83963
84013
|
var loaded = false
|
83964
84014
|
|
83965
84015
|
var load = function load () {
|
83966
|
-
if (loaded ||
|
84016
|
+
if (loaded || !processOk(global.process)) {
|
83967
84017
|
return
|
83968
84018
|
}
|
83969
84019
|
loaded = true
|
@@ -83990,10 +84040,11 @@ if (typeof process !== 'object' || !process) {
|
|
83990
84040
|
|
83991
84041
|
var originalProcessReallyExit = process.reallyExit
|
83992
84042
|
var processReallyExit = function processReallyExit (code) {
|
83993
|
-
|
84043
|
+
/* istanbul ignore if */
|
84044
|
+
if (!processOk(global.process)) {
|
83994
84045
|
return
|
83995
84046
|
}
|
83996
|
-
process.exitCode = code || 0
|
84047
|
+
process.exitCode = code || /* istanbul ignore next */ 0
|
83997
84048
|
emit('exit', process.exitCode, null)
|
83998
84049
|
/* istanbul ignore next */
|
83999
84050
|
emit('afterexit', process.exitCode, null)
|
@@ -84003,14 +84054,17 @@ if (typeof process !== 'object' || !process) {
|
|
84003
84054
|
|
84004
84055
|
var originalProcessEmit = process.emit
|
84005
84056
|
var processEmit = function processEmit (ev, arg) {
|
84006
|
-
if (ev === 'exit' &&
|
84057
|
+
if (ev === 'exit' && processOk(global.process)) {
|
84058
|
+
/* istanbul ignore else */
|
84007
84059
|
if (arg !== undefined) {
|
84008
84060
|
process.exitCode = arg
|
84009
84061
|
}
|
84010
84062
|
var ret = originalProcessEmit.apply(this, arguments)
|
84063
|
+
/* istanbul ignore next */
|
84011
84064
|
emit('exit', process.exitCode, null)
|
84012
84065
|
/* istanbul ignore next */
|
84013
84066
|
emit('afterexit', process.exitCode, null)
|
84067
|
+
/* istanbul ignore next */
|
84014
84068
|
return ret
|
84015
84069
|
} else {
|
84016
84070
|
return originalProcessEmit.apply(this, arguments)
|
@@ -84021,7 +84075,7 @@ if (typeof process !== 'object' || !process) {
|
|
84021
84075
|
|
84022
84076
|
/***/ }),
|
84023
84077
|
|
84024
|
-
/***/
|
84078
|
+
/***/ 16869:
|
84025
84079
|
/***/ ((module) => {
|
84026
84080
|
|
84027
84081
|
// This is not the set of all possible signals.
|
@@ -90674,6 +90728,59 @@ function getObjKeyMap(obj, prefix = '') {
|
|
90674
90728
|
|
90675
90729
|
/***/ }),
|
90676
90730
|
|
90731
|
+
/***/ 32746:
|
90732
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
90733
|
+
|
90734
|
+
"use strict";
|
90735
|
+
|
90736
|
+
|
90737
|
+
Object.defineProperty(exports, "__esModule", ({
|
90738
|
+
value: true
|
90739
|
+
}));
|
90740
|
+
|
90741
|
+
var _project = __webpack_require__(40542);
|
90742
|
+
|
90743
|
+
Object.keys(_project).forEach(function (key) {
|
90744
|
+
if (key === "default" || key === "__esModule") return;
|
90745
|
+
if (key in exports && exports[key] === _project[key]) return;
|
90746
|
+
Object.defineProperty(exports, key, {
|
90747
|
+
enumerable: true,
|
90748
|
+
get: function () {
|
90749
|
+
return _project[key];
|
90750
|
+
}
|
90751
|
+
});
|
90752
|
+
});
|
90753
|
+
|
90754
|
+
/***/ }),
|
90755
|
+
|
90756
|
+
/***/ 40542:
|
90757
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
90758
|
+
|
90759
|
+
"use strict";
|
90760
|
+
|
90761
|
+
|
90762
|
+
Object.defineProperty(exports, "__esModule", ({
|
90763
|
+
value: true
|
90764
|
+
}));
|
90765
|
+
exports.BaseSchemas = exports.BaseSchema = exports.BaseDefaultConfig = void 0;
|
90766
|
+
|
90767
|
+
var _common = __webpack_require__(25523);
|
90768
|
+
|
90769
|
+
const BaseSchemas = [_common.PackageManagerSchema];
|
90770
|
+
exports.BaseSchemas = BaseSchemas;
|
90771
|
+
const BaseSchema = {
|
90772
|
+
key: 'base',
|
90773
|
+
isObject: true,
|
90774
|
+
items: BaseSchemas
|
90775
|
+
};
|
90776
|
+
exports.BaseSchema = BaseSchema;
|
90777
|
+
const BaseDefaultConfig = {
|
90778
|
+
packageManager: _common.PackageManager.Pnpm
|
90779
|
+
};
|
90780
|
+
exports.BaseDefaultConfig = BaseDefaultConfig;
|
90781
|
+
|
90782
|
+
/***/ }),
|
90783
|
+
|
90677
90784
|
/***/ 34069:
|
90678
90785
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
90679
90786
|
|
@@ -90683,7 +90790,7 @@ function getObjKeyMap(obj, prefix = '') {
|
|
90683
90790
|
Object.defineProperty(exports, "__esModule", ({
|
90684
90791
|
value: true
|
90685
90792
|
}));
|
90686
|
-
exports.
|
90793
|
+
exports.BooleanSchemas = exports.BooleanConfigName = exports.BooleanConfig = void 0;
|
90687
90794
|
|
90688
90795
|
var _locale = __webpack_require__(94646);
|
90689
90796
|
|
@@ -90700,20 +90807,14 @@ const BooleanConfigName = {
|
|
90700
90807
|
[BooleanConfig.YES]: () => _locale.i18n.t(_locale.localeKeys.boolean.yes)
|
90701
90808
|
};
|
90702
90809
|
exports.BooleanConfigName = BooleanConfigName;
|
90703
|
-
|
90704
|
-
const getBooleanSchemas = (YesChildSchemas, NoChildSchemas) => [{
|
90810
|
+
const BooleanSchemas = [{
|
90705
90811
|
key: BooleanConfig.NO,
|
90706
|
-
label: BooleanConfigName[BooleanConfig.NO]
|
90707
|
-
isObject: Boolean(NoChildSchemas),
|
90708
|
-
items: NoChildSchemas
|
90812
|
+
label: BooleanConfigName[BooleanConfig.NO]
|
90709
90813
|
}, {
|
90710
90814
|
key: BooleanConfig.YES,
|
90711
|
-
label: BooleanConfigName[BooleanConfig.YES]
|
90712
|
-
isObject: Boolean(YesChildSchemas),
|
90713
|
-
items: YesChildSchemas
|
90815
|
+
label: BooleanConfigName[BooleanConfig.YES]
|
90714
90816
|
}];
|
90715
|
-
|
90716
|
-
exports.getBooleanSchemas = getBooleanSchemas;
|
90817
|
+
exports.BooleanSchemas = BooleanSchemas;
|
90717
90818
|
|
90718
90819
|
/***/ }),
|
90719
90820
|
|
@@ -90736,24 +90837,22 @@ const EnableLessSchema = {
|
|
90736
90837
|
key: 'enableLess',
|
90737
90838
|
type: ['string'],
|
90738
90839
|
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.enableLess),
|
90739
|
-
when: (_, extra) => (extra === null || extra === void 0 ? void 0 : extra.isEmptySrc) === undefined ? true : Boolean(extra === null || extra === void 0 ? void 0 : extra.isEmptySrc),
|
90740
90840
|
mutualExclusion: true,
|
90741
90841
|
state: {
|
90742
90842
|
value: _boolean.BooleanConfig.NO
|
90743
90843
|
},
|
90744
|
-
items:
|
90844
|
+
items: _boolean.BooleanSchemas
|
90745
90845
|
};
|
90746
90846
|
exports.EnableLessSchema = EnableLessSchema;
|
90747
90847
|
const EnableSassSchema = {
|
90748
90848
|
key: 'enableSass',
|
90749
90849
|
type: ['string'],
|
90750
90850
|
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.enableSass),
|
90751
|
-
when: (_, extra) => (extra === null || extra === void 0 ? void 0 : extra.isEmptySrc) === undefined ? true : Boolean(extra === null || extra === void 0 ? void 0 : extra.isEmptySrc),
|
90752
90851
|
mutualExclusion: true,
|
90753
90852
|
state: {
|
90754
90853
|
value: _boolean.BooleanConfig.NO
|
90755
90854
|
},
|
90756
|
-
items:
|
90855
|
+
items: _boolean.BooleanSchemas
|
90757
90856
|
};
|
90758
90857
|
exports.EnableSassSchema = EnableSassSchema;
|
90759
90858
|
|
@@ -91023,7 +91122,7 @@ exports.PackagePathSchema = PackagePathSchema;
|
|
91023
91122
|
Object.defineProperty(exports, "__esModule", ({
|
91024
91123
|
value: true
|
91025
91124
|
}));
|
91026
|
-
exports.SubSolutionText = exports.SubSolutionSchema = exports.SubSolutionGenerator = exports.SubSolution = exports.SolutionText = exports.SolutionSchema = exports.SolutionGenerator = exports.Solution = exports.EntryGenerator = exports.ElectronGenerator = exports.DependenceGenerator = exports.ChangesetGenerator = exports.BaseGenerator = void 0;
|
91125
|
+
exports.SubSolutionText = exports.SubSolutionSchema = exports.SubSolutionGenerator = exports.SubSolution = exports.SolutionText = exports.SolutionSchema = exports.SolutionGenerator = exports.Solution = exports.EslintGenerator = exports.EntryGenerator = exports.ElectronGenerator = exports.DependenceGenerator = exports.ChangesetGenerator = exports.BaseGenerator = void 0;
|
91027
91126
|
|
91028
91127
|
var _locale = __webpack_require__(94646);
|
91029
91128
|
|
@@ -91067,42 +91166,10 @@ const SolutionSchema = {
|
|
91067
91166
|
label: () => _locale.i18n.t(_locale.localeKeys.solution.self),
|
91068
91167
|
type: ['string'],
|
91069
91168
|
mutualExclusion: true,
|
91070
|
-
items: (
|
91071
|
-
|
91072
|
-
|
91073
|
-
|
91074
|
-
} = extra;
|
91075
|
-
|
91076
|
-
if (solutions) {
|
91077
|
-
return solutions.map(solution => {
|
91078
|
-
const plugin = plugins.find(p => p.key === solution);
|
91079
|
-
|
91080
|
-
if (plugin) {
|
91081
|
-
return {
|
91082
|
-
key: plugin.key,
|
91083
|
-
label: plugin.name
|
91084
|
-
};
|
91085
|
-
}
|
91086
|
-
|
91087
|
-
if (Object.values(Solution).includes(solution)) {
|
91088
|
-
return {
|
91089
|
-
key: solution,
|
91090
|
-
label: SolutionText[solution]
|
91091
|
-
};
|
91092
|
-
}
|
91093
|
-
|
91094
|
-
return null;
|
91095
|
-
}).filter(solution => Boolean(solution));
|
91096
|
-
}
|
91097
|
-
|
91098
|
-
return [...plugins.map(plugin => ({
|
91099
|
-
key: plugin.key,
|
91100
|
-
label: plugin.name
|
91101
|
-
})), ...Object.values(Solution).map(solution => ({
|
91102
|
-
key: solution,
|
91103
|
-
label: SolutionText[solution]
|
91104
|
-
}))];
|
91105
|
-
}
|
91169
|
+
items: Object.values(Solution).map(solution => ({
|
91170
|
+
key: solution,
|
91171
|
+
label: SolutionText[solution]
|
91172
|
+
}))
|
91106
91173
|
}]
|
91107
91174
|
};
|
91108
91175
|
exports.SolutionSchema = SolutionSchema;
|
@@ -91114,42 +91181,10 @@ const SubSolutionSchema = {
|
|
91114
91181
|
label: () => _locale.i18n.t(_locale.localeKeys.sub_solution.self),
|
91115
91182
|
type: ['string'],
|
91116
91183
|
mutualExclusion: true,
|
91117
|
-
items: (
|
91118
|
-
|
91119
|
-
|
91120
|
-
|
91121
|
-
} = extra;
|
91122
|
-
|
91123
|
-
if (solutions) {
|
91124
|
-
return solutions.map(solution => {
|
91125
|
-
const plugin = plugins.find(p => p.key === solution);
|
91126
|
-
|
91127
|
-
if (plugin) {
|
91128
|
-
return {
|
91129
|
-
key: plugin.key,
|
91130
|
-
label: plugin.name
|
91131
|
-
};
|
91132
|
-
}
|
91133
|
-
|
91134
|
-
if (Object.values(SubSolution).includes(solution)) {
|
91135
|
-
return {
|
91136
|
-
key: solution,
|
91137
|
-
label: SubSolutionText[solution]
|
91138
|
-
};
|
91139
|
-
}
|
91140
|
-
|
91141
|
-
return null;
|
91142
|
-
}).filter(solution => Boolean(solution));
|
91143
|
-
}
|
91144
|
-
|
91145
|
-
return [...plugins.map(plugin => ({
|
91146
|
-
key: plugin.key,
|
91147
|
-
label: plugin.name
|
91148
|
-
})), ...Object.values(SubSolution).map(solution => ({
|
91149
|
-
key: solution,
|
91150
|
-
label: SubSolutionText[solution]
|
91151
|
-
}))];
|
91152
|
-
}
|
91184
|
+
items: Object.values(SubSolution).map(solution => ({
|
91185
|
+
key: solution,
|
91186
|
+
label: SubSolutionText[solution]
|
91187
|
+
}))
|
91153
91188
|
}]
|
91154
91189
|
};
|
91155
91190
|
exports.SubSolutionSchema = SubSolutionSchema;
|
@@ -91176,24 +91211,8 @@ const EntryGenerator = '@modern-js/entry-generator';
|
|
91176
91211
|
exports.EntryGenerator = EntryGenerator;
|
91177
91212
|
const ElectronGenerator = '@modern-js/electron-generator';
|
91178
91213
|
exports.ElectronGenerator = ElectronGenerator;
|
91179
|
-
|
91180
|
-
|
91181
|
-
|
91182
|
-
/***/ 35393:
|
91183
|
-
/***/ ((__unused_webpack_module, exports) => {
|
91184
|
-
|
91185
|
-
"use strict";
|
91186
|
-
|
91187
|
-
|
91188
|
-
Object.defineProperty(exports, "__esModule", ({
|
91189
|
-
value: true
|
91190
|
-
}));
|
91191
|
-
exports.InputConfigVersionMap = void 0;
|
91192
|
-
// when modern.js add new input to generator, this config can confirm not add new question
|
91193
|
-
const InputConfigVersionMap = {
|
91194
|
-
'1.0.0': {}
|
91195
|
-
};
|
91196
|
-
exports.InputConfigVersionMap = InputConfigVersionMap;
|
91214
|
+
const EslintGenerator = '@modern-js/eslint-generator';
|
91215
|
+
exports.EslintGenerator = EslintGenerator;
|
91197
91216
|
|
91198
91217
|
/***/ }),
|
91199
91218
|
|
@@ -91210,16 +91229,11 @@ exports.GeneratorSchema = exports.GeneratorDefaultConfig = void 0;
|
|
91210
91229
|
|
91211
91230
|
var _common = __webpack_require__(25523);
|
91212
91231
|
|
91213
|
-
const
|
91214
|
-
packageName: _common.PackageNameSchema,
|
91215
|
-
packagePath: _common.PackagePathSchema,
|
91216
|
-
PackageManager: _common.PackageManagerSchema,
|
91217
|
-
language: _common.LanguageSchema
|
91218
|
-
};
|
91232
|
+
const GeneratorSchemas = [_common.PackageNameSchema, _common.PackagePathSchema, _common.PackageManagerSchema, _common.LanguageSchema];
|
91219
91233
|
const GeneratorSchema = {
|
91220
91234
|
key: 'generator-generator',
|
91221
91235
|
isObject: true,
|
91222
|
-
items: Object.values(
|
91236
|
+
items: Object.values(GeneratorSchemas)
|
91223
91237
|
};
|
91224
91238
|
exports.GeneratorSchema = GeneratorSchema;
|
91225
91239
|
const GeneratorDefaultConfig = {
|
@@ -91367,16 +91381,16 @@ Object.keys(_expand).forEach(function (key) {
|
|
91367
91381
|
});
|
91368
91382
|
});
|
91369
91383
|
|
91370
|
-
var
|
91384
|
+
var _base = __webpack_require__(32746);
|
91371
91385
|
|
91372
|
-
Object.keys(
|
91386
|
+
Object.keys(_base).forEach(function (key) {
|
91373
91387
|
if (key === "default" || key === "__esModule") return;
|
91374
91388
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
91375
|
-
if (key in exports && exports[key] ===
|
91389
|
+
if (key in exports && exports[key] === _base[key]) return;
|
91376
91390
|
Object.defineProperty(exports, key, {
|
91377
91391
|
enumerable: true,
|
91378
91392
|
get: function () {
|
91379
|
-
return
|
91393
|
+
return _base[key];
|
91380
91394
|
}
|
91381
91395
|
});
|
91382
91396
|
});
|
@@ -91432,13 +91446,13 @@ const EN_LOCALE = {
|
|
91432
91446
|
storybook: 'Enable "Storybook"',
|
91433
91447
|
runtime_api: 'Enable "Runtime API"',
|
91434
91448
|
mwa_storybook: 'Enable "Visual Testing (Storybook)"',
|
91435
|
-
ssg: 'Enable "SSG"'
|
91449
|
+
ssg: 'Enable "SSG"',
|
91450
|
+
deploy: 'Enable "Deploy"'
|
91436
91451
|
},
|
91437
91452
|
element: {
|
91438
91453
|
self: 'Create project element',
|
91439
91454
|
entry: 'New "entry"',
|
91440
|
-
server: 'New "Server Custom" source code directory'
|
91441
|
-
env: 'Generate ".env" file'
|
91455
|
+
server: 'New "Server Custom" source code directory'
|
91442
91456
|
},
|
91443
91457
|
refactor: {
|
91444
91458
|
self: 'Automatic refactor',
|
@@ -91500,6 +91514,23 @@ const EN_LOCALE = {
|
|
91500
91514
|
func: 'Function',
|
91501
91515
|
framework: 'Framework'
|
91502
91516
|
}
|
91517
|
+
},
|
91518
|
+
deploy: {
|
91519
|
+
cloud: {
|
91520
|
+
self: 'Modify the default Web Server?'
|
91521
|
+
},
|
91522
|
+
cdn: {
|
91523
|
+
self: 'Please select the cdn platform you want to use',
|
91524
|
+
oss: 'Aliyun OSS',
|
91525
|
+
cos: 'Tencent COS',
|
91526
|
+
no: 'Not Enabled'
|
91527
|
+
},
|
91528
|
+
lambda: {
|
91529
|
+
self: 'Please select the lambda you want to use',
|
91530
|
+
fc: 'Aliyun FC',
|
91531
|
+
scf: 'Tencent SCF',
|
91532
|
+
no: 'Not Enabled'
|
91533
|
+
}
|
91503
91534
|
}
|
91504
91535
|
};
|
91505
91536
|
exports.EN_LOCALE = EN_LOCALE;
|
@@ -91575,13 +91606,13 @@ const ZH_LOCALE = {
|
|
91575
91606
|
storybook: '启用「Storybook」',
|
91576
91607
|
runtime_api: '启用「Rumtime API」',
|
91577
91608
|
mwa_storybook: '启用「Visual Testing (Storybook)」模式',
|
91578
|
-
ssg: '启用「SSG」功能'
|
91609
|
+
ssg: '启用「SSG」功能',
|
91610
|
+
deploy: '启用「部署」功能'
|
91579
91611
|
},
|
91580
91612
|
element: {
|
91581
91613
|
self: '创建工程元素',
|
91582
91614
|
entry: '新建「应用入口」',
|
91583
|
-
server: '新建「Server 自定义」源码目录'
|
91584
|
-
env: '生成「.env」文件'
|
91615
|
+
server: '新建「Server 自定义」源码目录'
|
91585
91616
|
},
|
91586
91617
|
refactor: {
|
91587
91618
|
self: '自动重构',
|
@@ -91644,6 +91675,23 @@ const ZH_LOCALE = {
|
|
91644
91675
|
func: '函数模式',
|
91645
91676
|
framework: '框架模式'
|
91646
91677
|
}
|
91678
|
+
},
|
91679
|
+
deploy: {
|
91680
|
+
cloud: {
|
91681
|
+
self: '默认使用框架内置的产品级 Web 服务器,是否调整?'
|
91682
|
+
},
|
91683
|
+
cdn: {
|
91684
|
+
self: '请选择 CDN 平台',
|
91685
|
+
oss: '阿里云 OSS',
|
91686
|
+
cos: '腾讯云 COS',
|
91687
|
+
no: '不使用 CDN'
|
91688
|
+
},
|
91689
|
+
lambda: {
|
91690
|
+
self: '请选择云函数平台',
|
91691
|
+
fc: '阿里云 FC',
|
91692
|
+
scf: '腾讯云 SCF',
|
91693
|
+
no: '不使用云函数部署'
|
91694
|
+
}
|
91647
91695
|
}
|
91648
91696
|
};
|
91649
91697
|
exports.ZH_LOCALE = ZH_LOCALE;
|
@@ -91684,7 +91732,7 @@ Object.keys(_project).forEach(function (key) {
|
|
91684
91732
|
Object.defineProperty(exports, "__esModule", ({
|
91685
91733
|
value: true
|
91686
91734
|
}));
|
91687
|
-
exports.ModuleSchema = exports.ModuleDefaultConfig = void 0;
|
91735
|
+
exports.moduleConfigWhenFunc = exports.NeedModifyModuleConfigSchema = exports.ModuleSchemas = exports.ModuleSchema = exports.ModuleDefaultConfig = exports.EnableModuleSassSchema = exports.EnableModuleLessSchema = void 0;
|
91688
91736
|
|
91689
91737
|
var _locale = __webpack_require__(94646);
|
91690
91738
|
|
@@ -91692,6 +91740,27 @@ var _common = __webpack_require__(25523);
|
|
91692
91740
|
|
91693
91741
|
var _css = __webpack_require__(99961);
|
91694
91742
|
|
91743
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
91744
|
+
|
91745
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
91746
|
+
|
91747
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
91748
|
+
|
91749
|
+
const moduleConfigWhenFunc = values => values.needModifyModuleConfig === _common.BooleanConfig.YES;
|
91750
|
+
|
91751
|
+
exports.moduleConfigWhenFunc = moduleConfigWhenFunc;
|
91752
|
+
|
91753
|
+
const EnableModuleLessSchema = _objectSpread(_objectSpread({}, _css.EnableLessSchema), {}, {
|
91754
|
+
when: moduleConfigWhenFunc
|
91755
|
+
});
|
91756
|
+
|
91757
|
+
exports.EnableModuleLessSchema = EnableModuleLessSchema;
|
91758
|
+
|
91759
|
+
const EnableModuleSassSchema = _objectSpread(_objectSpread({}, _css.EnableSassSchema), {}, {
|
91760
|
+
when: moduleConfigWhenFunc
|
91761
|
+
});
|
91762
|
+
|
91763
|
+
exports.EnableModuleSassSchema = EnableModuleSassSchema;
|
91695
91764
|
const NeedModifyModuleConfigSchema = {
|
91696
91765
|
key: 'needModifyModuleConfig',
|
91697
91766
|
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.self),
|
@@ -91700,24 +91769,23 @@ const NeedModifyModuleConfigSchema = {
|
|
91700
91769
|
state: {
|
91701
91770
|
value: _common.BooleanConfig.NO
|
91702
91771
|
},
|
91703
|
-
items:
|
91704
|
-
};
|
91705
|
-
const ModuleSchemaMap = {
|
91706
|
-
packageName: _common.PackageNameSchema,
|
91707
|
-
packagePath: _common.PackagePathSchema,
|
91708
|
-
language: _common.LanguageSchema,
|
91709
|
-
packageManager: _common.PackageManagerSchema,
|
91710
|
-
needModifyModuleConfig: NeedModifyModuleConfigSchema
|
91772
|
+
items: _common.BooleanSchemas
|
91711
91773
|
};
|
91774
|
+
exports.NeedModifyModuleConfigSchema = NeedModifyModuleConfigSchema;
|
91775
|
+
const ModuleSchemas = [_common.PackageNameSchema, _common.PackagePathSchema, _common.LanguageSchema, _common.PackageManagerSchema, NeedModifyModuleConfigSchema, EnableModuleLessSchema, EnableModuleSassSchema];
|
91776
|
+
exports.ModuleSchemas = ModuleSchemas;
|
91712
91777
|
const ModuleSchema = {
|
91713
91778
|
key: 'module',
|
91714
91779
|
isObject: true,
|
91715
|
-
items:
|
91780
|
+
items: ModuleSchemas
|
91716
91781
|
};
|
91717
91782
|
exports.ModuleSchema = ModuleSchema;
|
91718
91783
|
const ModuleDefaultConfig = {
|
91719
91784
|
language: _common.Language.TS,
|
91720
|
-
packageManager: _common.PackageManager.Pnpm
|
91785
|
+
packageManager: _common.PackageManager.Pnpm,
|
91786
|
+
needModifyModuleConfig: _common.BooleanConfig.NO,
|
91787
|
+
enableLess: _common.BooleanConfig.NO,
|
91788
|
+
enableSass: _common.BooleanConfig.NO
|
91721
91789
|
};
|
91722
91790
|
exports.ModuleDefaultConfig = ModuleDefaultConfig;
|
91723
91791
|
|
@@ -91757,17 +91825,16 @@ Object.keys(_project).forEach(function (key) {
|
|
91757
91825
|
Object.defineProperty(exports, "__esModule", ({
|
91758
91826
|
value: true
|
91759
91827
|
}));
|
91760
|
-
exports.MonorepoSchema = exports.MonorepoDefaultConfig = void 0;
|
91828
|
+
exports.MonorepoSchemas = exports.MonorepoSchema = exports.MonorepoDefaultConfig = void 0;
|
91761
91829
|
|
91762
91830
|
var _common = __webpack_require__(25523);
|
91763
91831
|
|
91764
|
-
const
|
91765
|
-
|
91766
|
-
};
|
91832
|
+
const MonorepoSchemas = [_common.PackageManagerSchema];
|
91833
|
+
exports.MonorepoSchemas = MonorepoSchemas;
|
91767
91834
|
const MonorepoSchema = {
|
91768
91835
|
key: 'monorepo',
|
91769
91836
|
isObject: true,
|
91770
|
-
items:
|
91837
|
+
items: MonorepoSchemas
|
91771
91838
|
};
|
91772
91839
|
exports.MonorepoSchema = MonorepoSchema;
|
91773
91840
|
const MonorepoDefaultConfig = {
|
@@ -91786,7 +91853,7 @@ exports.MonorepoDefaultConfig = MonorepoDefaultConfig;
|
|
91786
91853
|
Object.defineProperty(exports, "__esModule", ({
|
91787
91854
|
value: true
|
91788
91855
|
}));
|
91789
|
-
exports.BFFTypeSchema = exports.BFFType = exports.BFFSchema = void 0;
|
91856
|
+
exports.MWADefaultBffConfig = exports.BFFTypeSchema = exports.BFFType = exports.BFFSchemas = exports.BFFSchema = void 0;
|
91790
91857
|
|
91791
91858
|
var _common = __webpack_require__(70852);
|
91792
91859
|
|
@@ -91811,17 +91878,20 @@ const BFFTypeSchema = {
|
|
91811
91878
|
}))
|
91812
91879
|
};
|
91813
91880
|
exports.BFFTypeSchema = BFFTypeSchema;
|
91814
|
-
const
|
91815
|
-
|
91816
|
-
framework: _common.FrameworkSchema
|
91817
|
-
};
|
91881
|
+
const BFFSchemas = [BFFTypeSchema, _common.FrameworkSchema];
|
91882
|
+
exports.BFFSchemas = BFFSchemas;
|
91818
91883
|
const BFFSchema = {
|
91819
91884
|
key: 'bff',
|
91820
91885
|
label: () => _locale.i18n.t(_locale.localeKeys.action.function.bff),
|
91821
91886
|
isObject: true,
|
91822
|
-
items:
|
91887
|
+
items: BFFSchemas
|
91823
91888
|
};
|
91824
91889
|
exports.BFFSchema = BFFSchema;
|
91890
|
+
const MWADefaultBffConfig = {
|
91891
|
+
bffType: BFFType.Func,
|
91892
|
+
frameWork: _common.Framework.Express
|
91893
|
+
};
|
91894
|
+
exports.MWADefaultBffConfig = MWADefaultBffConfig;
|
91825
91895
|
|
91826
91896
|
/***/ }),
|
91827
91897
|
|
@@ -91834,7 +91904,7 @@ exports.BFFSchema = BFFSchema;
|
|
91834
91904
|
Object.defineProperty(exports, "__esModule", ({
|
91835
91905
|
value: true
|
91836
91906
|
}));
|
91837
|
-
exports.RunWaySchema = exports.RunWay = exports.NeedModifyMWAConfigSchema = exports.FrameworkSchema = exports.Framework = exports.ClientRoute = void 0;
|
91907
|
+
exports.mwaConfigWhenFunc = exports.RunWaySchema = exports.RunWay = exports.NeedModifyMWAConfigSchema = exports.FrameworkSchema = exports.Framework = exports.EnableMWASassSchema = exports.EnableMWALessSchema = exports.DisableStateManagementSchema = exports.ClientRouteSchema = exports.ClientRoute = void 0;
|
91838
91908
|
|
91839
91909
|
var _locale = __webpack_require__(94646);
|
91840
91910
|
|
@@ -91842,6 +91912,15 @@ var _boolean = __webpack_require__(34069);
|
|
91842
91912
|
|
91843
91913
|
var _css = __webpack_require__(99961);
|
91844
91914
|
|
91915
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
91916
|
+
|
91917
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
91918
|
+
|
91919
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
91920
|
+
|
91921
|
+
const mwaConfigWhenFunc = values => values.needModifyMWAConfig === _boolean.BooleanConfig.YES;
|
91922
|
+
|
91923
|
+
exports.mwaConfigWhenFunc = mwaConfigWhenFunc;
|
91845
91924
|
let RunWay;
|
91846
91925
|
exports.RunWay = RunWay;
|
91847
91926
|
|
@@ -91879,6 +91958,7 @@ const ClientRouteSchema = {
|
|
91879
91958
|
type: ['string'],
|
91880
91959
|
label: () => _locale.i18n.t(_locale.localeKeys.entry.clientRoute.self),
|
91881
91960
|
mutualExclusion: true,
|
91961
|
+
when: mwaConfigWhenFunc,
|
91882
91962
|
state: {
|
91883
91963
|
value: ClientRoute.SelfControlRoute
|
91884
91964
|
},
|
@@ -91887,16 +91967,31 @@ const ClientRouteSchema = {
|
|
91887
91967
|
label: () => _locale.i18n.t(_locale.localeKeys.entry.clientRoute[clientRoute])
|
91888
91968
|
}))
|
91889
91969
|
};
|
91970
|
+
exports.ClientRouteSchema = ClientRouteSchema;
|
91890
91971
|
const DisableStateManagementSchema = {
|
91891
91972
|
key: 'disableStateManagement',
|
91892
91973
|
type: ['string'],
|
91893
91974
|
label: () => _locale.i18n.t(_locale.localeKeys.entry.disableStateManagement),
|
91894
91975
|
mutualExclusion: true,
|
91976
|
+
when: mwaConfigWhenFunc,
|
91895
91977
|
state: {
|
91896
91978
|
value: _boolean.BooleanConfig.NO
|
91897
91979
|
},
|
91898
|
-
items:
|
91980
|
+
items: _boolean.BooleanSchemas
|
91899
91981
|
};
|
91982
|
+
exports.DisableStateManagementSchema = DisableStateManagementSchema;
|
91983
|
+
|
91984
|
+
const EnableMWALessSchema = _objectSpread(_objectSpread({}, _css.EnableLessSchema), {}, {
|
91985
|
+
when: mwaConfigWhenFunc
|
91986
|
+
});
|
91987
|
+
|
91988
|
+
exports.EnableMWALessSchema = EnableMWALessSchema;
|
91989
|
+
|
91990
|
+
const EnableMWASassSchema = _objectSpread(_objectSpread({}, _css.EnableSassSchema), {}, {
|
91991
|
+
when: mwaConfigWhenFunc
|
91992
|
+
});
|
91993
|
+
|
91994
|
+
exports.EnableMWASassSchema = EnableMWASassSchema;
|
91900
91995
|
const NeedModifyMWAConfigSchema = {
|
91901
91996
|
key: 'needModifyMWAConfig',
|
91902
91997
|
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.self),
|
@@ -91905,7 +92000,7 @@ const NeedModifyMWAConfigSchema = {
|
|
91905
92000
|
state: {
|
91906
92001
|
value: _boolean.BooleanConfig.NO
|
91907
92002
|
},
|
91908
|
-
items:
|
92003
|
+
items: _boolean.BooleanSchemas
|
91909
92004
|
};
|
91910
92005
|
exports.NeedModifyMWAConfigSchema = NeedModifyMWAConfigSchema;
|
91911
92006
|
let Framework;
|
@@ -91932,6 +92027,82 @@ exports.FrameworkSchema = FrameworkSchema;
|
|
91932
92027
|
|
91933
92028
|
/***/ }),
|
91934
92029
|
|
92030
|
+
/***/ 73423:
|
92031
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
92032
|
+
|
92033
|
+
"use strict";
|
92034
|
+
|
92035
|
+
|
92036
|
+
Object.defineProperty(exports, "__esModule", ({
|
92037
|
+
value: true
|
92038
|
+
}));
|
92039
|
+
exports.LambdaTypeSchema = exports.LambdaType = exports.DeployTypeSchema = exports.CloudTypeSchema = exports.CDNTypeSchema = exports.CDNType = void 0;
|
92040
|
+
|
92041
|
+
var _locale = __webpack_require__(94646);
|
92042
|
+
|
92043
|
+
var _common = __webpack_require__(25523);
|
92044
|
+
|
92045
|
+
let CDNType;
|
92046
|
+
exports.CDNType = CDNType;
|
92047
|
+
|
92048
|
+
(function (CDNType) {
|
92049
|
+
CDNType["OSS"] = "oss";
|
92050
|
+
CDNType["COS"] = "cos";
|
92051
|
+
CDNType["NO"] = "no";
|
92052
|
+
})(CDNType || (exports.CDNType = CDNType = {}));
|
92053
|
+
|
92054
|
+
let LambdaType;
|
92055
|
+
exports.LambdaType = LambdaType;
|
92056
|
+
|
92057
|
+
(function (LambdaType) {
|
92058
|
+
LambdaType["FC"] = "fc";
|
92059
|
+
LambdaType["SCF"] = "scf";
|
92060
|
+
LambdaType["NO"] = "no";
|
92061
|
+
})(LambdaType || (exports.LambdaType = LambdaType = {}));
|
92062
|
+
|
92063
|
+
const CloudTypeSchema = {
|
92064
|
+
key: 'disableModernServer',
|
92065
|
+
type: ['string'],
|
92066
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cloud.self),
|
92067
|
+
mutualExclusion: true,
|
92068
|
+
state: {
|
92069
|
+
value: _common.BooleanConfig.NO
|
92070
|
+
},
|
92071
|
+
items: _common.BooleanSchemas
|
92072
|
+
};
|
92073
|
+
exports.CloudTypeSchema = CloudTypeSchema;
|
92074
|
+
const CDNTypeSchema = {
|
92075
|
+
key: 'cdnType',
|
92076
|
+
type: ['string'],
|
92077
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cdn.self),
|
92078
|
+
mutualExclusion: true,
|
92079
|
+
items: Object.values(CDNType).map(deployType => ({
|
92080
|
+
key: deployType,
|
92081
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cdn[deployType])
|
92082
|
+
}))
|
92083
|
+
};
|
92084
|
+
exports.CDNTypeSchema = CDNTypeSchema;
|
92085
|
+
const LambdaTypeSchema = {
|
92086
|
+
key: 'lambdaType',
|
92087
|
+
type: ['string'],
|
92088
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.lambda.self),
|
92089
|
+
mutualExclusion: true,
|
92090
|
+
when: values => values.disableModernServer === _common.BooleanConfig.NO,
|
92091
|
+
items: Object.values(LambdaType).map(deployType => ({
|
92092
|
+
key: deployType,
|
92093
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.lambda[deployType])
|
92094
|
+
}))
|
92095
|
+
};
|
92096
|
+
exports.LambdaTypeSchema = LambdaTypeSchema;
|
92097
|
+
const DeployTypeSchema = {
|
92098
|
+
key: 'Deploy',
|
92099
|
+
isObject: true,
|
92100
|
+
items: [CloudTypeSchema, CDNTypeSchema, LambdaTypeSchema]
|
92101
|
+
};
|
92102
|
+
exports.DeployTypeSchema = DeployTypeSchema;
|
92103
|
+
|
92104
|
+
/***/ }),
|
92105
|
+
|
91935
92106
|
/***/ 91124:
|
91936
92107
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
91937
92108
|
|
@@ -91941,12 +92112,14 @@ exports.FrameworkSchema = FrameworkSchema;
|
|
91941
92112
|
Object.defineProperty(exports, "__esModule", ({
|
91942
92113
|
value: true
|
91943
92114
|
}));
|
91944
|
-
exports.EntrySchema = void 0;
|
92115
|
+
exports.MWADefaultEntryConfig = exports.EntrySchemas = exports.EntrySchema = void 0;
|
91945
92116
|
|
91946
92117
|
var _common = __webpack_require__(70852);
|
91947
92118
|
|
91948
92119
|
var _locale = __webpack_require__(94646);
|
91949
92120
|
|
92121
|
+
var _common2 = __webpack_require__(25523);
|
92122
|
+
|
91950
92123
|
const EntryNameSchema = {
|
91951
92124
|
key: 'name',
|
91952
92125
|
type: ['string'],
|
@@ -91981,17 +92154,21 @@ const EntryNameSchema = {
|
|
91981
92154
|
return true;
|
91982
92155
|
}
|
91983
92156
|
};
|
91984
|
-
const
|
91985
|
-
|
91986
|
-
needModifyEntryConfig: _common.NeedModifyMWAConfigSchema
|
91987
|
-
};
|
92157
|
+
const EntrySchemas = [EntryNameSchema, _common.NeedModifyMWAConfigSchema, _common.ClientRouteSchema, _common.DisableStateManagementSchema];
|
92158
|
+
exports.EntrySchemas = EntrySchemas;
|
91988
92159
|
const EntrySchema = {
|
91989
92160
|
key: 'entry',
|
91990
92161
|
label: () => _locale.i18n.t(_locale.localeKeys.action.element.entry),
|
91991
92162
|
isObject: true,
|
91992
|
-
items:
|
92163
|
+
items: EntrySchemas
|
91993
92164
|
};
|
91994
92165
|
exports.EntrySchema = EntrySchema;
|
92166
|
+
const MWADefaultEntryConfig = {
|
92167
|
+
needModifyMWAConfig: _common2.BooleanConfig.NO,
|
92168
|
+
clientRoute: _common.ClientRoute.SelfControlRoute,
|
92169
|
+
disableStateManagement: _common2.BooleanConfig.NO
|
92170
|
+
};
|
92171
|
+
exports.MWADefaultEntryConfig = MWADefaultEntryConfig;
|
91995
92172
|
|
91996
92173
|
/***/ }),
|
91997
92174
|
|
@@ -92044,6 +92221,19 @@ Object.keys(_bff).forEach(function (key) {
|
|
92044
92221
|
});
|
92045
92222
|
});
|
92046
92223
|
|
92224
|
+
var _deploy = __webpack_require__(73423);
|
92225
|
+
|
92226
|
+
Object.keys(_deploy).forEach(function (key) {
|
92227
|
+
if (key === "default" || key === "__esModule") return;
|
92228
|
+
if (key in exports && exports[key] === _deploy[key]) return;
|
92229
|
+
Object.defineProperty(exports, key, {
|
92230
|
+
enumerable: true,
|
92231
|
+
get: function () {
|
92232
|
+
return _deploy[key];
|
92233
|
+
}
|
92234
|
+
});
|
92235
|
+
});
|
92236
|
+
|
92047
92237
|
var _project = __webpack_require__(30968);
|
92048
92238
|
|
92049
92239
|
Object.keys(_project).forEach(function (key) {
|
@@ -92081,31 +92271,29 @@ Object.keys(_server).forEach(function (key) {
|
|
92081
92271
|
Object.defineProperty(exports, "__esModule", ({
|
92082
92272
|
value: true
|
92083
92273
|
}));
|
92084
|
-
exports.MWASchema = exports.MWADefaultConfig = void 0;
|
92274
|
+
exports.MWASchemas = exports.MWASchema = exports.MWADefaultConfig = void 0;
|
92085
92275
|
|
92086
92276
|
var _common = __webpack_require__(70852);
|
92087
92277
|
|
92088
92278
|
var _common2 = __webpack_require__(25523);
|
92089
92279
|
|
92090
|
-
const
|
92091
|
-
|
92092
|
-
packagePath: _common2.PackagePathSchema,
|
92093
|
-
language: _common2.LanguageSchema,
|
92094
|
-
packageManager: _common2.PackageManagerSchema,
|
92095
|
-
runWay: _common.RunWaySchema,
|
92096
|
-
needModifyMWAConfig: _common.NeedModifyMWAConfigSchema
|
92097
|
-
};
|
92280
|
+
const MWASchemas = [_common2.PackageNameSchema, _common2.PackagePathSchema, _common2.LanguageSchema, _common2.PackageManagerSchema, _common.RunWaySchema, _common.NeedModifyMWAConfigSchema, _common.ClientRouteSchema, _common.DisableStateManagementSchema, _common.EnableMWALessSchema, _common.EnableMWASassSchema];
|
92281
|
+
exports.MWASchemas = MWASchemas;
|
92098
92282
|
const MWASchema = {
|
92099
92283
|
key: 'mwa',
|
92100
92284
|
isObject: true,
|
92101
|
-
items:
|
92285
|
+
items: MWASchemas
|
92102
92286
|
};
|
92103
92287
|
exports.MWASchema = MWASchema;
|
92104
92288
|
const MWADefaultConfig = {
|
92105
92289
|
language: _common2.Language.TS,
|
92106
92290
|
packageManager: _common2.PackageManager.Pnpm,
|
92107
92291
|
runWay: _common.RunWay.No,
|
92108
|
-
needModifyMWAConfig: _common2.BooleanConfig.NO
|
92292
|
+
needModifyMWAConfig: _common2.BooleanConfig.NO,
|
92293
|
+
clientRoute: _common.ClientRoute.SelfControlRoute,
|
92294
|
+
disableStateManagement: _common2.BooleanConfig.NO,
|
92295
|
+
enableLess: _common2.BooleanConfig.NO,
|
92296
|
+
enableSass: _common2.BooleanConfig.NO
|
92109
92297
|
};
|
92110
92298
|
exports.MWADefaultConfig = MWADefaultConfig;
|
92111
92299
|
|
@@ -92120,22 +92308,25 @@ exports.MWADefaultConfig = MWADefaultConfig;
|
|
92120
92308
|
Object.defineProperty(exports, "__esModule", ({
|
92121
92309
|
value: true
|
92122
92310
|
}));
|
92123
|
-
exports.ServerSchema = void 0;
|
92311
|
+
exports.ServerSchemas = exports.ServerSchema = exports.MWADefaultServerConfig = void 0;
|
92124
92312
|
|
92125
92313
|
var _locale = __webpack_require__(94646);
|
92126
92314
|
|
92127
92315
|
var _common = __webpack_require__(70852);
|
92128
92316
|
|
92129
|
-
const
|
92130
|
-
|
92131
|
-
};
|
92317
|
+
const ServerSchemas = [_common.FrameworkSchema];
|
92318
|
+
exports.ServerSchemas = ServerSchemas;
|
92132
92319
|
const ServerSchema = {
|
92133
92320
|
key: 'server',
|
92134
92321
|
label: () => _locale.i18n.t(_locale.localeKeys.action.element.server),
|
92135
92322
|
isObject: true,
|
92136
|
-
items:
|
92323
|
+
items: ServerSchemas
|
92137
92324
|
};
|
92138
92325
|
exports.ServerSchema = ServerSchema;
|
92326
|
+
const MWADefaultServerConfig = {
|
92327
|
+
framework: _common.Framework.Express
|
92328
|
+
};
|
92329
|
+
exports.MWADefaultServerConfig = MWADefaultServerConfig;
|
92139
92330
|
|
92140
92331
|
/***/ }),
|
92141
92332
|
|
@@ -92167,7 +92358,6 @@ exports.ActionElement = ActionElement;
|
|
92167
92358
|
(function (ActionElement) {
|
92168
92359
|
ActionElement["Entry"] = "entry";
|
92169
92360
|
ActionElement["Server"] = "server";
|
92170
|
-
ActionElement["Env"] = "env";
|
92171
92361
|
})(ActionElement || (exports.ActionElement = ActionElement = {}));
|
92172
92362
|
|
92173
92363
|
let ActionFunction;
|
@@ -92188,6 +92378,7 @@ exports.ActionFunction = ActionFunction;
|
|
92188
92378
|
ActionFunction["Storybook"] = "storybook";
|
92189
92379
|
ActionFunction["RuntimeApi"] = "runtimeApi";
|
92190
92380
|
ActionFunction["SSG"] = "ssg";
|
92381
|
+
ActionFunction["Deploy"] = "deploy";
|
92191
92382
|
})(ActionFunction || (exports.ActionFunction = ActionFunction = {}));
|
92192
92383
|
|
92193
92384
|
let ActionRefactor;
|
@@ -92205,8 +92396,7 @@ const ActionTypeText = {
|
|
92205
92396
|
exports.ActionTypeText = ActionTypeText;
|
92206
92397
|
const ActionElementText = {
|
92207
92398
|
[ActionElement.Entry]: () => _locale.i18n.t(_locale.localeKeys.action.element.entry),
|
92208
|
-
[ActionElement.Server]: () => _locale.i18n.t(_locale.localeKeys.action.element.server)
|
92209
|
-
[ActionElement.Env]: () => _locale.i18n.t(_locale.localeKeys.action.element.env)
|
92399
|
+
[ActionElement.Server]: () => _locale.i18n.t(_locale.localeKeys.action.element.server)
|
92210
92400
|
};
|
92211
92401
|
exports.ActionElementText = ActionElementText;
|
92212
92402
|
const ActionFunctionText = {
|
@@ -92223,7 +92413,8 @@ const ActionFunctionText = {
|
|
92223
92413
|
[ActionFunction.Doc]: () => _locale.i18n.t(_locale.localeKeys.action.function.doc),
|
92224
92414
|
[ActionFunction.Storybook]: () => _locale.i18n.t(_locale.localeKeys.action.function.storybook),
|
92225
92415
|
[ActionFunction.RuntimeApi]: () => _locale.i18n.t(_locale.localeKeys.action.function.runtime_api),
|
92226
|
-
[ActionFunction.SSG]: () => _locale.i18n.t(_locale.localeKeys.action.function.ssg)
|
92416
|
+
[ActionFunction.SSG]: () => _locale.i18n.t(_locale.localeKeys.action.function.ssg),
|
92417
|
+
[ActionFunction.Deploy]: () => _locale.i18n.t(_locale.localeKeys.action.function.deploy)
|
92227
92418
|
};
|
92228
92419
|
exports.ActionFunctionText = ActionFunctionText;
|
92229
92420
|
const ActionRefactorText = {
|
@@ -92446,12 +92637,11 @@ const MWAActionTypes = [_common.ActionType.Element, _common.ActionType.Function
|
|
92446
92637
|
];
|
92447
92638
|
exports.MWAActionTypes = MWAActionTypes;
|
92448
92639
|
const MWAActionFunctions = [_common.ActionFunction.UnBundle, _common.ActionFunction.TailwindCSS, _common.ActionFunction.Less, _common.ActionFunction.Sass, _common.ActionFunction.BFF, _common.ActionFunction.SSG, _common.ActionFunction.MicroFrontend, _common.ActionFunction.Electron, // ActionFunction.I18n,
|
92449
|
-
_common.ActionFunction.Test, _common.ActionFunction.Storybook // ActionFunction.E2ETest,
|
92640
|
+
_common.ActionFunction.Test, _common.ActionFunction.Storybook, // ActionFunction.E2ETest,
|
92450
92641
|
// ActionFunction.Doc,
|
92451
|
-
];
|
92642
|
+
_common.ActionFunction.Deploy];
|
92452
92643
|
exports.MWAActionFunctions = MWAActionFunctions;
|
92453
|
-
const MWAActionElements = [_common.ActionElement.Entry, _common.ActionElement.Server
|
92454
|
-
];
|
92644
|
+
const MWAActionElements = [_common.ActionElement.Entry, _common.ActionElement.Server];
|
92455
92645
|
exports.MWAActionElements = MWAActionElements;
|
92456
92646
|
const MWAActionReactors = [_common.ActionRefactor.BFFToApp];
|
92457
92647
|
exports.MWAActionReactors = MWAActionReactors;
|
@@ -92511,7 +92701,6 @@ exports.MWAActionFunctionsDependencies = MWAActionFunctionsDependencies;
|
|
92511
92701
|
const MWANewActionGenerators = {
|
92512
92702
|
[_common.ActionType.Element]: {
|
92513
92703
|
[_common.ActionElement.Entry]: '@modern-js/entry-generator',
|
92514
|
-
[_common.ActionElement.Env]: '@modern-js/env-generator',
|
92515
92704
|
[_common.ActionElement.Server]: '@modern-js/server-generator'
|
92516
92705
|
},
|
92517
92706
|
[_common.ActionType.Function]: {
|
@@ -92527,7 +92716,8 @@ const MWANewActionGenerators = {
|
|
92527
92716
|
[_common.ActionFunction.E2ETest]: '@modern-js/dependence-generator',
|
92528
92717
|
[_common.ActionFunction.Doc]: '@modern-js/dependence-generator',
|
92529
92718
|
[_common.ActionFunction.Storybook]: '@modern-js/dependence-generator',
|
92530
|
-
[_common.ActionFunction.SSG]: '@modern-js/ssg-generator'
|
92719
|
+
[_common.ActionFunction.SSG]: '@modern-js/ssg-generator',
|
92720
|
+
[_common.ActionFunction.Deploy]: '@modern-js/cloud-deploy-generator'
|
92531
92721
|
},
|
92532
92722
|
[_common.ActionType.Refactor]: {
|
92533
92723
|
[_common.ActionRefactor.BFFToApp]: '@modern-js/bff-refactor-generator'
|
@@ -92890,9 +93080,9 @@ exports["default"] = void 0;
|
|
92890
93080
|
|
92891
93081
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
92892
93082
|
|
92893
|
-
var _codesmithApiApp = __webpack_require__(
|
93083
|
+
var _codesmithApiApp = __webpack_require__(3437);
|
92894
93084
|
|
92895
|
-
var _codesmithApiJson = __webpack_require__(
|
93085
|
+
var _codesmithApiJson = __webpack_require__(99657);
|
92896
93086
|
|
92897
93087
|
var _generatorCommon = __webpack_require__(50828);
|
92898
93088
|
|
@@ -92920,7 +93110,7 @@ const handleTemplateFile = async (context, generator, appApi) => {
|
|
92920
93110
|
query: {},
|
92921
93111
|
update: {
|
92922
93112
|
$set: {
|
92923
|
-
'modernConfig.output.ssg':
|
93113
|
+
'modernConfig.output.ssg': true
|
92924
93114
|
}
|
92925
93115
|
}
|
92926
93116
|
});
|