@modern-js/base-generator 1.1.0 → 1.1.3
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 +2483 -315
- package/package.json +6 -14
- package/templates/{.editorconfig → base-templates/.editorconfig} +0 -0
- package/templates/{.gitignore.handlebars → base-templates/.gitignore.handlebars} +1 -0
- package/templates/{.nvmrc → base-templates/.nvmrc} +0 -0
- package/templates/{.vscode → base-templates/.vscode}/extensions.json +1 -1
- package/templates/{.vscode → base-templates/.vscode}/settings.json +0 -0
- package/templates/idea/codeStyles/Project.xml +36 -0
- package/templates/idea/codeStyles/codeStyleConfig.xml +5 -0
- package/templates/idea/inspectionProfiles/Project_Default.xml +7 -0
- package/templates/idea/jsLinters/eslint.xml +6 -0
package/dist/js/node/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 67977:
|
|
5
5
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
@@ -12,13 +12,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
12
12
|
}));
|
|
13
13
|
exports.listNode = void 0;
|
|
14
14
|
|
|
15
|
-
var _easyFormCli = __webpack_require__(
|
|
15
|
+
var _easyFormCli = __webpack_require__(24191);
|
|
16
16
|
|
|
17
|
-
var _inquirerTypes = __webpack_require__(
|
|
17
|
+
var _inquirerTypes = __webpack_require__(46133);
|
|
18
18
|
|
|
19
|
-
var _constant = __webpack_require__(
|
|
19
|
+
var _constant = __webpack_require__(79503);
|
|
20
20
|
|
|
21
|
-
const
|
|
21
|
+
const registerListPrompt = inquirer => {
|
|
22
22
|
try {
|
|
23
23
|
inquirer.registerPrompt(_constant.CLI_TYPE.LISTNODE, _inquirerTypes.List);
|
|
24
24
|
} catch (error) {}
|
|
@@ -33,7 +33,7 @@ const listNode = options => {
|
|
|
33
33
|
promptModule,
|
|
34
34
|
childNodes
|
|
35
35
|
} = options;
|
|
36
|
-
|
|
36
|
+
registerListPrompt(inquirer);
|
|
37
37
|
return async answers => {
|
|
38
38
|
const listHandler = (0, _easyFormCli.toPromiseQuestionHandler)({
|
|
39
39
|
schema,
|
|
@@ -100,7 +100,7 @@ exports.listNode = listNode;
|
|
|
100
100
|
|
|
101
101
|
/***/ }),
|
|
102
102
|
|
|
103
|
-
/***/
|
|
103
|
+
/***/ 79503:
|
|
104
104
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
105
105
|
|
|
106
106
|
"use strict";
|
|
@@ -111,7 +111,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
111
111
|
}));
|
|
112
112
|
exports.CLI_TYPE = void 0;
|
|
113
113
|
|
|
114
|
-
var _easyFormCli = __webpack_require__(
|
|
114
|
+
var _easyFormCli = __webpack_require__(24191);
|
|
115
115
|
|
|
116
116
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
117
117
|
|
|
@@ -125,7 +125,7 @@ exports.CLI_TYPE = CLI_TYPE;
|
|
|
125
125
|
|
|
126
126
|
/***/ }),
|
|
127
127
|
|
|
128
|
-
/***/
|
|
128
|
+
/***/ 74370:
|
|
129
129
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
130
130
|
|
|
131
131
|
"use strict";
|
|
@@ -135,7 +135,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
135
135
|
value: true
|
|
136
136
|
}));
|
|
137
137
|
|
|
138
|
-
var _ListNode = __webpack_require__(
|
|
138
|
+
var _ListNode = __webpack_require__(67977);
|
|
139
139
|
|
|
140
140
|
Object.keys(_ListNode).forEach(function (key) {
|
|
141
141
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -150,7 +150,7 @@ Object.keys(_ListNode).forEach(function (key) {
|
|
|
150
150
|
|
|
151
151
|
/***/ }),
|
|
152
152
|
|
|
153
|
-
/***/
|
|
153
|
+
/***/ 3437:
|
|
154
154
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
155
155
|
|
|
156
156
|
"use strict";
|
|
@@ -183,19 +183,19 @@ var _execa = _interopRequireDefault(__webpack_require__(16228));
|
|
|
183
183
|
|
|
184
184
|
var _commentJson = __webpack_require__(66623);
|
|
185
185
|
|
|
186
|
-
var _codesmithApiNpm = __webpack_require__(
|
|
186
|
+
var _codesmithApiNpm = __webpack_require__(90423);
|
|
187
187
|
|
|
188
|
-
var _codesmithApiGit = __webpack_require__(
|
|
188
|
+
var _codesmithApiGit = __webpack_require__(64179);
|
|
189
189
|
|
|
190
|
-
var _codesmithApiHandlebars = __webpack_require__(
|
|
190
|
+
var _codesmithApiHandlebars = __webpack_require__(1849);
|
|
191
191
|
|
|
192
|
-
var _easyFormCli = __webpack_require__(
|
|
192
|
+
var _easyFormCli = __webpack_require__(24191);
|
|
193
193
|
|
|
194
|
-
var _transformSchema = __webpack_require__(
|
|
194
|
+
var _transformSchema = __webpack_require__(45921);
|
|
195
195
|
|
|
196
|
-
var handlers = _interopRequireWildcard(__webpack_require__(
|
|
196
|
+
var handlers = _interopRequireWildcard(__webpack_require__(74370));
|
|
197
197
|
|
|
198
|
-
var _locale = __webpack_require__(
|
|
198
|
+
var _locale = __webpack_require__(21557);
|
|
199
199
|
|
|
200
200
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
201
201
|
|
|
@@ -222,7 +222,7 @@ class AppAPI {
|
|
|
222
222
|
this.generatorCore = generatorCore;
|
|
223
223
|
this.generatorContext = generatorContext;
|
|
224
224
|
this.npmApi = new _codesmithApiNpm.NpmAPI(generatorCore);
|
|
225
|
-
this.gitApi = new _codesmithApiGit.GitAPI(generatorCore);
|
|
225
|
+
this.gitApi = new _codesmithApiGit.GitAPI(generatorCore, generatorContext);
|
|
226
226
|
this.handlebarsAPI = new _codesmithApiHandlebars.HandlebarsAPI(this.generatorCore);
|
|
227
227
|
}
|
|
228
228
|
|
|
@@ -409,7 +409,7 @@ exports.AppAPI = AppAPI;
|
|
|
409
409
|
|
|
410
410
|
/***/ }),
|
|
411
411
|
|
|
412
|
-
/***/
|
|
412
|
+
/***/ 31799:
|
|
413
413
|
/***/ ((__unused_webpack_module, exports) => {
|
|
414
414
|
|
|
415
415
|
"use strict";
|
|
@@ -448,7 +448,7 @@ exports.EN_LOCALE = EN_LOCALE;
|
|
|
448
448
|
|
|
449
449
|
/***/ }),
|
|
450
450
|
|
|
451
|
-
/***/
|
|
451
|
+
/***/ 21557:
|
|
452
452
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
453
453
|
|
|
454
454
|
"use strict";
|
|
@@ -465,11 +465,11 @@ Object.defineProperty(exports, "I18n", ({
|
|
|
465
465
|
}));
|
|
466
466
|
exports.localeKeys = exports.i18n = void 0;
|
|
467
467
|
|
|
468
|
-
var _pluginI18n = __webpack_require__(
|
|
468
|
+
var _pluginI18n = __webpack_require__(98368);
|
|
469
469
|
|
|
470
|
-
var _zh = __webpack_require__(
|
|
470
|
+
var _zh = __webpack_require__(88218);
|
|
471
471
|
|
|
472
|
-
var _en = __webpack_require__(
|
|
472
|
+
var _en = __webpack_require__(31799);
|
|
473
473
|
|
|
474
474
|
const i18n = new _pluginI18n.I18n();
|
|
475
475
|
exports.i18n = i18n;
|
|
@@ -481,7 +481,7 @@ exports.localeKeys = localeKeys;
|
|
|
481
481
|
|
|
482
482
|
/***/ }),
|
|
483
483
|
|
|
484
|
-
/***/
|
|
484
|
+
/***/ 88218:
|
|
485
485
|
/***/ ((__unused_webpack_module, exports) => {
|
|
486
486
|
|
|
487
487
|
"use strict";
|
|
@@ -520,7 +520,7 @@ exports.ZH_LOCALE = ZH_LOCALE;
|
|
|
520
520
|
|
|
521
521
|
/***/ }),
|
|
522
522
|
|
|
523
|
-
/***/
|
|
523
|
+
/***/ 45921:
|
|
524
524
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
525
525
|
|
|
526
526
|
"use strict";
|
|
@@ -533,7 +533,7 @@ exports.transformSchema = transformSchema;
|
|
|
533
533
|
|
|
534
534
|
var _isUndefined2 = _interopRequireDefault(__webpack_require__(88066));
|
|
535
535
|
|
|
536
|
-
var _easyFormCli = __webpack_require__(
|
|
536
|
+
var _easyFormCli = __webpack_require__(24191);
|
|
537
537
|
|
|
538
538
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
539
539
|
|
|
@@ -580,7 +580,7 @@ function transformSchema(schema, configValue = {}, validateMap = {}) {
|
|
|
580
580
|
|
|
581
581
|
/***/ }),
|
|
582
582
|
|
|
583
|
-
/***/
|
|
583
|
+
/***/ 64179:
|
|
584
584
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
585
585
|
|
|
586
586
|
"use strict";
|
|
@@ -591,12 +591,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
591
591
|
}));
|
|
592
592
|
exports.GitAPI = void 0;
|
|
593
593
|
|
|
594
|
-
var _utils = __webpack_require__(
|
|
594
|
+
var _utils = __webpack_require__(6818);
|
|
595
595
|
|
|
596
596
|
class GitAPI {
|
|
597
|
-
constructor(generatorCore) {
|
|
597
|
+
constructor(generatorCore, generatorContext) {
|
|
598
598
|
this.generatorCore = void 0;
|
|
599
|
+
this.generatorContext = void 0;
|
|
599
600
|
this.generatorCore = generatorCore;
|
|
601
|
+
this.generatorContext = generatorContext;
|
|
600
602
|
}
|
|
601
603
|
|
|
602
604
|
async isInGitRepo(cwd = this.generatorCore.outputPath) {
|
|
@@ -624,7 +626,16 @@ class GitAPI {
|
|
|
624
626
|
}
|
|
625
627
|
|
|
626
628
|
try {
|
|
627
|
-
|
|
629
|
+
const {
|
|
630
|
+
config: {
|
|
631
|
+
defaultBranch = 'master'
|
|
632
|
+
}
|
|
633
|
+
} = this.generatorContext || {
|
|
634
|
+
config: {
|
|
635
|
+
defaultBranch: 'master'
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
await (0, _utils.initGitRepo)(cwd, defaultBranch);
|
|
628
639
|
} catch (e) {
|
|
629
640
|
this.generatorCore.logger.debug('[GitAPI.error]:', e);
|
|
630
641
|
throw e;
|
|
@@ -653,7 +664,7 @@ exports.GitAPI = GitAPI;
|
|
|
653
664
|
|
|
654
665
|
/***/ }),
|
|
655
666
|
|
|
656
|
-
/***/
|
|
667
|
+
/***/ 6818:
|
|
657
668
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
658
669
|
|
|
659
670
|
"use strict";
|
|
@@ -695,11 +706,24 @@ async function isInGitRepo(cwd) {
|
|
|
695
706
|
}
|
|
696
707
|
}
|
|
697
708
|
|
|
698
|
-
async function initGitRepo(cwd) {
|
|
709
|
+
async function initGitRepo(cwd, defaultBranch) {
|
|
699
710
|
await (0, _execa.default)('git', ['init'], {
|
|
700
711
|
env: process.env,
|
|
701
712
|
cwd
|
|
702
713
|
});
|
|
714
|
+
const {
|
|
715
|
+
stdout
|
|
716
|
+
} = await (0, _execa.default)('git', ['symbolic-ref', '--short', 'HEAD'], {
|
|
717
|
+
env: process.env,
|
|
718
|
+
cwd
|
|
719
|
+
});
|
|
720
|
+
|
|
721
|
+
if (stdout !== defaultBranch) {
|
|
722
|
+
await (0, _execa.default)('git', ['checkout', '-b', defaultBranch], {
|
|
723
|
+
env: process.env,
|
|
724
|
+
cwd
|
|
725
|
+
});
|
|
726
|
+
}
|
|
703
727
|
}
|
|
704
728
|
|
|
705
729
|
async function gitAdd(cwd) {
|
|
@@ -718,7 +742,7 @@ async function gitCommit(cwd, commitMessage) {
|
|
|
718
742
|
|
|
719
743
|
/***/ }),
|
|
720
744
|
|
|
721
|
-
/***/
|
|
745
|
+
/***/ 1849:
|
|
722
746
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
723
747
|
|
|
724
748
|
"use strict";
|
|
@@ -735,9 +759,9 @@ Object.defineProperty(exports, "renderString", ({
|
|
|
735
759
|
}
|
|
736
760
|
}));
|
|
737
761
|
|
|
738
|
-
var _codesmith = __webpack_require__(
|
|
762
|
+
var _codesmith = __webpack_require__(54345);
|
|
739
763
|
|
|
740
|
-
var _utils = __webpack_require__(
|
|
764
|
+
var _utils = __webpack_require__(40682);
|
|
741
765
|
|
|
742
766
|
class HandlebarsAPI {
|
|
743
767
|
constructor(generatorCore, registers) {
|
|
@@ -781,7 +805,7 @@ exports.HandlebarsAPI = HandlebarsAPI;
|
|
|
781
805
|
|
|
782
806
|
/***/ }),
|
|
783
807
|
|
|
784
|
-
/***/
|
|
808
|
+
/***/ 40682:
|
|
785
809
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
786
810
|
|
|
787
811
|
"use strict";
|
|
@@ -797,11 +821,11 @@ Object.defineProperty(exports, "renderString", ({
|
|
|
797
821
|
}
|
|
798
822
|
}));
|
|
799
823
|
|
|
800
|
-
var _renderString = __webpack_require__(
|
|
824
|
+
var _renderString = __webpack_require__(60311);
|
|
801
825
|
|
|
802
826
|
/***/ }),
|
|
803
827
|
|
|
804
|
-
/***/
|
|
828
|
+
/***/ 60311:
|
|
805
829
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
806
830
|
|
|
807
831
|
"use strict";
|
|
@@ -834,7 +858,7 @@ function renderString(template, fullData, registers) {
|
|
|
834
858
|
|
|
835
859
|
/***/ }),
|
|
836
860
|
|
|
837
|
-
/***/
|
|
861
|
+
/***/ 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
|
+
/***/ 98368:
|
|
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__(24033);
|
|
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
|
+
/***/ 24033:
|
|
5634
5658
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5635
5659
|
|
|
5636
5660
|
"use strict";
|
|
@@ -7691,8 +7715,8 @@ var buildFullPath = __webpack_require__(95889);
|
|
|
7691
7715
|
var buildURL = __webpack_require__(52737);
|
|
7692
7716
|
var http = __webpack_require__(13685);
|
|
7693
7717
|
var https = __webpack_require__(95687);
|
|
7694
|
-
var httpFollow = (__webpack_require__(
|
|
7695
|
-
var httpsFollow = (__webpack_require__(
|
|
7718
|
+
var httpFollow = (__webpack_require__(22117).http);
|
|
7719
|
+
var httpsFollow = (__webpack_require__(22117).https);
|
|
7696
7720
|
var url = __webpack_require__(57310);
|
|
7697
7721
|
var zlib = __webpack_require__(59796);
|
|
7698
7722
|
var pkg = __webpack_require__(31025);
|
|
@@ -17352,7 +17376,7 @@ module.exports = resolveCommand;
|
|
|
17352
17376
|
|
|
17353
17377
|
/***/ }),
|
|
17354
17378
|
|
|
17355
|
-
/***/
|
|
17379
|
+
/***/ 88351:
|
|
17356
17380
|
/***/ ((module, exports, __webpack_require__) => {
|
|
17357
17381
|
|
|
17358
17382
|
/* eslint-env browser */
|
|
@@ -17609,7 +17633,7 @@ function localstorage() {
|
|
|
17609
17633
|
}
|
|
17610
17634
|
}
|
|
17611
17635
|
|
|
17612
|
-
module.exports = __webpack_require__(
|
|
17636
|
+
module.exports = __webpack_require__(19507)(exports);
|
|
17613
17637
|
|
|
17614
17638
|
const {formatters} = module.exports;
|
|
17615
17639
|
|
|
@@ -17628,7 +17652,7 @@ formatters.j = function (v) {
|
|
|
17628
17652
|
|
|
17629
17653
|
/***/ }),
|
|
17630
17654
|
|
|
17631
|
-
/***/
|
|
17655
|
+
/***/ 19507:
|
|
17632
17656
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17633
17657
|
|
|
17634
17658
|
|
|
@@ -17667,7 +17691,7 @@ function setup(env) {
|
|
|
17667
17691
|
|
|
17668
17692
|
/**
|
|
17669
17693
|
* Selects a color for a debug namespace
|
|
17670
|
-
* @param {String} namespace The namespace string for the
|
|
17694
|
+
* @param {String} namespace The namespace string for the debug instance to be colored
|
|
17671
17695
|
* @return {Number|String} An ANSI color code for the given namespace
|
|
17672
17696
|
* @api private
|
|
17673
17697
|
*/
|
|
@@ -17909,7 +17933,7 @@ module.exports = setup;
|
|
|
17909
17933
|
|
|
17910
17934
|
/***/ }),
|
|
17911
17935
|
|
|
17912
|
-
/***/
|
|
17936
|
+
/***/ 68919:
|
|
17913
17937
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17914
17938
|
|
|
17915
17939
|
/**
|
|
@@ -17918,15 +17942,15 @@ module.exports = setup;
|
|
|
17918
17942
|
*/
|
|
17919
17943
|
|
|
17920
17944
|
if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
|
|
17921
|
-
module.exports = __webpack_require__(
|
|
17945
|
+
module.exports = __webpack_require__(88351);
|
|
17922
17946
|
} else {
|
|
17923
|
-
module.exports = __webpack_require__(
|
|
17947
|
+
module.exports = __webpack_require__(89534);
|
|
17924
17948
|
}
|
|
17925
17949
|
|
|
17926
17950
|
|
|
17927
17951
|
/***/ }),
|
|
17928
17952
|
|
|
17929
|
-
/***/
|
|
17953
|
+
/***/ 89534:
|
|
17930
17954
|
/***/ ((module, exports, __webpack_require__) => {
|
|
17931
17955
|
|
|
17932
17956
|
/**
|
|
@@ -18168,7 +18192,7 @@ function init(debug) {
|
|
|
18168
18192
|
}
|
|
18169
18193
|
}
|
|
18170
18194
|
|
|
18171
|
-
module.exports = __webpack_require__(
|
|
18195
|
+
module.exports = __webpack_require__(19507)(exports);
|
|
18172
18196
|
|
|
18173
18197
|
const {formatters} = module.exports;
|
|
18174
18198
|
|
|
@@ -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
|
|
|
@@ -26659,7 +26683,7 @@ module.exports.windows = windows;
|
|
|
26659
26683
|
|
|
26660
26684
|
/***/ }),
|
|
26661
26685
|
|
|
26662
|
-
/***/
|
|
26686
|
+
/***/ 42846:
|
|
26663
26687
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26664
26688
|
|
|
26665
26689
|
var debug;
|
|
@@ -26668,7 +26692,7 @@ module.exports = function () {
|
|
|
26668
26692
|
if (!debug) {
|
|
26669
26693
|
try {
|
|
26670
26694
|
/* eslint global-require: off */
|
|
26671
|
-
debug = __webpack_require__(
|
|
26695
|
+
debug = __webpack_require__(68919)("follow-redirects");
|
|
26672
26696
|
}
|
|
26673
26697
|
catch (error) { /* */ }
|
|
26674
26698
|
if (typeof debug !== "function") {
|
|
@@ -26681,7 +26705,7 @@ module.exports = function () {
|
|
|
26681
26705
|
|
|
26682
26706
|
/***/ }),
|
|
26683
26707
|
|
|
26684
|
-
/***/
|
|
26708
|
+
/***/ 22117:
|
|
26685
26709
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26686
26710
|
|
|
26687
26711
|
var url = __webpack_require__(57310);
|
|
@@ -26690,7 +26714,7 @@ var http = __webpack_require__(13685);
|
|
|
26690
26714
|
var https = __webpack_require__(95687);
|
|
26691
26715
|
var Writable = (__webpack_require__(12781).Writable);
|
|
26692
26716
|
var assert = __webpack_require__(39491);
|
|
26693
|
-
var debug = __webpack_require__(
|
|
26717
|
+
var debug = __webpack_require__(42846);
|
|
26694
26718
|
|
|
26695
26719
|
// Create handlers that pass events from native requests
|
|
26696
26720
|
var events = ["abort", "aborted", "connect", "error", "socket", "timeout"];
|
|
@@ -27211,11 +27235,12 @@ function removeMatchingHeaders(regex, headers) {
|
|
|
27211
27235
|
var lastValue;
|
|
27212
27236
|
for (var header in headers) {
|
|
27213
27237
|
if (regex.test(header)) {
|
|
27214
|
-
lastValue = headers[header]
|
|
27238
|
+
lastValue = headers[header];
|
|
27215
27239
|
delete headers[header];
|
|
27216
27240
|
}
|
|
27217
27241
|
}
|
|
27218
|
-
return lastValue
|
|
27242
|
+
return (lastValue === null || typeof lastValue === "undefined") ?
|
|
27243
|
+
undefined : String(lastValue).trim();
|
|
27219
27244
|
}
|
|
27220
27245
|
|
|
27221
27246
|
function createErrorType(code, defaultMessage) {
|
|
@@ -29261,7 +29286,7 @@ module.exports = {
|
|
|
29261
29286
|
|
|
29262
29287
|
"use strict";
|
|
29263
29288
|
|
|
29264
|
-
const MiniPass = __webpack_require__(
|
|
29289
|
+
const MiniPass = __webpack_require__(81675)
|
|
29265
29290
|
const EE = (__webpack_require__(82361).EventEmitter)
|
|
29266
29291
|
const fs = __webpack_require__(57147)
|
|
29267
29292
|
|
|
@@ -31877,13 +31902,13 @@ GlobSync.prototype._makeAbs = function (f) {
|
|
|
31877
31902
|
|
|
31878
31903
|
/***/ }),
|
|
31879
31904
|
|
|
31880
|
-
/***/
|
|
31905
|
+
/***/ 39026:
|
|
31881
31906
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
31882
31907
|
|
|
31883
31908
|
"use strict";
|
|
31884
31909
|
|
|
31885
31910
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
31886
|
-
const types_1 = __webpack_require__(
|
|
31911
|
+
const types_1 = __webpack_require__(10009);
|
|
31887
31912
|
function createRejection(error, ...beforeErrorGroups) {
|
|
31888
31913
|
const promise = (async () => {
|
|
31889
31914
|
if (error instanceof types_1.RequestError) {
|
|
@@ -31915,7 +31940,7 @@ exports["default"] = createRejection;
|
|
|
31915
31940
|
|
|
31916
31941
|
/***/ }),
|
|
31917
31942
|
|
|
31918
|
-
/***/
|
|
31943
|
+
/***/ 93285:
|
|
31919
31944
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
31920
31945
|
|
|
31921
31946
|
"use strict";
|
|
@@ -31934,12 +31959,12 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
31934
31959
|
const events_1 = __webpack_require__(82361);
|
|
31935
31960
|
const is_1 = __webpack_require__(49460);
|
|
31936
31961
|
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__(
|
|
31962
|
+
const types_1 = __webpack_require__(10009);
|
|
31963
|
+
const parse_body_1 = __webpack_require__(58405);
|
|
31964
|
+
const core_1 = __webpack_require__(40753);
|
|
31965
|
+
const proxy_events_1 = __webpack_require__(47538);
|
|
31966
|
+
const get_buffer_1 = __webpack_require__(21750);
|
|
31967
|
+
const is_response_ok_1 = __webpack_require__(67930);
|
|
31943
31968
|
const proxiedRequestEvents = [
|
|
31944
31969
|
'request',
|
|
31945
31970
|
'response',
|
|
@@ -32093,12 +32118,12 @@ function asPromise(normalizedOptions) {
|
|
|
32093
32118
|
return promise;
|
|
32094
32119
|
}
|
|
32095
32120
|
exports["default"] = asPromise;
|
|
32096
|
-
__exportStar(__webpack_require__(
|
|
32121
|
+
__exportStar(__webpack_require__(10009), exports);
|
|
32097
32122
|
|
|
32098
32123
|
|
|
32099
32124
|
/***/ }),
|
|
32100
32125
|
|
|
32101
|
-
/***/
|
|
32126
|
+
/***/ 11307:
|
|
32102
32127
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
32103
32128
|
|
|
32104
32129
|
"use strict";
|
|
@@ -32184,13 +32209,13 @@ exports["default"] = normalizeArguments;
|
|
|
32184
32209
|
|
|
32185
32210
|
/***/ }),
|
|
32186
32211
|
|
|
32187
|
-
/***/
|
|
32212
|
+
/***/ 58405:
|
|
32188
32213
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
32189
32214
|
|
|
32190
32215
|
"use strict";
|
|
32191
32216
|
|
|
32192
32217
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
32193
|
-
const types_1 = __webpack_require__(
|
|
32218
|
+
const types_1 = __webpack_require__(10009);
|
|
32194
32219
|
const parseBody = (response, responseType, parseJson, encoding) => {
|
|
32195
32220
|
const { rawBody } = response;
|
|
32196
32221
|
try {
|
|
@@ -32217,7 +32242,7 @@ exports["default"] = parseBody;
|
|
|
32217
32242
|
|
|
32218
32243
|
/***/ }),
|
|
32219
32244
|
|
|
32220
|
-
/***/
|
|
32245
|
+
/***/ 10009:
|
|
32221
32246
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
32222
32247
|
|
|
32223
32248
|
"use strict";
|
|
@@ -32234,7 +32259,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
32234
32259
|
};
|
|
32235
32260
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
32236
32261
|
exports.CancelError = exports.ParseError = void 0;
|
|
32237
|
-
const core_1 = __webpack_require__(
|
|
32262
|
+
const core_1 = __webpack_require__(40753);
|
|
32238
32263
|
/**
|
|
32239
32264
|
An error to be thrown when server response code is 2xx, and parsing body fails.
|
|
32240
32265
|
Includes a `response` property.
|
|
@@ -32244,6 +32269,7 @@ class ParseError extends core_1.RequestError {
|
|
|
32244
32269
|
const { options } = response.request;
|
|
32245
32270
|
super(`${error.message} in "${options.url.toString()}"`, error, response.request);
|
|
32246
32271
|
this.name = 'ParseError';
|
|
32272
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_BODY_PARSE_FAILURE' : this.code;
|
|
32247
32273
|
}
|
|
32248
32274
|
}
|
|
32249
32275
|
exports.ParseError = ParseError;
|
|
@@ -32254,18 +32280,19 @@ class CancelError extends core_1.RequestError {
|
|
|
32254
32280
|
constructor(request) {
|
|
32255
32281
|
super('Promise was canceled', {}, request);
|
|
32256
32282
|
this.name = 'CancelError';
|
|
32283
|
+
this.code = 'ERR_CANCELED';
|
|
32257
32284
|
}
|
|
32258
32285
|
get isCanceled() {
|
|
32259
32286
|
return true;
|
|
32260
32287
|
}
|
|
32261
32288
|
}
|
|
32262
32289
|
exports.CancelError = CancelError;
|
|
32263
|
-
__exportStar(__webpack_require__(
|
|
32290
|
+
__exportStar(__webpack_require__(40753), exports);
|
|
32264
32291
|
|
|
32265
32292
|
|
|
32266
32293
|
/***/ }),
|
|
32267
32294
|
|
|
32268
|
-
/***/
|
|
32295
|
+
/***/ 1512:
|
|
32269
32296
|
/***/ ((__unused_webpack_module, exports) => {
|
|
32270
32297
|
|
|
32271
32298
|
"use strict";
|
|
@@ -32302,7 +32329,7 @@ exports["default"] = calculateRetryDelay;
|
|
|
32302
32329
|
|
|
32303
32330
|
/***/ }),
|
|
32304
32331
|
|
|
32305
|
-
/***/
|
|
32332
|
+
/***/ 40753:
|
|
32306
32333
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
32307
32334
|
|
|
32308
32335
|
"use strict";
|
|
@@ -32324,19 +32351,19 @@ const decompressResponse = __webpack_require__(8673);
|
|
|
32324
32351
|
const http2wrapper = __webpack_require__(14277);
|
|
32325
32352
|
const lowercaseKeys = __webpack_require__(5974);
|
|
32326
32353
|
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__(
|
|
32354
|
+
const get_body_size_1 = __webpack_require__(96004);
|
|
32355
|
+
const is_form_data_1 = __webpack_require__(99678);
|
|
32356
|
+
const proxy_events_1 = __webpack_require__(47538);
|
|
32357
|
+
const timed_out_1 = __webpack_require__(69012);
|
|
32358
|
+
const url_to_options_1 = __webpack_require__(22326);
|
|
32359
|
+
const options_to_url_1 = __webpack_require__(84045);
|
|
32360
|
+
const weakable_map_1 = __webpack_require__(37954);
|
|
32361
|
+
const get_buffer_1 = __webpack_require__(21750);
|
|
32362
|
+
const dns_ip_version_1 = __webpack_require__(26855);
|
|
32363
|
+
const is_response_ok_1 = __webpack_require__(67930);
|
|
32364
|
+
const deprecation_warning_1 = __webpack_require__(45907);
|
|
32365
|
+
const normalize_arguments_1 = __webpack_require__(11307);
|
|
32366
|
+
const calculate_retry_delay_1 = __webpack_require__(1512);
|
|
32340
32367
|
let globalDnsCache;
|
|
32341
32368
|
const kRequest = Symbol('request');
|
|
32342
32369
|
const kResponse = Symbol('response');
|
|
@@ -32429,11 +32456,11 @@ Contains a `code` property with error class code, like `ECONNREFUSED`.
|
|
|
32429
32456
|
*/
|
|
32430
32457
|
class RequestError extends Error {
|
|
32431
32458
|
constructor(message, error, self) {
|
|
32432
|
-
var _a;
|
|
32459
|
+
var _a, _b;
|
|
32433
32460
|
super(message);
|
|
32434
32461
|
Error.captureStackTrace(this, this.constructor);
|
|
32435
32462
|
this.name = 'RequestError';
|
|
32436
|
-
this.code = error.code;
|
|
32463
|
+
this.code = (_a = error.code) !== null && _a !== void 0 ? _a : 'ERR_GOT_REQUEST_ERROR';
|
|
32437
32464
|
if (self instanceof Request) {
|
|
32438
32465
|
Object.defineProperty(this, 'request', {
|
|
32439
32466
|
enumerable: false,
|
|
@@ -32458,7 +32485,7 @@ class RequestError extends Error {
|
|
|
32458
32485
|
value: self
|
|
32459
32486
|
});
|
|
32460
32487
|
}
|
|
32461
|
-
this.timings = (
|
|
32488
|
+
this.timings = (_b = this.request) === null || _b === void 0 ? void 0 : _b.timings;
|
|
32462
32489
|
// Recover the original stacktrace
|
|
32463
32490
|
if (is_1.default.string(error.stack) && is_1.default.string(this.stack)) {
|
|
32464
32491
|
const indexOfMessage = this.stack.indexOf(this.message) + this.message.length;
|
|
@@ -32481,6 +32508,7 @@ class MaxRedirectsError extends RequestError {
|
|
|
32481
32508
|
constructor(request) {
|
|
32482
32509
|
super(`Redirected ${request.options.maxRedirects} times. Aborting.`, {}, request);
|
|
32483
32510
|
this.name = 'MaxRedirectsError';
|
|
32511
|
+
this.code = 'ERR_TOO_MANY_REDIRECTS';
|
|
32484
32512
|
}
|
|
32485
32513
|
}
|
|
32486
32514
|
exports.MaxRedirectsError = MaxRedirectsError;
|
|
@@ -32492,6 +32520,7 @@ class HTTPError extends RequestError {
|
|
|
32492
32520
|
constructor(response) {
|
|
32493
32521
|
super(`Response code ${response.statusCode} (${response.statusMessage})`, {}, response.request);
|
|
32494
32522
|
this.name = 'HTTPError';
|
|
32523
|
+
this.code = 'ERR_NON_2XX_3XX_RESPONSE';
|
|
32495
32524
|
}
|
|
32496
32525
|
}
|
|
32497
32526
|
exports.HTTPError = HTTPError;
|
|
@@ -32503,6 +32532,7 @@ class CacheError extends RequestError {
|
|
|
32503
32532
|
constructor(error, request) {
|
|
32504
32533
|
super(error.message, error, request);
|
|
32505
32534
|
this.name = 'CacheError';
|
|
32535
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_CACHE_ACCESS' : this.code;
|
|
32506
32536
|
}
|
|
32507
32537
|
}
|
|
32508
32538
|
exports.CacheError = CacheError;
|
|
@@ -32513,6 +32543,7 @@ class UploadError extends RequestError {
|
|
|
32513
32543
|
constructor(error, request) {
|
|
32514
32544
|
super(error.message, error, request);
|
|
32515
32545
|
this.name = 'UploadError';
|
|
32546
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_UPLOAD' : this.code;
|
|
32516
32547
|
}
|
|
32517
32548
|
}
|
|
32518
32549
|
exports.UploadError = UploadError;
|
|
@@ -32536,6 +32567,7 @@ class ReadError extends RequestError {
|
|
|
32536
32567
|
constructor(error, request) {
|
|
32537
32568
|
super(error.message, error, request);
|
|
32538
32569
|
this.name = 'ReadError';
|
|
32570
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_READING_RESPONSE_STREAM' : this.code;
|
|
32539
32571
|
}
|
|
32540
32572
|
}
|
|
32541
32573
|
exports.ReadError = ReadError;
|
|
@@ -32546,6 +32578,7 @@ class UnsupportedProtocolError extends RequestError {
|
|
|
32546
32578
|
constructor(options) {
|
|
32547
32579
|
super(`Unsupported protocol "${options.url.protocol}"`, {}, options);
|
|
32548
32580
|
this.name = 'UnsupportedProtocolError';
|
|
32581
|
+
this.code = 'ERR_UNSUPPORTED_PROTOCOL';
|
|
32549
32582
|
}
|
|
32550
32583
|
}
|
|
32551
32584
|
exports.UnsupportedProtocolError = UnsupportedProtocolError;
|
|
@@ -33801,7 +33834,7 @@ exports["default"] = Request;
|
|
|
33801
33834
|
|
|
33802
33835
|
/***/ }),
|
|
33803
33836
|
|
|
33804
|
-
/***/
|
|
33837
|
+
/***/ 26855:
|
|
33805
33838
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33806
33839
|
|
|
33807
33840
|
"use strict";
|
|
@@ -33826,7 +33859,7 @@ exports.dnsLookupIpVersionToFamily = (dnsLookupIpVersion) => {
|
|
|
33826
33859
|
|
|
33827
33860
|
/***/ }),
|
|
33828
33861
|
|
|
33829
|
-
/***/
|
|
33862
|
+
/***/ 96004:
|
|
33830
33863
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
33831
33864
|
|
|
33832
33865
|
"use strict";
|
|
@@ -33835,7 +33868,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
33835
33868
|
const fs_1 = __webpack_require__(57147);
|
|
33836
33869
|
const util_1 = __webpack_require__(73837);
|
|
33837
33870
|
const is_1 = __webpack_require__(49460);
|
|
33838
|
-
const is_form_data_1 = __webpack_require__(
|
|
33871
|
+
const is_form_data_1 = __webpack_require__(99678);
|
|
33839
33872
|
const statAsync = util_1.promisify(fs_1.stat);
|
|
33840
33873
|
exports["default"] = async (body, headers) => {
|
|
33841
33874
|
if (headers && 'content-length' in headers) {
|
|
@@ -33866,7 +33899,7 @@ exports["default"] = async (body, headers) => {
|
|
|
33866
33899
|
|
|
33867
33900
|
/***/ }),
|
|
33868
33901
|
|
|
33869
|
-
/***/
|
|
33902
|
+
/***/ 21750:
|
|
33870
33903
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33871
33904
|
|
|
33872
33905
|
"use strict";
|
|
@@ -33890,7 +33923,7 @@ exports["default"] = getBuffer;
|
|
|
33890
33923
|
|
|
33891
33924
|
/***/ }),
|
|
33892
33925
|
|
|
33893
|
-
/***/
|
|
33926
|
+
/***/ 99678:
|
|
33894
33927
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
33895
33928
|
|
|
33896
33929
|
"use strict";
|
|
@@ -33902,7 +33935,7 @@ exports["default"] = (body) => is_1.default.nodeStream(body) && is_1.default.fun
|
|
|
33902
33935
|
|
|
33903
33936
|
/***/ }),
|
|
33904
33937
|
|
|
33905
|
-
/***/
|
|
33938
|
+
/***/ 67930:
|
|
33906
33939
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33907
33940
|
|
|
33908
33941
|
"use strict";
|
|
@@ -33918,7 +33951,7 @@ exports.isResponseOk = (response) => {
|
|
|
33918
33951
|
|
|
33919
33952
|
/***/ }),
|
|
33920
33953
|
|
|
33921
|
-
/***/
|
|
33954
|
+
/***/ 84045:
|
|
33922
33955
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
33923
33956
|
|
|
33924
33957
|
"use strict";
|
|
@@ -33979,7 +34012,7 @@ exports["default"] = (origin, options) => {
|
|
|
33979
34012
|
|
|
33980
34013
|
/***/ }),
|
|
33981
34014
|
|
|
33982
|
-
/***/
|
|
34015
|
+
/***/ 47538:
|
|
33983
34016
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33984
34017
|
|
|
33985
34018
|
"use strict";
|
|
@@ -34004,7 +34037,7 @@ exports["default"] = default_1;
|
|
|
34004
34037
|
|
|
34005
34038
|
/***/ }),
|
|
34006
34039
|
|
|
34007
|
-
/***/
|
|
34040
|
+
/***/ 69012:
|
|
34008
34041
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
34009
34042
|
|
|
34010
34043
|
"use strict";
|
|
@@ -34012,7 +34045,7 @@ exports["default"] = default_1;
|
|
|
34012
34045
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34013
34046
|
exports.TimeoutError = void 0;
|
|
34014
34047
|
const net = __webpack_require__(41808);
|
|
34015
|
-
const unhandle_1 = __webpack_require__(
|
|
34048
|
+
const unhandle_1 = __webpack_require__(47884);
|
|
34016
34049
|
const reentry = Symbol('reentry');
|
|
34017
34050
|
const noop = () => { };
|
|
34018
34051
|
class TimeoutError extends Error {
|
|
@@ -34133,7 +34166,7 @@ exports["default"] = (request, delays, options) => {
|
|
|
34133
34166
|
|
|
34134
34167
|
/***/ }),
|
|
34135
34168
|
|
|
34136
|
-
/***/
|
|
34169
|
+
/***/ 47884:
|
|
34137
34170
|
/***/ ((__unused_webpack_module, exports) => {
|
|
34138
34171
|
|
|
34139
34172
|
"use strict";
|
|
@@ -34163,7 +34196,7 @@ exports["default"] = () => {
|
|
|
34163
34196
|
|
|
34164
34197
|
/***/ }),
|
|
34165
34198
|
|
|
34166
|
-
/***/
|
|
34199
|
+
/***/ 22326:
|
|
34167
34200
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
34168
34201
|
|
|
34169
34202
|
"use strict";
|
|
@@ -34195,7 +34228,7 @@ exports["default"] = (url) => {
|
|
|
34195
34228
|
|
|
34196
34229
|
/***/ }),
|
|
34197
34230
|
|
|
34198
|
-
/***/
|
|
34231
|
+
/***/ 37954:
|
|
34199
34232
|
/***/ ((__unused_webpack_module, exports) => {
|
|
34200
34233
|
|
|
34201
34234
|
"use strict";
|
|
@@ -34232,7 +34265,7 @@ exports["default"] = WeakableMap;
|
|
|
34232
34265
|
|
|
34233
34266
|
/***/ }),
|
|
34234
34267
|
|
|
34235
|
-
/***/
|
|
34268
|
+
/***/ 79613:
|
|
34236
34269
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
34237
34270
|
|
|
34238
34271
|
"use strict";
|
|
@@ -34250,10 +34283,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
34250
34283
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34251
34284
|
exports.defaultHandler = void 0;
|
|
34252
34285
|
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__(
|
|
34286
|
+
const as_promise_1 = __webpack_require__(93285);
|
|
34287
|
+
const create_rejection_1 = __webpack_require__(39026);
|
|
34288
|
+
const core_1 = __webpack_require__(40753);
|
|
34289
|
+
const deep_freeze_1 = __webpack_require__(77116);
|
|
34257
34290
|
const errors = {
|
|
34258
34291
|
RequestError: as_promise_1.RequestError,
|
|
34259
34292
|
CacheError: as_promise_1.CacheError,
|
|
@@ -34475,12 +34508,12 @@ const create = (defaults) => {
|
|
|
34475
34508
|
return got;
|
|
34476
34509
|
};
|
|
34477
34510
|
exports["default"] = create;
|
|
34478
|
-
__exportStar(__webpack_require__(
|
|
34511
|
+
__exportStar(__webpack_require__(37335), exports);
|
|
34479
34512
|
|
|
34480
34513
|
|
|
34481
34514
|
/***/ }),
|
|
34482
34515
|
|
|
34483
|
-
/***/
|
|
34516
|
+
/***/ 98351:
|
|
34484
34517
|
/***/ (function(module, exports, __webpack_require__) {
|
|
34485
34518
|
|
|
34486
34519
|
"use strict";
|
|
@@ -34497,7 +34530,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
34497
34530
|
};
|
|
34498
34531
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34499
34532
|
const url_1 = __webpack_require__(57310);
|
|
34500
|
-
const create_1 = __webpack_require__(
|
|
34533
|
+
const create_1 = __webpack_require__(79613);
|
|
34501
34534
|
const defaults = {
|
|
34502
34535
|
options: {
|
|
34503
34536
|
method: 'GET',
|
|
@@ -34614,13 +34647,13 @@ exports["default"] = got;
|
|
|
34614
34647
|
module.exports = got;
|
|
34615
34648
|
module.exports["default"] = got;
|
|
34616
34649
|
module.exports.__esModule = true; // Workaround for TS issue: https://github.com/sindresorhus/got/pull/1267
|
|
34617
|
-
__exportStar(__webpack_require__(
|
|
34618
|
-
__exportStar(__webpack_require__(
|
|
34650
|
+
__exportStar(__webpack_require__(79613), exports);
|
|
34651
|
+
__exportStar(__webpack_require__(93285), exports);
|
|
34619
34652
|
|
|
34620
34653
|
|
|
34621
34654
|
/***/ }),
|
|
34622
34655
|
|
|
34623
|
-
/***/
|
|
34656
|
+
/***/ 37335:
|
|
34624
34657
|
/***/ ((__unused_webpack_module, exports) => {
|
|
34625
34658
|
|
|
34626
34659
|
"use strict";
|
|
@@ -34630,7 +34663,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
34630
34663
|
|
|
34631
34664
|
/***/ }),
|
|
34632
34665
|
|
|
34633
|
-
/***/
|
|
34666
|
+
/***/ 77116:
|
|
34634
34667
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
34635
34668
|
|
|
34636
34669
|
"use strict";
|
|
@@ -34650,7 +34683,7 @@ exports["default"] = deepFreeze;
|
|
|
34650
34683
|
|
|
34651
34684
|
/***/ }),
|
|
34652
34685
|
|
|
34653
|
-
/***/
|
|
34686
|
+
/***/ 45907:
|
|
34654
34687
|
/***/ ((__unused_webpack_module, exports) => {
|
|
34655
34688
|
|
|
34656
34689
|
"use strict";
|
|
@@ -35633,7 +35666,7 @@ var _handlebarsRuntime2 = _interopRequireDefault(_handlebarsRuntime);
|
|
|
35633
35666
|
|
|
35634
35667
|
// Compiler imports
|
|
35635
35668
|
|
|
35636
|
-
var _handlebarsCompilerAst = __webpack_require__(
|
|
35669
|
+
var _handlebarsCompilerAst = __webpack_require__(43753);
|
|
35637
35670
|
|
|
35638
35671
|
var _handlebarsCompilerAst2 = _interopRequireDefault(_handlebarsCompilerAst);
|
|
35639
35672
|
|
|
@@ -35888,7 +35921,7 @@ exports.logger = _logger2['default'];
|
|
|
35888
35921
|
|
|
35889
35922
|
/***/ }),
|
|
35890
35923
|
|
|
35891
|
-
/***/
|
|
35924
|
+
/***/ 43753:
|
|
35892
35925
|
/***/ ((module, exports) => {
|
|
35893
35926
|
|
|
35894
35927
|
"use strict";
|
|
@@ -36185,7 +36218,7 @@ var _exception2 = _interopRequireDefault(_exception);
|
|
|
36185
36218
|
|
|
36186
36219
|
var _utils = __webpack_require__(35617);
|
|
36187
36220
|
|
|
36188
|
-
var _ast = __webpack_require__(
|
|
36221
|
+
var _ast = __webpack_require__(43753);
|
|
36189
36222
|
|
|
36190
36223
|
var _ast2 = _interopRequireDefault(_ast);
|
|
36191
36224
|
|
|
@@ -59346,7 +59379,7 @@ function isNumber (x) {
|
|
|
59346
59379
|
|
|
59347
59380
|
/***/ }),
|
|
59348
59381
|
|
|
59349
|
-
/***/
|
|
59382
|
+
/***/ 81675:
|
|
59350
59383
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
59351
59384
|
|
|
59352
59385
|
"use strict";
|
|
@@ -59517,7 +59550,12 @@ module.exports = class Minipass extends Stream {
|
|
|
59517
59550
|
// because we're mid-write, so that'd be bad.
|
|
59518
59551
|
if (this[BUFFERLENGTH] !== 0)
|
|
59519
59552
|
this[FLUSH](true)
|
|
59520
|
-
|
|
59553
|
+
|
|
59554
|
+
// if we are still flowing after flushing the buffer we can emit the
|
|
59555
|
+
// chunk otherwise we have to buffer it.
|
|
59556
|
+
this.flowing
|
|
59557
|
+
? this.emit('data', chunk)
|
|
59558
|
+
: this[BUFFERPUSH](chunk)
|
|
59521
59559
|
} else
|
|
59522
59560
|
this[BUFFERPUSH](chunk)
|
|
59523
59561
|
|
|
@@ -60042,7 +60080,7 @@ const Buffer = (__webpack_require__(14300).Buffer)
|
|
|
60042
60080
|
const realZlib = __webpack_require__(59796)
|
|
60043
60081
|
|
|
60044
60082
|
const constants = exports.constants = __webpack_require__(14473)
|
|
60045
|
-
const Minipass = __webpack_require__(
|
|
60083
|
+
const Minipass = __webpack_require__(81675)
|
|
60046
60084
|
|
|
60047
60085
|
const OriginalBufferConcat = Buffer.concat
|
|
60048
60086
|
|
|
@@ -61936,7 +61974,7 @@ module.exports.CancelError = CancelError;
|
|
|
61936
61974
|
|
|
61937
61975
|
const {Agent: HttpAgent} = __webpack_require__(13685);
|
|
61938
61976
|
const {Agent: HttpsAgent} = __webpack_require__(95687);
|
|
61939
|
-
const got = __webpack_require__(
|
|
61977
|
+
const got = __webpack_require__(98351);
|
|
61940
61978
|
const registryUrl = __webpack_require__(99399);
|
|
61941
61979
|
const registryAuthToken = __webpack_require__(5086);
|
|
61942
61980
|
const semver = __webpack_require__(20962);
|
|
@@ -66110,7 +66148,7 @@ module.exports = Response;
|
|
|
66110
66148
|
"use strict";
|
|
66111
66149
|
|
|
66112
66150
|
const onetime = __webpack_require__(26401);
|
|
66113
|
-
const signalExit = __webpack_require__(
|
|
66151
|
+
const signalExit = __webpack_require__(66217);
|
|
66114
66152
|
|
|
66115
66153
|
module.exports = onetime(() => {
|
|
66116
66154
|
signalExit(() => {
|
|
@@ -82606,7 +82644,7 @@ module.exports = /^#!(.*)/;
|
|
|
82606
82644
|
|
|
82607
82645
|
/***/ }),
|
|
82608
82646
|
|
|
82609
|
-
/***/
|
|
82647
|
+
/***/ 66217:
|
|
82610
82648
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
82611
82649
|
|
|
82612
82650
|
// Note: since nyc uses this module to output coverage, any lines
|
|
@@ -82614,12 +82652,26 @@ module.exports = /^#!(.*)/;
|
|
|
82614
82652
|
// ignored, since we can never get coverage for them.
|
|
82615
82653
|
// grab a reference to node's real process object right away
|
|
82616
82654
|
var process = global.process
|
|
82655
|
+
|
|
82656
|
+
const processOk = function (process) {
|
|
82657
|
+
return process &&
|
|
82658
|
+
typeof process === 'object' &&
|
|
82659
|
+
typeof process.removeListener === 'function' &&
|
|
82660
|
+
typeof process.emit === 'function' &&
|
|
82661
|
+
typeof process.reallyExit === 'function' &&
|
|
82662
|
+
typeof process.listeners === 'function' &&
|
|
82663
|
+
typeof process.kill === 'function' &&
|
|
82664
|
+
typeof process.pid === 'number' &&
|
|
82665
|
+
typeof process.on === 'function'
|
|
82666
|
+
}
|
|
82667
|
+
|
|
82617
82668
|
// some kind of non-node environment, just no-op
|
|
82618
|
-
|
|
82669
|
+
/* istanbul ignore if */
|
|
82670
|
+
if (!processOk(process)) {
|
|
82619
82671
|
module.exports = function () {}
|
|
82620
82672
|
} else {
|
|
82621
82673
|
var assert = __webpack_require__(39491)
|
|
82622
|
-
var signals = __webpack_require__(
|
|
82674
|
+
var signals = __webpack_require__(16869)
|
|
82623
82675
|
var isWin = /^win/i.test(process.platform)
|
|
82624
82676
|
|
|
82625
82677
|
var EE = __webpack_require__(82361)
|
|
@@ -82647,7 +82699,8 @@ if (typeof process !== 'object' || !process) {
|
|
|
82647
82699
|
}
|
|
82648
82700
|
|
|
82649
82701
|
module.exports = function (cb, opts) {
|
|
82650
|
-
|
|
82702
|
+
/* istanbul ignore if */
|
|
82703
|
+
if (!processOk(global.process)) {
|
|
82651
82704
|
return
|
|
82652
82705
|
}
|
|
82653
82706
|
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')
|
|
@@ -82674,7 +82727,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82674
82727
|
}
|
|
82675
82728
|
|
|
82676
82729
|
var unload = function unload () {
|
|
82677
|
-
if (!loaded || global.process
|
|
82730
|
+
if (!loaded || !processOk(global.process)) {
|
|
82678
82731
|
return
|
|
82679
82732
|
}
|
|
82680
82733
|
loaded = false
|
|
@@ -82691,6 +82744,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82691
82744
|
module.exports.unload = unload
|
|
82692
82745
|
|
|
82693
82746
|
var emit = function emit (event, code, signal) {
|
|
82747
|
+
/* istanbul ignore if */
|
|
82694
82748
|
if (emitter.emitted[event]) {
|
|
82695
82749
|
return
|
|
82696
82750
|
}
|
|
@@ -82702,7 +82756,8 @@ if (typeof process !== 'object' || !process) {
|
|
|
82702
82756
|
var sigListeners = {}
|
|
82703
82757
|
signals.forEach(function (sig) {
|
|
82704
82758
|
sigListeners[sig] = function listener () {
|
|
82705
|
-
|
|
82759
|
+
/* istanbul ignore if */
|
|
82760
|
+
if (!processOk(global.process)) {
|
|
82706
82761
|
return
|
|
82707
82762
|
}
|
|
82708
82763
|
// If there are no other listeners, an exit is coming!
|
|
@@ -82721,6 +82776,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82721
82776
|
// so use a supported signal instead
|
|
82722
82777
|
sig = 'SIGINT'
|
|
82723
82778
|
}
|
|
82779
|
+
/* istanbul ignore next */
|
|
82724
82780
|
process.kill(process.pid, sig)
|
|
82725
82781
|
}
|
|
82726
82782
|
}
|
|
@@ -82733,7 +82789,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82733
82789
|
var loaded = false
|
|
82734
82790
|
|
|
82735
82791
|
var load = function load () {
|
|
82736
|
-
if (loaded ||
|
|
82792
|
+
if (loaded || !processOk(global.process)) {
|
|
82737
82793
|
return
|
|
82738
82794
|
}
|
|
82739
82795
|
loaded = true
|
|
@@ -82760,10 +82816,11 @@ if (typeof process !== 'object' || !process) {
|
|
|
82760
82816
|
|
|
82761
82817
|
var originalProcessReallyExit = process.reallyExit
|
|
82762
82818
|
var processReallyExit = function processReallyExit (code) {
|
|
82763
|
-
|
|
82819
|
+
/* istanbul ignore if */
|
|
82820
|
+
if (!processOk(global.process)) {
|
|
82764
82821
|
return
|
|
82765
82822
|
}
|
|
82766
|
-
process.exitCode = code || 0
|
|
82823
|
+
process.exitCode = code || /* istanbul ignore next */ 0
|
|
82767
82824
|
emit('exit', process.exitCode, null)
|
|
82768
82825
|
/* istanbul ignore next */
|
|
82769
82826
|
emit('afterexit', process.exitCode, null)
|
|
@@ -82773,14 +82830,17 @@ if (typeof process !== 'object' || !process) {
|
|
|
82773
82830
|
|
|
82774
82831
|
var originalProcessEmit = process.emit
|
|
82775
82832
|
var processEmit = function processEmit (ev, arg) {
|
|
82776
|
-
if (ev === 'exit' &&
|
|
82833
|
+
if (ev === 'exit' && processOk(global.process)) {
|
|
82834
|
+
/* istanbul ignore else */
|
|
82777
82835
|
if (arg !== undefined) {
|
|
82778
82836
|
process.exitCode = arg
|
|
82779
82837
|
}
|
|
82780
82838
|
var ret = originalProcessEmit.apply(this, arguments)
|
|
82839
|
+
/* istanbul ignore next */
|
|
82781
82840
|
emit('exit', process.exitCode, null)
|
|
82782
82841
|
/* istanbul ignore next */
|
|
82783
82842
|
emit('afterexit', process.exitCode, null)
|
|
82843
|
+
/* istanbul ignore next */
|
|
82784
82844
|
return ret
|
|
82785
82845
|
} else {
|
|
82786
82846
|
return originalProcessEmit.apply(this, arguments)
|
|
@@ -82791,7 +82851,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82791
82851
|
|
|
82792
82852
|
/***/ }),
|
|
82793
82853
|
|
|
82794
|
-
/***/
|
|
82854
|
+
/***/ 16869:
|
|
82795
82855
|
/***/ ((module) => {
|
|
82796
82856
|
|
|
82797
82857
|
// This is not the set of all possible signals.
|
|
@@ -84639,7 +84699,7 @@ class PackJob {
|
|
|
84639
84699
|
}
|
|
84640
84700
|
}
|
|
84641
84701
|
|
|
84642
|
-
const MiniPass = __webpack_require__(
|
|
84702
|
+
const MiniPass = __webpack_require__(81675)
|
|
84643
84703
|
const zlib = __webpack_require__(95289)
|
|
84644
84704
|
const ReadEntry = __webpack_require__(66523)
|
|
84645
84705
|
const WriteEntry = __webpack_require__(56004)
|
|
@@ -85816,7 +85876,7 @@ module.exports = Pax
|
|
|
85816
85876
|
|
|
85817
85877
|
"use strict";
|
|
85818
85878
|
|
|
85819
|
-
const MiniPass = __webpack_require__(
|
|
85879
|
+
const MiniPass = __webpack_require__(81675)
|
|
85820
85880
|
const normPath = __webpack_require__(41935)
|
|
85821
85881
|
|
|
85822
85882
|
const SLURP = Symbol('slurp')
|
|
@@ -87247,7 +87307,7 @@ module.exports = {
|
|
|
87247
87307
|
|
|
87248
87308
|
"use strict";
|
|
87249
87309
|
|
|
87250
|
-
const MiniPass = __webpack_require__(
|
|
87310
|
+
const MiniPass = __webpack_require__(81675)
|
|
87251
87311
|
const Pax = __webpack_require__(15674)
|
|
87252
87312
|
const Header = __webpack_require__(13391)
|
|
87253
87313
|
const fs = __webpack_require__(57147)
|
|
@@ -89337,6 +89397,2110 @@ try {
|
|
|
89337
89397
|
} catch (er) {}
|
|
89338
89398
|
|
|
89339
89399
|
|
|
89400
|
+
/***/ }),
|
|
89401
|
+
|
|
89402
|
+
/***/ 455:
|
|
89403
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89404
|
+
|
|
89405
|
+
"use strict";
|
|
89406
|
+
|
|
89407
|
+
|
|
89408
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89409
|
+
value: true
|
|
89410
|
+
}));
|
|
89411
|
+
exports.I18n = void 0;
|
|
89412
|
+
|
|
89413
|
+
var _get2 = _interopRequireDefault(__webpack_require__(71189));
|
|
89414
|
+
|
|
89415
|
+
var _utils = __webpack_require__(84032);
|
|
89416
|
+
|
|
89417
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
89418
|
+
|
|
89419
|
+
class I18n {
|
|
89420
|
+
constructor() {
|
|
89421
|
+
this.language = 'en';
|
|
89422
|
+
this.languageMap = {};
|
|
89423
|
+
}
|
|
89424
|
+
|
|
89425
|
+
format(msg, vars) {
|
|
89426
|
+
return msg.replace(/\{([^}]+)\}/gm, (_match, capture) => Object.prototype.hasOwnProperty.call(vars, capture) ? vars[capture] : capture);
|
|
89427
|
+
}
|
|
89428
|
+
|
|
89429
|
+
getMessage(lang, key, vars, fallbackText) {
|
|
89430
|
+
const model = this.languageMap[lang];
|
|
89431
|
+
|
|
89432
|
+
if (!model) {
|
|
89433
|
+
throw new Error(`current ${lang} language is not exisit`);
|
|
89434
|
+
}
|
|
89435
|
+
|
|
89436
|
+
const message = (0, _get2.default)(model, key);
|
|
89437
|
+
const value = message || fallbackText || key;
|
|
89438
|
+
|
|
89439
|
+
if (typeof value === 'string') {
|
|
89440
|
+
return this.format(value, vars || {});
|
|
89441
|
+
}
|
|
89442
|
+
|
|
89443
|
+
throw new Error('key is not a string');
|
|
89444
|
+
}
|
|
89445
|
+
|
|
89446
|
+
init(language, languageMap) {
|
|
89447
|
+
this.language = language || 'en';
|
|
89448
|
+
|
|
89449
|
+
if (languageMap) {
|
|
89450
|
+
this.languageMap = languageMap;
|
|
89451
|
+
}
|
|
89452
|
+
|
|
89453
|
+
return (0, _utils.getObjKeyMap)(this.languageMap[this.language]);
|
|
89454
|
+
}
|
|
89455
|
+
|
|
89456
|
+
changeLanguage(config) {
|
|
89457
|
+
this.language = config.locale || 'en';
|
|
89458
|
+
}
|
|
89459
|
+
|
|
89460
|
+
t(key, vars, fallbackText) {
|
|
89461
|
+
return this.getMessage(this.language, key, vars, fallbackText);
|
|
89462
|
+
}
|
|
89463
|
+
|
|
89464
|
+
lang(lang) {
|
|
89465
|
+
return {
|
|
89466
|
+
t: (key, vars, fallbackText) => this.getMessage(lang, key, vars, fallbackText)
|
|
89467
|
+
};
|
|
89468
|
+
}
|
|
89469
|
+
|
|
89470
|
+
}
|
|
89471
|
+
|
|
89472
|
+
exports.I18n = I18n;
|
|
89473
|
+
|
|
89474
|
+
/***/ }),
|
|
89475
|
+
|
|
89476
|
+
/***/ 84032:
|
|
89477
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89478
|
+
|
|
89479
|
+
"use strict";
|
|
89480
|
+
|
|
89481
|
+
|
|
89482
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89483
|
+
value: true
|
|
89484
|
+
}));
|
|
89485
|
+
exports.getObjKeyMap = getObjKeyMap;
|
|
89486
|
+
|
|
89487
|
+
var _isString2 = _interopRequireDefault(__webpack_require__(69136));
|
|
89488
|
+
|
|
89489
|
+
var _isObject2 = _interopRequireDefault(__webpack_require__(75850));
|
|
89490
|
+
|
|
89491
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
89492
|
+
|
|
89493
|
+
function getObjKeyMap(obj, prefix = '') {
|
|
89494
|
+
const result = {};
|
|
89495
|
+
Object.keys(obj).forEach(key => {
|
|
89496
|
+
if ((0, _isString2.default)(obj[key])) {
|
|
89497
|
+
result[key] = prefix ? `${prefix}.${key}` : key;
|
|
89498
|
+
} else if ((0, _isObject2.default)(obj[key])) {
|
|
89499
|
+
result[key] = getObjKeyMap(obj[key], prefix ? `${prefix}.${key}` : key);
|
|
89500
|
+
}
|
|
89501
|
+
});
|
|
89502
|
+
return result;
|
|
89503
|
+
}
|
|
89504
|
+
|
|
89505
|
+
/***/ }),
|
|
89506
|
+
|
|
89507
|
+
/***/ 32746:
|
|
89508
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89509
|
+
|
|
89510
|
+
"use strict";
|
|
89511
|
+
|
|
89512
|
+
|
|
89513
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89514
|
+
value: true
|
|
89515
|
+
}));
|
|
89516
|
+
|
|
89517
|
+
var _project = __webpack_require__(40542);
|
|
89518
|
+
|
|
89519
|
+
Object.keys(_project).forEach(function (key) {
|
|
89520
|
+
if (key === "default" || key === "__esModule") return;
|
|
89521
|
+
if (key in exports && exports[key] === _project[key]) return;
|
|
89522
|
+
Object.defineProperty(exports, key, {
|
|
89523
|
+
enumerable: true,
|
|
89524
|
+
get: function () {
|
|
89525
|
+
return _project[key];
|
|
89526
|
+
}
|
|
89527
|
+
});
|
|
89528
|
+
});
|
|
89529
|
+
|
|
89530
|
+
/***/ }),
|
|
89531
|
+
|
|
89532
|
+
/***/ 40542:
|
|
89533
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89534
|
+
|
|
89535
|
+
"use strict";
|
|
89536
|
+
|
|
89537
|
+
|
|
89538
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89539
|
+
value: true
|
|
89540
|
+
}));
|
|
89541
|
+
exports.BaseSchemas = exports.BaseSchema = exports.BaseDefaultConfig = void 0;
|
|
89542
|
+
|
|
89543
|
+
var _common = __webpack_require__(25523);
|
|
89544
|
+
|
|
89545
|
+
const BaseSchemas = [_common.PackageManagerSchema];
|
|
89546
|
+
exports.BaseSchemas = BaseSchemas;
|
|
89547
|
+
const BaseSchema = {
|
|
89548
|
+
key: 'base',
|
|
89549
|
+
isObject: true,
|
|
89550
|
+
items: BaseSchemas
|
|
89551
|
+
};
|
|
89552
|
+
exports.BaseSchema = BaseSchema;
|
|
89553
|
+
const BaseDefaultConfig = {
|
|
89554
|
+
packageManager: _common.PackageManager.Pnpm
|
|
89555
|
+
};
|
|
89556
|
+
exports.BaseDefaultConfig = BaseDefaultConfig;
|
|
89557
|
+
|
|
89558
|
+
/***/ }),
|
|
89559
|
+
|
|
89560
|
+
/***/ 34069:
|
|
89561
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89562
|
+
|
|
89563
|
+
"use strict";
|
|
89564
|
+
|
|
89565
|
+
|
|
89566
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89567
|
+
value: true
|
|
89568
|
+
}));
|
|
89569
|
+
exports.BooleanSchemas = exports.BooleanConfigName = exports.BooleanConfig = void 0;
|
|
89570
|
+
|
|
89571
|
+
var _locale = __webpack_require__(94646);
|
|
89572
|
+
|
|
89573
|
+
let BooleanConfig;
|
|
89574
|
+
exports.BooleanConfig = BooleanConfig;
|
|
89575
|
+
|
|
89576
|
+
(function (BooleanConfig) {
|
|
89577
|
+
BooleanConfig["NO"] = "no";
|
|
89578
|
+
BooleanConfig["YES"] = "yes";
|
|
89579
|
+
})(BooleanConfig || (exports.BooleanConfig = BooleanConfig = {}));
|
|
89580
|
+
|
|
89581
|
+
const BooleanConfigName = {
|
|
89582
|
+
[BooleanConfig.NO]: () => _locale.i18n.t(_locale.localeKeys.boolean.no),
|
|
89583
|
+
[BooleanConfig.YES]: () => _locale.i18n.t(_locale.localeKeys.boolean.yes)
|
|
89584
|
+
};
|
|
89585
|
+
exports.BooleanConfigName = BooleanConfigName;
|
|
89586
|
+
const BooleanSchemas = [{
|
|
89587
|
+
key: BooleanConfig.NO,
|
|
89588
|
+
label: BooleanConfigName[BooleanConfig.NO]
|
|
89589
|
+
}, {
|
|
89590
|
+
key: BooleanConfig.YES,
|
|
89591
|
+
label: BooleanConfigName[BooleanConfig.YES]
|
|
89592
|
+
}];
|
|
89593
|
+
exports.BooleanSchemas = BooleanSchemas;
|
|
89594
|
+
|
|
89595
|
+
/***/ }),
|
|
89596
|
+
|
|
89597
|
+
/***/ 99961:
|
|
89598
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89599
|
+
|
|
89600
|
+
"use strict";
|
|
89601
|
+
|
|
89602
|
+
|
|
89603
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89604
|
+
value: true
|
|
89605
|
+
}));
|
|
89606
|
+
exports.EnableSassSchema = exports.EnableLessSchema = void 0;
|
|
89607
|
+
|
|
89608
|
+
var _boolean = __webpack_require__(34069);
|
|
89609
|
+
|
|
89610
|
+
var _locale = __webpack_require__(94646);
|
|
89611
|
+
|
|
89612
|
+
const EnableLessSchema = {
|
|
89613
|
+
key: 'enableLess',
|
|
89614
|
+
type: ['string'],
|
|
89615
|
+
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.enableLess),
|
|
89616
|
+
mutualExclusion: true,
|
|
89617
|
+
state: {
|
|
89618
|
+
value: _boolean.BooleanConfig.NO
|
|
89619
|
+
},
|
|
89620
|
+
items: _boolean.BooleanSchemas
|
|
89621
|
+
};
|
|
89622
|
+
exports.EnableLessSchema = EnableLessSchema;
|
|
89623
|
+
const EnableSassSchema = {
|
|
89624
|
+
key: 'enableSass',
|
|
89625
|
+
type: ['string'],
|
|
89626
|
+
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.enableSass),
|
|
89627
|
+
mutualExclusion: true,
|
|
89628
|
+
state: {
|
|
89629
|
+
value: _boolean.BooleanConfig.NO
|
|
89630
|
+
},
|
|
89631
|
+
items: _boolean.BooleanSchemas
|
|
89632
|
+
};
|
|
89633
|
+
exports.EnableSassSchema = EnableSassSchema;
|
|
89634
|
+
|
|
89635
|
+
/***/ }),
|
|
89636
|
+
|
|
89637
|
+
/***/ 25523:
|
|
89638
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89639
|
+
|
|
89640
|
+
"use strict";
|
|
89641
|
+
|
|
89642
|
+
|
|
89643
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89644
|
+
value: true
|
|
89645
|
+
}));
|
|
89646
|
+
|
|
89647
|
+
var _boolean = __webpack_require__(34069);
|
|
89648
|
+
|
|
89649
|
+
Object.keys(_boolean).forEach(function (key) {
|
|
89650
|
+
if (key === "default" || key === "__esModule") return;
|
|
89651
|
+
if (key in exports && exports[key] === _boolean[key]) return;
|
|
89652
|
+
Object.defineProperty(exports, key, {
|
|
89653
|
+
enumerable: true,
|
|
89654
|
+
get: function () {
|
|
89655
|
+
return _boolean[key];
|
|
89656
|
+
}
|
|
89657
|
+
});
|
|
89658
|
+
});
|
|
89659
|
+
|
|
89660
|
+
var _solution = __webpack_require__(13017);
|
|
89661
|
+
|
|
89662
|
+
Object.keys(_solution).forEach(function (key) {
|
|
89663
|
+
if (key === "default" || key === "__esModule") return;
|
|
89664
|
+
if (key in exports && exports[key] === _solution[key]) return;
|
|
89665
|
+
Object.defineProperty(exports, key, {
|
|
89666
|
+
enumerable: true,
|
|
89667
|
+
get: function () {
|
|
89668
|
+
return _solution[key];
|
|
89669
|
+
}
|
|
89670
|
+
});
|
|
89671
|
+
});
|
|
89672
|
+
|
|
89673
|
+
var _language = __webpack_require__(89052);
|
|
89674
|
+
|
|
89675
|
+
Object.keys(_language).forEach(function (key) {
|
|
89676
|
+
if (key === "default" || key === "__esModule") return;
|
|
89677
|
+
if (key in exports && exports[key] === _language[key]) return;
|
|
89678
|
+
Object.defineProperty(exports, key, {
|
|
89679
|
+
enumerable: true,
|
|
89680
|
+
get: function () {
|
|
89681
|
+
return _language[key];
|
|
89682
|
+
}
|
|
89683
|
+
});
|
|
89684
|
+
});
|
|
89685
|
+
|
|
89686
|
+
var _packageManager = __webpack_require__(5221);
|
|
89687
|
+
|
|
89688
|
+
Object.keys(_packageManager).forEach(function (key) {
|
|
89689
|
+
if (key === "default" || key === "__esModule") return;
|
|
89690
|
+
if (key in exports && exports[key] === _packageManager[key]) return;
|
|
89691
|
+
Object.defineProperty(exports, key, {
|
|
89692
|
+
enumerable: true,
|
|
89693
|
+
get: function () {
|
|
89694
|
+
return _packageManager[key];
|
|
89695
|
+
}
|
|
89696
|
+
});
|
|
89697
|
+
});
|
|
89698
|
+
|
|
89699
|
+
var _packageName = __webpack_require__(69127);
|
|
89700
|
+
|
|
89701
|
+
Object.keys(_packageName).forEach(function (key) {
|
|
89702
|
+
if (key === "default" || key === "__esModule") return;
|
|
89703
|
+
if (key in exports && exports[key] === _packageName[key]) return;
|
|
89704
|
+
Object.defineProperty(exports, key, {
|
|
89705
|
+
enumerable: true,
|
|
89706
|
+
get: function () {
|
|
89707
|
+
return _packageName[key];
|
|
89708
|
+
}
|
|
89709
|
+
});
|
|
89710
|
+
});
|
|
89711
|
+
|
|
89712
|
+
var _packagePath = __webpack_require__(14708);
|
|
89713
|
+
|
|
89714
|
+
Object.keys(_packagePath).forEach(function (key) {
|
|
89715
|
+
if (key === "default" || key === "__esModule") return;
|
|
89716
|
+
if (key in exports && exports[key] === _packagePath[key]) return;
|
|
89717
|
+
Object.defineProperty(exports, key, {
|
|
89718
|
+
enumerable: true,
|
|
89719
|
+
get: function () {
|
|
89720
|
+
return _packagePath[key];
|
|
89721
|
+
}
|
|
89722
|
+
});
|
|
89723
|
+
});
|
|
89724
|
+
|
|
89725
|
+
/***/ }),
|
|
89726
|
+
|
|
89727
|
+
/***/ 89052:
|
|
89728
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89729
|
+
|
|
89730
|
+
"use strict";
|
|
89731
|
+
|
|
89732
|
+
|
|
89733
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89734
|
+
value: true
|
|
89735
|
+
}));
|
|
89736
|
+
exports.LanguageSchema = exports.LanguageName = exports.Language = void 0;
|
|
89737
|
+
|
|
89738
|
+
var _locale = __webpack_require__(94646);
|
|
89739
|
+
|
|
89740
|
+
let Language;
|
|
89741
|
+
exports.Language = Language;
|
|
89742
|
+
|
|
89743
|
+
(function (Language) {
|
|
89744
|
+
Language["TS"] = "ts";
|
|
89745
|
+
Language["JS"] = "js";
|
|
89746
|
+
})(Language || (exports.Language = Language = {}));
|
|
89747
|
+
|
|
89748
|
+
const LanguageName = {
|
|
89749
|
+
[Language.TS]: () => 'TS',
|
|
89750
|
+
[Language.JS]: () => 'ES6+'
|
|
89751
|
+
};
|
|
89752
|
+
exports.LanguageName = LanguageName;
|
|
89753
|
+
const LanguageSchema = {
|
|
89754
|
+
key: 'language',
|
|
89755
|
+
type: ['string'],
|
|
89756
|
+
label: () => _locale.i18n.t(_locale.localeKeys.language.self),
|
|
89757
|
+
mutualExclusion: true,
|
|
89758
|
+
items: Object.values(Language).map(language => ({
|
|
89759
|
+
key: language,
|
|
89760
|
+
label: LanguageName[language]
|
|
89761
|
+
}))
|
|
89762
|
+
};
|
|
89763
|
+
exports.LanguageSchema = LanguageSchema;
|
|
89764
|
+
|
|
89765
|
+
/***/ }),
|
|
89766
|
+
|
|
89767
|
+
/***/ 5221:
|
|
89768
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89769
|
+
|
|
89770
|
+
"use strict";
|
|
89771
|
+
|
|
89772
|
+
|
|
89773
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89774
|
+
value: true
|
|
89775
|
+
}));
|
|
89776
|
+
exports.PackageManagerSchema = exports.PackageManagerName = exports.PackageManager = void 0;
|
|
89777
|
+
|
|
89778
|
+
var _locale = __webpack_require__(94646);
|
|
89779
|
+
|
|
89780
|
+
let PackageManager;
|
|
89781
|
+
exports.PackageManager = PackageManager;
|
|
89782
|
+
|
|
89783
|
+
(function (PackageManager) {
|
|
89784
|
+
PackageManager["Pnpm"] = "pnpm";
|
|
89785
|
+
PackageManager["Yarn"] = "yarn";
|
|
89786
|
+
})(PackageManager || (exports.PackageManager = PackageManager = {}));
|
|
89787
|
+
|
|
89788
|
+
const PackageManagerName = {
|
|
89789
|
+
[PackageManager.Pnpm]: () => 'pnpm',
|
|
89790
|
+
[PackageManager.Yarn]: () => 'Yarn'
|
|
89791
|
+
};
|
|
89792
|
+
exports.PackageManagerName = PackageManagerName;
|
|
89793
|
+
const PackageManagerSchema = {
|
|
89794
|
+
key: 'packageManager',
|
|
89795
|
+
type: ['string'],
|
|
89796
|
+
label: () => _locale.i18n.t(_locale.localeKeys.packageManager.self),
|
|
89797
|
+
mutualExclusion: true,
|
|
89798
|
+
when: (_values, extra) => !(extra !== null && extra !== void 0 && extra.isMonorepoSubProject),
|
|
89799
|
+
items: Object.values(PackageManager).map(packageManager => ({
|
|
89800
|
+
key: packageManager,
|
|
89801
|
+
label: PackageManagerName[packageManager]
|
|
89802
|
+
}))
|
|
89803
|
+
};
|
|
89804
|
+
exports.PackageManagerSchema = PackageManagerSchema;
|
|
89805
|
+
|
|
89806
|
+
/***/ }),
|
|
89807
|
+
|
|
89808
|
+
/***/ 69127:
|
|
89809
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89810
|
+
|
|
89811
|
+
"use strict";
|
|
89812
|
+
|
|
89813
|
+
|
|
89814
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89815
|
+
value: true
|
|
89816
|
+
}));
|
|
89817
|
+
exports.PackageNameSchema = void 0;
|
|
89818
|
+
|
|
89819
|
+
var _locale = __webpack_require__(94646);
|
|
89820
|
+
|
|
89821
|
+
const PackageNameSchema = {
|
|
89822
|
+
key: 'packageName',
|
|
89823
|
+
label: (_, extra) => extra !== null && extra !== void 0 && extra.isMonorepoSubProject ? _locale.i18n.t(_locale.localeKeys.packageName.sub_name) : _locale.i18n.t(_locale.localeKeys.packageName.self),
|
|
89824
|
+
type: ['string'],
|
|
89825
|
+
when: (_, extra) => Boolean(extra === null || extra === void 0 ? void 0 : extra.isMonorepoSubProject) || !(extra !== null && extra !== void 0 && extra.isMwa),
|
|
89826
|
+
validate: value => {
|
|
89827
|
+
if (!value) {
|
|
89828
|
+
return {
|
|
89829
|
+
success: false,
|
|
89830
|
+
message: _locale.i18n.t(_locale.localeKeys.packageName.no_empty)
|
|
89831
|
+
};
|
|
89832
|
+
}
|
|
89833
|
+
|
|
89834
|
+
return {
|
|
89835
|
+
success: true
|
|
89836
|
+
};
|
|
89837
|
+
}
|
|
89838
|
+
};
|
|
89839
|
+
exports.PackageNameSchema = PackageNameSchema;
|
|
89840
|
+
|
|
89841
|
+
/***/ }),
|
|
89842
|
+
|
|
89843
|
+
/***/ 14708:
|
|
89844
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89845
|
+
|
|
89846
|
+
"use strict";
|
|
89847
|
+
|
|
89848
|
+
|
|
89849
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89850
|
+
value: true
|
|
89851
|
+
}));
|
|
89852
|
+
exports.PackagePathSchema = void 0;
|
|
89853
|
+
|
|
89854
|
+
var _locale = __webpack_require__(94646);
|
|
89855
|
+
|
|
89856
|
+
const PackagePathRegex = new RegExp('^[a-z0-9]*[-_/]?([a-z0-9]*[-_]?[a-z0-9]*)*[-_/]?[a-z0-9-_]+$');
|
|
89857
|
+
const PackagePathSchema = {
|
|
89858
|
+
key: 'packagePath',
|
|
89859
|
+
label: () => _locale.i18n.t(_locale.localeKeys.packagePath.self),
|
|
89860
|
+
type: ['string'],
|
|
89861
|
+
when: (_, extra) => Boolean(extra === null || extra === void 0 ? void 0 : extra.isMonorepoSubProject),
|
|
89862
|
+
state: {
|
|
89863
|
+
value: {
|
|
89864
|
+
effectedByFields: ['packageName'],
|
|
89865
|
+
action: data => `${data.packageName || ''}`
|
|
89866
|
+
}
|
|
89867
|
+
},
|
|
89868
|
+
validate: value => {
|
|
89869
|
+
if (!value) {
|
|
89870
|
+
return {
|
|
89871
|
+
success: false,
|
|
89872
|
+
message: _locale.i18n.t(_locale.localeKeys.packagePath.no_empty)
|
|
89873
|
+
};
|
|
89874
|
+
}
|
|
89875
|
+
|
|
89876
|
+
if (!PackagePathRegex.test(value)) {
|
|
89877
|
+
return {
|
|
89878
|
+
success: false,
|
|
89879
|
+
message: _locale.i18n.t(_locale.localeKeys.packagePath.format)
|
|
89880
|
+
};
|
|
89881
|
+
}
|
|
89882
|
+
|
|
89883
|
+
return {
|
|
89884
|
+
success: true
|
|
89885
|
+
};
|
|
89886
|
+
}
|
|
89887
|
+
};
|
|
89888
|
+
exports.PackagePathSchema = PackagePathSchema;
|
|
89889
|
+
|
|
89890
|
+
/***/ }),
|
|
89891
|
+
|
|
89892
|
+
/***/ 13017:
|
|
89893
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89894
|
+
|
|
89895
|
+
"use strict";
|
|
89896
|
+
|
|
89897
|
+
|
|
89898
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89899
|
+
value: true
|
|
89900
|
+
}));
|
|
89901
|
+
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;
|
|
89902
|
+
|
|
89903
|
+
var _locale = __webpack_require__(94646);
|
|
89904
|
+
|
|
89905
|
+
let Solution;
|
|
89906
|
+
exports.Solution = Solution;
|
|
89907
|
+
|
|
89908
|
+
(function (Solution) {
|
|
89909
|
+
Solution["MWA"] = "mwa";
|
|
89910
|
+
Solution["Module"] = "module";
|
|
89911
|
+
Solution["Monorepo"] = "monorepo";
|
|
89912
|
+
})(Solution || (exports.Solution = Solution = {}));
|
|
89913
|
+
|
|
89914
|
+
let SubSolution;
|
|
89915
|
+
exports.SubSolution = SubSolution;
|
|
89916
|
+
|
|
89917
|
+
(function (SubSolution) {
|
|
89918
|
+
SubSolution["MWA"] = "mwa";
|
|
89919
|
+
SubSolution["MWATest"] = "mwa_test";
|
|
89920
|
+
SubSolution["Module"] = "module";
|
|
89921
|
+
SubSolution["InnerModule"] = "inner_module";
|
|
89922
|
+
})(SubSolution || (exports.SubSolution = SubSolution = {}));
|
|
89923
|
+
|
|
89924
|
+
const SolutionText = {
|
|
89925
|
+
[Solution.MWA]: () => _locale.i18n.t(_locale.localeKeys.solution.mwa),
|
|
89926
|
+
[Solution.Module]: () => _locale.i18n.t(_locale.localeKeys.solution.module),
|
|
89927
|
+
[Solution.Monorepo]: () => _locale.i18n.t(_locale.localeKeys.solution.monorepo)
|
|
89928
|
+
};
|
|
89929
|
+
exports.SolutionText = SolutionText;
|
|
89930
|
+
const SubSolutionText = {
|
|
89931
|
+
[SubSolution.MWA]: () => _locale.i18n.t(_locale.localeKeys.sub_solution.mwa),
|
|
89932
|
+
[SubSolution.MWATest]: () => _locale.i18n.t(_locale.localeKeys.sub_solution.mwa_test),
|
|
89933
|
+
[SubSolution.Module]: () => _locale.i18n.t(_locale.localeKeys.sub_solution.module),
|
|
89934
|
+
[SubSolution.InnerModule]: () => _locale.i18n.t(_locale.localeKeys.sub_solution.inner_module)
|
|
89935
|
+
};
|
|
89936
|
+
exports.SubSolutionText = SubSolutionText;
|
|
89937
|
+
const SolutionSchema = {
|
|
89938
|
+
key: 'solution_schema',
|
|
89939
|
+
isObject: true,
|
|
89940
|
+
items: [{
|
|
89941
|
+
key: 'solution',
|
|
89942
|
+
label: () => _locale.i18n.t(_locale.localeKeys.solution.self),
|
|
89943
|
+
type: ['string'],
|
|
89944
|
+
mutualExclusion: true,
|
|
89945
|
+
items: Object.values(Solution).map(solution => ({
|
|
89946
|
+
key: solution,
|
|
89947
|
+
label: SolutionText[solution]
|
|
89948
|
+
}))
|
|
89949
|
+
}]
|
|
89950
|
+
};
|
|
89951
|
+
exports.SolutionSchema = SolutionSchema;
|
|
89952
|
+
const SubSolutionSchema = {
|
|
89953
|
+
key: 'sub_solution_schema',
|
|
89954
|
+
isObject: true,
|
|
89955
|
+
items: [{
|
|
89956
|
+
key: 'solution',
|
|
89957
|
+
label: () => _locale.i18n.t(_locale.localeKeys.sub_solution.self),
|
|
89958
|
+
type: ['string'],
|
|
89959
|
+
mutualExclusion: true,
|
|
89960
|
+
items: Object.values(SubSolution).map(solution => ({
|
|
89961
|
+
key: solution,
|
|
89962
|
+
label: SubSolutionText[solution]
|
|
89963
|
+
}))
|
|
89964
|
+
}]
|
|
89965
|
+
};
|
|
89966
|
+
exports.SubSolutionSchema = SubSolutionSchema;
|
|
89967
|
+
const BaseGenerator = '@modern-js/base-generator';
|
|
89968
|
+
exports.BaseGenerator = BaseGenerator;
|
|
89969
|
+
const SolutionGenerator = {
|
|
89970
|
+
[Solution.MWA]: '@modern-js/mwa-generator',
|
|
89971
|
+
[Solution.Module]: '@modern-js/module-generator',
|
|
89972
|
+
[Solution.Monorepo]: '@modern-js/monorepo-generator'
|
|
89973
|
+
};
|
|
89974
|
+
exports.SolutionGenerator = SolutionGenerator;
|
|
89975
|
+
const SubSolutionGenerator = {
|
|
89976
|
+
[SubSolution.MWA]: '@modern-js/mwa-generator',
|
|
89977
|
+
[SubSolution.MWATest]: '@modern-js/mwa-generator',
|
|
89978
|
+
[SubSolution.Module]: '@modern-js/module-generator',
|
|
89979
|
+
[SubSolution.InnerModule]: '@modern-js/module-generator'
|
|
89980
|
+
};
|
|
89981
|
+
exports.SubSolutionGenerator = SubSolutionGenerator;
|
|
89982
|
+
const ChangesetGenerator = '@modern-js/changeset-generator';
|
|
89983
|
+
exports.ChangesetGenerator = ChangesetGenerator;
|
|
89984
|
+
const DependenceGenerator = '@modern-js/dependence-generator';
|
|
89985
|
+
exports.DependenceGenerator = DependenceGenerator;
|
|
89986
|
+
const EntryGenerator = '@modern-js/entry-generator';
|
|
89987
|
+
exports.EntryGenerator = EntryGenerator;
|
|
89988
|
+
const ElectronGenerator = '@modern-js/electron-generator';
|
|
89989
|
+
exports.ElectronGenerator = ElectronGenerator;
|
|
89990
|
+
const EslintGenerator = '@modern-js/eslint-generator';
|
|
89991
|
+
exports.EslintGenerator = EslintGenerator;
|
|
89992
|
+
|
|
89993
|
+
/***/ }),
|
|
89994
|
+
|
|
89995
|
+
/***/ 9344:
|
|
89996
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89997
|
+
|
|
89998
|
+
"use strict";
|
|
89999
|
+
|
|
90000
|
+
|
|
90001
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90002
|
+
value: true
|
|
90003
|
+
}));
|
|
90004
|
+
exports.GeneratorSchema = exports.GeneratorDefaultConfig = void 0;
|
|
90005
|
+
|
|
90006
|
+
var _common = __webpack_require__(25523);
|
|
90007
|
+
|
|
90008
|
+
const GeneratorSchemas = [_common.PackageNameSchema, _common.PackagePathSchema, _common.PackageManagerSchema, _common.LanguageSchema];
|
|
90009
|
+
const GeneratorSchema = {
|
|
90010
|
+
key: 'generator-generator',
|
|
90011
|
+
isObject: true,
|
|
90012
|
+
items: Object.values(GeneratorSchemas)
|
|
90013
|
+
};
|
|
90014
|
+
exports.GeneratorSchema = GeneratorSchema;
|
|
90015
|
+
const GeneratorDefaultConfig = {
|
|
90016
|
+
packageManager: _common.PackageManager.Pnpm,
|
|
90017
|
+
language: _common.Language.TS
|
|
90018
|
+
};
|
|
90019
|
+
exports.GeneratorDefaultConfig = GeneratorDefaultConfig;
|
|
90020
|
+
|
|
90021
|
+
/***/ }),
|
|
90022
|
+
|
|
90023
|
+
/***/ 83066:
|
|
90024
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90025
|
+
|
|
90026
|
+
"use strict";
|
|
90027
|
+
|
|
90028
|
+
|
|
90029
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90030
|
+
value: true
|
|
90031
|
+
}));
|
|
90032
|
+
|
|
90033
|
+
var _generator = __webpack_require__(9344);
|
|
90034
|
+
|
|
90035
|
+
Object.keys(_generator).forEach(function (key) {
|
|
90036
|
+
if (key === "default" || key === "__esModule") return;
|
|
90037
|
+
if (key in exports && exports[key] === _generator[key]) return;
|
|
90038
|
+
Object.defineProperty(exports, key, {
|
|
90039
|
+
enumerable: true,
|
|
90040
|
+
get: function () {
|
|
90041
|
+
return _generator[key];
|
|
90042
|
+
}
|
|
90043
|
+
});
|
|
90044
|
+
});
|
|
90045
|
+
|
|
90046
|
+
/***/ }),
|
|
90047
|
+
|
|
90048
|
+
/***/ 50828:
|
|
90049
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90050
|
+
|
|
90051
|
+
"use strict";
|
|
90052
|
+
|
|
90053
|
+
|
|
90054
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90055
|
+
value: true
|
|
90056
|
+
}));
|
|
90057
|
+
var _exportNames = {
|
|
90058
|
+
SolutionDefualtConfig: true
|
|
90059
|
+
};
|
|
90060
|
+
exports.SolutionDefualtConfig = void 0;
|
|
90061
|
+
|
|
90062
|
+
var _common = __webpack_require__(25523);
|
|
90063
|
+
|
|
90064
|
+
Object.keys(_common).forEach(function (key) {
|
|
90065
|
+
if (key === "default" || key === "__esModule") return;
|
|
90066
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90067
|
+
if (key in exports && exports[key] === _common[key]) return;
|
|
90068
|
+
Object.defineProperty(exports, key, {
|
|
90069
|
+
enumerable: true,
|
|
90070
|
+
get: function () {
|
|
90071
|
+
return _common[key];
|
|
90072
|
+
}
|
|
90073
|
+
});
|
|
90074
|
+
});
|
|
90075
|
+
|
|
90076
|
+
var _module = __webpack_require__(28184);
|
|
90077
|
+
|
|
90078
|
+
Object.keys(_module).forEach(function (key) {
|
|
90079
|
+
if (key === "default" || key === "__esModule") return;
|
|
90080
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90081
|
+
if (key in exports && exports[key] === _module[key]) return;
|
|
90082
|
+
Object.defineProperty(exports, key, {
|
|
90083
|
+
enumerable: true,
|
|
90084
|
+
get: function () {
|
|
90085
|
+
return _module[key];
|
|
90086
|
+
}
|
|
90087
|
+
});
|
|
90088
|
+
});
|
|
90089
|
+
|
|
90090
|
+
var _monorepo = __webpack_require__(4234);
|
|
90091
|
+
|
|
90092
|
+
Object.keys(_monorepo).forEach(function (key) {
|
|
90093
|
+
if (key === "default" || key === "__esModule") return;
|
|
90094
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90095
|
+
if (key in exports && exports[key] === _monorepo[key]) return;
|
|
90096
|
+
Object.defineProperty(exports, key, {
|
|
90097
|
+
enumerable: true,
|
|
90098
|
+
get: function () {
|
|
90099
|
+
return _monorepo[key];
|
|
90100
|
+
}
|
|
90101
|
+
});
|
|
90102
|
+
});
|
|
90103
|
+
|
|
90104
|
+
var _mwa = __webpack_require__(61693);
|
|
90105
|
+
|
|
90106
|
+
Object.keys(_mwa).forEach(function (key) {
|
|
90107
|
+
if (key === "default" || key === "__esModule") return;
|
|
90108
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90109
|
+
if (key in exports && exports[key] === _mwa[key]) return;
|
|
90110
|
+
Object.defineProperty(exports, key, {
|
|
90111
|
+
enumerable: true,
|
|
90112
|
+
get: function () {
|
|
90113
|
+
return _mwa[key];
|
|
90114
|
+
}
|
|
90115
|
+
});
|
|
90116
|
+
});
|
|
90117
|
+
|
|
90118
|
+
var _locale = __webpack_require__(94646);
|
|
90119
|
+
|
|
90120
|
+
Object.keys(_locale).forEach(function (key) {
|
|
90121
|
+
if (key === "default" || key === "__esModule") return;
|
|
90122
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90123
|
+
if (key in exports && exports[key] === _locale[key]) return;
|
|
90124
|
+
Object.defineProperty(exports, key, {
|
|
90125
|
+
enumerable: true,
|
|
90126
|
+
get: function () {
|
|
90127
|
+
return _locale[key];
|
|
90128
|
+
}
|
|
90129
|
+
});
|
|
90130
|
+
});
|
|
90131
|
+
|
|
90132
|
+
var _newAction = __webpack_require__(13988);
|
|
90133
|
+
|
|
90134
|
+
Object.keys(_newAction).forEach(function (key) {
|
|
90135
|
+
if (key === "default" || key === "__esModule") return;
|
|
90136
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90137
|
+
if (key in exports && exports[key] === _newAction[key]) return;
|
|
90138
|
+
Object.defineProperty(exports, key, {
|
|
90139
|
+
enumerable: true,
|
|
90140
|
+
get: function () {
|
|
90141
|
+
return _newAction[key];
|
|
90142
|
+
}
|
|
90143
|
+
});
|
|
90144
|
+
});
|
|
90145
|
+
|
|
90146
|
+
var _expand = __webpack_require__(83066);
|
|
90147
|
+
|
|
90148
|
+
Object.keys(_expand).forEach(function (key) {
|
|
90149
|
+
if (key === "default" || key === "__esModule") return;
|
|
90150
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90151
|
+
if (key in exports && exports[key] === _expand[key]) return;
|
|
90152
|
+
Object.defineProperty(exports, key, {
|
|
90153
|
+
enumerable: true,
|
|
90154
|
+
get: function () {
|
|
90155
|
+
return _expand[key];
|
|
90156
|
+
}
|
|
90157
|
+
});
|
|
90158
|
+
});
|
|
90159
|
+
|
|
90160
|
+
var _base = __webpack_require__(32746);
|
|
90161
|
+
|
|
90162
|
+
Object.keys(_base).forEach(function (key) {
|
|
90163
|
+
if (key === "default" || key === "__esModule") return;
|
|
90164
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90165
|
+
if (key in exports && exports[key] === _base[key]) return;
|
|
90166
|
+
Object.defineProperty(exports, key, {
|
|
90167
|
+
enumerable: true,
|
|
90168
|
+
get: function () {
|
|
90169
|
+
return _base[key];
|
|
90170
|
+
}
|
|
90171
|
+
});
|
|
90172
|
+
});
|
|
90173
|
+
const SolutionDefualtConfig = {
|
|
90174
|
+
[_common.Solution.MWA]: _mwa.MWADefaultConfig,
|
|
90175
|
+
[_common.Solution.Module]: _module.ModuleDefaultConfig,
|
|
90176
|
+
[_common.Solution.Monorepo]: _monorepo.MonorepoDefaultConfig
|
|
90177
|
+
};
|
|
90178
|
+
exports.SolutionDefualtConfig = SolutionDefualtConfig;
|
|
90179
|
+
|
|
90180
|
+
/***/ }),
|
|
90181
|
+
|
|
90182
|
+
/***/ 61934:
|
|
90183
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
90184
|
+
|
|
90185
|
+
"use strict";
|
|
90186
|
+
|
|
90187
|
+
|
|
90188
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90189
|
+
value: true
|
|
90190
|
+
}));
|
|
90191
|
+
exports.EN_LOCALE = void 0;
|
|
90192
|
+
const EN_LOCALE = {
|
|
90193
|
+
solution: {
|
|
90194
|
+
self: 'Please select the solution you want to create',
|
|
90195
|
+
mwa: 'MWA Solution',
|
|
90196
|
+
module: 'Module Solution',
|
|
90197
|
+
monorepo: 'Monorepo Solution'
|
|
90198
|
+
},
|
|
90199
|
+
sub_solution: {
|
|
90200
|
+
self: 'Please select the solution you want to create',
|
|
90201
|
+
mwa: 'MWA Solution',
|
|
90202
|
+
mwa_test: 'MWA Solution(Test)',
|
|
90203
|
+
module: 'Module Solution',
|
|
90204
|
+
inner_module: 'Module Solution(Inner)',
|
|
90205
|
+
monorepo: 'Monorepo Solution'
|
|
90206
|
+
},
|
|
90207
|
+
action: {
|
|
90208
|
+
self: 'Action',
|
|
90209
|
+
function: {
|
|
90210
|
+
self: 'Enable features',
|
|
90211
|
+
unbundle: 'Enable "Unbundled Development"',
|
|
90212
|
+
tailwindcss: 'Enable Tailwind CSS',
|
|
90213
|
+
less: 'Enable Less',
|
|
90214
|
+
sass: 'Enable Sass',
|
|
90215
|
+
bff: 'Enable "BFF"',
|
|
90216
|
+
micro_frontend: 'Enable "micro frontend"',
|
|
90217
|
+
electron: 'Enable "Electron"',
|
|
90218
|
+
i18n: 'Enable "Internationalization (i18n)"',
|
|
90219
|
+
test: 'Enable "Unit Test / Integration Test"',
|
|
90220
|
+
e2e_test: 'Enable "E2E Test"',
|
|
90221
|
+
doc: 'Enable "Document Station"',
|
|
90222
|
+
storybook: 'Enable "Storybook"',
|
|
90223
|
+
runtime_api: 'Enable "Runtime API"',
|
|
90224
|
+
mwa_storybook: 'Enable "Visual Testing (Storybook)"',
|
|
90225
|
+
ssg: 'Enable "SSG"',
|
|
90226
|
+
deploy: 'Enable "Deploy"'
|
|
90227
|
+
},
|
|
90228
|
+
element: {
|
|
90229
|
+
self: 'Create project element',
|
|
90230
|
+
entry: 'New "entry"',
|
|
90231
|
+
server: 'New "Server Custom" source code directory'
|
|
90232
|
+
},
|
|
90233
|
+
refactor: {
|
|
90234
|
+
self: 'Automatic refactor',
|
|
90235
|
+
bff_to_app: 'Transform BFF to frame mode'
|
|
90236
|
+
}
|
|
90237
|
+
},
|
|
90238
|
+
boolean: {
|
|
90239
|
+
yes: 'Yes',
|
|
90240
|
+
no: 'No'
|
|
90241
|
+
},
|
|
90242
|
+
language: {
|
|
90243
|
+
self: 'Development Language'
|
|
90244
|
+
},
|
|
90245
|
+
packageManager: {
|
|
90246
|
+
self: 'Package Management Tool'
|
|
90247
|
+
},
|
|
90248
|
+
packageName: {
|
|
90249
|
+
self: 'Package Name',
|
|
90250
|
+
sub_name: 'Package Name',
|
|
90251
|
+
no_empty: 'The package name cannot be empty!'
|
|
90252
|
+
},
|
|
90253
|
+
packagePath: {
|
|
90254
|
+
self: 'Package Path',
|
|
90255
|
+
no_empty: 'The package path cannot be empty!',
|
|
90256
|
+
format: 'Only lowercase letters, numbers and delimiters (-), and underscore(_), and directory delimiters (/) can be used in package path.'
|
|
90257
|
+
},
|
|
90258
|
+
runWay: {
|
|
90259
|
+
self: 'Do you need to support the following types of applications',
|
|
90260
|
+
no: 'Not Enabled',
|
|
90261
|
+
electron: 'Electron'
|
|
90262
|
+
},
|
|
90263
|
+
needModifyConfig: {
|
|
90264
|
+
self: 'Modify the Default Configuration?',
|
|
90265
|
+
enableLess: 'Enable Less?',
|
|
90266
|
+
enableSass: 'Enable Sass?'
|
|
90267
|
+
},
|
|
90268
|
+
entry: {
|
|
90269
|
+
name: 'Entry name',
|
|
90270
|
+
no_empty: 'The entry name cannot be empty!',
|
|
90271
|
+
no_pages: 'The entry name cannot be "pages"!',
|
|
90272
|
+
disableStateManagement: 'Disable App State Management?',
|
|
90273
|
+
clientRoute: {
|
|
90274
|
+
self: 'Client Routing',
|
|
90275
|
+
selfControlRoute: 'Enable Self Control Route',
|
|
90276
|
+
conventionalRoute: 'Enable Conventional Route',
|
|
90277
|
+
no: 'Not Enabled'
|
|
90278
|
+
}
|
|
90279
|
+
},
|
|
90280
|
+
framework: {
|
|
90281
|
+
self: 'Please select the framework you want to use',
|
|
90282
|
+
egg: 'Egg',
|
|
90283
|
+
express: 'Express',
|
|
90284
|
+
koa: 'Koa',
|
|
90285
|
+
nest: 'Nest'
|
|
90286
|
+
},
|
|
90287
|
+
bff: {
|
|
90288
|
+
bffType: {
|
|
90289
|
+
self: 'BFF Type',
|
|
90290
|
+
func: 'Function',
|
|
90291
|
+
framework: 'Framework'
|
|
90292
|
+
}
|
|
90293
|
+
},
|
|
90294
|
+
deploy: {
|
|
90295
|
+
cloud: {
|
|
90296
|
+
self: 'Modify the default Web Server?'
|
|
90297
|
+
},
|
|
90298
|
+
cdn: {
|
|
90299
|
+
self: 'Please select the cdn platform you want to use',
|
|
90300
|
+
oss: 'Aliyun OSS',
|
|
90301
|
+
cos: 'Tencent COS',
|
|
90302
|
+
no: 'Not Enabled'
|
|
90303
|
+
},
|
|
90304
|
+
lambda: {
|
|
90305
|
+
self: 'Please select the lambda you want to use',
|
|
90306
|
+
fc: 'Aliyun FC',
|
|
90307
|
+
scf: 'Tencent SCF',
|
|
90308
|
+
no: 'Not Enabled'
|
|
90309
|
+
}
|
|
90310
|
+
}
|
|
90311
|
+
};
|
|
90312
|
+
exports.EN_LOCALE = EN_LOCALE;
|
|
90313
|
+
|
|
90314
|
+
/***/ }),
|
|
90315
|
+
|
|
90316
|
+
/***/ 94646:
|
|
90317
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90318
|
+
|
|
90319
|
+
"use strict";
|
|
90320
|
+
|
|
90321
|
+
|
|
90322
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90323
|
+
value: true
|
|
90324
|
+
}));
|
|
90325
|
+
exports.localeKeys = exports.i18n = void 0;
|
|
90326
|
+
|
|
90327
|
+
var _pluginI18n = __webpack_require__(455);
|
|
90328
|
+
|
|
90329
|
+
var _zh = __webpack_require__(4591);
|
|
90330
|
+
|
|
90331
|
+
var _en = __webpack_require__(61934);
|
|
90332
|
+
|
|
90333
|
+
const i18n = new _pluginI18n.I18n();
|
|
90334
|
+
exports.i18n = i18n;
|
|
90335
|
+
const localeKeys = i18n.init('zh', {
|
|
90336
|
+
zh: _zh.ZH_LOCALE,
|
|
90337
|
+
en: _en.EN_LOCALE
|
|
90338
|
+
});
|
|
90339
|
+
exports.localeKeys = localeKeys;
|
|
90340
|
+
|
|
90341
|
+
/***/ }),
|
|
90342
|
+
|
|
90343
|
+
/***/ 4591:
|
|
90344
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
90345
|
+
|
|
90346
|
+
"use strict";
|
|
90347
|
+
|
|
90348
|
+
|
|
90349
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90350
|
+
value: true
|
|
90351
|
+
}));
|
|
90352
|
+
exports.ZH_LOCALE = void 0;
|
|
90353
|
+
const ZH_LOCALE = {
|
|
90354
|
+
solution: {
|
|
90355
|
+
self: '请选择你想创建的工程类型',
|
|
90356
|
+
mwa: '应用',
|
|
90357
|
+
module: '模块',
|
|
90358
|
+
monorepo: '项目组'
|
|
90359
|
+
},
|
|
90360
|
+
sub_solution: {
|
|
90361
|
+
self: '请选择你想创建的工程类型',
|
|
90362
|
+
mwa: '应用',
|
|
90363
|
+
mwa_test: '应用(测试)',
|
|
90364
|
+
module: '模块',
|
|
90365
|
+
inner_module: '模块(内部)'
|
|
90366
|
+
},
|
|
90367
|
+
action: {
|
|
90368
|
+
self: '请选择你想要的操作',
|
|
90369
|
+
function: {
|
|
90370
|
+
self: '启用可选功能',
|
|
90371
|
+
unbundle: '启用「Unbundled 开发」模式',
|
|
90372
|
+
tailwindcss: '启用 Tailwind CSS 支持',
|
|
90373
|
+
less: '启用 Less 支持',
|
|
90374
|
+
sass: '启用 Sass 支持',
|
|
90375
|
+
bff: '启用「BFF」功能',
|
|
90376
|
+
micro_frontend: '启用「微前端」模式',
|
|
90377
|
+
electron: '启用「Electron」模式',
|
|
90378
|
+
i18n: '启用「国际化(i18n)」功能',
|
|
90379
|
+
test: '启用「单元测试 / 集成测试」功能',
|
|
90380
|
+
e2e_test: '启用「E2E 测试」功能',
|
|
90381
|
+
doc: '启用「文档站」功能',
|
|
90382
|
+
storybook: '启用「Storybook」',
|
|
90383
|
+
runtime_api: '启用「Rumtime API」',
|
|
90384
|
+
mwa_storybook: '启用「Visual Testing (Storybook)」模式',
|
|
90385
|
+
ssg: '启用「SSG」功能',
|
|
90386
|
+
deploy: '启用「部署」功能'
|
|
90387
|
+
},
|
|
90388
|
+
element: {
|
|
90389
|
+
self: '创建工程元素',
|
|
90390
|
+
entry: '新建「应用入口」',
|
|
90391
|
+
server: '新建「Server 自定义」源码目录'
|
|
90392
|
+
},
|
|
90393
|
+
refactor: {
|
|
90394
|
+
self: '自动重构',
|
|
90395
|
+
bff_to_app: 'BFF 切换框架模式'
|
|
90396
|
+
}
|
|
90397
|
+
},
|
|
90398
|
+
boolean: {
|
|
90399
|
+
yes: '是',
|
|
90400
|
+
no: '否'
|
|
90401
|
+
},
|
|
90402
|
+
language: {
|
|
90403
|
+
self: '请选择开发语言'
|
|
90404
|
+
},
|
|
90405
|
+
packageManager: {
|
|
90406
|
+
self: '请选择包管理工具'
|
|
90407
|
+
},
|
|
90408
|
+
runWay: {
|
|
90409
|
+
self: '是否需要支持以下类型应用',
|
|
90410
|
+
no: '不需要',
|
|
90411
|
+
electron: 'Electron'
|
|
90412
|
+
},
|
|
90413
|
+
needModifyConfig: {
|
|
90414
|
+
self: '是否需要调整默认配置?',
|
|
90415
|
+
enableLess: '是否启用 Less 支持?',
|
|
90416
|
+
enableSass: '是否启用 Sass 支持?'
|
|
90417
|
+
},
|
|
90418
|
+
entry: {
|
|
90419
|
+
name: '请填写入口名称',
|
|
90420
|
+
no_empty: '入口名称不能为空!',
|
|
90421
|
+
no_pages: '入口名称不支持 "pages"!',
|
|
90422
|
+
needModifyConfig: '是否需要调整默认配置?',
|
|
90423
|
+
disableStateManagement: '是否关闭「应用状态管理」功能?',
|
|
90424
|
+
clientRoute: {
|
|
90425
|
+
self: '请选择客户端路由方式',
|
|
90426
|
+
selfControlRoute: '启用自控路由',
|
|
90427
|
+
conventionalRoute: '启用约定式路由',
|
|
90428
|
+
no: '不启用'
|
|
90429
|
+
}
|
|
90430
|
+
},
|
|
90431
|
+
packageName: {
|
|
90432
|
+
self: '请填写项目名称',
|
|
90433
|
+
sub_name: '请填写子项目名称',
|
|
90434
|
+
no_empty: '项目名称不能为空!'
|
|
90435
|
+
},
|
|
90436
|
+
packagePath: {
|
|
90437
|
+
self: '请填写子项目目录名称',
|
|
90438
|
+
no_empty: '目录名称不能为空!',
|
|
90439
|
+
format: '目录名称只能使用小写字母、数字和分隔线(-)、下划线(_)和目录分隔符(/)'
|
|
90440
|
+
},
|
|
90441
|
+
framework: {
|
|
90442
|
+
self: '请选择运行时框架',
|
|
90443
|
+
egg: 'Egg',
|
|
90444
|
+
express: 'Express',
|
|
90445
|
+
koa: 'Koa',
|
|
90446
|
+
nest: 'Nest'
|
|
90447
|
+
},
|
|
90448
|
+
bff: {
|
|
90449
|
+
bffType: {
|
|
90450
|
+
self: '请选择 BFF 类型',
|
|
90451
|
+
func: '函数模式',
|
|
90452
|
+
framework: '框架模式'
|
|
90453
|
+
}
|
|
90454
|
+
},
|
|
90455
|
+
deploy: {
|
|
90456
|
+
cloud: {
|
|
90457
|
+
self: '默认使用框架内置的产品级 Web 服务器,是否调整?'
|
|
90458
|
+
},
|
|
90459
|
+
cdn: {
|
|
90460
|
+
self: '请选择 CDN 平台',
|
|
90461
|
+
oss: '阿里云 OSS',
|
|
90462
|
+
cos: '腾讯云 COS',
|
|
90463
|
+
no: '不使用 CDN'
|
|
90464
|
+
},
|
|
90465
|
+
lambda: {
|
|
90466
|
+
self: '请选择云函数平台',
|
|
90467
|
+
fc: '阿里云 FC',
|
|
90468
|
+
scf: '腾讯云 SCF',
|
|
90469
|
+
no: '不使用云函数部署'
|
|
90470
|
+
}
|
|
90471
|
+
}
|
|
90472
|
+
};
|
|
90473
|
+
exports.ZH_LOCALE = ZH_LOCALE;
|
|
90474
|
+
|
|
90475
|
+
/***/ }),
|
|
90476
|
+
|
|
90477
|
+
/***/ 28184:
|
|
90478
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90479
|
+
|
|
90480
|
+
"use strict";
|
|
90481
|
+
|
|
90482
|
+
|
|
90483
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90484
|
+
value: true
|
|
90485
|
+
}));
|
|
90486
|
+
|
|
90487
|
+
var _project = __webpack_require__(23189);
|
|
90488
|
+
|
|
90489
|
+
Object.keys(_project).forEach(function (key) {
|
|
90490
|
+
if (key === "default" || key === "__esModule") return;
|
|
90491
|
+
if (key in exports && exports[key] === _project[key]) return;
|
|
90492
|
+
Object.defineProperty(exports, key, {
|
|
90493
|
+
enumerable: true,
|
|
90494
|
+
get: function () {
|
|
90495
|
+
return _project[key];
|
|
90496
|
+
}
|
|
90497
|
+
});
|
|
90498
|
+
});
|
|
90499
|
+
|
|
90500
|
+
/***/ }),
|
|
90501
|
+
|
|
90502
|
+
/***/ 23189:
|
|
90503
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90504
|
+
|
|
90505
|
+
"use strict";
|
|
90506
|
+
|
|
90507
|
+
|
|
90508
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90509
|
+
value: true
|
|
90510
|
+
}));
|
|
90511
|
+
exports.moduleConfigWhenFunc = exports.NeedModifyModuleConfigSchema = exports.ModuleSchemas = exports.ModuleSchema = exports.ModuleDefaultConfig = exports.EnableModuleSassSchema = exports.EnableModuleLessSchema = void 0;
|
|
90512
|
+
|
|
90513
|
+
var _locale = __webpack_require__(94646);
|
|
90514
|
+
|
|
90515
|
+
var _common = __webpack_require__(25523);
|
|
90516
|
+
|
|
90517
|
+
var _css = __webpack_require__(99961);
|
|
90518
|
+
|
|
90519
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
90520
|
+
|
|
90521
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
90522
|
+
|
|
90523
|
+
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; }
|
|
90524
|
+
|
|
90525
|
+
const moduleConfigWhenFunc = values => values.needModifyModuleConfig === _common.BooleanConfig.YES;
|
|
90526
|
+
|
|
90527
|
+
exports.moduleConfigWhenFunc = moduleConfigWhenFunc;
|
|
90528
|
+
|
|
90529
|
+
const EnableModuleLessSchema = _objectSpread(_objectSpread({}, _css.EnableLessSchema), {}, {
|
|
90530
|
+
when: moduleConfigWhenFunc
|
|
90531
|
+
});
|
|
90532
|
+
|
|
90533
|
+
exports.EnableModuleLessSchema = EnableModuleLessSchema;
|
|
90534
|
+
|
|
90535
|
+
const EnableModuleSassSchema = _objectSpread(_objectSpread({}, _css.EnableSassSchema), {}, {
|
|
90536
|
+
when: moduleConfigWhenFunc
|
|
90537
|
+
});
|
|
90538
|
+
|
|
90539
|
+
exports.EnableModuleSassSchema = EnableModuleSassSchema;
|
|
90540
|
+
const NeedModifyModuleConfigSchema = {
|
|
90541
|
+
key: 'needModifyModuleConfig',
|
|
90542
|
+
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.self),
|
|
90543
|
+
type: ['string'],
|
|
90544
|
+
mutualExclusion: true,
|
|
90545
|
+
state: {
|
|
90546
|
+
value: _common.BooleanConfig.NO
|
|
90547
|
+
},
|
|
90548
|
+
items: _common.BooleanSchemas
|
|
90549
|
+
};
|
|
90550
|
+
exports.NeedModifyModuleConfigSchema = NeedModifyModuleConfigSchema;
|
|
90551
|
+
const ModuleSchemas = [_common.PackageNameSchema, _common.PackagePathSchema, _common.LanguageSchema, _common.PackageManagerSchema, NeedModifyModuleConfigSchema, EnableModuleLessSchema, EnableModuleSassSchema];
|
|
90552
|
+
exports.ModuleSchemas = ModuleSchemas;
|
|
90553
|
+
const ModuleSchema = {
|
|
90554
|
+
key: 'module',
|
|
90555
|
+
isObject: true,
|
|
90556
|
+
items: ModuleSchemas
|
|
90557
|
+
};
|
|
90558
|
+
exports.ModuleSchema = ModuleSchema;
|
|
90559
|
+
const ModuleDefaultConfig = {
|
|
90560
|
+
language: _common.Language.TS,
|
|
90561
|
+
packageManager: _common.PackageManager.Pnpm,
|
|
90562
|
+
needModifyModuleConfig: _common.BooleanConfig.NO,
|
|
90563
|
+
enableLess: _common.BooleanConfig.NO,
|
|
90564
|
+
enableSass: _common.BooleanConfig.NO
|
|
90565
|
+
};
|
|
90566
|
+
exports.ModuleDefaultConfig = ModuleDefaultConfig;
|
|
90567
|
+
|
|
90568
|
+
/***/ }),
|
|
90569
|
+
|
|
90570
|
+
/***/ 4234:
|
|
90571
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90572
|
+
|
|
90573
|
+
"use strict";
|
|
90574
|
+
|
|
90575
|
+
|
|
90576
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90577
|
+
value: true
|
|
90578
|
+
}));
|
|
90579
|
+
|
|
90580
|
+
var _project = __webpack_require__(19943);
|
|
90581
|
+
|
|
90582
|
+
Object.keys(_project).forEach(function (key) {
|
|
90583
|
+
if (key === "default" || key === "__esModule") return;
|
|
90584
|
+
if (key in exports && exports[key] === _project[key]) return;
|
|
90585
|
+
Object.defineProperty(exports, key, {
|
|
90586
|
+
enumerable: true,
|
|
90587
|
+
get: function () {
|
|
90588
|
+
return _project[key];
|
|
90589
|
+
}
|
|
90590
|
+
});
|
|
90591
|
+
});
|
|
90592
|
+
|
|
90593
|
+
/***/ }),
|
|
90594
|
+
|
|
90595
|
+
/***/ 19943:
|
|
90596
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90597
|
+
|
|
90598
|
+
"use strict";
|
|
90599
|
+
|
|
90600
|
+
|
|
90601
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90602
|
+
value: true
|
|
90603
|
+
}));
|
|
90604
|
+
exports.MonorepoSchemas = exports.MonorepoSchema = exports.MonorepoDefaultConfig = void 0;
|
|
90605
|
+
|
|
90606
|
+
var _common = __webpack_require__(25523);
|
|
90607
|
+
|
|
90608
|
+
const MonorepoSchemas = [_common.PackageManagerSchema];
|
|
90609
|
+
exports.MonorepoSchemas = MonorepoSchemas;
|
|
90610
|
+
const MonorepoSchema = {
|
|
90611
|
+
key: 'monorepo',
|
|
90612
|
+
isObject: true,
|
|
90613
|
+
items: MonorepoSchemas
|
|
90614
|
+
};
|
|
90615
|
+
exports.MonorepoSchema = MonorepoSchema;
|
|
90616
|
+
const MonorepoDefaultConfig = {
|
|
90617
|
+
packageManager: _common.PackageManager.Pnpm
|
|
90618
|
+
};
|
|
90619
|
+
exports.MonorepoDefaultConfig = MonorepoDefaultConfig;
|
|
90620
|
+
|
|
90621
|
+
/***/ }),
|
|
90622
|
+
|
|
90623
|
+
/***/ 86137:
|
|
90624
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90625
|
+
|
|
90626
|
+
"use strict";
|
|
90627
|
+
|
|
90628
|
+
|
|
90629
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90630
|
+
value: true
|
|
90631
|
+
}));
|
|
90632
|
+
exports.MWADefaultBffConfig = exports.BFFTypeSchema = exports.BFFType = exports.BFFSchemas = exports.BFFSchema = void 0;
|
|
90633
|
+
|
|
90634
|
+
var _common = __webpack_require__(70852);
|
|
90635
|
+
|
|
90636
|
+
var _locale = __webpack_require__(94646);
|
|
90637
|
+
|
|
90638
|
+
let BFFType;
|
|
90639
|
+
exports.BFFType = BFFType;
|
|
90640
|
+
|
|
90641
|
+
(function (BFFType) {
|
|
90642
|
+
BFFType["Func"] = "func";
|
|
90643
|
+
BFFType["Framework"] = "framework";
|
|
90644
|
+
})(BFFType || (exports.BFFType = BFFType = {}));
|
|
90645
|
+
|
|
90646
|
+
const BFFTypeSchema = {
|
|
90647
|
+
key: 'bffType',
|
|
90648
|
+
type: ['string'],
|
|
90649
|
+
label: () => _locale.i18n.t(_locale.localeKeys.bff.bffType.self),
|
|
90650
|
+
mutualExclusion: true,
|
|
90651
|
+
items: Object.values(BFFType).map(bffType => ({
|
|
90652
|
+
key: bffType,
|
|
90653
|
+
label: () => _locale.i18n.t(_locale.localeKeys.bff.bffType[bffType])
|
|
90654
|
+
}))
|
|
90655
|
+
};
|
|
90656
|
+
exports.BFFTypeSchema = BFFTypeSchema;
|
|
90657
|
+
const BFFSchemas = [BFFTypeSchema, _common.FrameworkSchema];
|
|
90658
|
+
exports.BFFSchemas = BFFSchemas;
|
|
90659
|
+
const BFFSchema = {
|
|
90660
|
+
key: 'bff',
|
|
90661
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.function.bff),
|
|
90662
|
+
isObject: true,
|
|
90663
|
+
items: BFFSchemas
|
|
90664
|
+
};
|
|
90665
|
+
exports.BFFSchema = BFFSchema;
|
|
90666
|
+
const MWADefaultBffConfig = {
|
|
90667
|
+
bffType: BFFType.Func,
|
|
90668
|
+
frameWork: _common.Framework.Express
|
|
90669
|
+
};
|
|
90670
|
+
exports.MWADefaultBffConfig = MWADefaultBffConfig;
|
|
90671
|
+
|
|
90672
|
+
/***/ }),
|
|
90673
|
+
|
|
90674
|
+
/***/ 70852:
|
|
90675
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90676
|
+
|
|
90677
|
+
"use strict";
|
|
90678
|
+
|
|
90679
|
+
|
|
90680
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90681
|
+
value: true
|
|
90682
|
+
}));
|
|
90683
|
+
exports.mwaConfigWhenFunc = exports.RunWaySchema = exports.RunWay = exports.NeedModifyMWAConfigSchema = exports.FrameworkSchema = exports.Framework = exports.EnableMWASassSchema = exports.EnableMWALessSchema = exports.DisableStateManagementSchema = exports.ClientRouteSchema = exports.ClientRoute = void 0;
|
|
90684
|
+
|
|
90685
|
+
var _locale = __webpack_require__(94646);
|
|
90686
|
+
|
|
90687
|
+
var _boolean = __webpack_require__(34069);
|
|
90688
|
+
|
|
90689
|
+
var _css = __webpack_require__(99961);
|
|
90690
|
+
|
|
90691
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
90692
|
+
|
|
90693
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
90694
|
+
|
|
90695
|
+
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; }
|
|
90696
|
+
|
|
90697
|
+
const mwaConfigWhenFunc = values => values.needModifyMWAConfig === _boolean.BooleanConfig.YES;
|
|
90698
|
+
|
|
90699
|
+
exports.mwaConfigWhenFunc = mwaConfigWhenFunc;
|
|
90700
|
+
let RunWay;
|
|
90701
|
+
exports.RunWay = RunWay;
|
|
90702
|
+
|
|
90703
|
+
(function (RunWay) {
|
|
90704
|
+
RunWay["No"] = "no";
|
|
90705
|
+
RunWay["Electron"] = "electron";
|
|
90706
|
+
})(RunWay || (exports.RunWay = RunWay = {}));
|
|
90707
|
+
|
|
90708
|
+
const RunWaySchema = {
|
|
90709
|
+
key: 'runWay',
|
|
90710
|
+
type: ['string'],
|
|
90711
|
+
label: () => _locale.i18n.t(_locale.localeKeys.runWay.self),
|
|
90712
|
+
mutualExclusion: true,
|
|
90713
|
+
when: (_, extra) => (extra === null || extra === void 0 ? void 0 : extra.isEmptySrc) === undefined ? true : Boolean(extra === null || extra === void 0 ? void 0 : extra.isEmptySrc),
|
|
90714
|
+
state: {
|
|
90715
|
+
value: RunWay.No
|
|
90716
|
+
},
|
|
90717
|
+
items: Object.values(RunWay).map(runWay => ({
|
|
90718
|
+
key: runWay,
|
|
90719
|
+
label: () => _locale.i18n.t(_locale.localeKeys.runWay[runWay])
|
|
90720
|
+
}))
|
|
90721
|
+
};
|
|
90722
|
+
exports.RunWaySchema = RunWaySchema;
|
|
90723
|
+
let ClientRoute;
|
|
90724
|
+
exports.ClientRoute = ClientRoute;
|
|
90725
|
+
|
|
90726
|
+
(function (ClientRoute) {
|
|
90727
|
+
ClientRoute["SelfControlRoute"] = "selfControlRoute";
|
|
90728
|
+
ClientRoute["ConventionalRoute"] = "conventionalRoute";
|
|
90729
|
+
ClientRoute["No"] = "no";
|
|
90730
|
+
})(ClientRoute || (exports.ClientRoute = ClientRoute = {}));
|
|
90731
|
+
|
|
90732
|
+
const ClientRouteSchema = {
|
|
90733
|
+
key: 'clientRoute',
|
|
90734
|
+
type: ['string'],
|
|
90735
|
+
label: () => _locale.i18n.t(_locale.localeKeys.entry.clientRoute.self),
|
|
90736
|
+
mutualExclusion: true,
|
|
90737
|
+
when: mwaConfigWhenFunc,
|
|
90738
|
+
state: {
|
|
90739
|
+
value: ClientRoute.SelfControlRoute
|
|
90740
|
+
},
|
|
90741
|
+
items: Object.values(ClientRoute).map(clientRoute => ({
|
|
90742
|
+
key: clientRoute,
|
|
90743
|
+
label: () => _locale.i18n.t(_locale.localeKeys.entry.clientRoute[clientRoute])
|
|
90744
|
+
}))
|
|
90745
|
+
};
|
|
90746
|
+
exports.ClientRouteSchema = ClientRouteSchema;
|
|
90747
|
+
const DisableStateManagementSchema = {
|
|
90748
|
+
key: 'disableStateManagement',
|
|
90749
|
+
type: ['string'],
|
|
90750
|
+
label: () => _locale.i18n.t(_locale.localeKeys.entry.disableStateManagement),
|
|
90751
|
+
mutualExclusion: true,
|
|
90752
|
+
when: mwaConfigWhenFunc,
|
|
90753
|
+
state: {
|
|
90754
|
+
value: _boolean.BooleanConfig.NO
|
|
90755
|
+
},
|
|
90756
|
+
items: _boolean.BooleanSchemas
|
|
90757
|
+
};
|
|
90758
|
+
exports.DisableStateManagementSchema = DisableStateManagementSchema;
|
|
90759
|
+
|
|
90760
|
+
const EnableMWALessSchema = _objectSpread(_objectSpread({}, _css.EnableLessSchema), {}, {
|
|
90761
|
+
when: mwaConfigWhenFunc
|
|
90762
|
+
});
|
|
90763
|
+
|
|
90764
|
+
exports.EnableMWALessSchema = EnableMWALessSchema;
|
|
90765
|
+
|
|
90766
|
+
const EnableMWASassSchema = _objectSpread(_objectSpread({}, _css.EnableSassSchema), {}, {
|
|
90767
|
+
when: mwaConfigWhenFunc
|
|
90768
|
+
});
|
|
90769
|
+
|
|
90770
|
+
exports.EnableMWASassSchema = EnableMWASassSchema;
|
|
90771
|
+
const NeedModifyMWAConfigSchema = {
|
|
90772
|
+
key: 'needModifyMWAConfig',
|
|
90773
|
+
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.self),
|
|
90774
|
+
type: ['string'],
|
|
90775
|
+
mutualExclusion: true,
|
|
90776
|
+
state: {
|
|
90777
|
+
value: _boolean.BooleanConfig.NO
|
|
90778
|
+
},
|
|
90779
|
+
items: _boolean.BooleanSchemas
|
|
90780
|
+
};
|
|
90781
|
+
exports.NeedModifyMWAConfigSchema = NeedModifyMWAConfigSchema;
|
|
90782
|
+
let Framework;
|
|
90783
|
+
exports.Framework = Framework;
|
|
90784
|
+
|
|
90785
|
+
(function (Framework) {
|
|
90786
|
+
Framework["Express"] = "express";
|
|
90787
|
+
Framework["Koa"] = "koa";
|
|
90788
|
+
Framework["Egg"] = "egg";
|
|
90789
|
+
Framework["Nest"] = "nest";
|
|
90790
|
+
})(Framework || (exports.Framework = Framework = {}));
|
|
90791
|
+
|
|
90792
|
+
const FrameworkSchema = {
|
|
90793
|
+
key: 'framework',
|
|
90794
|
+
type: ['string'],
|
|
90795
|
+
label: () => _locale.i18n.t(_locale.localeKeys.framework.self),
|
|
90796
|
+
mutualExclusion: true,
|
|
90797
|
+
items: Object.values(Framework).map(framework => ({
|
|
90798
|
+
key: framework,
|
|
90799
|
+
label: () => _locale.i18n.t(_locale.localeKeys.framework[framework])
|
|
90800
|
+
}))
|
|
90801
|
+
};
|
|
90802
|
+
exports.FrameworkSchema = FrameworkSchema;
|
|
90803
|
+
|
|
90804
|
+
/***/ }),
|
|
90805
|
+
|
|
90806
|
+
/***/ 73423:
|
|
90807
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90808
|
+
|
|
90809
|
+
"use strict";
|
|
90810
|
+
|
|
90811
|
+
|
|
90812
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90813
|
+
value: true
|
|
90814
|
+
}));
|
|
90815
|
+
exports.LambdaTypeSchema = exports.LambdaType = exports.DeployTypeSchema = exports.CloudTypeSchema = exports.CDNTypeSchema = exports.CDNType = void 0;
|
|
90816
|
+
|
|
90817
|
+
var _locale = __webpack_require__(94646);
|
|
90818
|
+
|
|
90819
|
+
var _common = __webpack_require__(25523);
|
|
90820
|
+
|
|
90821
|
+
let CDNType;
|
|
90822
|
+
exports.CDNType = CDNType;
|
|
90823
|
+
|
|
90824
|
+
(function (CDNType) {
|
|
90825
|
+
CDNType["OSS"] = "oss";
|
|
90826
|
+
CDNType["COS"] = "cos";
|
|
90827
|
+
CDNType["NO"] = "no";
|
|
90828
|
+
})(CDNType || (exports.CDNType = CDNType = {}));
|
|
90829
|
+
|
|
90830
|
+
let LambdaType;
|
|
90831
|
+
exports.LambdaType = LambdaType;
|
|
90832
|
+
|
|
90833
|
+
(function (LambdaType) {
|
|
90834
|
+
LambdaType["FC"] = "fc";
|
|
90835
|
+
LambdaType["SCF"] = "scf";
|
|
90836
|
+
LambdaType["NO"] = "no";
|
|
90837
|
+
})(LambdaType || (exports.LambdaType = LambdaType = {}));
|
|
90838
|
+
|
|
90839
|
+
const CloudTypeSchema = {
|
|
90840
|
+
key: 'disableModernServer',
|
|
90841
|
+
type: ['string'],
|
|
90842
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cloud.self),
|
|
90843
|
+
mutualExclusion: true,
|
|
90844
|
+
state: {
|
|
90845
|
+
value: _common.BooleanConfig.NO
|
|
90846
|
+
},
|
|
90847
|
+
items: _common.BooleanSchemas
|
|
90848
|
+
};
|
|
90849
|
+
exports.CloudTypeSchema = CloudTypeSchema;
|
|
90850
|
+
const CDNTypeSchema = {
|
|
90851
|
+
key: 'cdnType',
|
|
90852
|
+
type: ['string'],
|
|
90853
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cdn.self),
|
|
90854
|
+
mutualExclusion: true,
|
|
90855
|
+
items: Object.values(CDNType).map(deployType => ({
|
|
90856
|
+
key: deployType,
|
|
90857
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cdn[deployType])
|
|
90858
|
+
}))
|
|
90859
|
+
};
|
|
90860
|
+
exports.CDNTypeSchema = CDNTypeSchema;
|
|
90861
|
+
const LambdaTypeSchema = {
|
|
90862
|
+
key: 'lambdaType',
|
|
90863
|
+
type: ['string'],
|
|
90864
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.lambda.self),
|
|
90865
|
+
mutualExclusion: true,
|
|
90866
|
+
when: values => values.disableModernServer === _common.BooleanConfig.NO,
|
|
90867
|
+
items: Object.values(LambdaType).map(deployType => ({
|
|
90868
|
+
key: deployType,
|
|
90869
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.lambda[deployType])
|
|
90870
|
+
}))
|
|
90871
|
+
};
|
|
90872
|
+
exports.LambdaTypeSchema = LambdaTypeSchema;
|
|
90873
|
+
const DeployTypeSchema = {
|
|
90874
|
+
key: 'Deploy',
|
|
90875
|
+
isObject: true,
|
|
90876
|
+
items: [CloudTypeSchema, CDNTypeSchema, LambdaTypeSchema]
|
|
90877
|
+
};
|
|
90878
|
+
exports.DeployTypeSchema = DeployTypeSchema;
|
|
90879
|
+
|
|
90880
|
+
/***/ }),
|
|
90881
|
+
|
|
90882
|
+
/***/ 91124:
|
|
90883
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90884
|
+
|
|
90885
|
+
"use strict";
|
|
90886
|
+
|
|
90887
|
+
|
|
90888
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90889
|
+
value: true
|
|
90890
|
+
}));
|
|
90891
|
+
exports.MWADefaultEntryConfig = exports.EntrySchemas = exports.EntrySchema = void 0;
|
|
90892
|
+
|
|
90893
|
+
var _common = __webpack_require__(70852);
|
|
90894
|
+
|
|
90895
|
+
var _locale = __webpack_require__(94646);
|
|
90896
|
+
|
|
90897
|
+
var _common2 = __webpack_require__(25523);
|
|
90898
|
+
|
|
90899
|
+
const EntryNameSchema = {
|
|
90900
|
+
key: 'name',
|
|
90901
|
+
type: ['string'],
|
|
90902
|
+
label: () => _locale.i18n.t(_locale.localeKeys.entry.name),
|
|
90903
|
+
state: {
|
|
90904
|
+
value: 'entry'
|
|
90905
|
+
},
|
|
90906
|
+
validate: value => {
|
|
90907
|
+
if (!value) {
|
|
90908
|
+
return {
|
|
90909
|
+
success: false,
|
|
90910
|
+
message: _locale.i18n.t(_locale.localeKeys.entry.no_empty)
|
|
90911
|
+
};
|
|
90912
|
+
}
|
|
90913
|
+
|
|
90914
|
+
if (value === 'pages') {
|
|
90915
|
+
return {
|
|
90916
|
+
success: false,
|
|
90917
|
+
message: _locale.i18n.t(_locale.localeKeys.entry.no_pages)
|
|
90918
|
+
};
|
|
90919
|
+
}
|
|
90920
|
+
|
|
90921
|
+
return {
|
|
90922
|
+
success: true
|
|
90923
|
+
};
|
|
90924
|
+
},
|
|
90925
|
+
when: (_values, extra) => {
|
|
90926
|
+
if (extra !== null && extra !== void 0 && extra.isEmptySrc) {
|
|
90927
|
+
return false;
|
|
90928
|
+
}
|
|
90929
|
+
|
|
90930
|
+
return true;
|
|
90931
|
+
}
|
|
90932
|
+
};
|
|
90933
|
+
const EntrySchemas = [EntryNameSchema, _common.NeedModifyMWAConfigSchema, _common.ClientRouteSchema, _common.DisableStateManagementSchema];
|
|
90934
|
+
exports.EntrySchemas = EntrySchemas;
|
|
90935
|
+
const EntrySchema = {
|
|
90936
|
+
key: 'entry',
|
|
90937
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.element.entry),
|
|
90938
|
+
isObject: true,
|
|
90939
|
+
items: EntrySchemas
|
|
90940
|
+
};
|
|
90941
|
+
exports.EntrySchema = EntrySchema;
|
|
90942
|
+
const MWADefaultEntryConfig = {
|
|
90943
|
+
needModifyMWAConfig: _common2.BooleanConfig.NO,
|
|
90944
|
+
clientRoute: _common.ClientRoute.SelfControlRoute,
|
|
90945
|
+
disableStateManagement: _common2.BooleanConfig.NO
|
|
90946
|
+
};
|
|
90947
|
+
exports.MWADefaultEntryConfig = MWADefaultEntryConfig;
|
|
90948
|
+
|
|
90949
|
+
/***/ }),
|
|
90950
|
+
|
|
90951
|
+
/***/ 61693:
|
|
90952
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90953
|
+
|
|
90954
|
+
"use strict";
|
|
90955
|
+
|
|
90956
|
+
|
|
90957
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90958
|
+
value: true
|
|
90959
|
+
}));
|
|
90960
|
+
|
|
90961
|
+
var _common = __webpack_require__(70852);
|
|
90962
|
+
|
|
90963
|
+
Object.keys(_common).forEach(function (key) {
|
|
90964
|
+
if (key === "default" || key === "__esModule") return;
|
|
90965
|
+
if (key in exports && exports[key] === _common[key]) return;
|
|
90966
|
+
Object.defineProperty(exports, key, {
|
|
90967
|
+
enumerable: true,
|
|
90968
|
+
get: function () {
|
|
90969
|
+
return _common[key];
|
|
90970
|
+
}
|
|
90971
|
+
});
|
|
90972
|
+
});
|
|
90973
|
+
|
|
90974
|
+
var _entry = __webpack_require__(91124);
|
|
90975
|
+
|
|
90976
|
+
Object.keys(_entry).forEach(function (key) {
|
|
90977
|
+
if (key === "default" || key === "__esModule") return;
|
|
90978
|
+
if (key in exports && exports[key] === _entry[key]) return;
|
|
90979
|
+
Object.defineProperty(exports, key, {
|
|
90980
|
+
enumerable: true,
|
|
90981
|
+
get: function () {
|
|
90982
|
+
return _entry[key];
|
|
90983
|
+
}
|
|
90984
|
+
});
|
|
90985
|
+
});
|
|
90986
|
+
|
|
90987
|
+
var _bff = __webpack_require__(86137);
|
|
90988
|
+
|
|
90989
|
+
Object.keys(_bff).forEach(function (key) {
|
|
90990
|
+
if (key === "default" || key === "__esModule") return;
|
|
90991
|
+
if (key in exports && exports[key] === _bff[key]) return;
|
|
90992
|
+
Object.defineProperty(exports, key, {
|
|
90993
|
+
enumerable: true,
|
|
90994
|
+
get: function () {
|
|
90995
|
+
return _bff[key];
|
|
90996
|
+
}
|
|
90997
|
+
});
|
|
90998
|
+
});
|
|
90999
|
+
|
|
91000
|
+
var _deploy = __webpack_require__(73423);
|
|
91001
|
+
|
|
91002
|
+
Object.keys(_deploy).forEach(function (key) {
|
|
91003
|
+
if (key === "default" || key === "__esModule") return;
|
|
91004
|
+
if (key in exports && exports[key] === _deploy[key]) return;
|
|
91005
|
+
Object.defineProperty(exports, key, {
|
|
91006
|
+
enumerable: true,
|
|
91007
|
+
get: function () {
|
|
91008
|
+
return _deploy[key];
|
|
91009
|
+
}
|
|
91010
|
+
});
|
|
91011
|
+
});
|
|
91012
|
+
|
|
91013
|
+
var _project = __webpack_require__(30968);
|
|
91014
|
+
|
|
91015
|
+
Object.keys(_project).forEach(function (key) {
|
|
91016
|
+
if (key === "default" || key === "__esModule") return;
|
|
91017
|
+
if (key in exports && exports[key] === _project[key]) return;
|
|
91018
|
+
Object.defineProperty(exports, key, {
|
|
91019
|
+
enumerable: true,
|
|
91020
|
+
get: function () {
|
|
91021
|
+
return _project[key];
|
|
91022
|
+
}
|
|
91023
|
+
});
|
|
91024
|
+
});
|
|
91025
|
+
|
|
91026
|
+
var _server = __webpack_require__(59223);
|
|
91027
|
+
|
|
91028
|
+
Object.keys(_server).forEach(function (key) {
|
|
91029
|
+
if (key === "default" || key === "__esModule") return;
|
|
91030
|
+
if (key in exports && exports[key] === _server[key]) return;
|
|
91031
|
+
Object.defineProperty(exports, key, {
|
|
91032
|
+
enumerable: true,
|
|
91033
|
+
get: function () {
|
|
91034
|
+
return _server[key];
|
|
91035
|
+
}
|
|
91036
|
+
});
|
|
91037
|
+
});
|
|
91038
|
+
|
|
91039
|
+
/***/ }),
|
|
91040
|
+
|
|
91041
|
+
/***/ 30968:
|
|
91042
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91043
|
+
|
|
91044
|
+
"use strict";
|
|
91045
|
+
|
|
91046
|
+
|
|
91047
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91048
|
+
value: true
|
|
91049
|
+
}));
|
|
91050
|
+
exports.MWASchemas = exports.MWASchema = exports.MWADefaultConfig = void 0;
|
|
91051
|
+
|
|
91052
|
+
var _common = __webpack_require__(70852);
|
|
91053
|
+
|
|
91054
|
+
var _common2 = __webpack_require__(25523);
|
|
91055
|
+
|
|
91056
|
+
const MWASchemas = [_common2.PackageNameSchema, _common2.PackagePathSchema, _common2.LanguageSchema, _common2.PackageManagerSchema, _common.RunWaySchema, _common.NeedModifyMWAConfigSchema, _common.ClientRouteSchema, _common.DisableStateManagementSchema, _common.EnableMWALessSchema, _common.EnableMWASassSchema];
|
|
91057
|
+
exports.MWASchemas = MWASchemas;
|
|
91058
|
+
const MWASchema = {
|
|
91059
|
+
key: 'mwa',
|
|
91060
|
+
isObject: true,
|
|
91061
|
+
items: MWASchemas
|
|
91062
|
+
};
|
|
91063
|
+
exports.MWASchema = MWASchema;
|
|
91064
|
+
const MWADefaultConfig = {
|
|
91065
|
+
language: _common2.Language.TS,
|
|
91066
|
+
packageManager: _common2.PackageManager.Pnpm,
|
|
91067
|
+
runWay: _common.RunWay.No,
|
|
91068
|
+
needModifyMWAConfig: _common2.BooleanConfig.NO,
|
|
91069
|
+
clientRoute: _common.ClientRoute.SelfControlRoute,
|
|
91070
|
+
disableStateManagement: _common2.BooleanConfig.NO,
|
|
91071
|
+
enableLess: _common2.BooleanConfig.NO,
|
|
91072
|
+
enableSass: _common2.BooleanConfig.NO
|
|
91073
|
+
};
|
|
91074
|
+
exports.MWADefaultConfig = MWADefaultConfig;
|
|
91075
|
+
|
|
91076
|
+
/***/ }),
|
|
91077
|
+
|
|
91078
|
+
/***/ 59223:
|
|
91079
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91080
|
+
|
|
91081
|
+
"use strict";
|
|
91082
|
+
|
|
91083
|
+
|
|
91084
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91085
|
+
value: true
|
|
91086
|
+
}));
|
|
91087
|
+
exports.ServerSchemas = exports.ServerSchema = exports.MWADefaultServerConfig = void 0;
|
|
91088
|
+
|
|
91089
|
+
var _locale = __webpack_require__(94646);
|
|
91090
|
+
|
|
91091
|
+
var _common = __webpack_require__(70852);
|
|
91092
|
+
|
|
91093
|
+
const ServerSchemas = [_common.FrameworkSchema];
|
|
91094
|
+
exports.ServerSchemas = ServerSchemas;
|
|
91095
|
+
const ServerSchema = {
|
|
91096
|
+
key: 'server',
|
|
91097
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.element.server),
|
|
91098
|
+
isObject: true,
|
|
91099
|
+
items: ServerSchemas
|
|
91100
|
+
};
|
|
91101
|
+
exports.ServerSchema = ServerSchema;
|
|
91102
|
+
const MWADefaultServerConfig = {
|
|
91103
|
+
framework: _common.Framework.Express
|
|
91104
|
+
};
|
|
91105
|
+
exports.MWADefaultServerConfig = MWADefaultServerConfig;
|
|
91106
|
+
|
|
91107
|
+
/***/ }),
|
|
91108
|
+
|
|
91109
|
+
/***/ 78353:
|
|
91110
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91111
|
+
|
|
91112
|
+
"use strict";
|
|
91113
|
+
|
|
91114
|
+
|
|
91115
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91116
|
+
value: true
|
|
91117
|
+
}));
|
|
91118
|
+
exports.ActionTypeTextMap = exports.ActionTypeText = exports.ActionType = exports.ActionRefactorText = exports.ActionRefactor = exports.ActionFunctionText = exports.ActionFunction = exports.ActionElementText = exports.ActionElement = void 0;
|
|
91119
|
+
|
|
91120
|
+
var _locale = __webpack_require__(94646);
|
|
91121
|
+
|
|
91122
|
+
let ActionType;
|
|
91123
|
+
exports.ActionType = ActionType;
|
|
91124
|
+
|
|
91125
|
+
(function (ActionType) {
|
|
91126
|
+
ActionType["Function"] = "function";
|
|
91127
|
+
ActionType["Element"] = "element";
|
|
91128
|
+
ActionType["Refactor"] = "refactor";
|
|
91129
|
+
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
91130
|
+
|
|
91131
|
+
let ActionElement;
|
|
91132
|
+
exports.ActionElement = ActionElement;
|
|
91133
|
+
|
|
91134
|
+
(function (ActionElement) {
|
|
91135
|
+
ActionElement["Entry"] = "entry";
|
|
91136
|
+
ActionElement["Server"] = "server";
|
|
91137
|
+
})(ActionElement || (exports.ActionElement = ActionElement = {}));
|
|
91138
|
+
|
|
91139
|
+
let ActionFunction;
|
|
91140
|
+
exports.ActionFunction = ActionFunction;
|
|
91141
|
+
|
|
91142
|
+
(function (ActionFunction) {
|
|
91143
|
+
ActionFunction["UnBundle"] = "unbundle";
|
|
91144
|
+
ActionFunction["TailwindCSS"] = "tailwindcss";
|
|
91145
|
+
ActionFunction["Less"] = "less";
|
|
91146
|
+
ActionFunction["Sass"] = "sass";
|
|
91147
|
+
ActionFunction["BFF"] = "bff";
|
|
91148
|
+
ActionFunction["MicroFrontend"] = "micro_frontend";
|
|
91149
|
+
ActionFunction["Electron"] = "electron";
|
|
91150
|
+
ActionFunction["I18n"] = "i18n";
|
|
91151
|
+
ActionFunction["Test"] = "test";
|
|
91152
|
+
ActionFunction["E2ETest"] = "e2e_test";
|
|
91153
|
+
ActionFunction["Doc"] = "doc";
|
|
91154
|
+
ActionFunction["Storybook"] = "storybook";
|
|
91155
|
+
ActionFunction["RuntimeApi"] = "runtimeApi";
|
|
91156
|
+
ActionFunction["SSG"] = "ssg";
|
|
91157
|
+
ActionFunction["Deploy"] = "deploy";
|
|
91158
|
+
})(ActionFunction || (exports.ActionFunction = ActionFunction = {}));
|
|
91159
|
+
|
|
91160
|
+
let ActionRefactor;
|
|
91161
|
+
exports.ActionRefactor = ActionRefactor;
|
|
91162
|
+
|
|
91163
|
+
(function (ActionRefactor) {
|
|
91164
|
+
ActionRefactor["BFFToApp"] = "bff_to_app";
|
|
91165
|
+
})(ActionRefactor || (exports.ActionRefactor = ActionRefactor = {}));
|
|
91166
|
+
|
|
91167
|
+
const ActionTypeText = {
|
|
91168
|
+
[ActionType.Function]: () => _locale.i18n.t(_locale.localeKeys.action.function.self),
|
|
91169
|
+
[ActionType.Element]: () => _locale.i18n.t(_locale.localeKeys.action.element.self),
|
|
91170
|
+
[ActionType.Refactor]: () => _locale.i18n.t(_locale.localeKeys.action.refactor.self)
|
|
91171
|
+
};
|
|
91172
|
+
exports.ActionTypeText = ActionTypeText;
|
|
91173
|
+
const ActionElementText = {
|
|
91174
|
+
[ActionElement.Entry]: () => _locale.i18n.t(_locale.localeKeys.action.element.entry),
|
|
91175
|
+
[ActionElement.Server]: () => _locale.i18n.t(_locale.localeKeys.action.element.server)
|
|
91176
|
+
};
|
|
91177
|
+
exports.ActionElementText = ActionElementText;
|
|
91178
|
+
const ActionFunctionText = {
|
|
91179
|
+
[ActionFunction.UnBundle]: () => _locale.i18n.t(_locale.localeKeys.action.function.unbundle),
|
|
91180
|
+
[ActionFunction.TailwindCSS]: () => _locale.i18n.t(_locale.localeKeys.action.function.tailwindcss),
|
|
91181
|
+
[ActionFunction.Less]: () => _locale.i18n.t(_locale.localeKeys.action.function.less),
|
|
91182
|
+
[ActionFunction.Sass]: () => _locale.i18n.t(_locale.localeKeys.action.function.sass),
|
|
91183
|
+
[ActionFunction.BFF]: () => _locale.i18n.t(_locale.localeKeys.action.function.bff),
|
|
91184
|
+
[ActionFunction.MicroFrontend]: () => _locale.i18n.t(_locale.localeKeys.action.function.micro_frontend),
|
|
91185
|
+
[ActionFunction.Electron]: () => _locale.i18n.t(_locale.localeKeys.action.function.electron),
|
|
91186
|
+
[ActionFunction.I18n]: () => _locale.i18n.t(_locale.localeKeys.action.function.i18n),
|
|
91187
|
+
[ActionFunction.Test]: () => _locale.i18n.t(_locale.localeKeys.action.function.test),
|
|
91188
|
+
[ActionFunction.E2ETest]: () => _locale.i18n.t(_locale.localeKeys.action.function.e2e_test),
|
|
91189
|
+
[ActionFunction.Doc]: () => _locale.i18n.t(_locale.localeKeys.action.function.doc),
|
|
91190
|
+
[ActionFunction.Storybook]: () => _locale.i18n.t(_locale.localeKeys.action.function.storybook),
|
|
91191
|
+
[ActionFunction.RuntimeApi]: () => _locale.i18n.t(_locale.localeKeys.action.function.runtime_api),
|
|
91192
|
+
[ActionFunction.SSG]: () => _locale.i18n.t(_locale.localeKeys.action.function.ssg),
|
|
91193
|
+
[ActionFunction.Deploy]: () => _locale.i18n.t(_locale.localeKeys.action.function.deploy)
|
|
91194
|
+
};
|
|
91195
|
+
exports.ActionFunctionText = ActionFunctionText;
|
|
91196
|
+
const ActionRefactorText = {
|
|
91197
|
+
[ActionRefactor.BFFToApp]: () => _locale.i18n.t(_locale.localeKeys.action.refactor.bff_to_app)
|
|
91198
|
+
};
|
|
91199
|
+
exports.ActionRefactorText = ActionRefactorText;
|
|
91200
|
+
const ActionTypeTextMap = {
|
|
91201
|
+
[ActionType.Element]: ActionElementText,
|
|
91202
|
+
[ActionType.Function]: ActionFunctionText,
|
|
91203
|
+
[ActionType.Refactor]: ActionRefactorText
|
|
91204
|
+
};
|
|
91205
|
+
exports.ActionTypeTextMap = ActionTypeTextMap;
|
|
91206
|
+
|
|
91207
|
+
/***/ }),
|
|
91208
|
+
|
|
91209
|
+
/***/ 13988:
|
|
91210
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91211
|
+
|
|
91212
|
+
"use strict";
|
|
91213
|
+
|
|
91214
|
+
|
|
91215
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91216
|
+
value: true
|
|
91217
|
+
}));
|
|
91218
|
+
|
|
91219
|
+
var _common = __webpack_require__(78353);
|
|
91220
|
+
|
|
91221
|
+
Object.keys(_common).forEach(function (key) {
|
|
91222
|
+
if (key === "default" || key === "__esModule") return;
|
|
91223
|
+
if (key in exports && exports[key] === _common[key]) return;
|
|
91224
|
+
Object.defineProperty(exports, key, {
|
|
91225
|
+
enumerable: true,
|
|
91226
|
+
get: function () {
|
|
91227
|
+
return _common[key];
|
|
91228
|
+
}
|
|
91229
|
+
});
|
|
91230
|
+
});
|
|
91231
|
+
|
|
91232
|
+
var _mwa = __webpack_require__(27173);
|
|
91233
|
+
|
|
91234
|
+
Object.keys(_mwa).forEach(function (key) {
|
|
91235
|
+
if (key === "default" || key === "__esModule") return;
|
|
91236
|
+
if (key in exports && exports[key] === _mwa[key]) return;
|
|
91237
|
+
Object.defineProperty(exports, key, {
|
|
91238
|
+
enumerable: true,
|
|
91239
|
+
get: function () {
|
|
91240
|
+
return _mwa[key];
|
|
91241
|
+
}
|
|
91242
|
+
});
|
|
91243
|
+
});
|
|
91244
|
+
|
|
91245
|
+
var _module = __webpack_require__(23399);
|
|
91246
|
+
|
|
91247
|
+
Object.keys(_module).forEach(function (key) {
|
|
91248
|
+
if (key === "default" || key === "__esModule") return;
|
|
91249
|
+
if (key in exports && exports[key] === _module[key]) return;
|
|
91250
|
+
Object.defineProperty(exports, key, {
|
|
91251
|
+
enumerable: true,
|
|
91252
|
+
get: function () {
|
|
91253
|
+
return _module[key];
|
|
91254
|
+
}
|
|
91255
|
+
});
|
|
91256
|
+
});
|
|
91257
|
+
|
|
91258
|
+
var _monorepo = __webpack_require__(12225);
|
|
91259
|
+
|
|
91260
|
+
Object.keys(_monorepo).forEach(function (key) {
|
|
91261
|
+
if (key === "default" || key === "__esModule") return;
|
|
91262
|
+
if (key in exports && exports[key] === _monorepo[key]) return;
|
|
91263
|
+
Object.defineProperty(exports, key, {
|
|
91264
|
+
enumerable: true,
|
|
91265
|
+
get: function () {
|
|
91266
|
+
return _monorepo[key];
|
|
91267
|
+
}
|
|
91268
|
+
});
|
|
91269
|
+
});
|
|
91270
|
+
|
|
91271
|
+
/***/ }),
|
|
91272
|
+
|
|
91273
|
+
/***/ 23399:
|
|
91274
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91275
|
+
|
|
91276
|
+
"use strict";
|
|
91277
|
+
|
|
91278
|
+
|
|
91279
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91280
|
+
value: true
|
|
91281
|
+
}));
|
|
91282
|
+
exports.ModuleSpecialSchemaMap = exports.ModuleNewActionSchema = exports.ModuleNewActionGenerators = exports.ModuleActionTypesMap = exports.ModuleActionTypes = exports.ModuleActionFunctionsPeerDependencies = exports.ModuleActionFunctionsDevDependencies = exports.ModuleActionFunctionsDependencies = exports.ModuleActionFunctions = void 0;
|
|
91283
|
+
|
|
91284
|
+
var _common = __webpack_require__(78353);
|
|
91285
|
+
|
|
91286
|
+
var _locale = __webpack_require__(94646);
|
|
91287
|
+
|
|
91288
|
+
const ModuleActionTypes = [_common.ActionType.Function];
|
|
91289
|
+
exports.ModuleActionTypes = ModuleActionTypes;
|
|
91290
|
+
const ModuleActionFunctions = [_common.ActionFunction.TailwindCSS, _common.ActionFunction.Less, _common.ActionFunction.Sass, // ActionFunction.I18n,
|
|
91291
|
+
// ActionFunction.Doc,
|
|
91292
|
+
_common.ActionFunction.Storybook, _common.ActionFunction.RuntimeApi];
|
|
91293
|
+
exports.ModuleActionFunctions = ModuleActionFunctions;
|
|
91294
|
+
const ModuleActionTypesMap = {
|
|
91295
|
+
[_common.ActionType.Function]: ModuleActionFunctions
|
|
91296
|
+
};
|
|
91297
|
+
exports.ModuleActionTypesMap = ModuleActionTypesMap;
|
|
91298
|
+
const ModuleSpecialSchemaMap = {};
|
|
91299
|
+
exports.ModuleSpecialSchemaMap = ModuleSpecialSchemaMap;
|
|
91300
|
+
const ModuleNewActionSchema = {
|
|
91301
|
+
key: 'Module_new_action',
|
|
91302
|
+
isObject: true,
|
|
91303
|
+
items: [{
|
|
91304
|
+
key: 'actionType',
|
|
91305
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.self),
|
|
91306
|
+
type: ['string'],
|
|
91307
|
+
mutualExclusion: true,
|
|
91308
|
+
items: ModuleActionTypes.map(type => ({
|
|
91309
|
+
key: type,
|
|
91310
|
+
label: _common.ActionTypeText[type],
|
|
91311
|
+
type: ['string'],
|
|
91312
|
+
mutualExclusion: true,
|
|
91313
|
+
items: ModuleActionFunctions.map(func => ModuleSpecialSchemaMap[func] || {
|
|
91314
|
+
key: func,
|
|
91315
|
+
label: _common.ActionFunctionText[func]
|
|
91316
|
+
})
|
|
91317
|
+
}))
|
|
91318
|
+
}]
|
|
91319
|
+
};
|
|
91320
|
+
exports.ModuleNewActionSchema = ModuleNewActionSchema;
|
|
91321
|
+
const ModuleActionFunctionsDevDependencies = {
|
|
91322
|
+
[_common.ActionFunction.Doc]: '@modern-js/plugin-docsite',
|
|
91323
|
+
[_common.ActionFunction.Storybook]: '@modern-js/plugin-storybook',
|
|
91324
|
+
[_common.ActionFunction.RuntimeApi]: '@modern-js/runtime',
|
|
91325
|
+
[_common.ActionFunction.TailwindCSS]: 'tailwindcss'
|
|
91326
|
+
};
|
|
91327
|
+
exports.ModuleActionFunctionsDevDependencies = ModuleActionFunctionsDevDependencies;
|
|
91328
|
+
const ModuleActionFunctionsPeerDependencies = {
|
|
91329
|
+
[_common.ActionFunction.RuntimeApi]: '@modern-js/runtime',
|
|
91330
|
+
[_common.ActionFunction.TailwindCSS]: 'tailwindcss'
|
|
91331
|
+
};
|
|
91332
|
+
exports.ModuleActionFunctionsPeerDependencies = ModuleActionFunctionsPeerDependencies;
|
|
91333
|
+
const ModuleActionFunctionsDependencies = {
|
|
91334
|
+
[_common.ActionFunction.I18n]: '@modern-js/plugin-i18n',
|
|
91335
|
+
[_common.ActionFunction.TailwindCSS]: '@modern-js/plugin-tailwindcss',
|
|
91336
|
+
[_common.ActionFunction.Less]: '@modern-js/plugin-less',
|
|
91337
|
+
[_common.ActionFunction.Sass]: '@modern-js/plugin-sass'
|
|
91338
|
+
};
|
|
91339
|
+
exports.ModuleActionFunctionsDependencies = ModuleActionFunctionsDependencies;
|
|
91340
|
+
const ModuleNewActionGenerators = {
|
|
91341
|
+
[_common.ActionType.Function]: {
|
|
91342
|
+
[_common.ActionFunction.TailwindCSS]: '@modern-js/dependence-generator',
|
|
91343
|
+
[_common.ActionFunction.Less]: '@modern-js/dependence-generator',
|
|
91344
|
+
[_common.ActionFunction.Sass]: '@modern-js/dependence-generator',
|
|
91345
|
+
[_common.ActionFunction.I18n]: '@modern-js/dependence-generator',
|
|
91346
|
+
[_common.ActionFunction.Test]: '@modern-js/dependence-generator',
|
|
91347
|
+
[_common.ActionFunction.Doc]: '@modern-js/dependence-generator',
|
|
91348
|
+
[_common.ActionFunction.Storybook]: '@modern-js/storybook-generator',
|
|
91349
|
+
[_common.ActionFunction.RuntimeApi]: '@modern-js/dependence-generator'
|
|
91350
|
+
}
|
|
91351
|
+
};
|
|
91352
|
+
exports.ModuleNewActionGenerators = ModuleNewActionGenerators;
|
|
91353
|
+
|
|
91354
|
+
/***/ }),
|
|
91355
|
+
|
|
91356
|
+
/***/ 12225:
|
|
91357
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91358
|
+
|
|
91359
|
+
"use strict";
|
|
91360
|
+
|
|
91361
|
+
|
|
91362
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91363
|
+
value: true
|
|
91364
|
+
}));
|
|
91365
|
+
exports.MonorepoNewActionSchema = exports.MonorepoNewActionConfig = void 0;
|
|
91366
|
+
|
|
91367
|
+
var _common = __webpack_require__(25523);
|
|
91368
|
+
|
|
91369
|
+
const MonorepoNewActionSchema = {
|
|
91370
|
+
key: 'monorepo_new_action',
|
|
91371
|
+
isObject: true,
|
|
91372
|
+
items: [_common.SubSolutionSchema]
|
|
91373
|
+
};
|
|
91374
|
+
exports.MonorepoNewActionSchema = MonorepoNewActionSchema;
|
|
91375
|
+
const MonorepoNewActionConfig = {
|
|
91376
|
+
[_common.SubSolution.MWA]: {
|
|
91377
|
+
isMonorepoSubProject: true,
|
|
91378
|
+
isTest: false
|
|
91379
|
+
},
|
|
91380
|
+
[_common.SubSolution.MWATest]: {
|
|
91381
|
+
isMonorepoSubProject: true,
|
|
91382
|
+
isTest: true
|
|
91383
|
+
},
|
|
91384
|
+
[_common.SubSolution.Module]: {
|
|
91385
|
+
isMonorepoSubProject: true,
|
|
91386
|
+
isPublic: true
|
|
91387
|
+
},
|
|
91388
|
+
[_common.SubSolution.InnerModule]: {
|
|
91389
|
+
isMonorepoSubProject: true,
|
|
91390
|
+
isPublic: false
|
|
91391
|
+
}
|
|
91392
|
+
};
|
|
91393
|
+
exports.MonorepoNewActionConfig = MonorepoNewActionConfig;
|
|
91394
|
+
|
|
91395
|
+
/***/ }),
|
|
91396
|
+
|
|
91397
|
+
/***/ 27173:
|
|
91398
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91399
|
+
|
|
91400
|
+
"use strict";
|
|
91401
|
+
|
|
91402
|
+
|
|
91403
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91404
|
+
value: true
|
|
91405
|
+
}));
|
|
91406
|
+
exports.MWASpecialSchemaMap = exports.MWANewActionSchema = exports.MWANewActionGenerators = exports.MWAActionTypesMap = exports.MWAActionTypes = exports.MWAActionReactors = exports.MWAActionFunctionsDevDependencies = exports.MWAActionFunctionsDependencies = exports.MWAActionFunctions = exports.MWAActionElements = void 0;
|
|
91407
|
+
|
|
91408
|
+
var _common = __webpack_require__(78353);
|
|
91409
|
+
|
|
91410
|
+
var _locale = __webpack_require__(94646);
|
|
91411
|
+
|
|
91412
|
+
const MWAActionTypes = [_common.ActionType.Element, _common.ActionType.Function // ActionType.Refactor,
|
|
91413
|
+
];
|
|
91414
|
+
exports.MWAActionTypes = MWAActionTypes;
|
|
91415
|
+
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,
|
|
91416
|
+
_common.ActionFunction.Test, _common.ActionFunction.Storybook, // ActionFunction.E2ETest,
|
|
91417
|
+
// ActionFunction.Doc,
|
|
91418
|
+
_common.ActionFunction.Deploy];
|
|
91419
|
+
exports.MWAActionFunctions = MWAActionFunctions;
|
|
91420
|
+
const MWAActionElements = [_common.ActionElement.Entry, _common.ActionElement.Server];
|
|
91421
|
+
exports.MWAActionElements = MWAActionElements;
|
|
91422
|
+
const MWAActionReactors = [_common.ActionRefactor.BFFToApp];
|
|
91423
|
+
exports.MWAActionReactors = MWAActionReactors;
|
|
91424
|
+
const MWAActionTypesMap = {
|
|
91425
|
+
[_common.ActionType.Element]: MWAActionElements,
|
|
91426
|
+
[_common.ActionType.Function]: MWAActionFunctions,
|
|
91427
|
+
[_common.ActionType.Refactor]: MWAActionReactors
|
|
91428
|
+
};
|
|
91429
|
+
exports.MWAActionTypesMap = MWAActionTypesMap;
|
|
91430
|
+
const MWASpecialSchemaMap = {
|
|
91431
|
+
[_common.ActionFunction.Storybook]: {
|
|
91432
|
+
key: _common.ActionFunction.Storybook,
|
|
91433
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.function.mwa_storybook)
|
|
91434
|
+
}
|
|
91435
|
+
};
|
|
91436
|
+
exports.MWASpecialSchemaMap = MWASpecialSchemaMap;
|
|
91437
|
+
const MWANewActionSchema = {
|
|
91438
|
+
key: 'mwa_new_action',
|
|
91439
|
+
isObject: true,
|
|
91440
|
+
items: [{
|
|
91441
|
+
key: 'actionType',
|
|
91442
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.self),
|
|
91443
|
+
type: ['string'],
|
|
91444
|
+
mutualExclusion: true,
|
|
91445
|
+
items: MWAActionTypes.map(type => ({
|
|
91446
|
+
key: type,
|
|
91447
|
+
label: _common.ActionTypeText[type],
|
|
91448
|
+
type: ['string'],
|
|
91449
|
+
mutualExclusion: true,
|
|
91450
|
+
items: MWAActionTypesMap[type].map(item => MWASpecialSchemaMap[item] || {
|
|
91451
|
+
key: item,
|
|
91452
|
+
label: _common.ActionTypeTextMap[type][item]
|
|
91453
|
+
})
|
|
91454
|
+
}))
|
|
91455
|
+
}]
|
|
91456
|
+
};
|
|
91457
|
+
exports.MWANewActionSchema = MWANewActionSchema;
|
|
91458
|
+
const MWAActionFunctionsDevDependencies = {
|
|
91459
|
+
[_common.ActionFunction.UnBundle]: '@modern-js/plugin-unbundle',
|
|
91460
|
+
[_common.ActionFunction.TailwindCSS]: '@modern-js/plugin-tailwindcss',
|
|
91461
|
+
[_common.ActionFunction.Test]: '@modern-js/plugin-testing',
|
|
91462
|
+
[_common.ActionFunction.E2ETest]: '@modern-js/plugin-e2e',
|
|
91463
|
+
[_common.ActionFunction.Doc]: '@modern-js/plugin-docsite',
|
|
91464
|
+
[_common.ActionFunction.Electron]: '@modern-js/plugin-electron',
|
|
91465
|
+
[_common.ActionFunction.Storybook]: '@modern-js/plugin-storybook'
|
|
91466
|
+
};
|
|
91467
|
+
exports.MWAActionFunctionsDevDependencies = MWAActionFunctionsDevDependencies;
|
|
91468
|
+
const MWAActionFunctionsDependencies = {
|
|
91469
|
+
[_common.ActionFunction.Less]: '@modern-js/plugin-less',
|
|
91470
|
+
[_common.ActionFunction.Sass]: '@modern-js/plugin-sass',
|
|
91471
|
+
[_common.ActionFunction.BFF]: '@modern-js/plugin-bff',
|
|
91472
|
+
[_common.ActionFunction.MicroFrontend]: '@modern-js/plugin-micro-frontend',
|
|
91473
|
+
[_common.ActionFunction.I18n]: '@modern-js/plugin-i18n',
|
|
91474
|
+
[_common.ActionFunction.SSG]: '@modern-js/plugin-ssg'
|
|
91475
|
+
};
|
|
91476
|
+
exports.MWAActionFunctionsDependencies = MWAActionFunctionsDependencies;
|
|
91477
|
+
const MWANewActionGenerators = {
|
|
91478
|
+
[_common.ActionType.Element]: {
|
|
91479
|
+
[_common.ActionElement.Entry]: '@modern-js/entry-generator',
|
|
91480
|
+
[_common.ActionElement.Server]: '@modern-js/server-generator'
|
|
91481
|
+
},
|
|
91482
|
+
[_common.ActionType.Function]: {
|
|
91483
|
+
[_common.ActionFunction.UnBundle]: '@modern-js/unbundle-generator',
|
|
91484
|
+
[_common.ActionFunction.TailwindCSS]: '@modern-js/tailwindcss-generator',
|
|
91485
|
+
[_common.ActionFunction.Less]: '@modern-js/dependence-generator',
|
|
91486
|
+
[_common.ActionFunction.Sass]: '@modern-js/dependence-generator',
|
|
91487
|
+
[_common.ActionFunction.BFF]: '@modern-js/bff-generator',
|
|
91488
|
+
[_common.ActionFunction.MicroFrontend]: '@modern-js/dependence-generator',
|
|
91489
|
+
[_common.ActionFunction.Electron]: '@modern-js/electron-generator',
|
|
91490
|
+
[_common.ActionFunction.I18n]: '@modern-js/dependence-generator',
|
|
91491
|
+
[_common.ActionFunction.Test]: '@modern-js/test-generator',
|
|
91492
|
+
[_common.ActionFunction.E2ETest]: '@modern-js/dependence-generator',
|
|
91493
|
+
[_common.ActionFunction.Doc]: '@modern-js/dependence-generator',
|
|
91494
|
+
[_common.ActionFunction.Storybook]: '@modern-js/dependence-generator',
|
|
91495
|
+
[_common.ActionFunction.SSG]: '@modern-js/ssg-generator',
|
|
91496
|
+
[_common.ActionFunction.Deploy]: '@modern-js/cloud-deploy-generator'
|
|
91497
|
+
},
|
|
91498
|
+
[_common.ActionType.Refactor]: {
|
|
91499
|
+
[_common.ActionRefactor.BFFToApp]: '@modern-js/bff-refactor-generator'
|
|
91500
|
+
}
|
|
91501
|
+
};
|
|
91502
|
+
exports.MWANewActionGenerators = MWANewActionGenerators;
|
|
91503
|
+
|
|
89340
91504
|
/***/ }),
|
|
89341
91505
|
|
|
89342
91506
|
/***/ 39491:
|
|
@@ -89675,10 +91839,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
89675
91839
|
}));
|
|
89676
91840
|
exports["default"] = void 0;
|
|
89677
91841
|
|
|
89678
|
-
var _codesmithApiApp = __webpack_require__(
|
|
91842
|
+
var _codesmithApiApp = __webpack_require__(3437);
|
|
91843
|
+
|
|
91844
|
+
var _generatorCommon = __webpack_require__(50828);
|
|
89679
91845
|
|
|
89680
|
-
const handleTemplateFile = async appApi => {
|
|
89681
|
-
await appApi.
|
|
91846
|
+
const handleTemplateFile = async (context, appApi) => {
|
|
91847
|
+
await appApi.getInputBySchema(_generatorCommon.BaseSchema, context.config);
|
|
91848
|
+
await appApi.forgeTemplate('templates/base-templates/**/*', undefined, resourceKey => resourceKey.replace('templates/base-templates/', '').replace('.handlebars', ''));
|
|
91849
|
+
await appApi.forgeTemplate('templates/idea/**/*', undefined, resourceKey => resourceKey.replace('templates/idea/', '.idea/'));
|
|
89682
91850
|
};
|
|
89683
91851
|
|
|
89684
91852
|
var _default = async (context, generator) => {
|
|
@@ -89698,7 +91866,7 @@ var _default = async (context, generator) => {
|
|
|
89698
91866
|
generator.logger.debug(`start run @modern-js/base-generator`);
|
|
89699
91867
|
generator.logger.debug(`context=${JSON.stringify(context)}`);
|
|
89700
91868
|
generator.logger.debug(`context.data=${JSON.stringify(context.data)}`);
|
|
89701
|
-
await handleTemplateFile(appApi);
|
|
91869
|
+
await handleTemplateFile(context, appApi);
|
|
89702
91870
|
|
|
89703
91871
|
if (context.handleForged) {
|
|
89704
91872
|
await context.handleForged('base-generator', context, context.config.hasPlugin);
|