@modern-js/repo-generator 1.1.0 → 1.1.1
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 +661 -367
- package/package.json +8 -8
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__(53542);
|
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
|
+
/***/ 90423:
|
838
862
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
839
863
|
|
840
864
|
"use strict";
|
@@ -848,7 +872,7 @@ var _exportNames = {
|
|
848
872
|
};
|
849
873
|
exports.NpmAPI = void 0;
|
850
874
|
|
851
|
-
var _utils = __webpack_require__(
|
875
|
+
var _utils = __webpack_require__(63716);
|
852
876
|
|
853
877
|
Object.keys(_utils).forEach(function (key) {
|
854
878
|
if (key === "default" || key === "__esModule") return;
|
@@ -886,7 +910,7 @@ exports.NpmAPI = NpmAPI;
|
|
886
910
|
|
887
911
|
/***/ }),
|
888
912
|
|
889
|
-
/***/
|
913
|
+
/***/ 45033:
|
890
914
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
891
915
|
|
892
916
|
"use strict";
|
@@ -951,7 +975,7 @@ async function canUsePnpm() {
|
|
951
975
|
|
952
976
|
/***/ }),
|
953
977
|
|
954
|
-
/***/
|
978
|
+
/***/ 63716:
|
955
979
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
956
980
|
|
957
981
|
"use strict";
|
@@ -1003,13 +1027,13 @@ Object.defineProperty(exports, "yarnInstall", ({
|
|
1003
1027
|
}
|
1004
1028
|
}));
|
1005
1029
|
|
1006
|
-
var _env = __webpack_require__(
|
1030
|
+
var _env = __webpack_require__(45033);
|
1007
1031
|
|
1008
|
-
var _install = __webpack_require__(
|
1032
|
+
var _install = __webpack_require__(6285);
|
1009
1033
|
|
1010
1034
|
/***/ }),
|
1011
1035
|
|
1012
|
-
/***/
|
1036
|
+
/***/ 6285:
|
1013
1037
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1014
1038
|
|
1015
1039
|
"use strict";
|
@@ -1025,7 +1049,7 @@ exports.yarnInstall = yarnInstall;
|
|
1025
1049
|
|
1026
1050
|
var _execa = _interopRequireDefault(__webpack_require__(16228));
|
1027
1051
|
|
1028
|
-
var _env = __webpack_require__(
|
1052
|
+
var _env = __webpack_require__(45033);
|
1029
1053
|
|
1030
1054
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1031
1055
|
|
@@ -1103,7 +1127,7 @@ async function pnpmInstall(cwd, registryUrl) {
|
|
1103
1127
|
|
1104
1128
|
/***/ }),
|
1105
1129
|
|
1106
|
-
/***/
|
1130
|
+
/***/ 5579:
|
1107
1131
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1108
1132
|
|
1109
1133
|
"use strict";
|
@@ -1116,15 +1140,15 @@ exports.CodeSmith = void 0;
|
|
1116
1140
|
|
1117
1141
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
1118
1142
|
|
1119
|
-
var _generator = __webpack_require__(
|
1143
|
+
var _generator = __webpack_require__(50891);
|
1120
1144
|
|
1121
|
-
var _logger = __webpack_require__(
|
1145
|
+
var _logger = __webpack_require__(73842);
|
1122
1146
|
|
1123
|
-
var _constants = __webpack_require__(
|
1147
|
+
var _constants = __webpack_require__(68725);
|
1124
1148
|
|
1125
|
-
var _materials = __webpack_require__(
|
1149
|
+
var _materials = __webpack_require__(3797);
|
1126
1150
|
|
1127
|
-
var _FsMaterial = __webpack_require__(
|
1151
|
+
var _FsMaterial = __webpack_require__(78741);
|
1128
1152
|
|
1129
1153
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1130
1154
|
|
@@ -1183,7 +1207,7 @@ exports.CodeSmith = CodeSmith;
|
|
1183
1207
|
|
1184
1208
|
/***/ }),
|
1185
1209
|
|
1186
|
-
/***/
|
1210
|
+
/***/ 84795:
|
1187
1211
|
/***/ ((__unused_webpack_module, exports) => {
|
1188
1212
|
|
1189
1213
|
"use strict";
|
@@ -1200,7 +1224,7 @@ exports.CATCHE_VALIDITY_PREIOD = CATCHE_VALIDITY_PREIOD;
|
|
1200
1224
|
|
1201
1225
|
/***/ }),
|
1202
1226
|
|
1203
|
-
/***/
|
1227
|
+
/***/ 50891:
|
1204
1228
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1205
1229
|
|
1206
1230
|
"use strict";
|
@@ -1221,11 +1245,11 @@ var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
|
1221
1245
|
|
1222
1246
|
var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
|
1223
1247
|
|
1224
|
-
var _FsMaterial = __webpack_require__(
|
1248
|
+
var _FsMaterial = __webpack_require__(78741);
|
1225
1249
|
|
1226
|
-
var _nodeRequire = __webpack_require__(
|
1250
|
+
var _nodeRequire = __webpack_require__(18447);
|
1227
1251
|
|
1228
|
-
var _getGeneratorDir = __webpack_require__(
|
1252
|
+
var _getGeneratorDir = __webpack_require__(85282);
|
1229
1253
|
|
1230
1254
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1231
1255
|
|
@@ -1456,7 +1480,7 @@ exports.GeneratorCore = GeneratorCore;
|
|
1456
1480
|
|
1457
1481
|
/***/ }),
|
1458
1482
|
|
1459
|
-
/***/
|
1483
|
+
/***/ 54345:
|
1460
1484
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1461
1485
|
|
1462
1486
|
"use strict";
|
@@ -1531,21 +1555,21 @@ Object.defineProperty(exports, "MaterialsManager", ({
|
|
1531
1555
|
}
|
1532
1556
|
}));
|
1533
1557
|
|
1534
|
-
var _constants = __webpack_require__(
|
1558
|
+
var _constants = __webpack_require__(68725);
|
1535
1559
|
|
1536
|
-
var _logger = __webpack_require__(
|
1560
|
+
var _logger = __webpack_require__(73842);
|
1537
1561
|
|
1538
|
-
var _codesmith = __webpack_require__(
|
1562
|
+
var _codesmith = __webpack_require__(5579);
|
1539
1563
|
|
1540
|
-
var _generator = __webpack_require__(
|
1564
|
+
var _generator = __webpack_require__(50891);
|
1541
1565
|
|
1542
|
-
var _materials = __webpack_require__(
|
1566
|
+
var _materials = __webpack_require__(3797);
|
1543
1567
|
|
1544
|
-
var _FsMaterial = __webpack_require__(
|
1568
|
+
var _FsMaterial = __webpack_require__(78741);
|
1545
1569
|
|
1546
|
-
var _FsResource = __webpack_require__(
|
1570
|
+
var _FsResource = __webpack_require__(49448);
|
1547
1571
|
|
1548
|
-
var _utils = __webpack_require__(
|
1572
|
+
var _utils = __webpack_require__(27351);
|
1549
1573
|
|
1550
1574
|
Object.keys(_utils).forEach(function (key) {
|
1551
1575
|
if (key === "default" || key === "__esModule") return;
|
@@ -1561,7 +1585,7 @@ Object.keys(_utils).forEach(function (key) {
|
|
1561
1585
|
|
1562
1586
|
/***/ }),
|
1563
1587
|
|
1564
|
-
/***/
|
1588
|
+
/***/ 68725:
|
1565
1589
|
/***/ ((__unused_webpack_module, exports) => {
|
1566
1590
|
|
1567
1591
|
"use strict";
|
@@ -1589,7 +1613,7 @@ exports.LevelPriority = LevelPriority;
|
|
1589
1613
|
|
1590
1614
|
/***/ }),
|
1591
1615
|
|
1592
|
-
/***/
|
1616
|
+
/***/ 73842:
|
1593
1617
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1594
1618
|
|
1595
1619
|
"use strict";
|
@@ -1602,7 +1626,7 @@ exports.Logger = void 0;
|
|
1602
1626
|
|
1603
1627
|
var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
1604
1628
|
|
1605
|
-
var _constants = __webpack_require__(
|
1629
|
+
var _constants = __webpack_require__(68725);
|
1606
1630
|
|
1607
1631
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1608
1632
|
|
@@ -1677,7 +1701,7 @@ exports.Logger = Logger;
|
|
1677
1701
|
|
1678
1702
|
/***/ }),
|
1679
1703
|
|
1680
|
-
/***/
|
1704
|
+
/***/ 78741:
|
1681
1705
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1682
1706
|
|
1683
1707
|
"use strict";
|
@@ -1692,7 +1716,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
1692
1716
|
|
1693
1717
|
var _globPromise = _interopRequireDefault(__webpack_require__(39646));
|
1694
1718
|
|
1695
|
-
var _FsResource = __webpack_require__(
|
1719
|
+
var _FsResource = __webpack_require__(49448);
|
1696
1720
|
|
1697
1721
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1698
1722
|
|
@@ -1725,7 +1749,7 @@ exports.FsMaterial = FsMaterial;
|
|
1725
1749
|
|
1726
1750
|
/***/ }),
|
1727
1751
|
|
1728
|
-
/***/
|
1752
|
+
/***/ 49448:
|
1729
1753
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1730
1754
|
|
1731
1755
|
"use strict";
|
@@ -1740,7 +1764,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
1740
1764
|
|
1741
1765
|
var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
|
1742
1766
|
|
1743
|
-
var _constants = __webpack_require__(
|
1767
|
+
var _constants = __webpack_require__(70516);
|
1744
1768
|
|
1745
1769
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1746
1770
|
|
@@ -1778,7 +1802,7 @@ exports.FsResource = FsResource;
|
|
1778
1802
|
|
1779
1803
|
/***/ }),
|
1780
1804
|
|
1781
|
-
/***/
|
1805
|
+
/***/ 70516:
|
1782
1806
|
/***/ ((__unused_webpack_module, exports) => {
|
1783
1807
|
|
1784
1808
|
"use strict";
|
@@ -1793,7 +1817,7 @@ exports.IMAGE_EXT_LIST = IMAGE_EXT_LIST;
|
|
1793
1817
|
|
1794
1818
|
/***/ }),
|
1795
1819
|
|
1796
|
-
/***/
|
1820
|
+
/***/ 3797:
|
1797
1821
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1798
1822
|
|
1799
1823
|
"use strict";
|
@@ -1806,9 +1830,9 @@ exports.MaterialsManager = void 0;
|
|
1806
1830
|
|
1807
1831
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
1808
1832
|
|
1809
|
-
var _FsMaterial = __webpack_require__(
|
1833
|
+
var _FsMaterial = __webpack_require__(78741);
|
1810
1834
|
|
1811
|
-
var _utils = __webpack_require__(
|
1835
|
+
var _utils = __webpack_require__(27351);
|
1812
1836
|
|
1813
1837
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1814
1838
|
|
@@ -1853,7 +1877,7 @@ exports.MaterialsManager = MaterialsManager;
|
|
1853
1877
|
|
1854
1878
|
/***/ }),
|
1855
1879
|
|
1856
|
-
/***/
|
1880
|
+
/***/ 81337:
|
1857
1881
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
1858
1882
|
|
1859
1883
|
"use strict";
|
@@ -1872,15 +1896,15 @@ var _axios = _interopRequireDefault(__webpack_require__(45114));
|
|
1872
1896
|
|
1873
1897
|
var _tar = _interopRequireDefault(__webpack_require__(74634));
|
1874
1898
|
|
1875
|
-
var _getNpmTarballUrl = __webpack_require__(
|
1899
|
+
var _getNpmTarballUrl = __webpack_require__(27272);
|
1876
1900
|
|
1877
|
-
var _getNpmVersion = __webpack_require__(
|
1901
|
+
var _getNpmVersion = __webpack_require__(38016);
|
1878
1902
|
|
1879
|
-
var _fsExists = __webpack_require__(
|
1903
|
+
var _fsExists = __webpack_require__(62279);
|
1880
1904
|
|
1881
|
-
var _packageManager = __webpack_require__(
|
1905
|
+
var _packageManager = __webpack_require__(14888);
|
1882
1906
|
|
1883
|
-
var _constants = __webpack_require__(
|
1907
|
+
var _constants = __webpack_require__(84795);
|
1884
1908
|
|
1885
1909
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1886
1910
|
|
@@ -2000,7 +2024,7 @@ async function downloadPackage(pkgName, pkgVersion = 'latest', options = {}) {
|
|
2000
2024
|
|
2001
2025
|
/***/ }),
|
2002
2026
|
|
2003
|
-
/***/
|
2027
|
+
/***/ 62279:
|
2004
2028
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2005
2029
|
|
2006
2030
|
"use strict";
|
@@ -2031,7 +2055,7 @@ async function fsExists(path) {
|
|
2031
2055
|
|
2032
2056
|
/***/ }),
|
2033
2057
|
|
2034
|
-
/***/
|
2058
|
+
/***/ 85282:
|
2035
2059
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2036
2060
|
|
2037
2061
|
"use strict";
|
@@ -2046,7 +2070,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
2046
2070
|
|
2047
2071
|
var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
|
2048
2072
|
|
2049
|
-
var _fsExists = __webpack_require__(
|
2073
|
+
var _fsExists = __webpack_require__(62279);
|
2050
2074
|
|
2051
2075
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2052
2076
|
|
@@ -2076,7 +2100,7 @@ async function getGeneratorDir(generator) {
|
|
2076
2100
|
|
2077
2101
|
/***/ }),
|
2078
2102
|
|
2079
|
-
/***/
|
2103
|
+
/***/ 27272:
|
2080
2104
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2081
2105
|
|
2082
2106
|
"use strict";
|
@@ -2089,9 +2113,9 @@ exports.getNpmTarballUrl = getNpmTarballUrl;
|
|
2089
2113
|
|
2090
2114
|
var _packageJson = _interopRequireDefault(__webpack_require__(27499));
|
2091
2115
|
|
2092
|
-
var _timeoutPromise = __webpack_require__(
|
2116
|
+
var _timeoutPromise = __webpack_require__(80767);
|
2093
2117
|
|
2094
|
-
var _constants = __webpack_require__(
|
2118
|
+
var _constants = __webpack_require__(84795);
|
2095
2119
|
|
2096
2120
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2097
2121
|
|
@@ -2128,7 +2152,7 @@ async function getNpmTarballUrl(pkgName, pkgVersion, options) {
|
|
2128
2152
|
|
2129
2153
|
/***/ }),
|
2130
2154
|
|
2131
|
-
/***/
|
2155
|
+
/***/ 38016:
|
2132
2156
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2133
2157
|
|
2134
2158
|
"use strict";
|
@@ -2141,9 +2165,9 @@ exports.getNpmVersion = getNpmVersion;
|
|
2141
2165
|
|
2142
2166
|
var _packageJson = _interopRequireDefault(__webpack_require__(27499));
|
2143
2167
|
|
2144
|
-
var _timeoutPromise = __webpack_require__(
|
2168
|
+
var _timeoutPromise = __webpack_require__(80767);
|
2145
2169
|
|
2146
|
-
var _constants = __webpack_require__(
|
2170
|
+
var _constants = __webpack_require__(84795);
|
2147
2171
|
|
2148
2172
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2149
2173
|
|
@@ -2162,7 +2186,7 @@ async function getNpmVersion(packageName, options) {
|
|
2162
2186
|
|
2163
2187
|
/***/ }),
|
2164
2188
|
|
2165
|
-
/***/
|
2189
|
+
/***/ 20892:
|
2166
2190
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2167
2191
|
|
2168
2192
|
"use strict";
|
@@ -2211,7 +2235,7 @@ function getPackageInfo(packageName) {
|
|
2211
2235
|
|
2212
2236
|
/***/ }),
|
2213
2237
|
|
2214
|
-
/***/
|
2238
|
+
/***/ 27351:
|
2215
2239
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2216
2240
|
|
2217
2241
|
"use strict";
|
@@ -2281,25 +2305,25 @@ Object.defineProperty(exports, "timeoutPromise", ({
|
|
2281
2305
|
}
|
2282
2306
|
}));
|
2283
2307
|
|
2284
|
-
var _fsExists = __webpack_require__(
|
2308
|
+
var _fsExists = __webpack_require__(62279);
|
2285
2309
|
|
2286
|
-
var _nodeRequire = __webpack_require__(
|
2310
|
+
var _nodeRequire = __webpack_require__(18447);
|
2287
2311
|
|
2288
|
-
var _packageManager = __webpack_require__(
|
2312
|
+
var _packageManager = __webpack_require__(14888);
|
2289
2313
|
|
2290
|
-
var _timeoutPromise = __webpack_require__(
|
2314
|
+
var _timeoutPromise = __webpack_require__(80767);
|
2291
2315
|
|
2292
|
-
var _downloadPackage = __webpack_require__(
|
2316
|
+
var _downloadPackage = __webpack_require__(81337);
|
2293
2317
|
|
2294
|
-
var _getNpmTarballUrl = __webpack_require__(
|
2318
|
+
var _getNpmTarballUrl = __webpack_require__(27272);
|
2295
2319
|
|
2296
|
-
var _getNpmVersion = __webpack_require__(
|
2320
|
+
var _getNpmVersion = __webpack_require__(38016);
|
2297
2321
|
|
2298
|
-
var _getPackageInfo = __webpack_require__(
|
2322
|
+
var _getPackageInfo = __webpack_require__(20892);
|
2299
2323
|
|
2300
2324
|
/***/ }),
|
2301
2325
|
|
2302
|
-
/***/
|
2326
|
+
/***/ 18447:
|
2303
2327
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2304
2328
|
|
2305
2329
|
"use strict";
|
@@ -2325,7 +2349,7 @@ const nodeRequire = path => {
|
|
2325
2349
|
|
2326
2350
|
return module;
|
2327
2351
|
} catch (error) {
|
2328
|
-
const module = __webpack_require__(
|
2352
|
+
const module = __webpack_require__(15525)(path);
|
2329
2353
|
|
2330
2354
|
if (module !== null && module !== void 0 && module.default) {
|
2331
2355
|
return module.default;
|
@@ -2339,7 +2363,7 @@ exports.nodeRequire = nodeRequire;
|
|
2339
2363
|
|
2340
2364
|
/***/ }),
|
2341
2365
|
|
2342
|
-
/***/
|
2366
|
+
/***/ 14888:
|
2343
2367
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2344
2368
|
|
2345
2369
|
"use strict";
|
@@ -2434,7 +2458,7 @@ async function runInstall(targetDir, registryUrl) {
|
|
2434
2458
|
|
2435
2459
|
/***/ }),
|
2436
2460
|
|
2437
|
-
/***/
|
2461
|
+
/***/ 80767:
|
2438
2462
|
/***/ ((__unused_webpack_module, exports) => {
|
2439
2463
|
|
2440
2464
|
"use strict";
|
@@ -2469,7 +2493,7 @@ async function timeoutPromise(promise, ms, reason = 'Operation') {
|
|
2469
2493
|
|
2470
2494
|
/***/ }),
|
2471
2495
|
|
2472
|
-
/***/
|
2496
|
+
/***/ 15525:
|
2473
2497
|
/***/ ((module) => {
|
2474
2498
|
|
2475
2499
|
function webpackEmptyContext(req) {
|
@@ -2479,12 +2503,12 @@ function webpackEmptyContext(req) {
|
|
2479
2503
|
}
|
2480
2504
|
webpackEmptyContext.keys = () => ([]);
|
2481
2505
|
webpackEmptyContext.resolve = webpackEmptyContext;
|
2482
|
-
webpackEmptyContext.id =
|
2506
|
+
webpackEmptyContext.id = 15525;
|
2483
2507
|
module.exports = webpackEmptyContext;
|
2484
2508
|
|
2485
2509
|
/***/ }),
|
2486
2510
|
|
2487
|
-
/***/
|
2511
|
+
/***/ 35516:
|
2488
2512
|
/***/ ((__unused_webpack_module, exports) => {
|
2489
2513
|
|
2490
2514
|
"use strict";
|
@@ -2496,14 +2520,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2496
2520
|
|
2497
2521
|
/***/ }),
|
2498
2522
|
|
2499
|
-
/***/
|
2523
|
+
/***/ 32661:
|
2500
2524
|
/***/ (() => {
|
2501
2525
|
|
2502
2526
|
|
2503
2527
|
|
2504
2528
|
/***/ }),
|
2505
2529
|
|
2506
|
-
/***/
|
2530
|
+
/***/ 27969:
|
2507
2531
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2508
2532
|
|
2509
2533
|
"use strict";
|
@@ -2514,9 +2538,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2514
2538
|
}));
|
2515
2539
|
exports.BaseCliReader = void 0;
|
2516
2540
|
|
2517
|
-
var _easyFormCore = __webpack_require__(
|
2541
|
+
var _easyFormCore = __webpack_require__(67566);
|
2518
2542
|
|
2519
|
-
var _constant = __webpack_require__(
|
2543
|
+
var _constant = __webpack_require__(56124);
|
2520
2544
|
|
2521
2545
|
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; }
|
2522
2546
|
|
@@ -2702,7 +2726,7 @@ exports.BaseCliReader = BaseCliReader;
|
|
2702
2726
|
|
2703
2727
|
/***/ }),
|
2704
2728
|
|
2705
|
-
/***/
|
2729
|
+
/***/ 90444:
|
2706
2730
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2707
2731
|
|
2708
2732
|
"use strict";
|
@@ -2713,9 +2737,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2713
2737
|
}));
|
2714
2738
|
exports.checkboxNode = void 0;
|
2715
2739
|
|
2716
|
-
__webpack_require__(
|
2740
|
+
__webpack_require__(32661);
|
2717
2741
|
|
2718
|
-
var _utils = __webpack_require__(
|
2742
|
+
var _utils = __webpack_require__(32300);
|
2719
2743
|
|
2720
2744
|
const checkboxNode = options => {
|
2721
2745
|
const {
|
@@ -2751,7 +2775,7 @@ exports.checkboxNode = checkboxNode;
|
|
2751
2775
|
|
2752
2776
|
/***/ }),
|
2753
2777
|
|
2754
|
-
/***/
|
2778
|
+
/***/ 15352:
|
2755
2779
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2756
2780
|
|
2757
2781
|
"use strict";
|
@@ -2762,9 +2786,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2762
2786
|
}));
|
2763
2787
|
exports.childNode = void 0;
|
2764
2788
|
|
2765
|
-
__webpack_require__(
|
2789
|
+
__webpack_require__(32661);
|
2766
2790
|
|
2767
|
-
var _utils = __webpack_require__(
|
2791
|
+
var _utils = __webpack_require__(32300);
|
2768
2792
|
|
2769
2793
|
const childNode = options => {
|
2770
2794
|
const {
|
@@ -2790,7 +2814,7 @@ exports.childNode = childNode;
|
|
2790
2814
|
|
2791
2815
|
/***/ }),
|
2792
2816
|
|
2793
|
-
/***/
|
2817
|
+
/***/ 79470:
|
2794
2818
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2795
2819
|
|
2796
2820
|
"use strict";
|
@@ -2801,9 +2825,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2801
2825
|
}));
|
2802
2826
|
exports.formNode = void 0;
|
2803
2827
|
|
2804
|
-
__webpack_require__(
|
2828
|
+
__webpack_require__(32661);
|
2805
2829
|
|
2806
|
-
var _utils = __webpack_require__(
|
2830
|
+
var _utils = __webpack_require__(32300);
|
2807
2831
|
|
2808
2832
|
const formNode = options => {
|
2809
2833
|
const {
|
@@ -2816,7 +2840,7 @@ exports.formNode = formNode;
|
|
2816
2840
|
|
2817
2841
|
/***/ }),
|
2818
2842
|
|
2819
|
-
/***/
|
2843
|
+
/***/ 47909:
|
2820
2844
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2821
2845
|
|
2822
2846
|
"use strict";
|
@@ -2826,7 +2850,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2826
2850
|
value: true
|
2827
2851
|
}));
|
2828
2852
|
|
2829
|
-
var _checkboxNode = __webpack_require__(
|
2853
|
+
var _checkboxNode = __webpack_require__(90444);
|
2830
2854
|
|
2831
2855
|
Object.keys(_checkboxNode).forEach(function (key) {
|
2832
2856
|
if (key === "default" || key === "__esModule") return;
|
@@ -2839,7 +2863,7 @@ Object.keys(_checkboxNode).forEach(function (key) {
|
|
2839
2863
|
});
|
2840
2864
|
});
|
2841
2865
|
|
2842
|
-
var _rootNode = __webpack_require__(
|
2866
|
+
var _rootNode = __webpack_require__(75634);
|
2843
2867
|
|
2844
2868
|
Object.keys(_rootNode).forEach(function (key) {
|
2845
2869
|
if (key === "default" || key === "__esModule") return;
|
@@ -2852,7 +2876,7 @@ Object.keys(_rootNode).forEach(function (key) {
|
|
2852
2876
|
});
|
2853
2877
|
});
|
2854
2878
|
|
2855
|
-
var _childNode = __webpack_require__(
|
2879
|
+
var _childNode = __webpack_require__(15352);
|
2856
2880
|
|
2857
2881
|
Object.keys(_childNode).forEach(function (key) {
|
2858
2882
|
if (key === "default" || key === "__esModule") return;
|
@@ -2865,7 +2889,7 @@ Object.keys(_childNode).forEach(function (key) {
|
|
2865
2889
|
});
|
2866
2890
|
});
|
2867
2891
|
|
2868
|
-
var _formNode = __webpack_require__(
|
2892
|
+
var _formNode = __webpack_require__(79470);
|
2869
2893
|
|
2870
2894
|
Object.keys(_formNode).forEach(function (key) {
|
2871
2895
|
if (key === "default" || key === "__esModule") return;
|
@@ -2878,7 +2902,7 @@ Object.keys(_formNode).forEach(function (key) {
|
|
2878
2902
|
});
|
2879
2903
|
});
|
2880
2904
|
|
2881
|
-
var _inputNode = __webpack_require__(
|
2905
|
+
var _inputNode = __webpack_require__(78734);
|
2882
2906
|
|
2883
2907
|
Object.keys(_inputNode).forEach(function (key) {
|
2884
2908
|
if (key === "default" || key === "__esModule") return;
|
@@ -2891,7 +2915,7 @@ Object.keys(_inputNode).forEach(function (key) {
|
|
2891
2915
|
});
|
2892
2916
|
});
|
2893
2917
|
|
2894
|
-
var _listNode = __webpack_require__(
|
2918
|
+
var _listNode = __webpack_require__(4533);
|
2895
2919
|
|
2896
2920
|
Object.keys(_listNode).forEach(function (key) {
|
2897
2921
|
if (key === "default" || key === "__esModule") return;
|
@@ -2904,7 +2928,7 @@ Object.keys(_listNode).forEach(function (key) {
|
|
2904
2928
|
});
|
2905
2929
|
});
|
2906
2930
|
|
2907
|
-
var _numberNode = __webpack_require__(
|
2931
|
+
var _numberNode = __webpack_require__(14247);
|
2908
2932
|
|
2909
2933
|
Object.keys(_numberNode).forEach(function (key) {
|
2910
2934
|
if (key === "default" || key === "__esModule") return;
|
@@ -2919,7 +2943,7 @@ Object.keys(_numberNode).forEach(function (key) {
|
|
2919
2943
|
|
2920
2944
|
/***/ }),
|
2921
2945
|
|
2922
|
-
/***/
|
2946
|
+
/***/ 78734:
|
2923
2947
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2924
2948
|
|
2925
2949
|
"use strict";
|
@@ -2930,9 +2954,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2930
2954
|
}));
|
2931
2955
|
exports.inputNode = void 0;
|
2932
2956
|
|
2933
|
-
__webpack_require__(
|
2957
|
+
__webpack_require__(32661);
|
2934
2958
|
|
2935
|
-
var _utils = __webpack_require__(
|
2959
|
+
var _utils = __webpack_require__(32300);
|
2936
2960
|
|
2937
2961
|
const inputNode = options => {
|
2938
2962
|
const {
|
@@ -2956,7 +2980,7 @@ exports.inputNode = inputNode;
|
|
2956
2980
|
|
2957
2981
|
/***/ }),
|
2958
2982
|
|
2959
|
-
/***/
|
2983
|
+
/***/ 4533:
|
2960
2984
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
2961
2985
|
|
2962
2986
|
"use strict";
|
@@ -2967,9 +2991,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2967
2991
|
}));
|
2968
2992
|
exports.listNode = void 0;
|
2969
2993
|
|
2970
|
-
__webpack_require__(
|
2994
|
+
__webpack_require__(32661);
|
2971
2995
|
|
2972
|
-
var _utils = __webpack_require__(
|
2996
|
+
var _utils = __webpack_require__(32300);
|
2973
2997
|
|
2974
2998
|
const listNode = options => {
|
2975
2999
|
const {
|
@@ -3005,7 +3029,7 @@ exports.listNode = listNode;
|
|
3005
3029
|
|
3006
3030
|
/***/ }),
|
3007
3031
|
|
3008
|
-
/***/
|
3032
|
+
/***/ 14247:
|
3009
3033
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3010
3034
|
|
3011
3035
|
"use strict";
|
@@ -3016,9 +3040,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3016
3040
|
}));
|
3017
3041
|
exports.numberNode = void 0;
|
3018
3042
|
|
3019
|
-
__webpack_require__(
|
3043
|
+
__webpack_require__(32661);
|
3020
3044
|
|
3021
|
-
var _utils = __webpack_require__(
|
3045
|
+
var _utils = __webpack_require__(32300);
|
3022
3046
|
|
3023
3047
|
const numberNode = options => {
|
3024
3048
|
const {
|
@@ -3042,7 +3066,7 @@ exports.numberNode = numberNode;
|
|
3042
3066
|
|
3043
3067
|
/***/ }),
|
3044
3068
|
|
3045
|
-
/***/
|
3069
|
+
/***/ 75634:
|
3046
3070
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3047
3071
|
|
3048
3072
|
"use strict";
|
@@ -3053,7 +3077,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3053
3077
|
}));
|
3054
3078
|
exports.rootNode = void 0;
|
3055
3079
|
|
3056
|
-
__webpack_require__(
|
3080
|
+
__webpack_require__(32661);
|
3057
3081
|
|
3058
3082
|
const rootNode = options => {
|
3059
3083
|
const {
|
@@ -3074,7 +3098,7 @@ exports.rootNode = rootNode;
|
|
3074
3098
|
|
3075
3099
|
/***/ }),
|
3076
3100
|
|
3077
|
-
/***/
|
3101
|
+
/***/ 74589:
|
3078
3102
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3079
3103
|
|
3080
3104
|
"use strict";
|
@@ -3094,13 +3118,13 @@ var _inquirer = _interopRequireDefault(__webpack_require__(82761));
|
|
3094
3118
|
|
3095
3119
|
var Rx = _interopRequireWildcard(__webpack_require__(68798));
|
3096
3120
|
|
3097
|
-
var _baseCliReader = __webpack_require__(
|
3121
|
+
var _baseCliReader = __webpack_require__(27969);
|
3098
3122
|
|
3099
|
-
var _constant = __webpack_require__(
|
3123
|
+
var _constant = __webpack_require__(56124);
|
3100
3124
|
|
3101
|
-
var questionsHandlers = _interopRequireWildcard(__webpack_require__(
|
3125
|
+
var questionsHandlers = _interopRequireWildcard(__webpack_require__(47909));
|
3102
3126
|
|
3103
|
-
var _utils = __webpack_require__(
|
3127
|
+
var _utils = __webpack_require__(32300);
|
3104
3128
|
|
3105
3129
|
Object.keys(_utils).forEach(function (key) {
|
3106
3130
|
if (key === "default" || key === "__esModule") return;
|
@@ -3308,7 +3332,7 @@ setCliQuestionsHandlers(questionsHandlers);
|
|
3308
3332
|
|
3309
3333
|
/***/ }),
|
3310
3334
|
|
3311
|
-
/***/
|
3335
|
+
/***/ 32300:
|
3312
3336
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3313
3337
|
|
3314
3338
|
"use strict";
|
@@ -3319,7 +3343,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3319
3343
|
}));
|
3320
3344
|
exports.toPromiseQuestionHandlerLoop = exports.toPromiseQuestionHandler = exports.getWhen = exports.getValidate = exports.getTransformer = exports.getQuestion = exports.getMessage = exports.getFilter = exports.getDefaultValue = exports.getChoices = void 0;
|
3321
3345
|
|
3322
|
-
var _easyFormCore = __webpack_require__(
|
3346
|
+
var _easyFormCore = __webpack_require__(67566);
|
3323
3347
|
|
3324
3348
|
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; }
|
3325
3349
|
|
@@ -3616,7 +3640,7 @@ exports.toPromiseQuestionHandlerLoop = toPromiseQuestionHandlerLoop;
|
|
3616
3640
|
|
3617
3641
|
/***/ }),
|
3618
3642
|
|
3619
|
-
/***/
|
3643
|
+
/***/ 56124:
|
3620
3644
|
/***/ ((__unused_webpack_module, exports) => {
|
3621
3645
|
|
3622
3646
|
"use strict";
|
@@ -3641,7 +3665,7 @@ exports.CliNodeHandlers = CliNodeHandlers;
|
|
3641
3665
|
|
3642
3666
|
/***/ }),
|
3643
3667
|
|
3644
|
-
/***/
|
3668
|
+
/***/ 24191:
|
3645
3669
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3646
3670
|
|
3647
3671
|
"use strict";
|
@@ -3651,7 +3675,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3651
3675
|
value: true
|
3652
3676
|
}));
|
3653
3677
|
|
3654
|
-
var _cliReader = __webpack_require__(
|
3678
|
+
var _cliReader = __webpack_require__(74589);
|
3655
3679
|
|
3656
3680
|
Object.keys(_cliReader).forEach(function (key) {
|
3657
3681
|
if (key === "default" || key === "__esModule") return;
|
@@ -3664,7 +3688,7 @@ Object.keys(_cliReader).forEach(function (key) {
|
|
3664
3688
|
});
|
3665
3689
|
});
|
3666
3690
|
|
3667
|
-
var _ICli = __webpack_require__(
|
3691
|
+
var _ICli = __webpack_require__(35516);
|
3668
3692
|
|
3669
3693
|
Object.keys(_ICli).forEach(function (key) {
|
3670
3694
|
if (key === "default" || key === "__esModule") return;
|
@@ -3677,7 +3701,7 @@ Object.keys(_ICli).forEach(function (key) {
|
|
3677
3701
|
});
|
3678
3702
|
});
|
3679
3703
|
|
3680
|
-
var _easyFormCore = __webpack_require__(
|
3704
|
+
var _easyFormCore = __webpack_require__(67566);
|
3681
3705
|
|
3682
3706
|
Object.keys(_easyFormCore).forEach(function (key) {
|
3683
3707
|
if (key === "default" || key === "__esModule") return;
|
@@ -3692,7 +3716,7 @@ Object.keys(_easyFormCore).forEach(function (key) {
|
|
3692
3716
|
|
3693
3717
|
/***/ }),
|
3694
3718
|
|
3695
|
-
/***/
|
3719
|
+
/***/ 85973:
|
3696
3720
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
3697
3721
|
|
3698
3722
|
"use strict";
|
@@ -3703,11 +3727,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
3703
3727
|
}));
|
3704
3728
|
exports.BaseReader = void 0;
|
3705
3729
|
|
3706
|
-
var _checkSchema = __webpack_require__(
|
3730
|
+
var _checkSchema = __webpack_require__(54887);
|
3707
3731
|
|
3708
|
-
var _constant = __webpack_require__(
|
3732
|
+
var _constant = __webpack_require__(38085);
|
3709
3733
|
|
3710
|
-
var _utils = __webpack_require__(
|
3734
|
+
var _utils = __webpack_require__(44068);
|
3711
3735
|
|
3712
3736
|
const _excluded = ["effectedByFields", "action"];
|
3713
3737
|
|
@@ -3997,7 +4021,7 @@ exports.BaseReader = BaseReader;
|
|
3997
4021
|
|
3998
4022
|
/***/ }),
|
3999
4023
|
|
4000
|
-
/***/
|
4024
|
+
/***/ 54887:
|
4001
4025
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4002
4026
|
|
4003
4027
|
"use strict";
|
@@ -4008,9 +4032,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4008
4032
|
}));
|
4009
4033
|
exports.checkSchema = void 0;
|
4010
4034
|
|
4011
|
-
var _constant = __webpack_require__(
|
4035
|
+
var _constant = __webpack_require__(38085);
|
4012
4036
|
|
4013
|
-
var _utils = __webpack_require__(
|
4037
|
+
var _utils = __webpack_require__(44068);
|
4014
4038
|
|
4015
4039
|
const checkFieldType = schema => {
|
4016
4040
|
// field type detection
|
@@ -4137,7 +4161,7 @@ exports.checkSchema = checkSchema;
|
|
4137
4161
|
|
4138
4162
|
/***/ }),
|
4139
4163
|
|
4140
|
-
/***/
|
4164
|
+
/***/ 38085:
|
4141
4165
|
/***/ ((__unused_webpack_module, exports) => {
|
4142
4166
|
|
4143
4167
|
"use strict";
|
@@ -4194,7 +4218,7 @@ exports.MESSAGE = MESSAGE;
|
|
4194
4218
|
|
4195
4219
|
/***/ }),
|
4196
4220
|
|
4197
|
-
/***/
|
4221
|
+
/***/ 82344:
|
4198
4222
|
/***/ ((__unused_webpack_module, exports) => {
|
4199
4223
|
|
4200
4224
|
"use strict";
|
@@ -4245,7 +4269,7 @@ function forEach(from, callback) {
|
|
4245
4269
|
|
4246
4270
|
/***/ }),
|
4247
4271
|
|
4248
|
-
/***/
|
4272
|
+
/***/ 93783:
|
4249
4273
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4250
4274
|
|
4251
4275
|
"use strict";
|
@@ -4256,9 +4280,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4256
4280
|
}));
|
4257
4281
|
exports.Graph = void 0;
|
4258
4282
|
|
4259
|
-
var _collections = __webpack_require__(
|
4283
|
+
var _collections = __webpack_require__(82344);
|
4260
4284
|
|
4261
|
-
var _types = __webpack_require__(
|
4285
|
+
var _types = __webpack_require__(96691);
|
4262
4286
|
|
4263
4287
|
function newNode(data) {
|
4264
4288
|
return {
|
@@ -4350,7 +4374,7 @@ exports.Graph = Graph;
|
|
4350
4374
|
|
4351
4375
|
/***/ }),
|
4352
4376
|
|
4353
|
-
/***/
|
4377
|
+
/***/ 45741:
|
4354
4378
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4355
4379
|
|
4356
4380
|
"use strict";
|
@@ -4361,11 +4385,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4361
4385
|
}));
|
4362
4386
|
exports.EffectUtil = void 0;
|
4363
4387
|
|
4364
|
-
var _utils = __webpack_require__(
|
4388
|
+
var _utils = __webpack_require__(44068);
|
4365
4389
|
|
4366
|
-
var _graph = __webpack_require__(
|
4390
|
+
var _graph = __webpack_require__(93783);
|
4367
4391
|
|
4368
|
-
var _types = __webpack_require__(
|
4392
|
+
var _types = __webpack_require__(96691);
|
4369
4393
|
|
4370
4394
|
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; }
|
4371
4395
|
|
@@ -4530,7 +4554,7 @@ exports.EffectUtil = EffectUtil;
|
|
4530
4554
|
|
4531
4555
|
/***/ }),
|
4532
4556
|
|
4533
|
-
/***/
|
4557
|
+
/***/ 96691:
|
4534
4558
|
/***/ ((__unused_webpack_module, exports) => {
|
4535
4559
|
|
4536
4560
|
"use strict";
|
@@ -4568,7 +4592,7 @@ function isObject(obj) {
|
|
4568
4592
|
|
4569
4593
|
/***/ }),
|
4570
4594
|
|
4571
|
-
/***/
|
4595
|
+
/***/ 67566:
|
4572
4596
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4573
4597
|
|
4574
4598
|
"use strict";
|
@@ -4578,7 +4602,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4578
4602
|
value: true
|
4579
4603
|
}));
|
4580
4604
|
|
4581
|
-
var _baseReader = __webpack_require__(
|
4605
|
+
var _baseReader = __webpack_require__(85973);
|
4582
4606
|
|
4583
4607
|
Object.keys(_baseReader).forEach(function (key) {
|
4584
4608
|
if (key === "default" || key === "__esModule") return;
|
@@ -4591,7 +4615,7 @@ Object.keys(_baseReader).forEach(function (key) {
|
|
4591
4615
|
});
|
4592
4616
|
});
|
4593
4617
|
|
4594
|
-
var _types = __webpack_require__(
|
4618
|
+
var _types = __webpack_require__(25996);
|
4595
4619
|
|
4596
4620
|
Object.keys(_types).forEach(function (key) {
|
4597
4621
|
if (key === "default" || key === "__esModule") return;
|
@@ -4604,7 +4628,7 @@ Object.keys(_types).forEach(function (key) {
|
|
4604
4628
|
});
|
4605
4629
|
});
|
4606
4630
|
|
4607
|
-
var _constant = __webpack_require__(
|
4631
|
+
var _constant = __webpack_require__(38085);
|
4608
4632
|
|
4609
4633
|
Object.keys(_constant).forEach(function (key) {
|
4610
4634
|
if (key === "default" || key === "__esModule") return;
|
@@ -4617,7 +4641,7 @@ Object.keys(_constant).forEach(function (key) {
|
|
4617
4641
|
});
|
4618
4642
|
});
|
4619
4643
|
|
4620
|
-
var _utils = __webpack_require__(
|
4644
|
+
var _utils = __webpack_require__(44068);
|
4621
4645
|
|
4622
4646
|
Object.keys(_utils).forEach(function (key) {
|
4623
4647
|
if (key === "default" || key === "__esModule") return;
|
@@ -4630,7 +4654,7 @@ Object.keys(_utils).forEach(function (key) {
|
|
4630
4654
|
});
|
4631
4655
|
});
|
4632
4656
|
|
4633
|
-
var _effectUtil = __webpack_require__(
|
4657
|
+
var _effectUtil = __webpack_require__(45741);
|
4634
4658
|
|
4635
4659
|
Object.keys(_effectUtil).forEach(function (key) {
|
4636
4660
|
if (key === "default" || key === "__esModule") return;
|
@@ -4643,7 +4667,7 @@ Object.keys(_effectUtil).forEach(function (key) {
|
|
4643
4667
|
});
|
4644
4668
|
});
|
4645
4669
|
|
4646
|
-
var _checkSchema = __webpack_require__(
|
4670
|
+
var _checkSchema = __webpack_require__(54887);
|
4647
4671
|
|
4648
4672
|
Object.keys(_checkSchema).forEach(function (key) {
|
4649
4673
|
if (key === "default" || key === "__esModule") return;
|
@@ -4658,14 +4682,14 @@ Object.keys(_checkSchema).forEach(function (key) {
|
|
4658
4682
|
|
4659
4683
|
/***/ }),
|
4660
4684
|
|
4661
|
-
/***/
|
4685
|
+
/***/ 54365:
|
4662
4686
|
/***/ (() => {
|
4663
4687
|
|
4664
4688
|
|
4665
4689
|
|
4666
4690
|
/***/ }),
|
4667
4691
|
|
4668
|
-
/***/
|
4692
|
+
/***/ 25996:
|
4669
4693
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4670
4694
|
|
4671
4695
|
"use strict";
|
@@ -4675,7 +4699,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4675
4699
|
value: true
|
4676
4700
|
}));
|
4677
4701
|
|
4678
|
-
var _ISchema = __webpack_require__(
|
4702
|
+
var _ISchema = __webpack_require__(54365);
|
4679
4703
|
|
4680
4704
|
Object.keys(_ISchema).forEach(function (key) {
|
4681
4705
|
if (key === "default" || key === "__esModule") return;
|
@@ -4690,7 +4714,7 @@ Object.keys(_ISchema).forEach(function (key) {
|
|
4690
4714
|
|
4691
4715
|
/***/ }),
|
4692
4716
|
|
4693
|
-
/***/
|
4717
|
+
/***/ 44068:
|
4694
4718
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4695
4719
|
|
4696
4720
|
"use strict";
|
@@ -4700,7 +4724,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4700
4724
|
value: true
|
4701
4725
|
}));
|
4702
4726
|
|
4703
|
-
var _tools = __webpack_require__(
|
4727
|
+
var _tools = __webpack_require__(97734);
|
4704
4728
|
|
4705
4729
|
Object.keys(_tools).forEach(function (key) {
|
4706
4730
|
if (key === "default" || key === "__esModule") return;
|
@@ -4713,7 +4737,7 @@ Object.keys(_tools).forEach(function (key) {
|
|
4713
4737
|
});
|
4714
4738
|
});
|
4715
4739
|
|
4716
|
-
var _interator = __webpack_require__(
|
4740
|
+
var _interator = __webpack_require__(2369);
|
4717
4741
|
|
4718
4742
|
Object.keys(_interator).forEach(function (key) {
|
4719
4743
|
if (key === "default" || key === "__esModule") return;
|
@@ -4726,7 +4750,7 @@ Object.keys(_interator).forEach(function (key) {
|
|
4726
4750
|
});
|
4727
4751
|
});
|
4728
4752
|
|
4729
|
-
var _itemsField = __webpack_require__(
|
4753
|
+
var _itemsField = __webpack_require__(60959);
|
4730
4754
|
|
4731
4755
|
Object.keys(_itemsField).forEach(function (key) {
|
4732
4756
|
if (key === "default" || key === "__esModule") return;
|
@@ -4739,7 +4763,7 @@ Object.keys(_itemsField).forEach(function (key) {
|
|
4739
4763
|
});
|
4740
4764
|
});
|
4741
4765
|
|
4742
|
-
var _keyField = __webpack_require__(
|
4766
|
+
var _keyField = __webpack_require__(3310);
|
4743
4767
|
|
4744
4768
|
Object.keys(_keyField).forEach(function (key) {
|
4745
4769
|
if (key === "default" || key === "__esModule") return;
|
@@ -4752,7 +4776,7 @@ Object.keys(_keyField).forEach(function (key) {
|
|
4752
4776
|
});
|
4753
4777
|
});
|
4754
4778
|
|
4755
|
-
var _stateField = __webpack_require__(
|
4779
|
+
var _stateField = __webpack_require__(63179);
|
4756
4780
|
|
4757
4781
|
Object.keys(_stateField).forEach(function (key) {
|
4758
4782
|
if (key === "default" || key === "__esModule") return;
|
@@ -4765,7 +4789,7 @@ Object.keys(_stateField).forEach(function (key) {
|
|
4765
4789
|
});
|
4766
4790
|
});
|
4767
4791
|
|
4768
|
-
var _nodeInfo = __webpack_require__(
|
4792
|
+
var _nodeInfo = __webpack_require__(16784);
|
4769
4793
|
|
4770
4794
|
Object.keys(_nodeInfo).forEach(function (key) {
|
4771
4795
|
if (key === "default" || key === "__esModule") return;
|
@@ -4780,7 +4804,7 @@ Object.keys(_nodeInfo).forEach(function (key) {
|
|
4780
4804
|
|
4781
4805
|
/***/ }),
|
4782
4806
|
|
4783
|
-
/***/
|
4807
|
+
/***/ 2369:
|
4784
4808
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4785
4809
|
|
4786
4810
|
"use strict";
|
@@ -4791,9 +4815,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4791
4815
|
}));
|
4792
4816
|
exports.forEachWithKeyChain = exports.forEach = exports.filterNone = exports.filter = void 0;
|
4793
4817
|
|
4794
|
-
var _itemsField = __webpack_require__(
|
4818
|
+
var _itemsField = __webpack_require__(60959);
|
4795
4819
|
|
4796
|
-
var _stateField = __webpack_require__(
|
4820
|
+
var _stateField = __webpack_require__(63179);
|
4797
4821
|
|
4798
4822
|
// Foreach with key chain
|
4799
4823
|
const forEachWithKeyChain = (schema, handler) => {
|
@@ -4960,7 +4984,7 @@ exports.filter = filter;
|
|
4960
4984
|
|
4961
4985
|
/***/ }),
|
4962
4986
|
|
4963
|
-
/***/
|
4987
|
+
/***/ 60959:
|
4964
4988
|
/***/ ((__unused_webpack_module, exports) => {
|
4965
4989
|
|
4966
4990
|
"use strict";
|
@@ -4988,7 +5012,7 @@ exports.getItems = getItems;
|
|
4988
5012
|
|
4989
5013
|
/***/ }),
|
4990
5014
|
|
4991
|
-
/***/
|
5015
|
+
/***/ 3310:
|
4992
5016
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
4993
5017
|
|
4994
5018
|
"use strict";
|
@@ -4999,7 +5023,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
4999
5023
|
}));
|
5000
5024
|
exports.getAllKeys = void 0;
|
5001
5025
|
|
5002
|
-
var _itemsField = __webpack_require__(
|
5026
|
+
var _itemsField = __webpack_require__(60959);
|
5003
5027
|
|
5004
5028
|
const getAllKeys = schema => {
|
5005
5029
|
const keys = [];
|
@@ -5020,7 +5044,7 @@ exports.getAllKeys = getAllKeys;
|
|
5020
5044
|
|
5021
5045
|
/***/ }),
|
5022
5046
|
|
5023
|
-
/***/
|
5047
|
+
/***/ 16784:
|
5024
5048
|
/***/ ((__unused_webpack_module, exports) => {
|
5025
5049
|
|
5026
5050
|
"use strict";
|
@@ -5109,7 +5133,7 @@ exports.getNodeInfo = getNodeInfo;
|
|
5109
5133
|
|
5110
5134
|
/***/ }),
|
5111
5135
|
|
5112
|
-
/***/
|
5136
|
+
/***/ 63179:
|
5113
5137
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5114
5138
|
|
5115
5139
|
"use strict";
|
@@ -5122,9 +5146,9 @@ exports.setSchemaInitValue = exports.setInitValues = exports.isEffectedValue = e
|
|
5122
5146
|
|
5123
5147
|
var _cloneDeep2 = _interopRequireDefault(__webpack_require__(11605));
|
5124
5148
|
|
5125
|
-
var _itemsField = __webpack_require__(
|
5149
|
+
var _itemsField = __webpack_require__(60959);
|
5126
5150
|
|
5127
|
-
var _tools = __webpack_require__(
|
5151
|
+
var _tools = __webpack_require__(97734);
|
5128
5152
|
|
5129
5153
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5130
5154
|
|
@@ -5222,7 +5246,7 @@ exports.getItemValue = getItemValue;
|
|
5222
5246
|
|
5223
5247
|
/***/ }),
|
5224
5248
|
|
5225
|
-
/***/
|
5249
|
+
/***/ 97734:
|
5226
5250
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5227
5251
|
|
5228
5252
|
"use strict";
|
@@ -5279,7 +5303,7 @@ exports.booleanToString = booleanToString;
|
|
5279
5303
|
|
5280
5304
|
/***/ }),
|
5281
5305
|
|
5282
|
-
/***/
|
5306
|
+
/***/ 46133:
|
5283
5307
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5284
5308
|
|
5285
5309
|
"use strict";
|
@@ -5295,11 +5319,11 @@ Object.defineProperty(exports, "List", ({
|
|
5295
5319
|
}
|
5296
5320
|
}));
|
5297
5321
|
|
5298
|
-
var _list = __webpack_require__(
|
5322
|
+
var _list = __webpack_require__(29149);
|
5299
5323
|
|
5300
5324
|
/***/ }),
|
5301
5325
|
|
5302
|
-
/***/
|
5326
|
+
/***/ 29149:
|
5303
5327
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5304
5328
|
|
5305
5329
|
"use strict";
|
@@ -5330,7 +5354,7 @@ var _operators = __webpack_require__(26579);
|
|
5330
5354
|
|
5331
5355
|
var _incrementListIndex = _interopRequireDefault(__webpack_require__(69062));
|
5332
5356
|
|
5333
|
-
var _utils = __webpack_require__(
|
5357
|
+
var _utils = __webpack_require__(17697);
|
5334
5358
|
|
5335
5359
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5336
5360
|
|
@@ -5467,7 +5491,7 @@ exports.List = List;
|
|
5467
5491
|
|
5468
5492
|
/***/ }),
|
5469
5493
|
|
5470
|
-
/***/
|
5494
|
+
/***/ 17697:
|
5471
5495
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5472
5496
|
|
5473
5497
|
"use strict";
|
@@ -5480,7 +5504,7 @@ exports.listRender = listRender;
|
|
5480
5504
|
|
5481
5505
|
var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
5482
5506
|
|
5483
|
-
var _pointer = __webpack_require__(
|
5507
|
+
var _pointer = __webpack_require__(56040);
|
5484
5508
|
|
5485
5509
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5486
5510
|
|
@@ -5529,7 +5553,7 @@ function listRender(choices, pointer, answers) {
|
|
5529
5553
|
|
5530
5554
|
/***/ }),
|
5531
5555
|
|
5532
|
-
/***/
|
5556
|
+
/***/ 56040:
|
5533
5557
|
/***/ ((__unused_webpack_module, exports) => {
|
5534
5558
|
|
5535
5559
|
"use strict";
|
@@ -5556,7 +5580,7 @@ exports.pointer = pointer;
|
|
5556
5580
|
|
5557
5581
|
/***/ }),
|
5558
5582
|
|
5559
|
-
/***/
|
5583
|
+
/***/ 53542:
|
5560
5584
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5561
5585
|
|
5562
5586
|
"use strict";
|
@@ -5569,7 +5593,7 @@ exports.I18n = void 0;
|
|
5569
5593
|
|
5570
5594
|
var _get2 = _interopRequireDefault(__webpack_require__(71189));
|
5571
5595
|
|
5572
|
-
var
|
5596
|
+
var _index = __webpack_require__(25505);
|
5573
5597
|
|
5574
5598
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5575
5599
|
|
@@ -5607,7 +5631,7 @@ class I18n {
|
|
5607
5631
|
this.languageMap = languageMap;
|
5608
5632
|
}
|
5609
5633
|
|
5610
|
-
return (0,
|
5634
|
+
return (0, _index.getObjKeyMap)(this.languageMap[this.language]);
|
5611
5635
|
}
|
5612
5636
|
|
5613
5637
|
changeLanguage(config) {
|
@@ -5630,7 +5654,7 @@ exports.I18n = I18n;
|
|
5630
5654
|
|
5631
5655
|
/***/ }),
|
5632
5656
|
|
5633
|
-
/***/
|
5657
|
+
/***/ 25505:
|
5634
5658
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5635
5659
|
|
5636
5660
|
"use strict";
|
@@ -25775,7 +25799,7 @@ module.exports = makeError;
|
|
25775
25799
|
"use strict";
|
25776
25800
|
|
25777
25801
|
const os = __webpack_require__(22037);
|
25778
|
-
const onExit = __webpack_require__(
|
25802
|
+
const onExit = __webpack_require__(66217);
|
25779
25803
|
|
25780
25804
|
const DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;
|
25781
25805
|
|
@@ -31877,13 +31901,13 @@ GlobSync.prototype._makeAbs = function (f) {
|
|
31877
31901
|
|
31878
31902
|
/***/ }),
|
31879
31903
|
|
31880
|
-
/***/
|
31904
|
+
/***/ 39026:
|
31881
31905
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
31882
31906
|
|
31883
31907
|
"use strict";
|
31884
31908
|
|
31885
31909
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
31886
|
-
const types_1 = __webpack_require__(
|
31910
|
+
const types_1 = __webpack_require__(10009);
|
31887
31911
|
function createRejection(error, ...beforeErrorGroups) {
|
31888
31912
|
const promise = (async () => {
|
31889
31913
|
if (error instanceof types_1.RequestError) {
|
@@ -31915,7 +31939,7 @@ exports["default"] = createRejection;
|
|
31915
31939
|
|
31916
31940
|
/***/ }),
|
31917
31941
|
|
31918
|
-
/***/
|
31942
|
+
/***/ 93285:
|
31919
31943
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
31920
31944
|
|
31921
31945
|
"use strict";
|
@@ -31934,12 +31958,12 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
31934
31958
|
const events_1 = __webpack_require__(82361);
|
31935
31959
|
const is_1 = __webpack_require__(49460);
|
31936
31960
|
const PCancelable = __webpack_require__(74469);
|
31937
|
-
const types_1 = __webpack_require__(
|
31938
|
-
const parse_body_1 = __webpack_require__(
|
31939
|
-
const core_1 = __webpack_require__(
|
31940
|
-
const proxy_events_1 = __webpack_require__(
|
31941
|
-
const get_buffer_1 = __webpack_require__(
|
31942
|
-
const is_response_ok_1 = __webpack_require__(
|
31961
|
+
const types_1 = __webpack_require__(10009);
|
31962
|
+
const parse_body_1 = __webpack_require__(58405);
|
31963
|
+
const core_1 = __webpack_require__(40753);
|
31964
|
+
const proxy_events_1 = __webpack_require__(47538);
|
31965
|
+
const get_buffer_1 = __webpack_require__(21750);
|
31966
|
+
const is_response_ok_1 = __webpack_require__(67930);
|
31943
31967
|
const proxiedRequestEvents = [
|
31944
31968
|
'request',
|
31945
31969
|
'response',
|
@@ -32093,12 +32117,12 @@ function asPromise(normalizedOptions) {
|
|
32093
32117
|
return promise;
|
32094
32118
|
}
|
32095
32119
|
exports["default"] = asPromise;
|
32096
|
-
__exportStar(__webpack_require__(
|
32120
|
+
__exportStar(__webpack_require__(10009), exports);
|
32097
32121
|
|
32098
32122
|
|
32099
32123
|
/***/ }),
|
32100
32124
|
|
32101
|
-
/***/
|
32125
|
+
/***/ 11307:
|
32102
32126
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
32103
32127
|
|
32104
32128
|
"use strict";
|
@@ -32184,13 +32208,13 @@ exports["default"] = normalizeArguments;
|
|
32184
32208
|
|
32185
32209
|
/***/ }),
|
32186
32210
|
|
32187
|
-
/***/
|
32211
|
+
/***/ 58405:
|
32188
32212
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
32189
32213
|
|
32190
32214
|
"use strict";
|
32191
32215
|
|
32192
32216
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
32193
|
-
const types_1 = __webpack_require__(
|
32217
|
+
const types_1 = __webpack_require__(10009);
|
32194
32218
|
const parseBody = (response, responseType, parseJson, encoding) => {
|
32195
32219
|
const { rawBody } = response;
|
32196
32220
|
try {
|
@@ -32217,7 +32241,7 @@ exports["default"] = parseBody;
|
|
32217
32241
|
|
32218
32242
|
/***/ }),
|
32219
32243
|
|
32220
|
-
/***/
|
32244
|
+
/***/ 10009:
|
32221
32245
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
32222
32246
|
|
32223
32247
|
"use strict";
|
@@ -32234,7 +32258,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
32234
32258
|
};
|
32235
32259
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
32236
32260
|
exports.CancelError = exports.ParseError = void 0;
|
32237
|
-
const core_1 = __webpack_require__(
|
32261
|
+
const core_1 = __webpack_require__(40753);
|
32238
32262
|
/**
|
32239
32263
|
An error to be thrown when server response code is 2xx, and parsing body fails.
|
32240
32264
|
Includes a `response` property.
|
@@ -32244,6 +32268,7 @@ class ParseError extends core_1.RequestError {
|
|
32244
32268
|
const { options } = response.request;
|
32245
32269
|
super(`${error.message} in "${options.url.toString()}"`, error, response.request);
|
32246
32270
|
this.name = 'ParseError';
|
32271
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_BODY_PARSE_FAILURE' : this.code;
|
32247
32272
|
}
|
32248
32273
|
}
|
32249
32274
|
exports.ParseError = ParseError;
|
@@ -32254,18 +32279,19 @@ class CancelError extends core_1.RequestError {
|
|
32254
32279
|
constructor(request) {
|
32255
32280
|
super('Promise was canceled', {}, request);
|
32256
32281
|
this.name = 'CancelError';
|
32282
|
+
this.code = 'ERR_CANCELED';
|
32257
32283
|
}
|
32258
32284
|
get isCanceled() {
|
32259
32285
|
return true;
|
32260
32286
|
}
|
32261
32287
|
}
|
32262
32288
|
exports.CancelError = CancelError;
|
32263
|
-
__exportStar(__webpack_require__(
|
32289
|
+
__exportStar(__webpack_require__(40753), exports);
|
32264
32290
|
|
32265
32291
|
|
32266
32292
|
/***/ }),
|
32267
32293
|
|
32268
|
-
/***/
|
32294
|
+
/***/ 1512:
|
32269
32295
|
/***/ ((__unused_webpack_module, exports) => {
|
32270
32296
|
|
32271
32297
|
"use strict";
|
@@ -32302,7 +32328,7 @@ exports["default"] = calculateRetryDelay;
|
|
32302
32328
|
|
32303
32329
|
/***/ }),
|
32304
32330
|
|
32305
|
-
/***/
|
32331
|
+
/***/ 40753:
|
32306
32332
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
32307
32333
|
|
32308
32334
|
"use strict";
|
@@ -32324,19 +32350,19 @@ const decompressResponse = __webpack_require__(8673);
|
|
32324
32350
|
const http2wrapper = __webpack_require__(14277);
|
32325
32351
|
const lowercaseKeys = __webpack_require__(5974);
|
32326
32352
|
const is_1 = __webpack_require__(49460);
|
32327
|
-
const get_body_size_1 = __webpack_require__(
|
32328
|
-
const is_form_data_1 = __webpack_require__(
|
32329
|
-
const proxy_events_1 = __webpack_require__(
|
32330
|
-
const timed_out_1 = __webpack_require__(
|
32331
|
-
const url_to_options_1 = __webpack_require__(
|
32332
|
-
const options_to_url_1 = __webpack_require__(
|
32333
|
-
const weakable_map_1 = __webpack_require__(
|
32334
|
-
const get_buffer_1 = __webpack_require__(
|
32335
|
-
const dns_ip_version_1 = __webpack_require__(
|
32336
|
-
const is_response_ok_1 = __webpack_require__(
|
32337
|
-
const deprecation_warning_1 = __webpack_require__(
|
32338
|
-
const normalize_arguments_1 = __webpack_require__(
|
32339
|
-
const calculate_retry_delay_1 = __webpack_require__(
|
32353
|
+
const get_body_size_1 = __webpack_require__(96004);
|
32354
|
+
const is_form_data_1 = __webpack_require__(99678);
|
32355
|
+
const proxy_events_1 = __webpack_require__(47538);
|
32356
|
+
const timed_out_1 = __webpack_require__(69012);
|
32357
|
+
const url_to_options_1 = __webpack_require__(22326);
|
32358
|
+
const options_to_url_1 = __webpack_require__(84045);
|
32359
|
+
const weakable_map_1 = __webpack_require__(37954);
|
32360
|
+
const get_buffer_1 = __webpack_require__(21750);
|
32361
|
+
const dns_ip_version_1 = __webpack_require__(26855);
|
32362
|
+
const is_response_ok_1 = __webpack_require__(67930);
|
32363
|
+
const deprecation_warning_1 = __webpack_require__(45907);
|
32364
|
+
const normalize_arguments_1 = __webpack_require__(11307);
|
32365
|
+
const calculate_retry_delay_1 = __webpack_require__(1512);
|
32340
32366
|
let globalDnsCache;
|
32341
32367
|
const kRequest = Symbol('request');
|
32342
32368
|
const kResponse = Symbol('response');
|
@@ -32429,11 +32455,11 @@ Contains a `code` property with error class code, like `ECONNREFUSED`.
|
|
32429
32455
|
*/
|
32430
32456
|
class RequestError extends Error {
|
32431
32457
|
constructor(message, error, self) {
|
32432
|
-
var _a;
|
32458
|
+
var _a, _b;
|
32433
32459
|
super(message);
|
32434
32460
|
Error.captureStackTrace(this, this.constructor);
|
32435
32461
|
this.name = 'RequestError';
|
32436
|
-
this.code = error.code;
|
32462
|
+
this.code = (_a = error.code) !== null && _a !== void 0 ? _a : 'ERR_GOT_REQUEST_ERROR';
|
32437
32463
|
if (self instanceof Request) {
|
32438
32464
|
Object.defineProperty(this, 'request', {
|
32439
32465
|
enumerable: false,
|
@@ -32458,7 +32484,7 @@ class RequestError extends Error {
|
|
32458
32484
|
value: self
|
32459
32485
|
});
|
32460
32486
|
}
|
32461
|
-
this.timings = (
|
32487
|
+
this.timings = (_b = this.request) === null || _b === void 0 ? void 0 : _b.timings;
|
32462
32488
|
// Recover the original stacktrace
|
32463
32489
|
if (is_1.default.string(error.stack) && is_1.default.string(this.stack)) {
|
32464
32490
|
const indexOfMessage = this.stack.indexOf(this.message) + this.message.length;
|
@@ -32481,6 +32507,7 @@ class MaxRedirectsError extends RequestError {
|
|
32481
32507
|
constructor(request) {
|
32482
32508
|
super(`Redirected ${request.options.maxRedirects} times. Aborting.`, {}, request);
|
32483
32509
|
this.name = 'MaxRedirectsError';
|
32510
|
+
this.code = 'ERR_TOO_MANY_REDIRECTS';
|
32484
32511
|
}
|
32485
32512
|
}
|
32486
32513
|
exports.MaxRedirectsError = MaxRedirectsError;
|
@@ -32492,6 +32519,7 @@ class HTTPError extends RequestError {
|
|
32492
32519
|
constructor(response) {
|
32493
32520
|
super(`Response code ${response.statusCode} (${response.statusMessage})`, {}, response.request);
|
32494
32521
|
this.name = 'HTTPError';
|
32522
|
+
this.code = 'ERR_NON_2XX_3XX_RESPONSE';
|
32495
32523
|
}
|
32496
32524
|
}
|
32497
32525
|
exports.HTTPError = HTTPError;
|
@@ -32503,6 +32531,7 @@ class CacheError extends RequestError {
|
|
32503
32531
|
constructor(error, request) {
|
32504
32532
|
super(error.message, error, request);
|
32505
32533
|
this.name = 'CacheError';
|
32534
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_CACHE_ACCESS' : this.code;
|
32506
32535
|
}
|
32507
32536
|
}
|
32508
32537
|
exports.CacheError = CacheError;
|
@@ -32513,6 +32542,7 @@ class UploadError extends RequestError {
|
|
32513
32542
|
constructor(error, request) {
|
32514
32543
|
super(error.message, error, request);
|
32515
32544
|
this.name = 'UploadError';
|
32545
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_UPLOAD' : this.code;
|
32516
32546
|
}
|
32517
32547
|
}
|
32518
32548
|
exports.UploadError = UploadError;
|
@@ -32536,6 +32566,7 @@ class ReadError extends RequestError {
|
|
32536
32566
|
constructor(error, request) {
|
32537
32567
|
super(error.message, error, request);
|
32538
32568
|
this.name = 'ReadError';
|
32569
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_READING_RESPONSE_STREAM' : this.code;
|
32539
32570
|
}
|
32540
32571
|
}
|
32541
32572
|
exports.ReadError = ReadError;
|
@@ -32546,6 +32577,7 @@ class UnsupportedProtocolError extends RequestError {
|
|
32546
32577
|
constructor(options) {
|
32547
32578
|
super(`Unsupported protocol "${options.url.protocol}"`, {}, options);
|
32548
32579
|
this.name = 'UnsupportedProtocolError';
|
32580
|
+
this.code = 'ERR_UNSUPPORTED_PROTOCOL';
|
32549
32581
|
}
|
32550
32582
|
}
|
32551
32583
|
exports.UnsupportedProtocolError = UnsupportedProtocolError;
|
@@ -33801,7 +33833,7 @@ exports["default"] = Request;
|
|
33801
33833
|
|
33802
33834
|
/***/ }),
|
33803
33835
|
|
33804
|
-
/***/
|
33836
|
+
/***/ 26855:
|
33805
33837
|
/***/ ((__unused_webpack_module, exports) => {
|
33806
33838
|
|
33807
33839
|
"use strict";
|
@@ -33826,7 +33858,7 @@ exports.dnsLookupIpVersionToFamily = (dnsLookupIpVersion) => {
|
|
33826
33858
|
|
33827
33859
|
/***/ }),
|
33828
33860
|
|
33829
|
-
/***/
|
33861
|
+
/***/ 96004:
|
33830
33862
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
33831
33863
|
|
33832
33864
|
"use strict";
|
@@ -33835,7 +33867,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33835
33867
|
const fs_1 = __webpack_require__(57147);
|
33836
33868
|
const util_1 = __webpack_require__(73837);
|
33837
33869
|
const is_1 = __webpack_require__(49460);
|
33838
|
-
const is_form_data_1 = __webpack_require__(
|
33870
|
+
const is_form_data_1 = __webpack_require__(99678);
|
33839
33871
|
const statAsync = util_1.promisify(fs_1.stat);
|
33840
33872
|
exports["default"] = async (body, headers) => {
|
33841
33873
|
if (headers && 'content-length' in headers) {
|
@@ -33866,7 +33898,7 @@ exports["default"] = async (body, headers) => {
|
|
33866
33898
|
|
33867
33899
|
/***/ }),
|
33868
33900
|
|
33869
|
-
/***/
|
33901
|
+
/***/ 21750:
|
33870
33902
|
/***/ ((__unused_webpack_module, exports) => {
|
33871
33903
|
|
33872
33904
|
"use strict";
|
@@ -33890,7 +33922,7 @@ exports["default"] = getBuffer;
|
|
33890
33922
|
|
33891
33923
|
/***/ }),
|
33892
33924
|
|
33893
|
-
/***/
|
33925
|
+
/***/ 99678:
|
33894
33926
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
33895
33927
|
|
33896
33928
|
"use strict";
|
@@ -33902,7 +33934,7 @@ exports["default"] = (body) => is_1.default.nodeStream(body) && is_1.default.fun
|
|
33902
33934
|
|
33903
33935
|
/***/ }),
|
33904
33936
|
|
33905
|
-
/***/
|
33937
|
+
/***/ 67930:
|
33906
33938
|
/***/ ((__unused_webpack_module, exports) => {
|
33907
33939
|
|
33908
33940
|
"use strict";
|
@@ -33918,7 +33950,7 @@ exports.isResponseOk = (response) => {
|
|
33918
33950
|
|
33919
33951
|
/***/ }),
|
33920
33952
|
|
33921
|
-
/***/
|
33953
|
+
/***/ 84045:
|
33922
33954
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
33923
33955
|
|
33924
33956
|
"use strict";
|
@@ -33979,7 +34011,7 @@ exports["default"] = (origin, options) => {
|
|
33979
34011
|
|
33980
34012
|
/***/ }),
|
33981
34013
|
|
33982
|
-
/***/
|
34014
|
+
/***/ 47538:
|
33983
34015
|
/***/ ((__unused_webpack_module, exports) => {
|
33984
34016
|
|
33985
34017
|
"use strict";
|
@@ -34004,7 +34036,7 @@ exports["default"] = default_1;
|
|
34004
34036
|
|
34005
34037
|
/***/ }),
|
34006
34038
|
|
34007
|
-
/***/
|
34039
|
+
/***/ 69012:
|
34008
34040
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
34009
34041
|
|
34010
34042
|
"use strict";
|
@@ -34012,7 +34044,7 @@ exports["default"] = default_1;
|
|
34012
34044
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
34013
34045
|
exports.TimeoutError = void 0;
|
34014
34046
|
const net = __webpack_require__(41808);
|
34015
|
-
const unhandle_1 = __webpack_require__(
|
34047
|
+
const unhandle_1 = __webpack_require__(47884);
|
34016
34048
|
const reentry = Symbol('reentry');
|
34017
34049
|
const noop = () => { };
|
34018
34050
|
class TimeoutError extends Error {
|
@@ -34133,7 +34165,7 @@ exports["default"] = (request, delays, options) => {
|
|
34133
34165
|
|
34134
34166
|
/***/ }),
|
34135
34167
|
|
34136
|
-
/***/
|
34168
|
+
/***/ 47884:
|
34137
34169
|
/***/ ((__unused_webpack_module, exports) => {
|
34138
34170
|
|
34139
34171
|
"use strict";
|
@@ -34163,7 +34195,7 @@ exports["default"] = () => {
|
|
34163
34195
|
|
34164
34196
|
/***/ }),
|
34165
34197
|
|
34166
|
-
/***/
|
34198
|
+
/***/ 22326:
|
34167
34199
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
34168
34200
|
|
34169
34201
|
"use strict";
|
@@ -34195,7 +34227,7 @@ exports["default"] = (url) => {
|
|
34195
34227
|
|
34196
34228
|
/***/ }),
|
34197
34229
|
|
34198
|
-
/***/
|
34230
|
+
/***/ 37954:
|
34199
34231
|
/***/ ((__unused_webpack_module, exports) => {
|
34200
34232
|
|
34201
34233
|
"use strict";
|
@@ -34232,7 +34264,7 @@ exports["default"] = WeakableMap;
|
|
34232
34264
|
|
34233
34265
|
/***/ }),
|
34234
34266
|
|
34235
|
-
/***/
|
34267
|
+
/***/ 79613:
|
34236
34268
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
34237
34269
|
|
34238
34270
|
"use strict";
|
@@ -34250,10 +34282,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
34250
34282
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
34251
34283
|
exports.defaultHandler = void 0;
|
34252
34284
|
const is_1 = __webpack_require__(49460);
|
34253
|
-
const as_promise_1 = __webpack_require__(
|
34254
|
-
const create_rejection_1 = __webpack_require__(
|
34255
|
-
const core_1 = __webpack_require__(
|
34256
|
-
const deep_freeze_1 = __webpack_require__(
|
34285
|
+
const as_promise_1 = __webpack_require__(93285);
|
34286
|
+
const create_rejection_1 = __webpack_require__(39026);
|
34287
|
+
const core_1 = __webpack_require__(40753);
|
34288
|
+
const deep_freeze_1 = __webpack_require__(77116);
|
34257
34289
|
const errors = {
|
34258
34290
|
RequestError: as_promise_1.RequestError,
|
34259
34291
|
CacheError: as_promise_1.CacheError,
|
@@ -34475,12 +34507,12 @@ const create = (defaults) => {
|
|
34475
34507
|
return got;
|
34476
34508
|
};
|
34477
34509
|
exports["default"] = create;
|
34478
|
-
__exportStar(__webpack_require__(
|
34510
|
+
__exportStar(__webpack_require__(37335), exports);
|
34479
34511
|
|
34480
34512
|
|
34481
34513
|
/***/ }),
|
34482
34514
|
|
34483
|
-
/***/
|
34515
|
+
/***/ 98351:
|
34484
34516
|
/***/ (function(module, exports, __webpack_require__) {
|
34485
34517
|
|
34486
34518
|
"use strict";
|
@@ -34497,7 +34529,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
34497
34529
|
};
|
34498
34530
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
34499
34531
|
const url_1 = __webpack_require__(57310);
|
34500
|
-
const create_1 = __webpack_require__(
|
34532
|
+
const create_1 = __webpack_require__(79613);
|
34501
34533
|
const defaults = {
|
34502
34534
|
options: {
|
34503
34535
|
method: 'GET',
|
@@ -34614,13 +34646,13 @@ exports["default"] = got;
|
|
34614
34646
|
module.exports = got;
|
34615
34647
|
module.exports["default"] = got;
|
34616
34648
|
module.exports.__esModule = true; // Workaround for TS issue: https://github.com/sindresorhus/got/pull/1267
|
34617
|
-
__exportStar(__webpack_require__(
|
34618
|
-
__exportStar(__webpack_require__(
|
34649
|
+
__exportStar(__webpack_require__(79613), exports);
|
34650
|
+
__exportStar(__webpack_require__(93285), exports);
|
34619
34651
|
|
34620
34652
|
|
34621
34653
|
/***/ }),
|
34622
34654
|
|
34623
|
-
/***/
|
34655
|
+
/***/ 37335:
|
34624
34656
|
/***/ ((__unused_webpack_module, exports) => {
|
34625
34657
|
|
34626
34658
|
"use strict";
|
@@ -34630,7 +34662,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34630
34662
|
|
34631
34663
|
/***/ }),
|
34632
34664
|
|
34633
|
-
/***/
|
34665
|
+
/***/ 77116:
|
34634
34666
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
34635
34667
|
|
34636
34668
|
"use strict";
|
@@ -34650,7 +34682,7 @@ exports["default"] = deepFreeze;
|
|
34650
34682
|
|
34651
34683
|
/***/ }),
|
34652
34684
|
|
34653
|
-
/***/
|
34685
|
+
/***/ 45907:
|
34654
34686
|
/***/ ((__unused_webpack_module, exports) => {
|
34655
34687
|
|
34656
34688
|
"use strict";
|
@@ -35633,7 +35665,7 @@ var _handlebarsRuntime2 = _interopRequireDefault(_handlebarsRuntime);
|
|
35633
35665
|
|
35634
35666
|
// Compiler imports
|
35635
35667
|
|
35636
|
-
var _handlebarsCompilerAst = __webpack_require__(
|
35668
|
+
var _handlebarsCompilerAst = __webpack_require__(43753);
|
35637
35669
|
|
35638
35670
|
var _handlebarsCompilerAst2 = _interopRequireDefault(_handlebarsCompilerAst);
|
35639
35671
|
|
@@ -35888,7 +35920,7 @@ exports.logger = _logger2['default'];
|
|
35888
35920
|
|
35889
35921
|
/***/ }),
|
35890
35922
|
|
35891
|
-
/***/
|
35923
|
+
/***/ 43753:
|
35892
35924
|
/***/ ((module, exports) => {
|
35893
35925
|
|
35894
35926
|
"use strict";
|
@@ -36185,7 +36217,7 @@ var _exception2 = _interopRequireDefault(_exception);
|
|
36185
36217
|
|
36186
36218
|
var _utils = __webpack_require__(35617);
|
36187
36219
|
|
36188
|
-
var _ast = __webpack_require__(
|
36220
|
+
var _ast = __webpack_require__(43753);
|
36189
36221
|
|
36190
36222
|
var _ast2 = _interopRequireDefault(_ast);
|
36191
36223
|
|
@@ -61936,7 +61968,7 @@ module.exports.CancelError = CancelError;
|
|
61936
61968
|
|
61937
61969
|
const {Agent: HttpAgent} = __webpack_require__(13685);
|
61938
61970
|
const {Agent: HttpsAgent} = __webpack_require__(95687);
|
61939
|
-
const got = __webpack_require__(
|
61971
|
+
const got = __webpack_require__(98351);
|
61940
61972
|
const registryUrl = __webpack_require__(99399);
|
61941
61973
|
const registryAuthToken = __webpack_require__(5086);
|
61942
61974
|
const semver = __webpack_require__(20962);
|
@@ -66110,7 +66142,7 @@ module.exports = Response;
|
|
66110
66142
|
"use strict";
|
66111
66143
|
|
66112
66144
|
const onetime = __webpack_require__(26401);
|
66113
|
-
const signalExit = __webpack_require__(
|
66145
|
+
const signalExit = __webpack_require__(66217);
|
66114
66146
|
|
66115
66147
|
module.exports = onetime(() => {
|
66116
66148
|
signalExit(() => {
|
@@ -82606,7 +82638,7 @@ module.exports = /^#!(.*)/;
|
|
82606
82638
|
|
82607
82639
|
/***/ }),
|
82608
82640
|
|
82609
|
-
/***/
|
82641
|
+
/***/ 66217:
|
82610
82642
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
82611
82643
|
|
82612
82644
|
// Note: since nyc uses this module to output coverage, any lines
|
@@ -82614,12 +82646,26 @@ module.exports = /^#!(.*)/;
|
|
82614
82646
|
// ignored, since we can never get coverage for them.
|
82615
82647
|
// grab a reference to node's real process object right away
|
82616
82648
|
var process = global.process
|
82649
|
+
|
82650
|
+
const processOk = function (process) {
|
82651
|
+
return process &&
|
82652
|
+
typeof process === 'object' &&
|
82653
|
+
typeof process.removeListener === 'function' &&
|
82654
|
+
typeof process.emit === 'function' &&
|
82655
|
+
typeof process.reallyExit === 'function' &&
|
82656
|
+
typeof process.listeners === 'function' &&
|
82657
|
+
typeof process.kill === 'function' &&
|
82658
|
+
typeof process.pid === 'number' &&
|
82659
|
+
typeof process.on === 'function'
|
82660
|
+
}
|
82661
|
+
|
82617
82662
|
// some kind of non-node environment, just no-op
|
82618
|
-
|
82663
|
+
/* istanbul ignore if */
|
82664
|
+
if (!processOk(process)) {
|
82619
82665
|
module.exports = function () {}
|
82620
82666
|
} else {
|
82621
82667
|
var assert = __webpack_require__(39491)
|
82622
|
-
var signals = __webpack_require__(
|
82668
|
+
var signals = __webpack_require__(16869)
|
82623
82669
|
var isWin = /^win/i.test(process.platform)
|
82624
82670
|
|
82625
82671
|
var EE = __webpack_require__(82361)
|
@@ -82647,7 +82693,8 @@ if (typeof process !== 'object' || !process) {
|
|
82647
82693
|
}
|
82648
82694
|
|
82649
82695
|
module.exports = function (cb, opts) {
|
82650
|
-
|
82696
|
+
/* istanbul ignore if */
|
82697
|
+
if (!processOk(global.process)) {
|
82651
82698
|
return
|
82652
82699
|
}
|
82653
82700
|
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')
|
@@ -82674,7 +82721,7 @@ if (typeof process !== 'object' || !process) {
|
|
82674
82721
|
}
|
82675
82722
|
|
82676
82723
|
var unload = function unload () {
|
82677
|
-
if (!loaded || global.process
|
82724
|
+
if (!loaded || !processOk(global.process)) {
|
82678
82725
|
return
|
82679
82726
|
}
|
82680
82727
|
loaded = false
|
@@ -82691,6 +82738,7 @@ if (typeof process !== 'object' || !process) {
|
|
82691
82738
|
module.exports.unload = unload
|
82692
82739
|
|
82693
82740
|
var emit = function emit (event, code, signal) {
|
82741
|
+
/* istanbul ignore if */
|
82694
82742
|
if (emitter.emitted[event]) {
|
82695
82743
|
return
|
82696
82744
|
}
|
@@ -82702,7 +82750,8 @@ if (typeof process !== 'object' || !process) {
|
|
82702
82750
|
var sigListeners = {}
|
82703
82751
|
signals.forEach(function (sig) {
|
82704
82752
|
sigListeners[sig] = function listener () {
|
82705
|
-
|
82753
|
+
/* istanbul ignore if */
|
82754
|
+
if (!processOk(global.process)) {
|
82706
82755
|
return
|
82707
82756
|
}
|
82708
82757
|
// If there are no other listeners, an exit is coming!
|
@@ -82721,6 +82770,7 @@ if (typeof process !== 'object' || !process) {
|
|
82721
82770
|
// so use a supported signal instead
|
82722
82771
|
sig = 'SIGINT'
|
82723
82772
|
}
|
82773
|
+
/* istanbul ignore next */
|
82724
82774
|
process.kill(process.pid, sig)
|
82725
82775
|
}
|
82726
82776
|
}
|
@@ -82733,7 +82783,7 @@ if (typeof process !== 'object' || !process) {
|
|
82733
82783
|
var loaded = false
|
82734
82784
|
|
82735
82785
|
var load = function load () {
|
82736
|
-
if (loaded ||
|
82786
|
+
if (loaded || !processOk(global.process)) {
|
82737
82787
|
return
|
82738
82788
|
}
|
82739
82789
|
loaded = true
|
@@ -82760,10 +82810,11 @@ if (typeof process !== 'object' || !process) {
|
|
82760
82810
|
|
82761
82811
|
var originalProcessReallyExit = process.reallyExit
|
82762
82812
|
var processReallyExit = function processReallyExit (code) {
|
82763
|
-
|
82813
|
+
/* istanbul ignore if */
|
82814
|
+
if (!processOk(global.process)) {
|
82764
82815
|
return
|
82765
82816
|
}
|
82766
|
-
process.exitCode = code || 0
|
82817
|
+
process.exitCode = code || /* istanbul ignore next */ 0
|
82767
82818
|
emit('exit', process.exitCode, null)
|
82768
82819
|
/* istanbul ignore next */
|
82769
82820
|
emit('afterexit', process.exitCode, null)
|
@@ -82773,14 +82824,17 @@ if (typeof process !== 'object' || !process) {
|
|
82773
82824
|
|
82774
82825
|
var originalProcessEmit = process.emit
|
82775
82826
|
var processEmit = function processEmit (ev, arg) {
|
82776
|
-
if (ev === 'exit' &&
|
82827
|
+
if (ev === 'exit' && processOk(global.process)) {
|
82828
|
+
/* istanbul ignore else */
|
82777
82829
|
if (arg !== undefined) {
|
82778
82830
|
process.exitCode = arg
|
82779
82831
|
}
|
82780
82832
|
var ret = originalProcessEmit.apply(this, arguments)
|
82833
|
+
/* istanbul ignore next */
|
82781
82834
|
emit('exit', process.exitCode, null)
|
82782
82835
|
/* istanbul ignore next */
|
82783
82836
|
emit('afterexit', process.exitCode, null)
|
82837
|
+
/* istanbul ignore next */
|
82784
82838
|
return ret
|
82785
82839
|
} else {
|
82786
82840
|
return originalProcessEmit.apply(this, arguments)
|
@@ -82791,7 +82845,7 @@ if (typeof process !== 'object' || !process) {
|
|
82791
82845
|
|
82792
82846
|
/***/ }),
|
82793
82847
|
|
82794
|
-
/***/
|
82848
|
+
/***/ 16869:
|
82795
82849
|
/***/ ((module) => {
|
82796
82850
|
|
82797
82851
|
// This is not the set of all possible signals.
|
@@ -89444,6 +89498,59 @@ function getObjKeyMap(obj, prefix = '') {
|
|
89444
89498
|
|
89445
89499
|
/***/ }),
|
89446
89500
|
|
89501
|
+
/***/ 32746:
|
89502
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
89503
|
+
|
89504
|
+
"use strict";
|
89505
|
+
|
89506
|
+
|
89507
|
+
Object.defineProperty(exports, "__esModule", ({
|
89508
|
+
value: true
|
89509
|
+
}));
|
89510
|
+
|
89511
|
+
var _project = __webpack_require__(40542);
|
89512
|
+
|
89513
|
+
Object.keys(_project).forEach(function (key) {
|
89514
|
+
if (key === "default" || key === "__esModule") return;
|
89515
|
+
if (key in exports && exports[key] === _project[key]) return;
|
89516
|
+
Object.defineProperty(exports, key, {
|
89517
|
+
enumerable: true,
|
89518
|
+
get: function () {
|
89519
|
+
return _project[key];
|
89520
|
+
}
|
89521
|
+
});
|
89522
|
+
});
|
89523
|
+
|
89524
|
+
/***/ }),
|
89525
|
+
|
89526
|
+
/***/ 40542:
|
89527
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
89528
|
+
|
89529
|
+
"use strict";
|
89530
|
+
|
89531
|
+
|
89532
|
+
Object.defineProperty(exports, "__esModule", ({
|
89533
|
+
value: true
|
89534
|
+
}));
|
89535
|
+
exports.BaseSchemas = exports.BaseSchema = exports.BaseDefaultConfig = void 0;
|
89536
|
+
|
89537
|
+
var _common = __webpack_require__(25523);
|
89538
|
+
|
89539
|
+
const BaseSchemas = [_common.PackageManagerSchema];
|
89540
|
+
exports.BaseSchemas = BaseSchemas;
|
89541
|
+
const BaseSchema = {
|
89542
|
+
key: 'base',
|
89543
|
+
isObject: true,
|
89544
|
+
items: BaseSchemas
|
89545
|
+
};
|
89546
|
+
exports.BaseSchema = BaseSchema;
|
89547
|
+
const BaseDefaultConfig = {
|
89548
|
+
packageManager: _common.PackageManager.Pnpm
|
89549
|
+
};
|
89550
|
+
exports.BaseDefaultConfig = BaseDefaultConfig;
|
89551
|
+
|
89552
|
+
/***/ }),
|
89553
|
+
|
89447
89554
|
/***/ 34069:
|
89448
89555
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
89449
89556
|
|
@@ -89453,7 +89560,7 @@ function getObjKeyMap(obj, prefix = '') {
|
|
89453
89560
|
Object.defineProperty(exports, "__esModule", ({
|
89454
89561
|
value: true
|
89455
89562
|
}));
|
89456
|
-
exports.
|
89563
|
+
exports.BooleanSchemas = exports.BooleanConfigName = exports.BooleanConfig = void 0;
|
89457
89564
|
|
89458
89565
|
var _locale = __webpack_require__(94646);
|
89459
89566
|
|
@@ -89470,20 +89577,14 @@ const BooleanConfigName = {
|
|
89470
89577
|
[BooleanConfig.YES]: () => _locale.i18n.t(_locale.localeKeys.boolean.yes)
|
89471
89578
|
};
|
89472
89579
|
exports.BooleanConfigName = BooleanConfigName;
|
89473
|
-
|
89474
|
-
const getBooleanSchemas = (YesChildSchemas, NoChildSchemas) => [{
|
89580
|
+
const BooleanSchemas = [{
|
89475
89581
|
key: BooleanConfig.NO,
|
89476
|
-
label: BooleanConfigName[BooleanConfig.NO]
|
89477
|
-
isObject: Boolean(NoChildSchemas),
|
89478
|
-
items: NoChildSchemas
|
89582
|
+
label: BooleanConfigName[BooleanConfig.NO]
|
89479
89583
|
}, {
|
89480
89584
|
key: BooleanConfig.YES,
|
89481
|
-
label: BooleanConfigName[BooleanConfig.YES]
|
89482
|
-
isObject: Boolean(YesChildSchemas),
|
89483
|
-
items: YesChildSchemas
|
89585
|
+
label: BooleanConfigName[BooleanConfig.YES]
|
89484
89586
|
}];
|
89485
|
-
|
89486
|
-
exports.getBooleanSchemas = getBooleanSchemas;
|
89587
|
+
exports.BooleanSchemas = BooleanSchemas;
|
89487
89588
|
|
89488
89589
|
/***/ }),
|
89489
89590
|
|
@@ -89506,24 +89607,22 @@ const EnableLessSchema = {
|
|
89506
89607
|
key: 'enableLess',
|
89507
89608
|
type: ['string'],
|
89508
89609
|
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.enableLess),
|
89509
|
-
when: (_, extra) => (extra === null || extra === void 0 ? void 0 : extra.isEmptySrc) === undefined ? true : Boolean(extra === null || extra === void 0 ? void 0 : extra.isEmptySrc),
|
89510
89610
|
mutualExclusion: true,
|
89511
89611
|
state: {
|
89512
89612
|
value: _boolean.BooleanConfig.NO
|
89513
89613
|
},
|
89514
|
-
items:
|
89614
|
+
items: _boolean.BooleanSchemas
|
89515
89615
|
};
|
89516
89616
|
exports.EnableLessSchema = EnableLessSchema;
|
89517
89617
|
const EnableSassSchema = {
|
89518
89618
|
key: 'enableSass',
|
89519
89619
|
type: ['string'],
|
89520
89620
|
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.enableSass),
|
89521
|
-
when: (_, extra) => (extra === null || extra === void 0 ? void 0 : extra.isEmptySrc) === undefined ? true : Boolean(extra === null || extra === void 0 ? void 0 : extra.isEmptySrc),
|
89522
89621
|
mutualExclusion: true,
|
89523
89622
|
state: {
|
89524
89623
|
value: _boolean.BooleanConfig.NO
|
89525
89624
|
},
|
89526
|
-
items:
|
89625
|
+
items: _boolean.BooleanSchemas
|
89527
89626
|
};
|
89528
89627
|
exports.EnableSassSchema = EnableSassSchema;
|
89529
89628
|
|
@@ -89793,7 +89892,7 @@ exports.PackagePathSchema = PackagePathSchema;
|
|
89793
89892
|
Object.defineProperty(exports, "__esModule", ({
|
89794
89893
|
value: true
|
89795
89894
|
}));
|
89796
|
-
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;
|
89895
|
+
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;
|
89797
89896
|
|
89798
89897
|
var _locale = __webpack_require__(94646);
|
89799
89898
|
|
@@ -89882,6 +89981,8 @@ const EntryGenerator = '@modern-js/entry-generator';
|
|
89882
89981
|
exports.EntryGenerator = EntryGenerator;
|
89883
89982
|
const ElectronGenerator = '@modern-js/electron-generator';
|
89884
89983
|
exports.ElectronGenerator = ElectronGenerator;
|
89984
|
+
const EslintGenerator = '@modern-js/eslint-generator';
|
89985
|
+
exports.EslintGenerator = EslintGenerator;
|
89885
89986
|
|
89886
89987
|
/***/ }),
|
89887
89988
|
|
@@ -89898,16 +89999,11 @@ exports.GeneratorSchema = exports.GeneratorDefaultConfig = void 0;
|
|
89898
89999
|
|
89899
90000
|
var _common = __webpack_require__(25523);
|
89900
90001
|
|
89901
|
-
const
|
89902
|
-
packageName: _common.PackageNameSchema,
|
89903
|
-
packagePath: _common.PackagePathSchema,
|
89904
|
-
PackageManager: _common.PackageManagerSchema,
|
89905
|
-
language: _common.LanguageSchema
|
89906
|
-
};
|
90002
|
+
const GeneratorSchemas = [_common.PackageNameSchema, _common.PackagePathSchema, _common.PackageManagerSchema, _common.LanguageSchema];
|
89907
90003
|
const GeneratorSchema = {
|
89908
90004
|
key: 'generator-generator',
|
89909
90005
|
isObject: true,
|
89910
|
-
items: Object.values(
|
90006
|
+
items: Object.values(GeneratorSchemas)
|
89911
90007
|
};
|
89912
90008
|
exports.GeneratorSchema = GeneratorSchema;
|
89913
90009
|
const GeneratorDefaultConfig = {
|
@@ -90054,6 +90150,20 @@ Object.keys(_expand).forEach(function (key) {
|
|
90054
90150
|
}
|
90055
90151
|
});
|
90056
90152
|
});
|
90153
|
+
|
90154
|
+
var _base = __webpack_require__(32746);
|
90155
|
+
|
90156
|
+
Object.keys(_base).forEach(function (key) {
|
90157
|
+
if (key === "default" || key === "__esModule") return;
|
90158
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
90159
|
+
if (key in exports && exports[key] === _base[key]) return;
|
90160
|
+
Object.defineProperty(exports, key, {
|
90161
|
+
enumerable: true,
|
90162
|
+
get: function () {
|
90163
|
+
return _base[key];
|
90164
|
+
}
|
90165
|
+
});
|
90166
|
+
});
|
90057
90167
|
const SolutionDefualtConfig = {
|
90058
90168
|
[_common.Solution.MWA]: _mwa.MWADefaultConfig,
|
90059
90169
|
[_common.Solution.Module]: _module.ModuleDefaultConfig,
|
@@ -90106,7 +90216,8 @@ const EN_LOCALE = {
|
|
90106
90216
|
storybook: 'Enable "Storybook"',
|
90107
90217
|
runtime_api: 'Enable "Runtime API"',
|
90108
90218
|
mwa_storybook: 'Enable "Visual Testing (Storybook)"',
|
90109
|
-
ssg: 'Enable "SSG"'
|
90219
|
+
ssg: 'Enable "SSG"',
|
90220
|
+
deploy: 'Enable "Deploy"'
|
90110
90221
|
},
|
90111
90222
|
element: {
|
90112
90223
|
self: 'Create project element',
|
@@ -90174,6 +90285,23 @@ const EN_LOCALE = {
|
|
90174
90285
|
func: 'Function',
|
90175
90286
|
framework: 'Framework'
|
90176
90287
|
}
|
90288
|
+
},
|
90289
|
+
deploy: {
|
90290
|
+
cloud: {
|
90291
|
+
self: 'Modify the default Web Server?'
|
90292
|
+
},
|
90293
|
+
cdn: {
|
90294
|
+
self: 'Please select the cdn platform you want to use',
|
90295
|
+
oss: 'Aliyun OSS',
|
90296
|
+
cos: 'Tencent COS',
|
90297
|
+
no: 'Not Enabled'
|
90298
|
+
},
|
90299
|
+
lambda: {
|
90300
|
+
self: 'Please select the lambda you want to use',
|
90301
|
+
fc: 'Aliyun FC',
|
90302
|
+
scf: 'Tencent SCF',
|
90303
|
+
no: 'Not Enabled'
|
90304
|
+
}
|
90177
90305
|
}
|
90178
90306
|
};
|
90179
90307
|
exports.EN_LOCALE = EN_LOCALE;
|
@@ -90249,7 +90377,8 @@ const ZH_LOCALE = {
|
|
90249
90377
|
storybook: '启用「Storybook」',
|
90250
90378
|
runtime_api: '启用「Rumtime API」',
|
90251
90379
|
mwa_storybook: '启用「Visual Testing (Storybook)」模式',
|
90252
|
-
ssg: '启用「SSG」功能'
|
90380
|
+
ssg: '启用「SSG」功能',
|
90381
|
+
deploy: '启用「部署」功能'
|
90253
90382
|
},
|
90254
90383
|
element: {
|
90255
90384
|
self: '创建工程元素',
|
@@ -90318,6 +90447,23 @@ const ZH_LOCALE = {
|
|
90318
90447
|
func: '函数模式',
|
90319
90448
|
framework: '框架模式'
|
90320
90449
|
}
|
90450
|
+
},
|
90451
|
+
deploy: {
|
90452
|
+
cloud: {
|
90453
|
+
self: '默认使用框架内置的产品级 Web 服务器,是否调整?'
|
90454
|
+
},
|
90455
|
+
cdn: {
|
90456
|
+
self: '请选择 CDN 平台',
|
90457
|
+
oss: '阿里云 OSS',
|
90458
|
+
cos: '腾讯云 COS',
|
90459
|
+
no: '不使用 CDN'
|
90460
|
+
},
|
90461
|
+
lambda: {
|
90462
|
+
self: '请选择云函数平台',
|
90463
|
+
fc: '阿里云 FC',
|
90464
|
+
scf: '腾讯云 SCF',
|
90465
|
+
no: '不使用云函数部署'
|
90466
|
+
}
|
90321
90467
|
}
|
90322
90468
|
};
|
90323
90469
|
exports.ZH_LOCALE = ZH_LOCALE;
|
@@ -90358,7 +90504,7 @@ Object.keys(_project).forEach(function (key) {
|
|
90358
90504
|
Object.defineProperty(exports, "__esModule", ({
|
90359
90505
|
value: true
|
90360
90506
|
}));
|
90361
|
-
exports.ModuleSchema = exports.ModuleDefaultConfig = void 0;
|
90507
|
+
exports.moduleConfigWhenFunc = exports.NeedModifyModuleConfigSchema = exports.ModuleSchemas = exports.ModuleSchema = exports.ModuleDefaultConfig = exports.EnableModuleSassSchema = exports.EnableModuleLessSchema = void 0;
|
90362
90508
|
|
90363
90509
|
var _locale = __webpack_require__(94646);
|
90364
90510
|
|
@@ -90366,6 +90512,27 @@ var _common = __webpack_require__(25523);
|
|
90366
90512
|
|
90367
90513
|
var _css = __webpack_require__(99961);
|
90368
90514
|
|
90515
|
+
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; }
|
90516
|
+
|
90517
|
+
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; }
|
90518
|
+
|
90519
|
+
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; }
|
90520
|
+
|
90521
|
+
const moduleConfigWhenFunc = values => values.needModifyModuleConfig === _common.BooleanConfig.YES;
|
90522
|
+
|
90523
|
+
exports.moduleConfigWhenFunc = moduleConfigWhenFunc;
|
90524
|
+
|
90525
|
+
const EnableModuleLessSchema = _objectSpread(_objectSpread({}, _css.EnableLessSchema), {}, {
|
90526
|
+
when: moduleConfigWhenFunc
|
90527
|
+
});
|
90528
|
+
|
90529
|
+
exports.EnableModuleLessSchema = EnableModuleLessSchema;
|
90530
|
+
|
90531
|
+
const EnableModuleSassSchema = _objectSpread(_objectSpread({}, _css.EnableSassSchema), {}, {
|
90532
|
+
when: moduleConfigWhenFunc
|
90533
|
+
});
|
90534
|
+
|
90535
|
+
exports.EnableModuleSassSchema = EnableModuleSassSchema;
|
90369
90536
|
const NeedModifyModuleConfigSchema = {
|
90370
90537
|
key: 'needModifyModuleConfig',
|
90371
90538
|
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.self),
|
@@ -90374,24 +90541,23 @@ const NeedModifyModuleConfigSchema = {
|
|
90374
90541
|
state: {
|
90375
90542
|
value: _common.BooleanConfig.NO
|
90376
90543
|
},
|
90377
|
-
items:
|
90378
|
-
};
|
90379
|
-
const ModuleSchemaMap = {
|
90380
|
-
packageName: _common.PackageNameSchema,
|
90381
|
-
packagePath: _common.PackagePathSchema,
|
90382
|
-
language: _common.LanguageSchema,
|
90383
|
-
packageManager: _common.PackageManagerSchema,
|
90384
|
-
needModifyModuleConfig: NeedModifyModuleConfigSchema
|
90544
|
+
items: _common.BooleanSchemas
|
90385
90545
|
};
|
90546
|
+
exports.NeedModifyModuleConfigSchema = NeedModifyModuleConfigSchema;
|
90547
|
+
const ModuleSchemas = [_common.PackageNameSchema, _common.PackagePathSchema, _common.LanguageSchema, _common.PackageManagerSchema, NeedModifyModuleConfigSchema, EnableModuleLessSchema, EnableModuleSassSchema];
|
90548
|
+
exports.ModuleSchemas = ModuleSchemas;
|
90386
90549
|
const ModuleSchema = {
|
90387
90550
|
key: 'module',
|
90388
90551
|
isObject: true,
|
90389
|
-
items:
|
90552
|
+
items: ModuleSchemas
|
90390
90553
|
};
|
90391
90554
|
exports.ModuleSchema = ModuleSchema;
|
90392
90555
|
const ModuleDefaultConfig = {
|
90393
90556
|
language: _common.Language.TS,
|
90394
|
-
packageManager: _common.PackageManager.Pnpm
|
90557
|
+
packageManager: _common.PackageManager.Pnpm,
|
90558
|
+
needModifyModuleConfig: _common.BooleanConfig.NO,
|
90559
|
+
enableLess: _common.BooleanConfig.NO,
|
90560
|
+
enableSass: _common.BooleanConfig.NO
|
90395
90561
|
};
|
90396
90562
|
exports.ModuleDefaultConfig = ModuleDefaultConfig;
|
90397
90563
|
|
@@ -90431,17 +90597,16 @@ Object.keys(_project).forEach(function (key) {
|
|
90431
90597
|
Object.defineProperty(exports, "__esModule", ({
|
90432
90598
|
value: true
|
90433
90599
|
}));
|
90434
|
-
exports.MonorepoSchema = exports.MonorepoDefaultConfig = void 0;
|
90600
|
+
exports.MonorepoSchemas = exports.MonorepoSchema = exports.MonorepoDefaultConfig = void 0;
|
90435
90601
|
|
90436
90602
|
var _common = __webpack_require__(25523);
|
90437
90603
|
|
90438
|
-
const
|
90439
|
-
|
90440
|
-
};
|
90604
|
+
const MonorepoSchemas = [_common.PackageManagerSchema];
|
90605
|
+
exports.MonorepoSchemas = MonorepoSchemas;
|
90441
90606
|
const MonorepoSchema = {
|
90442
90607
|
key: 'monorepo',
|
90443
90608
|
isObject: true,
|
90444
|
-
items:
|
90609
|
+
items: MonorepoSchemas
|
90445
90610
|
};
|
90446
90611
|
exports.MonorepoSchema = MonorepoSchema;
|
90447
90612
|
const MonorepoDefaultConfig = {
|
@@ -90460,7 +90625,7 @@ exports.MonorepoDefaultConfig = MonorepoDefaultConfig;
|
|
90460
90625
|
Object.defineProperty(exports, "__esModule", ({
|
90461
90626
|
value: true
|
90462
90627
|
}));
|
90463
|
-
exports.BFFTypeSchema = exports.BFFType = exports.BFFSchema = void 0;
|
90628
|
+
exports.MWADefaultBffConfig = exports.BFFTypeSchema = exports.BFFType = exports.BFFSchemas = exports.BFFSchema = void 0;
|
90464
90629
|
|
90465
90630
|
var _common = __webpack_require__(70852);
|
90466
90631
|
|
@@ -90485,17 +90650,20 @@ const BFFTypeSchema = {
|
|
90485
90650
|
}))
|
90486
90651
|
};
|
90487
90652
|
exports.BFFTypeSchema = BFFTypeSchema;
|
90488
|
-
const
|
90489
|
-
|
90490
|
-
framework: _common.FrameworkSchema
|
90491
|
-
};
|
90653
|
+
const BFFSchemas = [BFFTypeSchema, _common.FrameworkSchema];
|
90654
|
+
exports.BFFSchemas = BFFSchemas;
|
90492
90655
|
const BFFSchema = {
|
90493
90656
|
key: 'bff',
|
90494
90657
|
label: () => _locale.i18n.t(_locale.localeKeys.action.function.bff),
|
90495
90658
|
isObject: true,
|
90496
|
-
items:
|
90659
|
+
items: BFFSchemas
|
90497
90660
|
};
|
90498
90661
|
exports.BFFSchema = BFFSchema;
|
90662
|
+
const MWADefaultBffConfig = {
|
90663
|
+
bffType: BFFType.Func,
|
90664
|
+
frameWork: _common.Framework.Express
|
90665
|
+
};
|
90666
|
+
exports.MWADefaultBffConfig = MWADefaultBffConfig;
|
90499
90667
|
|
90500
90668
|
/***/ }),
|
90501
90669
|
|
@@ -90508,7 +90676,7 @@ exports.BFFSchema = BFFSchema;
|
|
90508
90676
|
Object.defineProperty(exports, "__esModule", ({
|
90509
90677
|
value: true
|
90510
90678
|
}));
|
90511
|
-
exports.RunWaySchema = exports.RunWay = exports.NeedModifyMWAConfigSchema = exports.FrameworkSchema = exports.Framework = exports.ClientRoute = void 0;
|
90679
|
+
exports.mwaConfigWhenFunc = exports.RunWaySchema = exports.RunWay = exports.NeedModifyMWAConfigSchema = exports.FrameworkSchema = exports.Framework = exports.EnableMWASassSchema = exports.EnableMWALessSchema = exports.DisableStateManagementSchema = exports.ClientRouteSchema = exports.ClientRoute = void 0;
|
90512
90680
|
|
90513
90681
|
var _locale = __webpack_require__(94646);
|
90514
90682
|
|
@@ -90516,6 +90684,15 @@ var _boolean = __webpack_require__(34069);
|
|
90516
90684
|
|
90517
90685
|
var _css = __webpack_require__(99961);
|
90518
90686
|
|
90687
|
+
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; }
|
90688
|
+
|
90689
|
+
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; }
|
90690
|
+
|
90691
|
+
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; }
|
90692
|
+
|
90693
|
+
const mwaConfigWhenFunc = values => values.needModifyMWAConfig === _boolean.BooleanConfig.YES;
|
90694
|
+
|
90695
|
+
exports.mwaConfigWhenFunc = mwaConfigWhenFunc;
|
90519
90696
|
let RunWay;
|
90520
90697
|
exports.RunWay = RunWay;
|
90521
90698
|
|
@@ -90553,6 +90730,7 @@ const ClientRouteSchema = {
|
|
90553
90730
|
type: ['string'],
|
90554
90731
|
label: () => _locale.i18n.t(_locale.localeKeys.entry.clientRoute.self),
|
90555
90732
|
mutualExclusion: true,
|
90733
|
+
when: mwaConfigWhenFunc,
|
90556
90734
|
state: {
|
90557
90735
|
value: ClientRoute.SelfControlRoute
|
90558
90736
|
},
|
@@ -90561,16 +90739,31 @@ const ClientRouteSchema = {
|
|
90561
90739
|
label: () => _locale.i18n.t(_locale.localeKeys.entry.clientRoute[clientRoute])
|
90562
90740
|
}))
|
90563
90741
|
};
|
90742
|
+
exports.ClientRouteSchema = ClientRouteSchema;
|
90564
90743
|
const DisableStateManagementSchema = {
|
90565
90744
|
key: 'disableStateManagement',
|
90566
90745
|
type: ['string'],
|
90567
90746
|
label: () => _locale.i18n.t(_locale.localeKeys.entry.disableStateManagement),
|
90568
90747
|
mutualExclusion: true,
|
90748
|
+
when: mwaConfigWhenFunc,
|
90569
90749
|
state: {
|
90570
90750
|
value: _boolean.BooleanConfig.NO
|
90571
90751
|
},
|
90572
|
-
items:
|
90752
|
+
items: _boolean.BooleanSchemas
|
90573
90753
|
};
|
90754
|
+
exports.DisableStateManagementSchema = DisableStateManagementSchema;
|
90755
|
+
|
90756
|
+
const EnableMWALessSchema = _objectSpread(_objectSpread({}, _css.EnableLessSchema), {}, {
|
90757
|
+
when: mwaConfigWhenFunc
|
90758
|
+
});
|
90759
|
+
|
90760
|
+
exports.EnableMWALessSchema = EnableMWALessSchema;
|
90761
|
+
|
90762
|
+
const EnableMWASassSchema = _objectSpread(_objectSpread({}, _css.EnableSassSchema), {}, {
|
90763
|
+
when: mwaConfigWhenFunc
|
90764
|
+
});
|
90765
|
+
|
90766
|
+
exports.EnableMWASassSchema = EnableMWASassSchema;
|
90574
90767
|
const NeedModifyMWAConfigSchema = {
|
90575
90768
|
key: 'needModifyMWAConfig',
|
90576
90769
|
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.self),
|
@@ -90579,7 +90772,7 @@ const NeedModifyMWAConfigSchema = {
|
|
90579
90772
|
state: {
|
90580
90773
|
value: _boolean.BooleanConfig.NO
|
90581
90774
|
},
|
90582
|
-
items:
|
90775
|
+
items: _boolean.BooleanSchemas
|
90583
90776
|
};
|
90584
90777
|
exports.NeedModifyMWAConfigSchema = NeedModifyMWAConfigSchema;
|
90585
90778
|
let Framework;
|
@@ -90606,6 +90799,82 @@ exports.FrameworkSchema = FrameworkSchema;
|
|
90606
90799
|
|
90607
90800
|
/***/ }),
|
90608
90801
|
|
90802
|
+
/***/ 73423:
|
90803
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
90804
|
+
|
90805
|
+
"use strict";
|
90806
|
+
|
90807
|
+
|
90808
|
+
Object.defineProperty(exports, "__esModule", ({
|
90809
|
+
value: true
|
90810
|
+
}));
|
90811
|
+
exports.LambdaTypeSchema = exports.LambdaType = exports.DeployTypeSchema = exports.CloudTypeSchema = exports.CDNTypeSchema = exports.CDNType = void 0;
|
90812
|
+
|
90813
|
+
var _locale = __webpack_require__(94646);
|
90814
|
+
|
90815
|
+
var _common = __webpack_require__(25523);
|
90816
|
+
|
90817
|
+
let CDNType;
|
90818
|
+
exports.CDNType = CDNType;
|
90819
|
+
|
90820
|
+
(function (CDNType) {
|
90821
|
+
CDNType["OSS"] = "oss";
|
90822
|
+
CDNType["COS"] = "cos";
|
90823
|
+
CDNType["NO"] = "no";
|
90824
|
+
})(CDNType || (exports.CDNType = CDNType = {}));
|
90825
|
+
|
90826
|
+
let LambdaType;
|
90827
|
+
exports.LambdaType = LambdaType;
|
90828
|
+
|
90829
|
+
(function (LambdaType) {
|
90830
|
+
LambdaType["FC"] = "fc";
|
90831
|
+
LambdaType["SCF"] = "scf";
|
90832
|
+
LambdaType["NO"] = "no";
|
90833
|
+
})(LambdaType || (exports.LambdaType = LambdaType = {}));
|
90834
|
+
|
90835
|
+
const CloudTypeSchema = {
|
90836
|
+
key: 'disableModernServer',
|
90837
|
+
type: ['string'],
|
90838
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cloud.self),
|
90839
|
+
mutualExclusion: true,
|
90840
|
+
state: {
|
90841
|
+
value: _common.BooleanConfig.NO
|
90842
|
+
},
|
90843
|
+
items: _common.BooleanSchemas
|
90844
|
+
};
|
90845
|
+
exports.CloudTypeSchema = CloudTypeSchema;
|
90846
|
+
const CDNTypeSchema = {
|
90847
|
+
key: 'cdnType',
|
90848
|
+
type: ['string'],
|
90849
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cdn.self),
|
90850
|
+
mutualExclusion: true,
|
90851
|
+
items: Object.values(CDNType).map(deployType => ({
|
90852
|
+
key: deployType,
|
90853
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cdn[deployType])
|
90854
|
+
}))
|
90855
|
+
};
|
90856
|
+
exports.CDNTypeSchema = CDNTypeSchema;
|
90857
|
+
const LambdaTypeSchema = {
|
90858
|
+
key: 'lambdaType',
|
90859
|
+
type: ['string'],
|
90860
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.lambda.self),
|
90861
|
+
mutualExclusion: true,
|
90862
|
+
when: values => values.disableModernServer === _common.BooleanConfig.NO,
|
90863
|
+
items: Object.values(LambdaType).map(deployType => ({
|
90864
|
+
key: deployType,
|
90865
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.lambda[deployType])
|
90866
|
+
}))
|
90867
|
+
};
|
90868
|
+
exports.LambdaTypeSchema = LambdaTypeSchema;
|
90869
|
+
const DeployTypeSchema = {
|
90870
|
+
key: 'Deploy',
|
90871
|
+
isObject: true,
|
90872
|
+
items: [CloudTypeSchema, CDNTypeSchema, LambdaTypeSchema]
|
90873
|
+
};
|
90874
|
+
exports.DeployTypeSchema = DeployTypeSchema;
|
90875
|
+
|
90876
|
+
/***/ }),
|
90877
|
+
|
90609
90878
|
/***/ 91124:
|
90610
90879
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
90611
90880
|
|
@@ -90615,12 +90884,14 @@ exports.FrameworkSchema = FrameworkSchema;
|
|
90615
90884
|
Object.defineProperty(exports, "__esModule", ({
|
90616
90885
|
value: true
|
90617
90886
|
}));
|
90618
|
-
exports.EntrySchema = void 0;
|
90887
|
+
exports.MWADefaultEntryConfig = exports.EntrySchemas = exports.EntrySchema = void 0;
|
90619
90888
|
|
90620
90889
|
var _common = __webpack_require__(70852);
|
90621
90890
|
|
90622
90891
|
var _locale = __webpack_require__(94646);
|
90623
90892
|
|
90893
|
+
var _common2 = __webpack_require__(25523);
|
90894
|
+
|
90624
90895
|
const EntryNameSchema = {
|
90625
90896
|
key: 'name',
|
90626
90897
|
type: ['string'],
|
@@ -90655,17 +90926,21 @@ const EntryNameSchema = {
|
|
90655
90926
|
return true;
|
90656
90927
|
}
|
90657
90928
|
};
|
90658
|
-
const
|
90659
|
-
|
90660
|
-
needModifyEntryConfig: _common.NeedModifyMWAConfigSchema
|
90661
|
-
};
|
90929
|
+
const EntrySchemas = [EntryNameSchema, _common.NeedModifyMWAConfigSchema, _common.ClientRouteSchema, _common.DisableStateManagementSchema];
|
90930
|
+
exports.EntrySchemas = EntrySchemas;
|
90662
90931
|
const EntrySchema = {
|
90663
90932
|
key: 'entry',
|
90664
90933
|
label: () => _locale.i18n.t(_locale.localeKeys.action.element.entry),
|
90665
90934
|
isObject: true,
|
90666
|
-
items:
|
90935
|
+
items: EntrySchemas
|
90667
90936
|
};
|
90668
90937
|
exports.EntrySchema = EntrySchema;
|
90938
|
+
const MWADefaultEntryConfig = {
|
90939
|
+
needModifyMWAConfig: _common2.BooleanConfig.NO,
|
90940
|
+
clientRoute: _common.ClientRoute.SelfControlRoute,
|
90941
|
+
disableStateManagement: _common2.BooleanConfig.NO
|
90942
|
+
};
|
90943
|
+
exports.MWADefaultEntryConfig = MWADefaultEntryConfig;
|
90669
90944
|
|
90670
90945
|
/***/ }),
|
90671
90946
|
|
@@ -90718,6 +90993,19 @@ Object.keys(_bff).forEach(function (key) {
|
|
90718
90993
|
});
|
90719
90994
|
});
|
90720
90995
|
|
90996
|
+
var _deploy = __webpack_require__(73423);
|
90997
|
+
|
90998
|
+
Object.keys(_deploy).forEach(function (key) {
|
90999
|
+
if (key === "default" || key === "__esModule") return;
|
91000
|
+
if (key in exports && exports[key] === _deploy[key]) return;
|
91001
|
+
Object.defineProperty(exports, key, {
|
91002
|
+
enumerable: true,
|
91003
|
+
get: function () {
|
91004
|
+
return _deploy[key];
|
91005
|
+
}
|
91006
|
+
});
|
91007
|
+
});
|
91008
|
+
|
90721
91009
|
var _project = __webpack_require__(30968);
|
90722
91010
|
|
90723
91011
|
Object.keys(_project).forEach(function (key) {
|
@@ -90755,31 +91043,29 @@ Object.keys(_server).forEach(function (key) {
|
|
90755
91043
|
Object.defineProperty(exports, "__esModule", ({
|
90756
91044
|
value: true
|
90757
91045
|
}));
|
90758
|
-
exports.MWASchema = exports.MWADefaultConfig = void 0;
|
91046
|
+
exports.MWASchemas = exports.MWASchema = exports.MWADefaultConfig = void 0;
|
90759
91047
|
|
90760
91048
|
var _common = __webpack_require__(70852);
|
90761
91049
|
|
90762
91050
|
var _common2 = __webpack_require__(25523);
|
90763
91051
|
|
90764
|
-
const
|
90765
|
-
|
90766
|
-
packagePath: _common2.PackagePathSchema,
|
90767
|
-
language: _common2.LanguageSchema,
|
90768
|
-
packageManager: _common2.PackageManagerSchema,
|
90769
|
-
runWay: _common.RunWaySchema,
|
90770
|
-
needModifyMWAConfig: _common.NeedModifyMWAConfigSchema
|
90771
|
-
};
|
91052
|
+
const MWASchemas = [_common2.PackageNameSchema, _common2.PackagePathSchema, _common2.LanguageSchema, _common2.PackageManagerSchema, _common.RunWaySchema, _common.NeedModifyMWAConfigSchema, _common.ClientRouteSchema, _common.DisableStateManagementSchema, _common.EnableMWALessSchema, _common.EnableMWASassSchema];
|
91053
|
+
exports.MWASchemas = MWASchemas;
|
90772
91054
|
const MWASchema = {
|
90773
91055
|
key: 'mwa',
|
90774
91056
|
isObject: true,
|
90775
|
-
items:
|
91057
|
+
items: MWASchemas
|
90776
91058
|
};
|
90777
91059
|
exports.MWASchema = MWASchema;
|
90778
91060
|
const MWADefaultConfig = {
|
90779
91061
|
language: _common2.Language.TS,
|
90780
91062
|
packageManager: _common2.PackageManager.Pnpm,
|
90781
91063
|
runWay: _common.RunWay.No,
|
90782
|
-
needModifyMWAConfig: _common2.BooleanConfig.NO
|
91064
|
+
needModifyMWAConfig: _common2.BooleanConfig.NO,
|
91065
|
+
clientRoute: _common.ClientRoute.SelfControlRoute,
|
91066
|
+
disableStateManagement: _common2.BooleanConfig.NO,
|
91067
|
+
enableLess: _common2.BooleanConfig.NO,
|
91068
|
+
enableSass: _common2.BooleanConfig.NO
|
90783
91069
|
};
|
90784
91070
|
exports.MWADefaultConfig = MWADefaultConfig;
|
90785
91071
|
|
@@ -90794,22 +91080,25 @@ exports.MWADefaultConfig = MWADefaultConfig;
|
|
90794
91080
|
Object.defineProperty(exports, "__esModule", ({
|
90795
91081
|
value: true
|
90796
91082
|
}));
|
90797
|
-
exports.ServerSchema = void 0;
|
91083
|
+
exports.ServerSchemas = exports.ServerSchema = exports.MWADefaultServerConfig = void 0;
|
90798
91084
|
|
90799
91085
|
var _locale = __webpack_require__(94646);
|
90800
91086
|
|
90801
91087
|
var _common = __webpack_require__(70852);
|
90802
91088
|
|
90803
|
-
const
|
90804
|
-
|
90805
|
-
};
|
91089
|
+
const ServerSchemas = [_common.FrameworkSchema];
|
91090
|
+
exports.ServerSchemas = ServerSchemas;
|
90806
91091
|
const ServerSchema = {
|
90807
91092
|
key: 'server',
|
90808
91093
|
label: () => _locale.i18n.t(_locale.localeKeys.action.element.server),
|
90809
91094
|
isObject: true,
|
90810
|
-
items:
|
91095
|
+
items: ServerSchemas
|
90811
91096
|
};
|
90812
91097
|
exports.ServerSchema = ServerSchema;
|
91098
|
+
const MWADefaultServerConfig = {
|
91099
|
+
framework: _common.Framework.Express
|
91100
|
+
};
|
91101
|
+
exports.MWADefaultServerConfig = MWADefaultServerConfig;
|
90813
91102
|
|
90814
91103
|
/***/ }),
|
90815
91104
|
|
@@ -90862,6 +91151,7 @@ exports.ActionFunction = ActionFunction;
|
|
90862
91151
|
ActionFunction["Storybook"] = "storybook";
|
90863
91152
|
ActionFunction["RuntimeApi"] = "runtimeApi";
|
90864
91153
|
ActionFunction["SSG"] = "ssg";
|
91154
|
+
ActionFunction["Deploy"] = "deploy";
|
90865
91155
|
})(ActionFunction || (exports.ActionFunction = ActionFunction = {}));
|
90866
91156
|
|
90867
91157
|
let ActionRefactor;
|
@@ -90897,7 +91187,8 @@ const ActionFunctionText = {
|
|
90897
91187
|
[ActionFunction.Doc]: () => _locale.i18n.t(_locale.localeKeys.action.function.doc),
|
90898
91188
|
[ActionFunction.Storybook]: () => _locale.i18n.t(_locale.localeKeys.action.function.storybook),
|
90899
91189
|
[ActionFunction.RuntimeApi]: () => _locale.i18n.t(_locale.localeKeys.action.function.runtime_api),
|
90900
|
-
[ActionFunction.SSG]: () => _locale.i18n.t(_locale.localeKeys.action.function.ssg)
|
91190
|
+
[ActionFunction.SSG]: () => _locale.i18n.t(_locale.localeKeys.action.function.ssg),
|
91191
|
+
[ActionFunction.Deploy]: () => _locale.i18n.t(_locale.localeKeys.action.function.deploy)
|
90901
91192
|
};
|
90902
91193
|
exports.ActionFunctionText = ActionFunctionText;
|
90903
91194
|
const ActionRefactorText = {
|
@@ -91120,9 +91411,9 @@ const MWAActionTypes = [_common.ActionType.Element, _common.ActionType.Function
|
|
91120
91411
|
];
|
91121
91412
|
exports.MWAActionTypes = MWAActionTypes;
|
91122
91413
|
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,
|
91123
|
-
_common.ActionFunction.Test, _common.ActionFunction.Storybook // ActionFunction.E2ETest,
|
91414
|
+
_common.ActionFunction.Test, _common.ActionFunction.Storybook, // ActionFunction.E2ETest,
|
91124
91415
|
// ActionFunction.Doc,
|
91125
|
-
];
|
91416
|
+
_common.ActionFunction.Deploy];
|
91126
91417
|
exports.MWAActionFunctions = MWAActionFunctions;
|
91127
91418
|
const MWAActionElements = [_common.ActionElement.Entry, _common.ActionElement.Server // ActionElement.Env,
|
91128
91419
|
];
|
@@ -91201,7 +91492,8 @@ const MWANewActionGenerators = {
|
|
91201
91492
|
[_common.ActionFunction.E2ETest]: '@modern-js/dependence-generator',
|
91202
91493
|
[_common.ActionFunction.Doc]: '@modern-js/dependence-generator',
|
91203
91494
|
[_common.ActionFunction.Storybook]: '@modern-js/dependence-generator',
|
91204
|
-
[_common.ActionFunction.SSG]: '@modern-js/ssg-generator'
|
91495
|
+
[_common.ActionFunction.SSG]: '@modern-js/ssg-generator',
|
91496
|
+
[_common.ActionFunction.Deploy]: '@modern-js/cloud-deploy-generator'
|
91205
91497
|
},
|
91206
91498
|
[_common.ActionType.Refactor]: {
|
91207
91499
|
[_common.ActionRefactor.BFFToApp]: '@modern-js/bff-refactor-generator'
|
@@ -91566,7 +91858,7 @@ var _merge2 = _interopRequireDefault(__webpack_require__(13904));
|
|
91566
91858
|
|
91567
91859
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
91568
91860
|
|
91569
|
-
var _codesmithApiApp = __webpack_require__(
|
91861
|
+
var _codesmithApiApp = __webpack_require__(3437);
|
91570
91862
|
|
91571
91863
|
var _generatorCommon = __webpack_require__(50828);
|
91572
91864
|
|
@@ -91584,11 +91876,13 @@ const getGeneratorPath = (generator, distTag) => {
|
|
91584
91876
|
|
91585
91877
|
const mergeDefaultConfig = context => {
|
91586
91878
|
const {
|
91587
|
-
|
91879
|
+
defaultSolution
|
91588
91880
|
} = context.config;
|
91589
91881
|
|
91590
|
-
if (
|
91591
|
-
(0, _merge2.default)(
|
91882
|
+
if (defaultSolution) {
|
91883
|
+
(0, _merge2.default)(context.config, {
|
91884
|
+
solution: defaultSolution
|
91885
|
+
}, _generatorCommon.SolutionDefualtConfig[defaultSolution]);
|
91592
91886
|
}
|
91593
91887
|
};
|
91594
91888
|
|