@modern-js/base-generator 0.0.0-canary-2021109122912 → 0.0.0-runtime-2021112193858
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 +2507 -338
- package/package.json +5 -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
|
+
/***/ 31302:
|
|
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__(62408);
|
|
16
16
|
|
|
17
|
-
var _inquirerTypes = __webpack_require__(
|
|
17
|
+
var _inquirerTypes = __webpack_require__(78659);
|
|
18
18
|
|
|
19
|
-
var _constant = __webpack_require__(
|
|
19
|
+
var _constant = __webpack_require__(10169);
|
|
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
|
+
/***/ 10169:
|
|
104
104
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
105
105
|
|
|
106
106
|
"use strict";
|
|
@@ -111,11 +111,11 @@ 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__(62408);
|
|
115
115
|
|
|
116
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
116
|
+
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; }
|
|
117
117
|
|
|
118
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
118
|
+
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; }
|
|
119
119
|
|
|
120
120
|
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; }
|
|
121
121
|
|
|
@@ -125,7 +125,7 @@ exports.CLI_TYPE = CLI_TYPE;
|
|
|
125
125
|
|
|
126
126
|
/***/ }),
|
|
127
127
|
|
|
128
|
-
/***/
|
|
128
|
+
/***/ 7764:
|
|
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__(31302);
|
|
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
|
+
/***/ 83028:
|
|
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__(62297);
|
|
187
187
|
|
|
188
|
-
var _codesmithApiGit = __webpack_require__(
|
|
188
|
+
var _codesmithApiGit = __webpack_require__(58196);
|
|
189
189
|
|
|
190
|
-
var _codesmithApiHandlebars = __webpack_require__(
|
|
190
|
+
var _codesmithApiHandlebars = __webpack_require__(12291);
|
|
191
191
|
|
|
192
|
-
var _easyFormCli = __webpack_require__(
|
|
192
|
+
var _easyFormCli = __webpack_require__(62408);
|
|
193
193
|
|
|
194
|
-
var _transformSchema = __webpack_require__(
|
|
194
|
+
var _transformSchema = __webpack_require__(536);
|
|
195
195
|
|
|
196
|
-
var handlers = _interopRequireWildcard(__webpack_require__(
|
|
196
|
+
var handlers = _interopRequireWildcard(__webpack_require__(7764));
|
|
197
197
|
|
|
198
|
-
var _locale = __webpack_require__(
|
|
198
|
+
var _locale = __webpack_require__(94864);
|
|
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
|
|
|
@@ -203,9 +203,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
203
203
|
|
|
204
204
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
205
205
|
|
|
206
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
206
|
+
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; }
|
|
207
207
|
|
|
208
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
208
|
+
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; }
|
|
209
209
|
|
|
210
210
|
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; }
|
|
211
211
|
|
|
@@ -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
|
|
|
@@ -245,11 +245,12 @@ class AppAPI {
|
|
|
245
245
|
async runInstall(command) {
|
|
246
246
|
const {
|
|
247
247
|
config: {
|
|
248
|
-
packageManager
|
|
248
|
+
packageManager,
|
|
249
|
+
noNeedInstall
|
|
249
250
|
}
|
|
250
251
|
} = this.generatorContext;
|
|
251
252
|
|
|
252
|
-
if (process.env.NoNeedInstall === 'true') {
|
|
253
|
+
if (noNeedInstall || process.env.NoNeedInstall === 'true') {
|
|
253
254
|
return;
|
|
254
255
|
} // const spinner = ora('Install...').start();
|
|
255
256
|
// spinner.color = 'yellow';
|
|
@@ -409,7 +410,7 @@ exports.AppAPI = AppAPI;
|
|
|
409
410
|
|
|
410
411
|
/***/ }),
|
|
411
412
|
|
|
412
|
-
/***/
|
|
413
|
+
/***/ 88918:
|
|
413
414
|
/***/ ((__unused_webpack_module, exports) => {
|
|
414
415
|
|
|
415
416
|
"use strict";
|
|
@@ -448,7 +449,7 @@ exports.EN_LOCALE = EN_LOCALE;
|
|
|
448
449
|
|
|
449
450
|
/***/ }),
|
|
450
451
|
|
|
451
|
-
/***/
|
|
452
|
+
/***/ 94864:
|
|
452
453
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
453
454
|
|
|
454
455
|
"use strict";
|
|
@@ -465,11 +466,11 @@ Object.defineProperty(exports, "I18n", ({
|
|
|
465
466
|
}));
|
|
466
467
|
exports.localeKeys = exports.i18n = void 0;
|
|
467
468
|
|
|
468
|
-
var _pluginI18n = __webpack_require__(
|
|
469
|
+
var _pluginI18n = __webpack_require__(98368);
|
|
469
470
|
|
|
470
|
-
var _zh = __webpack_require__(
|
|
471
|
+
var _zh = __webpack_require__(57724);
|
|
471
472
|
|
|
472
|
-
var _en = __webpack_require__(
|
|
473
|
+
var _en = __webpack_require__(88918);
|
|
473
474
|
|
|
474
475
|
const i18n = new _pluginI18n.I18n();
|
|
475
476
|
exports.i18n = i18n;
|
|
@@ -481,7 +482,7 @@ exports.localeKeys = localeKeys;
|
|
|
481
482
|
|
|
482
483
|
/***/ }),
|
|
483
484
|
|
|
484
|
-
/***/
|
|
485
|
+
/***/ 57724:
|
|
485
486
|
/***/ ((__unused_webpack_module, exports) => {
|
|
486
487
|
|
|
487
488
|
"use strict";
|
|
@@ -520,7 +521,7 @@ exports.ZH_LOCALE = ZH_LOCALE;
|
|
|
520
521
|
|
|
521
522
|
/***/ }),
|
|
522
523
|
|
|
523
|
-
/***/
|
|
524
|
+
/***/ 536:
|
|
524
525
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
525
526
|
|
|
526
527
|
"use strict";
|
|
@@ -533,7 +534,7 @@ exports.transformSchema = transformSchema;
|
|
|
533
534
|
|
|
534
535
|
var _isUndefined2 = _interopRequireDefault(__webpack_require__(88066));
|
|
535
536
|
|
|
536
|
-
var _easyFormCli = __webpack_require__(
|
|
537
|
+
var _easyFormCli = __webpack_require__(62408);
|
|
537
538
|
|
|
538
539
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
539
540
|
|
|
@@ -580,7 +581,7 @@ function transformSchema(schema, configValue = {}, validateMap = {}) {
|
|
|
580
581
|
|
|
581
582
|
/***/ }),
|
|
582
583
|
|
|
583
|
-
/***/
|
|
584
|
+
/***/ 58196:
|
|
584
585
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
585
586
|
|
|
586
587
|
"use strict";
|
|
@@ -591,12 +592,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
591
592
|
}));
|
|
592
593
|
exports.GitAPI = void 0;
|
|
593
594
|
|
|
594
|
-
var _utils = __webpack_require__(
|
|
595
|
+
var _utils = __webpack_require__(68963);
|
|
595
596
|
|
|
596
597
|
class GitAPI {
|
|
597
|
-
constructor(generatorCore) {
|
|
598
|
+
constructor(generatorCore, generatorContext) {
|
|
598
599
|
this.generatorCore = void 0;
|
|
600
|
+
this.generatorContext = void 0;
|
|
599
601
|
this.generatorCore = generatorCore;
|
|
602
|
+
this.generatorContext = generatorContext;
|
|
600
603
|
}
|
|
601
604
|
|
|
602
605
|
async isInGitRepo(cwd = this.generatorCore.outputPath) {
|
|
@@ -624,7 +627,16 @@ class GitAPI {
|
|
|
624
627
|
}
|
|
625
628
|
|
|
626
629
|
try {
|
|
627
|
-
|
|
630
|
+
const {
|
|
631
|
+
config: {
|
|
632
|
+
defaultBranch = 'master'
|
|
633
|
+
}
|
|
634
|
+
} = this.generatorContext || {
|
|
635
|
+
config: {
|
|
636
|
+
defaultBranch: 'master'
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
await (0, _utils.initGitRepo)(cwd, defaultBranch);
|
|
628
640
|
} catch (e) {
|
|
629
641
|
this.generatorCore.logger.debug('[GitAPI.error]:', e);
|
|
630
642
|
throw e;
|
|
@@ -653,7 +665,7 @@ exports.GitAPI = GitAPI;
|
|
|
653
665
|
|
|
654
666
|
/***/ }),
|
|
655
667
|
|
|
656
|
-
/***/
|
|
668
|
+
/***/ 68963:
|
|
657
669
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
658
670
|
|
|
659
671
|
"use strict";
|
|
@@ -695,11 +707,24 @@ async function isInGitRepo(cwd) {
|
|
|
695
707
|
}
|
|
696
708
|
}
|
|
697
709
|
|
|
698
|
-
async function initGitRepo(cwd) {
|
|
710
|
+
async function initGitRepo(cwd, defaultBranch) {
|
|
699
711
|
await (0, _execa.default)('git', ['init'], {
|
|
700
712
|
env: process.env,
|
|
701
713
|
cwd
|
|
702
714
|
});
|
|
715
|
+
const {
|
|
716
|
+
stdout
|
|
717
|
+
} = await (0, _execa.default)('git', ['symbolic-ref', '--short', 'HEAD'], {
|
|
718
|
+
env: process.env,
|
|
719
|
+
cwd
|
|
720
|
+
});
|
|
721
|
+
|
|
722
|
+
if (stdout !== defaultBranch) {
|
|
723
|
+
await (0, _execa.default)('git', ['checkout', '-b', defaultBranch], {
|
|
724
|
+
env: process.env,
|
|
725
|
+
cwd
|
|
726
|
+
});
|
|
727
|
+
}
|
|
703
728
|
}
|
|
704
729
|
|
|
705
730
|
async function gitAdd(cwd) {
|
|
@@ -718,7 +743,7 @@ async function gitCommit(cwd, commitMessage) {
|
|
|
718
743
|
|
|
719
744
|
/***/ }),
|
|
720
745
|
|
|
721
|
-
/***/
|
|
746
|
+
/***/ 12291:
|
|
722
747
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
723
748
|
|
|
724
749
|
"use strict";
|
|
@@ -735,9 +760,9 @@ Object.defineProperty(exports, "renderString", ({
|
|
|
735
760
|
}
|
|
736
761
|
}));
|
|
737
762
|
|
|
738
|
-
var _codesmith = __webpack_require__(
|
|
763
|
+
var _codesmith = __webpack_require__(3616);
|
|
739
764
|
|
|
740
|
-
var _utils = __webpack_require__(
|
|
765
|
+
var _utils = __webpack_require__(19655);
|
|
741
766
|
|
|
742
767
|
class HandlebarsAPI {
|
|
743
768
|
constructor(generatorCore, registers) {
|
|
@@ -781,7 +806,7 @@ exports.HandlebarsAPI = HandlebarsAPI;
|
|
|
781
806
|
|
|
782
807
|
/***/ }),
|
|
783
808
|
|
|
784
|
-
/***/
|
|
809
|
+
/***/ 19655:
|
|
785
810
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
786
811
|
|
|
787
812
|
"use strict";
|
|
@@ -797,11 +822,11 @@ Object.defineProperty(exports, "renderString", ({
|
|
|
797
822
|
}
|
|
798
823
|
}));
|
|
799
824
|
|
|
800
|
-
var _renderString = __webpack_require__(
|
|
825
|
+
var _renderString = __webpack_require__(36161);
|
|
801
826
|
|
|
802
827
|
/***/ }),
|
|
803
828
|
|
|
804
|
-
/***/
|
|
829
|
+
/***/ 36161:
|
|
805
830
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
806
831
|
|
|
807
832
|
"use strict";
|
|
@@ -816,9 +841,9 @@ var _handlebars = _interopRequireDefault(__webpack_require__(95309));
|
|
|
816
841
|
|
|
817
842
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
818
843
|
|
|
819
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
844
|
+
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; }
|
|
820
845
|
|
|
821
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
846
|
+
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; }
|
|
822
847
|
|
|
823
848
|
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; }
|
|
824
849
|
|
|
@@ -834,7 +859,7 @@ function renderString(template, fullData, registers) {
|
|
|
834
859
|
|
|
835
860
|
/***/ }),
|
|
836
861
|
|
|
837
|
-
/***/
|
|
862
|
+
/***/ 62297:
|
|
838
863
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
839
864
|
|
|
840
865
|
"use strict";
|
|
@@ -848,7 +873,7 @@ var _exportNames = {
|
|
|
848
873
|
};
|
|
849
874
|
exports.NpmAPI = void 0;
|
|
850
875
|
|
|
851
|
-
var _utils = __webpack_require__(
|
|
876
|
+
var _utils = __webpack_require__(94610);
|
|
852
877
|
|
|
853
878
|
Object.keys(_utils).forEach(function (key) {
|
|
854
879
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -886,7 +911,7 @@ exports.NpmAPI = NpmAPI;
|
|
|
886
911
|
|
|
887
912
|
/***/ }),
|
|
888
913
|
|
|
889
|
-
/***/
|
|
914
|
+
/***/ 80305:
|
|
890
915
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
891
916
|
|
|
892
917
|
"use strict";
|
|
@@ -951,7 +976,7 @@ async function canUsePnpm() {
|
|
|
951
976
|
|
|
952
977
|
/***/ }),
|
|
953
978
|
|
|
954
|
-
/***/
|
|
979
|
+
/***/ 94610:
|
|
955
980
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
956
981
|
|
|
957
982
|
"use strict";
|
|
@@ -1003,13 +1028,13 @@ Object.defineProperty(exports, "yarnInstall", ({
|
|
|
1003
1028
|
}
|
|
1004
1029
|
}));
|
|
1005
1030
|
|
|
1006
|
-
var _env = __webpack_require__(
|
|
1031
|
+
var _env = __webpack_require__(80305);
|
|
1007
1032
|
|
|
1008
|
-
var _install = __webpack_require__(
|
|
1033
|
+
var _install = __webpack_require__(86701);
|
|
1009
1034
|
|
|
1010
1035
|
/***/ }),
|
|
1011
1036
|
|
|
1012
|
-
/***/
|
|
1037
|
+
/***/ 86701:
|
|
1013
1038
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1014
1039
|
|
|
1015
1040
|
"use strict";
|
|
@@ -1025,13 +1050,13 @@ exports.yarnInstall = yarnInstall;
|
|
|
1025
1050
|
|
|
1026
1051
|
var _execa = _interopRequireDefault(__webpack_require__(16228));
|
|
1027
1052
|
|
|
1028
|
-
var _env = __webpack_require__(
|
|
1053
|
+
var _env = __webpack_require__(80305);
|
|
1029
1054
|
|
|
1030
1055
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1031
1056
|
|
|
1032
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1057
|
+
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; }
|
|
1033
1058
|
|
|
1034
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
1059
|
+
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; }
|
|
1035
1060
|
|
|
1036
1061
|
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; }
|
|
1037
1062
|
|
|
@@ -1103,7 +1128,7 @@ async function pnpmInstall(cwd, registryUrl) {
|
|
|
1103
1128
|
|
|
1104
1129
|
/***/ }),
|
|
1105
1130
|
|
|
1106
|
-
/***/
|
|
1131
|
+
/***/ 20905:
|
|
1107
1132
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1108
1133
|
|
|
1109
1134
|
"use strict";
|
|
@@ -1116,15 +1141,15 @@ exports.CodeSmith = void 0;
|
|
|
1116
1141
|
|
|
1117
1142
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
1118
1143
|
|
|
1119
|
-
var _generator = __webpack_require__(
|
|
1144
|
+
var _generator = __webpack_require__(12317);
|
|
1120
1145
|
|
|
1121
|
-
var _logger = __webpack_require__(
|
|
1146
|
+
var _logger = __webpack_require__(93821);
|
|
1122
1147
|
|
|
1123
|
-
var _constants = __webpack_require__(
|
|
1148
|
+
var _constants = __webpack_require__(23187);
|
|
1124
1149
|
|
|
1125
|
-
var _materials = __webpack_require__(
|
|
1150
|
+
var _materials = __webpack_require__(77453);
|
|
1126
1151
|
|
|
1127
|
-
var _FsMaterial = __webpack_require__(
|
|
1152
|
+
var _FsMaterial = __webpack_require__(7402);
|
|
1128
1153
|
|
|
1129
1154
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1130
1155
|
|
|
@@ -1183,7 +1208,7 @@ exports.CodeSmith = CodeSmith;
|
|
|
1183
1208
|
|
|
1184
1209
|
/***/ }),
|
|
1185
1210
|
|
|
1186
|
-
/***/
|
|
1211
|
+
/***/ 41137:
|
|
1187
1212
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1188
1213
|
|
|
1189
1214
|
"use strict";
|
|
@@ -1200,7 +1225,7 @@ exports.CATCHE_VALIDITY_PREIOD = CATCHE_VALIDITY_PREIOD;
|
|
|
1200
1225
|
|
|
1201
1226
|
/***/ }),
|
|
1202
1227
|
|
|
1203
|
-
/***/
|
|
1228
|
+
/***/ 12317:
|
|
1204
1229
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1205
1230
|
|
|
1206
1231
|
"use strict";
|
|
@@ -1221,17 +1246,17 @@ var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
|
|
1221
1246
|
|
|
1222
1247
|
var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
|
|
1223
1248
|
|
|
1224
|
-
var _FsMaterial = __webpack_require__(
|
|
1249
|
+
var _FsMaterial = __webpack_require__(7402);
|
|
1225
1250
|
|
|
1226
|
-
var _nodeRequire = __webpack_require__(
|
|
1251
|
+
var _nodeRequire = __webpack_require__(33109);
|
|
1227
1252
|
|
|
1228
|
-
var _getGeneratorDir = __webpack_require__(
|
|
1253
|
+
var _getGeneratorDir = __webpack_require__(41299);
|
|
1229
1254
|
|
|
1230
1255
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1231
1256
|
|
|
1232
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
1257
|
+
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; }
|
|
1233
1258
|
|
|
1234
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
1259
|
+
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; }
|
|
1235
1260
|
|
|
1236
1261
|
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; }
|
|
1237
1262
|
|
|
@@ -1456,7 +1481,7 @@ exports.GeneratorCore = GeneratorCore;
|
|
|
1456
1481
|
|
|
1457
1482
|
/***/ }),
|
|
1458
1483
|
|
|
1459
|
-
/***/
|
|
1484
|
+
/***/ 3616:
|
|
1460
1485
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1461
1486
|
|
|
1462
1487
|
"use strict";
|
|
@@ -1531,21 +1556,21 @@ Object.defineProperty(exports, "MaterialsManager", ({
|
|
|
1531
1556
|
}
|
|
1532
1557
|
}));
|
|
1533
1558
|
|
|
1534
|
-
var _constants = __webpack_require__(
|
|
1559
|
+
var _constants = __webpack_require__(23187);
|
|
1535
1560
|
|
|
1536
|
-
var _logger = __webpack_require__(
|
|
1561
|
+
var _logger = __webpack_require__(93821);
|
|
1537
1562
|
|
|
1538
|
-
var _codesmith = __webpack_require__(
|
|
1563
|
+
var _codesmith = __webpack_require__(20905);
|
|
1539
1564
|
|
|
1540
|
-
var _generator = __webpack_require__(
|
|
1565
|
+
var _generator = __webpack_require__(12317);
|
|
1541
1566
|
|
|
1542
|
-
var _materials = __webpack_require__(
|
|
1567
|
+
var _materials = __webpack_require__(77453);
|
|
1543
1568
|
|
|
1544
|
-
var _FsMaterial = __webpack_require__(
|
|
1569
|
+
var _FsMaterial = __webpack_require__(7402);
|
|
1545
1570
|
|
|
1546
|
-
var _FsResource = __webpack_require__(
|
|
1571
|
+
var _FsResource = __webpack_require__(91679);
|
|
1547
1572
|
|
|
1548
|
-
var _utils = __webpack_require__(
|
|
1573
|
+
var _utils = __webpack_require__(22601);
|
|
1549
1574
|
|
|
1550
1575
|
Object.keys(_utils).forEach(function (key) {
|
|
1551
1576
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1561,7 +1586,7 @@ Object.keys(_utils).forEach(function (key) {
|
|
|
1561
1586
|
|
|
1562
1587
|
/***/ }),
|
|
1563
1588
|
|
|
1564
|
-
/***/
|
|
1589
|
+
/***/ 23187:
|
|
1565
1590
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1566
1591
|
|
|
1567
1592
|
"use strict";
|
|
@@ -1589,7 +1614,7 @@ exports.LevelPriority = LevelPriority;
|
|
|
1589
1614
|
|
|
1590
1615
|
/***/ }),
|
|
1591
1616
|
|
|
1592
|
-
/***/
|
|
1617
|
+
/***/ 93821:
|
|
1593
1618
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1594
1619
|
|
|
1595
1620
|
"use strict";
|
|
@@ -1602,7 +1627,7 @@ exports.Logger = void 0;
|
|
|
1602
1627
|
|
|
1603
1628
|
var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
|
1604
1629
|
|
|
1605
|
-
var _constants = __webpack_require__(
|
|
1630
|
+
var _constants = __webpack_require__(23187);
|
|
1606
1631
|
|
|
1607
1632
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1608
1633
|
|
|
@@ -1677,7 +1702,7 @@ exports.Logger = Logger;
|
|
|
1677
1702
|
|
|
1678
1703
|
/***/ }),
|
|
1679
1704
|
|
|
1680
|
-
/***/
|
|
1705
|
+
/***/ 7402:
|
|
1681
1706
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1682
1707
|
|
|
1683
1708
|
"use strict";
|
|
@@ -1692,7 +1717,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
|
1692
1717
|
|
|
1693
1718
|
var _globPromise = _interopRequireDefault(__webpack_require__(39646));
|
|
1694
1719
|
|
|
1695
|
-
var _FsResource = __webpack_require__(
|
|
1720
|
+
var _FsResource = __webpack_require__(91679);
|
|
1696
1721
|
|
|
1697
1722
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1698
1723
|
|
|
@@ -1725,7 +1750,7 @@ exports.FsMaterial = FsMaterial;
|
|
|
1725
1750
|
|
|
1726
1751
|
/***/ }),
|
|
1727
1752
|
|
|
1728
|
-
/***/
|
|
1753
|
+
/***/ 91679:
|
|
1729
1754
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1730
1755
|
|
|
1731
1756
|
"use strict";
|
|
@@ -1740,7 +1765,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
|
1740
1765
|
|
|
1741
1766
|
var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
|
|
1742
1767
|
|
|
1743
|
-
var _constants = __webpack_require__(
|
|
1768
|
+
var _constants = __webpack_require__(2762);
|
|
1744
1769
|
|
|
1745
1770
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1746
1771
|
|
|
@@ -1778,7 +1803,7 @@ exports.FsResource = FsResource;
|
|
|
1778
1803
|
|
|
1779
1804
|
/***/ }),
|
|
1780
1805
|
|
|
1781
|
-
/***/
|
|
1806
|
+
/***/ 2762:
|
|
1782
1807
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1783
1808
|
|
|
1784
1809
|
"use strict";
|
|
@@ -1793,7 +1818,7 @@ exports.IMAGE_EXT_LIST = IMAGE_EXT_LIST;
|
|
|
1793
1818
|
|
|
1794
1819
|
/***/ }),
|
|
1795
1820
|
|
|
1796
|
-
/***/
|
|
1821
|
+
/***/ 77453:
|
|
1797
1822
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1798
1823
|
|
|
1799
1824
|
"use strict";
|
|
@@ -1806,9 +1831,9 @@ exports.MaterialsManager = void 0;
|
|
|
1806
1831
|
|
|
1807
1832
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
1808
1833
|
|
|
1809
|
-
var _FsMaterial = __webpack_require__(
|
|
1834
|
+
var _FsMaterial = __webpack_require__(7402);
|
|
1810
1835
|
|
|
1811
|
-
var _utils = __webpack_require__(
|
|
1836
|
+
var _utils = __webpack_require__(22601);
|
|
1812
1837
|
|
|
1813
1838
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1814
1839
|
|
|
@@ -1853,7 +1878,7 @@ exports.MaterialsManager = MaterialsManager;
|
|
|
1853
1878
|
|
|
1854
1879
|
/***/ }),
|
|
1855
1880
|
|
|
1856
|
-
/***/
|
|
1881
|
+
/***/ 54570:
|
|
1857
1882
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1858
1883
|
|
|
1859
1884
|
"use strict";
|
|
@@ -1872,15 +1897,15 @@ var _axios = _interopRequireDefault(__webpack_require__(45114));
|
|
|
1872
1897
|
|
|
1873
1898
|
var _tar = _interopRequireDefault(__webpack_require__(74634));
|
|
1874
1899
|
|
|
1875
|
-
var _getNpmTarballUrl = __webpack_require__(
|
|
1900
|
+
var _getNpmTarballUrl = __webpack_require__(75605);
|
|
1876
1901
|
|
|
1877
|
-
var _getNpmVersion = __webpack_require__(
|
|
1902
|
+
var _getNpmVersion = __webpack_require__(42885);
|
|
1878
1903
|
|
|
1879
|
-
var _fsExists = __webpack_require__(
|
|
1904
|
+
var _fsExists = __webpack_require__(40303);
|
|
1880
1905
|
|
|
1881
|
-
var _packageManager = __webpack_require__(
|
|
1906
|
+
var _packageManager = __webpack_require__(31492);
|
|
1882
1907
|
|
|
1883
|
-
var _constants = __webpack_require__(
|
|
1908
|
+
var _constants = __webpack_require__(41137);
|
|
1884
1909
|
|
|
1885
1910
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1886
1911
|
|
|
@@ -2000,7 +2025,7 @@ async function downloadPackage(pkgName, pkgVersion = 'latest', options = {}) {
|
|
|
2000
2025
|
|
|
2001
2026
|
/***/ }),
|
|
2002
2027
|
|
|
2003
|
-
/***/
|
|
2028
|
+
/***/ 40303:
|
|
2004
2029
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2005
2030
|
|
|
2006
2031
|
"use strict";
|
|
@@ -2031,7 +2056,7 @@ async function fsExists(path) {
|
|
|
2031
2056
|
|
|
2032
2057
|
/***/ }),
|
|
2033
2058
|
|
|
2034
|
-
/***/
|
|
2059
|
+
/***/ 41299:
|
|
2035
2060
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2036
2061
|
|
|
2037
2062
|
"use strict";
|
|
@@ -2046,7 +2071,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
|
2046
2071
|
|
|
2047
2072
|
var _fsExtra = _interopRequireDefault(__webpack_require__(96576));
|
|
2048
2073
|
|
|
2049
|
-
var _fsExists = __webpack_require__(
|
|
2074
|
+
var _fsExists = __webpack_require__(40303);
|
|
2050
2075
|
|
|
2051
2076
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2052
2077
|
|
|
@@ -2076,7 +2101,7 @@ async function getGeneratorDir(generator) {
|
|
|
2076
2101
|
|
|
2077
2102
|
/***/ }),
|
|
2078
2103
|
|
|
2079
|
-
/***/
|
|
2104
|
+
/***/ 75605:
|
|
2080
2105
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2081
2106
|
|
|
2082
2107
|
"use strict";
|
|
@@ -2089,15 +2114,15 @@ exports.getNpmTarballUrl = getNpmTarballUrl;
|
|
|
2089
2114
|
|
|
2090
2115
|
var _packageJson = _interopRequireDefault(__webpack_require__(27499));
|
|
2091
2116
|
|
|
2092
|
-
var _timeoutPromise = __webpack_require__(
|
|
2117
|
+
var _timeoutPromise = __webpack_require__(12730);
|
|
2093
2118
|
|
|
2094
|
-
var _constants = __webpack_require__(
|
|
2119
|
+
var _constants = __webpack_require__(41137);
|
|
2095
2120
|
|
|
2096
2121
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2097
2122
|
|
|
2098
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
2123
|
+
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; }
|
|
2099
2124
|
|
|
2100
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
2125
|
+
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; }
|
|
2101
2126
|
|
|
2102
2127
|
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; }
|
|
2103
2128
|
|
|
@@ -2128,7 +2153,7 @@ async function getNpmTarballUrl(pkgName, pkgVersion, options) {
|
|
|
2128
2153
|
|
|
2129
2154
|
/***/ }),
|
|
2130
2155
|
|
|
2131
|
-
/***/
|
|
2156
|
+
/***/ 42885:
|
|
2132
2157
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2133
2158
|
|
|
2134
2159
|
"use strict";
|
|
@@ -2141,9 +2166,9 @@ exports.getNpmVersion = getNpmVersion;
|
|
|
2141
2166
|
|
|
2142
2167
|
var _packageJson = _interopRequireDefault(__webpack_require__(27499));
|
|
2143
2168
|
|
|
2144
|
-
var _timeoutPromise = __webpack_require__(
|
|
2169
|
+
var _timeoutPromise = __webpack_require__(12730);
|
|
2145
2170
|
|
|
2146
|
-
var _constants = __webpack_require__(
|
|
2171
|
+
var _constants = __webpack_require__(41137);
|
|
2147
2172
|
|
|
2148
2173
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2149
2174
|
|
|
@@ -2162,7 +2187,7 @@ async function getNpmVersion(packageName, options) {
|
|
|
2162
2187
|
|
|
2163
2188
|
/***/ }),
|
|
2164
2189
|
|
|
2165
|
-
/***/
|
|
2190
|
+
/***/ 97989:
|
|
2166
2191
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2167
2192
|
|
|
2168
2193
|
"use strict";
|
|
@@ -2211,7 +2236,7 @@ function getPackageInfo(packageName) {
|
|
|
2211
2236
|
|
|
2212
2237
|
/***/ }),
|
|
2213
2238
|
|
|
2214
|
-
/***/
|
|
2239
|
+
/***/ 22601:
|
|
2215
2240
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2216
2241
|
|
|
2217
2242
|
"use strict";
|
|
@@ -2281,25 +2306,25 @@ Object.defineProperty(exports, "timeoutPromise", ({
|
|
|
2281
2306
|
}
|
|
2282
2307
|
}));
|
|
2283
2308
|
|
|
2284
|
-
var _fsExists = __webpack_require__(
|
|
2309
|
+
var _fsExists = __webpack_require__(40303);
|
|
2285
2310
|
|
|
2286
|
-
var _nodeRequire = __webpack_require__(
|
|
2311
|
+
var _nodeRequire = __webpack_require__(33109);
|
|
2287
2312
|
|
|
2288
|
-
var _packageManager = __webpack_require__(
|
|
2313
|
+
var _packageManager = __webpack_require__(31492);
|
|
2289
2314
|
|
|
2290
|
-
var _timeoutPromise = __webpack_require__(
|
|
2315
|
+
var _timeoutPromise = __webpack_require__(12730);
|
|
2291
2316
|
|
|
2292
|
-
var _downloadPackage = __webpack_require__(
|
|
2317
|
+
var _downloadPackage = __webpack_require__(54570);
|
|
2293
2318
|
|
|
2294
|
-
var _getNpmTarballUrl = __webpack_require__(
|
|
2319
|
+
var _getNpmTarballUrl = __webpack_require__(75605);
|
|
2295
2320
|
|
|
2296
|
-
var _getNpmVersion = __webpack_require__(
|
|
2321
|
+
var _getNpmVersion = __webpack_require__(42885);
|
|
2297
2322
|
|
|
2298
|
-
var _getPackageInfo = __webpack_require__(
|
|
2323
|
+
var _getPackageInfo = __webpack_require__(97989);
|
|
2299
2324
|
|
|
2300
2325
|
/***/ }),
|
|
2301
2326
|
|
|
2302
|
-
/***/
|
|
2327
|
+
/***/ 33109:
|
|
2303
2328
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2304
2329
|
|
|
2305
2330
|
"use strict";
|
|
@@ -2325,7 +2350,7 @@ const nodeRequire = path => {
|
|
|
2325
2350
|
|
|
2326
2351
|
return module;
|
|
2327
2352
|
} catch (error) {
|
|
2328
|
-
const module = __webpack_require__(
|
|
2353
|
+
const module = __webpack_require__(49485)(path);
|
|
2329
2354
|
|
|
2330
2355
|
if (module !== null && module !== void 0 && module.default) {
|
|
2331
2356
|
return module.default;
|
|
@@ -2339,7 +2364,7 @@ exports.nodeRequire = nodeRequire;
|
|
|
2339
2364
|
|
|
2340
2365
|
/***/ }),
|
|
2341
2366
|
|
|
2342
|
-
/***/
|
|
2367
|
+
/***/ 31492:
|
|
2343
2368
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2344
2369
|
|
|
2345
2370
|
"use strict";
|
|
@@ -2434,7 +2459,7 @@ async function runInstall(targetDir, registryUrl) {
|
|
|
2434
2459
|
|
|
2435
2460
|
/***/ }),
|
|
2436
2461
|
|
|
2437
|
-
/***/
|
|
2462
|
+
/***/ 12730:
|
|
2438
2463
|
/***/ ((__unused_webpack_module, exports) => {
|
|
2439
2464
|
|
|
2440
2465
|
"use strict";
|
|
@@ -2469,7 +2494,7 @@ async function timeoutPromise(promise, ms, reason = 'Operation') {
|
|
|
2469
2494
|
|
|
2470
2495
|
/***/ }),
|
|
2471
2496
|
|
|
2472
|
-
/***/
|
|
2497
|
+
/***/ 49485:
|
|
2473
2498
|
/***/ ((module) => {
|
|
2474
2499
|
|
|
2475
2500
|
function webpackEmptyContext(req) {
|
|
@@ -2479,12 +2504,12 @@ function webpackEmptyContext(req) {
|
|
|
2479
2504
|
}
|
|
2480
2505
|
webpackEmptyContext.keys = () => ([]);
|
|
2481
2506
|
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
2482
|
-
webpackEmptyContext.id =
|
|
2507
|
+
webpackEmptyContext.id = 49485;
|
|
2483
2508
|
module.exports = webpackEmptyContext;
|
|
2484
2509
|
|
|
2485
2510
|
/***/ }),
|
|
2486
2511
|
|
|
2487
|
-
/***/
|
|
2512
|
+
/***/ 38805:
|
|
2488
2513
|
/***/ ((__unused_webpack_module, exports) => {
|
|
2489
2514
|
|
|
2490
2515
|
"use strict";
|
|
@@ -2496,14 +2521,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2496
2521
|
|
|
2497
2522
|
/***/ }),
|
|
2498
2523
|
|
|
2499
|
-
/***/
|
|
2524
|
+
/***/ 5062:
|
|
2500
2525
|
/***/ (() => {
|
|
2501
2526
|
|
|
2502
2527
|
|
|
2503
2528
|
|
|
2504
2529
|
/***/ }),
|
|
2505
2530
|
|
|
2506
|
-
/***/
|
|
2531
|
+
/***/ 14491:
|
|
2507
2532
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2508
2533
|
|
|
2509
2534
|
"use strict";
|
|
@@ -2514,13 +2539,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2514
2539
|
}));
|
|
2515
2540
|
exports.BaseCliReader = void 0;
|
|
2516
2541
|
|
|
2517
|
-
var _easyFormCore = __webpack_require__(
|
|
2542
|
+
var _easyFormCore = __webpack_require__(4608);
|
|
2518
2543
|
|
|
2519
|
-
var _constant = __webpack_require__(
|
|
2544
|
+
var _constant = __webpack_require__(11158);
|
|
2520
2545
|
|
|
2521
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
2546
|
+
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; }
|
|
2522
2547
|
|
|
2523
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
2548
|
+
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; }
|
|
2524
2549
|
|
|
2525
2550
|
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; }
|
|
2526
2551
|
|
|
@@ -2702,7 +2727,7 @@ exports.BaseCliReader = BaseCliReader;
|
|
|
2702
2727
|
|
|
2703
2728
|
/***/ }),
|
|
2704
2729
|
|
|
2705
|
-
/***/
|
|
2730
|
+
/***/ 77299:
|
|
2706
2731
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2707
2732
|
|
|
2708
2733
|
"use strict";
|
|
@@ -2713,9 +2738,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2713
2738
|
}));
|
|
2714
2739
|
exports.checkboxNode = void 0;
|
|
2715
2740
|
|
|
2716
|
-
__webpack_require__(
|
|
2741
|
+
__webpack_require__(5062);
|
|
2717
2742
|
|
|
2718
|
-
var _utils = __webpack_require__(
|
|
2743
|
+
var _utils = __webpack_require__(36619);
|
|
2719
2744
|
|
|
2720
2745
|
const checkboxNode = options => {
|
|
2721
2746
|
const {
|
|
@@ -2751,7 +2776,7 @@ exports.checkboxNode = checkboxNode;
|
|
|
2751
2776
|
|
|
2752
2777
|
/***/ }),
|
|
2753
2778
|
|
|
2754
|
-
/***/
|
|
2779
|
+
/***/ 76462:
|
|
2755
2780
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2756
2781
|
|
|
2757
2782
|
"use strict";
|
|
@@ -2762,9 +2787,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2762
2787
|
}));
|
|
2763
2788
|
exports.childNode = void 0;
|
|
2764
2789
|
|
|
2765
|
-
__webpack_require__(
|
|
2790
|
+
__webpack_require__(5062);
|
|
2766
2791
|
|
|
2767
|
-
var _utils = __webpack_require__(
|
|
2792
|
+
var _utils = __webpack_require__(36619);
|
|
2768
2793
|
|
|
2769
2794
|
const childNode = options => {
|
|
2770
2795
|
const {
|
|
@@ -2790,7 +2815,7 @@ exports.childNode = childNode;
|
|
|
2790
2815
|
|
|
2791
2816
|
/***/ }),
|
|
2792
2817
|
|
|
2793
|
-
/***/
|
|
2818
|
+
/***/ 85572:
|
|
2794
2819
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2795
2820
|
|
|
2796
2821
|
"use strict";
|
|
@@ -2801,9 +2826,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2801
2826
|
}));
|
|
2802
2827
|
exports.formNode = void 0;
|
|
2803
2828
|
|
|
2804
|
-
__webpack_require__(
|
|
2829
|
+
__webpack_require__(5062);
|
|
2805
2830
|
|
|
2806
|
-
var _utils = __webpack_require__(
|
|
2831
|
+
var _utils = __webpack_require__(36619);
|
|
2807
2832
|
|
|
2808
2833
|
const formNode = options => {
|
|
2809
2834
|
const {
|
|
@@ -2816,7 +2841,7 @@ exports.formNode = formNode;
|
|
|
2816
2841
|
|
|
2817
2842
|
/***/ }),
|
|
2818
2843
|
|
|
2819
|
-
/***/
|
|
2844
|
+
/***/ 68274:
|
|
2820
2845
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2821
2846
|
|
|
2822
2847
|
"use strict";
|
|
@@ -2826,7 +2851,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2826
2851
|
value: true
|
|
2827
2852
|
}));
|
|
2828
2853
|
|
|
2829
|
-
var _checkboxNode = __webpack_require__(
|
|
2854
|
+
var _checkboxNode = __webpack_require__(77299);
|
|
2830
2855
|
|
|
2831
2856
|
Object.keys(_checkboxNode).forEach(function (key) {
|
|
2832
2857
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2839,7 +2864,7 @@ Object.keys(_checkboxNode).forEach(function (key) {
|
|
|
2839
2864
|
});
|
|
2840
2865
|
});
|
|
2841
2866
|
|
|
2842
|
-
var _rootNode = __webpack_require__(
|
|
2867
|
+
var _rootNode = __webpack_require__(48201);
|
|
2843
2868
|
|
|
2844
2869
|
Object.keys(_rootNode).forEach(function (key) {
|
|
2845
2870
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2852,7 +2877,7 @@ Object.keys(_rootNode).forEach(function (key) {
|
|
|
2852
2877
|
});
|
|
2853
2878
|
});
|
|
2854
2879
|
|
|
2855
|
-
var _childNode = __webpack_require__(
|
|
2880
|
+
var _childNode = __webpack_require__(76462);
|
|
2856
2881
|
|
|
2857
2882
|
Object.keys(_childNode).forEach(function (key) {
|
|
2858
2883
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2865,7 +2890,7 @@ Object.keys(_childNode).forEach(function (key) {
|
|
|
2865
2890
|
});
|
|
2866
2891
|
});
|
|
2867
2892
|
|
|
2868
|
-
var _formNode = __webpack_require__(
|
|
2893
|
+
var _formNode = __webpack_require__(85572);
|
|
2869
2894
|
|
|
2870
2895
|
Object.keys(_formNode).forEach(function (key) {
|
|
2871
2896
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2878,7 +2903,7 @@ Object.keys(_formNode).forEach(function (key) {
|
|
|
2878
2903
|
});
|
|
2879
2904
|
});
|
|
2880
2905
|
|
|
2881
|
-
var _inputNode = __webpack_require__(
|
|
2906
|
+
var _inputNode = __webpack_require__(63202);
|
|
2882
2907
|
|
|
2883
2908
|
Object.keys(_inputNode).forEach(function (key) {
|
|
2884
2909
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2891,7 +2916,7 @@ Object.keys(_inputNode).forEach(function (key) {
|
|
|
2891
2916
|
});
|
|
2892
2917
|
});
|
|
2893
2918
|
|
|
2894
|
-
var _listNode = __webpack_require__(
|
|
2919
|
+
var _listNode = __webpack_require__(96784);
|
|
2895
2920
|
|
|
2896
2921
|
Object.keys(_listNode).forEach(function (key) {
|
|
2897
2922
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2904,7 +2929,7 @@ Object.keys(_listNode).forEach(function (key) {
|
|
|
2904
2929
|
});
|
|
2905
2930
|
});
|
|
2906
2931
|
|
|
2907
|
-
var _numberNode = __webpack_require__(
|
|
2932
|
+
var _numberNode = __webpack_require__(62035);
|
|
2908
2933
|
|
|
2909
2934
|
Object.keys(_numberNode).forEach(function (key) {
|
|
2910
2935
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2919,7 +2944,7 @@ Object.keys(_numberNode).forEach(function (key) {
|
|
|
2919
2944
|
|
|
2920
2945
|
/***/ }),
|
|
2921
2946
|
|
|
2922
|
-
/***/
|
|
2947
|
+
/***/ 63202:
|
|
2923
2948
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2924
2949
|
|
|
2925
2950
|
"use strict";
|
|
@@ -2930,9 +2955,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2930
2955
|
}));
|
|
2931
2956
|
exports.inputNode = void 0;
|
|
2932
2957
|
|
|
2933
|
-
__webpack_require__(
|
|
2958
|
+
__webpack_require__(5062);
|
|
2934
2959
|
|
|
2935
|
-
var _utils = __webpack_require__(
|
|
2960
|
+
var _utils = __webpack_require__(36619);
|
|
2936
2961
|
|
|
2937
2962
|
const inputNode = options => {
|
|
2938
2963
|
const {
|
|
@@ -2956,7 +2981,7 @@ exports.inputNode = inputNode;
|
|
|
2956
2981
|
|
|
2957
2982
|
/***/ }),
|
|
2958
2983
|
|
|
2959
|
-
/***/
|
|
2984
|
+
/***/ 96784:
|
|
2960
2985
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2961
2986
|
|
|
2962
2987
|
"use strict";
|
|
@@ -2967,9 +2992,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2967
2992
|
}));
|
|
2968
2993
|
exports.listNode = void 0;
|
|
2969
2994
|
|
|
2970
|
-
__webpack_require__(
|
|
2995
|
+
__webpack_require__(5062);
|
|
2971
2996
|
|
|
2972
|
-
var _utils = __webpack_require__(
|
|
2997
|
+
var _utils = __webpack_require__(36619);
|
|
2973
2998
|
|
|
2974
2999
|
const listNode = options => {
|
|
2975
3000
|
const {
|
|
@@ -3005,7 +3030,7 @@ exports.listNode = listNode;
|
|
|
3005
3030
|
|
|
3006
3031
|
/***/ }),
|
|
3007
3032
|
|
|
3008
|
-
/***/
|
|
3033
|
+
/***/ 62035:
|
|
3009
3034
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3010
3035
|
|
|
3011
3036
|
"use strict";
|
|
@@ -3016,9 +3041,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3016
3041
|
}));
|
|
3017
3042
|
exports.numberNode = void 0;
|
|
3018
3043
|
|
|
3019
|
-
__webpack_require__(
|
|
3044
|
+
__webpack_require__(5062);
|
|
3020
3045
|
|
|
3021
|
-
var _utils = __webpack_require__(
|
|
3046
|
+
var _utils = __webpack_require__(36619);
|
|
3022
3047
|
|
|
3023
3048
|
const numberNode = options => {
|
|
3024
3049
|
const {
|
|
@@ -3042,7 +3067,7 @@ exports.numberNode = numberNode;
|
|
|
3042
3067
|
|
|
3043
3068
|
/***/ }),
|
|
3044
3069
|
|
|
3045
|
-
/***/
|
|
3070
|
+
/***/ 48201:
|
|
3046
3071
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3047
3072
|
|
|
3048
3073
|
"use strict";
|
|
@@ -3053,7 +3078,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3053
3078
|
}));
|
|
3054
3079
|
exports.rootNode = void 0;
|
|
3055
3080
|
|
|
3056
|
-
__webpack_require__(
|
|
3081
|
+
__webpack_require__(5062);
|
|
3057
3082
|
|
|
3058
3083
|
const rootNode = options => {
|
|
3059
3084
|
const {
|
|
@@ -3074,7 +3099,7 @@ exports.rootNode = rootNode;
|
|
|
3074
3099
|
|
|
3075
3100
|
/***/ }),
|
|
3076
3101
|
|
|
3077
|
-
/***/
|
|
3102
|
+
/***/ 8247:
|
|
3078
3103
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3079
3104
|
|
|
3080
3105
|
"use strict";
|
|
@@ -3094,13 +3119,13 @@ var _inquirer = _interopRequireDefault(__webpack_require__(82761));
|
|
|
3094
3119
|
|
|
3095
3120
|
var Rx = _interopRequireWildcard(__webpack_require__(68798));
|
|
3096
3121
|
|
|
3097
|
-
var _baseCliReader = __webpack_require__(
|
|
3122
|
+
var _baseCliReader = __webpack_require__(14491);
|
|
3098
3123
|
|
|
3099
|
-
var _constant = __webpack_require__(
|
|
3124
|
+
var _constant = __webpack_require__(11158);
|
|
3100
3125
|
|
|
3101
|
-
var questionsHandlers = _interopRequireWildcard(__webpack_require__(
|
|
3126
|
+
var questionsHandlers = _interopRequireWildcard(__webpack_require__(68274));
|
|
3102
3127
|
|
|
3103
|
-
var _utils = __webpack_require__(
|
|
3128
|
+
var _utils = __webpack_require__(36619);
|
|
3104
3129
|
|
|
3105
3130
|
Object.keys(_utils).forEach(function (key) {
|
|
3106
3131
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -3120,9 +3145,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
3120
3145
|
|
|
3121
3146
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
3122
3147
|
|
|
3123
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3148
|
+
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; }
|
|
3124
3149
|
|
|
3125
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3150
|
+
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; }
|
|
3126
3151
|
|
|
3127
3152
|
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; }
|
|
3128
3153
|
|
|
@@ -3308,7 +3333,7 @@ setCliQuestionsHandlers(questionsHandlers);
|
|
|
3308
3333
|
|
|
3309
3334
|
/***/ }),
|
|
3310
3335
|
|
|
3311
|
-
/***/
|
|
3336
|
+
/***/ 36619:
|
|
3312
3337
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3313
3338
|
|
|
3314
3339
|
"use strict";
|
|
@@ -3319,11 +3344,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3319
3344
|
}));
|
|
3320
3345
|
exports.toPromiseQuestionHandlerLoop = exports.toPromiseQuestionHandler = exports.getWhen = exports.getValidate = exports.getTransformer = exports.getQuestion = exports.getMessage = exports.getFilter = exports.getDefaultValue = exports.getChoices = void 0;
|
|
3321
3346
|
|
|
3322
|
-
var _easyFormCore = __webpack_require__(
|
|
3347
|
+
var _easyFormCore = __webpack_require__(4608);
|
|
3323
3348
|
|
|
3324
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3349
|
+
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; }
|
|
3325
3350
|
|
|
3326
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3351
|
+
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; }
|
|
3327
3352
|
|
|
3328
3353
|
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; }
|
|
3329
3354
|
|
|
@@ -3616,7 +3641,7 @@ exports.toPromiseQuestionHandlerLoop = toPromiseQuestionHandlerLoop;
|
|
|
3616
3641
|
|
|
3617
3642
|
/***/ }),
|
|
3618
3643
|
|
|
3619
|
-
/***/
|
|
3644
|
+
/***/ 11158:
|
|
3620
3645
|
/***/ ((__unused_webpack_module, exports) => {
|
|
3621
3646
|
|
|
3622
3647
|
"use strict";
|
|
@@ -3641,7 +3666,7 @@ exports.CliNodeHandlers = CliNodeHandlers;
|
|
|
3641
3666
|
|
|
3642
3667
|
/***/ }),
|
|
3643
3668
|
|
|
3644
|
-
/***/
|
|
3669
|
+
/***/ 62408:
|
|
3645
3670
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3646
3671
|
|
|
3647
3672
|
"use strict";
|
|
@@ -3651,7 +3676,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3651
3676
|
value: true
|
|
3652
3677
|
}));
|
|
3653
3678
|
|
|
3654
|
-
var _cliReader = __webpack_require__(
|
|
3679
|
+
var _cliReader = __webpack_require__(8247);
|
|
3655
3680
|
|
|
3656
3681
|
Object.keys(_cliReader).forEach(function (key) {
|
|
3657
3682
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -3664,7 +3689,7 @@ Object.keys(_cliReader).forEach(function (key) {
|
|
|
3664
3689
|
});
|
|
3665
3690
|
});
|
|
3666
3691
|
|
|
3667
|
-
var _ICli = __webpack_require__(
|
|
3692
|
+
var _ICli = __webpack_require__(38805);
|
|
3668
3693
|
|
|
3669
3694
|
Object.keys(_ICli).forEach(function (key) {
|
|
3670
3695
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -3677,7 +3702,7 @@ Object.keys(_ICli).forEach(function (key) {
|
|
|
3677
3702
|
});
|
|
3678
3703
|
});
|
|
3679
3704
|
|
|
3680
|
-
var _easyFormCore = __webpack_require__(
|
|
3705
|
+
var _easyFormCore = __webpack_require__(4608);
|
|
3681
3706
|
|
|
3682
3707
|
Object.keys(_easyFormCore).forEach(function (key) {
|
|
3683
3708
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -3692,7 +3717,7 @@ Object.keys(_easyFormCore).forEach(function (key) {
|
|
|
3692
3717
|
|
|
3693
3718
|
/***/ }),
|
|
3694
3719
|
|
|
3695
|
-
/***/
|
|
3720
|
+
/***/ 58712:
|
|
3696
3721
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3697
3722
|
|
|
3698
3723
|
"use strict";
|
|
@@ -3703,17 +3728,17 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3703
3728
|
}));
|
|
3704
3729
|
exports.BaseReader = void 0;
|
|
3705
3730
|
|
|
3706
|
-
var _checkSchema = __webpack_require__(
|
|
3731
|
+
var _checkSchema = __webpack_require__(4179);
|
|
3707
3732
|
|
|
3708
|
-
var _constant = __webpack_require__(
|
|
3733
|
+
var _constant = __webpack_require__(62630);
|
|
3709
3734
|
|
|
3710
|
-
var _utils = __webpack_require__(
|
|
3735
|
+
var _utils = __webpack_require__(14248);
|
|
3711
3736
|
|
|
3712
3737
|
const _excluded = ["effectedByFields", "action"];
|
|
3713
3738
|
|
|
3714
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3739
|
+
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; }
|
|
3715
3740
|
|
|
3716
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3741
|
+
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; }
|
|
3717
3742
|
|
|
3718
3743
|
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; }
|
|
3719
3744
|
|
|
@@ -3997,7 +4022,7 @@ exports.BaseReader = BaseReader;
|
|
|
3997
4022
|
|
|
3998
4023
|
/***/ }),
|
|
3999
4024
|
|
|
4000
|
-
/***/
|
|
4025
|
+
/***/ 4179:
|
|
4001
4026
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4002
4027
|
|
|
4003
4028
|
"use strict";
|
|
@@ -4008,9 +4033,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4008
4033
|
}));
|
|
4009
4034
|
exports.checkSchema = void 0;
|
|
4010
4035
|
|
|
4011
|
-
var _constant = __webpack_require__(
|
|
4036
|
+
var _constant = __webpack_require__(62630);
|
|
4012
4037
|
|
|
4013
|
-
var _utils = __webpack_require__(
|
|
4038
|
+
var _utils = __webpack_require__(14248);
|
|
4014
4039
|
|
|
4015
4040
|
const checkFieldType = schema => {
|
|
4016
4041
|
// field type detection
|
|
@@ -4137,7 +4162,7 @@ exports.checkSchema = checkSchema;
|
|
|
4137
4162
|
|
|
4138
4163
|
/***/ }),
|
|
4139
4164
|
|
|
4140
|
-
/***/
|
|
4165
|
+
/***/ 62630:
|
|
4141
4166
|
/***/ ((__unused_webpack_module, exports) => {
|
|
4142
4167
|
|
|
4143
4168
|
"use strict";
|
|
@@ -4194,7 +4219,7 @@ exports.MESSAGE = MESSAGE;
|
|
|
4194
4219
|
|
|
4195
4220
|
/***/ }),
|
|
4196
4221
|
|
|
4197
|
-
/***/
|
|
4222
|
+
/***/ 63158:
|
|
4198
4223
|
/***/ ((__unused_webpack_module, exports) => {
|
|
4199
4224
|
|
|
4200
4225
|
"use strict";
|
|
@@ -4245,7 +4270,7 @@ function forEach(from, callback) {
|
|
|
4245
4270
|
|
|
4246
4271
|
/***/ }),
|
|
4247
4272
|
|
|
4248
|
-
/***/
|
|
4273
|
+
/***/ 1824:
|
|
4249
4274
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4250
4275
|
|
|
4251
4276
|
"use strict";
|
|
@@ -4256,9 +4281,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4256
4281
|
}));
|
|
4257
4282
|
exports.Graph = void 0;
|
|
4258
4283
|
|
|
4259
|
-
var _collections = __webpack_require__(
|
|
4284
|
+
var _collections = __webpack_require__(63158);
|
|
4260
4285
|
|
|
4261
|
-
var _types = __webpack_require__(
|
|
4286
|
+
var _types = __webpack_require__(4430);
|
|
4262
4287
|
|
|
4263
4288
|
function newNode(data) {
|
|
4264
4289
|
return {
|
|
@@ -4350,7 +4375,7 @@ exports.Graph = Graph;
|
|
|
4350
4375
|
|
|
4351
4376
|
/***/ }),
|
|
4352
4377
|
|
|
4353
|
-
/***/
|
|
4378
|
+
/***/ 43282:
|
|
4354
4379
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4355
4380
|
|
|
4356
4381
|
"use strict";
|
|
@@ -4361,15 +4386,15 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4361
4386
|
}));
|
|
4362
4387
|
exports.EffectUtil = void 0;
|
|
4363
4388
|
|
|
4364
|
-
var _utils = __webpack_require__(
|
|
4389
|
+
var _utils = __webpack_require__(14248);
|
|
4365
4390
|
|
|
4366
|
-
var _graph = __webpack_require__(
|
|
4391
|
+
var _graph = __webpack_require__(1824);
|
|
4367
4392
|
|
|
4368
|
-
var _types = __webpack_require__(
|
|
4393
|
+
var _types = __webpack_require__(4430);
|
|
4369
4394
|
|
|
4370
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4395
|
+
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; }
|
|
4371
4396
|
|
|
4372
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
4397
|
+
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; }
|
|
4373
4398
|
|
|
4374
4399
|
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; }
|
|
4375
4400
|
|
|
@@ -4530,7 +4555,7 @@ exports.EffectUtil = EffectUtil;
|
|
|
4530
4555
|
|
|
4531
4556
|
/***/ }),
|
|
4532
4557
|
|
|
4533
|
-
/***/
|
|
4558
|
+
/***/ 4430:
|
|
4534
4559
|
/***/ ((__unused_webpack_module, exports) => {
|
|
4535
4560
|
|
|
4536
4561
|
"use strict";
|
|
@@ -4568,7 +4593,7 @@ function isObject(obj) {
|
|
|
4568
4593
|
|
|
4569
4594
|
/***/ }),
|
|
4570
4595
|
|
|
4571
|
-
/***/
|
|
4596
|
+
/***/ 4608:
|
|
4572
4597
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4573
4598
|
|
|
4574
4599
|
"use strict";
|
|
@@ -4578,7 +4603,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4578
4603
|
value: true
|
|
4579
4604
|
}));
|
|
4580
4605
|
|
|
4581
|
-
var _baseReader = __webpack_require__(
|
|
4606
|
+
var _baseReader = __webpack_require__(58712);
|
|
4582
4607
|
|
|
4583
4608
|
Object.keys(_baseReader).forEach(function (key) {
|
|
4584
4609
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4591,7 +4616,7 @@ Object.keys(_baseReader).forEach(function (key) {
|
|
|
4591
4616
|
});
|
|
4592
4617
|
});
|
|
4593
4618
|
|
|
4594
|
-
var _types = __webpack_require__(
|
|
4619
|
+
var _types = __webpack_require__(87245);
|
|
4595
4620
|
|
|
4596
4621
|
Object.keys(_types).forEach(function (key) {
|
|
4597
4622
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4604,7 +4629,7 @@ Object.keys(_types).forEach(function (key) {
|
|
|
4604
4629
|
});
|
|
4605
4630
|
});
|
|
4606
4631
|
|
|
4607
|
-
var _constant = __webpack_require__(
|
|
4632
|
+
var _constant = __webpack_require__(62630);
|
|
4608
4633
|
|
|
4609
4634
|
Object.keys(_constant).forEach(function (key) {
|
|
4610
4635
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4617,7 +4642,7 @@ Object.keys(_constant).forEach(function (key) {
|
|
|
4617
4642
|
});
|
|
4618
4643
|
});
|
|
4619
4644
|
|
|
4620
|
-
var _utils = __webpack_require__(
|
|
4645
|
+
var _utils = __webpack_require__(14248);
|
|
4621
4646
|
|
|
4622
4647
|
Object.keys(_utils).forEach(function (key) {
|
|
4623
4648
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4630,7 +4655,7 @@ Object.keys(_utils).forEach(function (key) {
|
|
|
4630
4655
|
});
|
|
4631
4656
|
});
|
|
4632
4657
|
|
|
4633
|
-
var _effectUtil = __webpack_require__(
|
|
4658
|
+
var _effectUtil = __webpack_require__(43282);
|
|
4634
4659
|
|
|
4635
4660
|
Object.keys(_effectUtil).forEach(function (key) {
|
|
4636
4661
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4643,7 +4668,7 @@ Object.keys(_effectUtil).forEach(function (key) {
|
|
|
4643
4668
|
});
|
|
4644
4669
|
});
|
|
4645
4670
|
|
|
4646
|
-
var _checkSchema = __webpack_require__(
|
|
4671
|
+
var _checkSchema = __webpack_require__(4179);
|
|
4647
4672
|
|
|
4648
4673
|
Object.keys(_checkSchema).forEach(function (key) {
|
|
4649
4674
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4658,14 +4683,14 @@ Object.keys(_checkSchema).forEach(function (key) {
|
|
|
4658
4683
|
|
|
4659
4684
|
/***/ }),
|
|
4660
4685
|
|
|
4661
|
-
/***/
|
|
4686
|
+
/***/ 33671:
|
|
4662
4687
|
/***/ (() => {
|
|
4663
4688
|
|
|
4664
4689
|
|
|
4665
4690
|
|
|
4666
4691
|
/***/ }),
|
|
4667
4692
|
|
|
4668
|
-
/***/
|
|
4693
|
+
/***/ 87245:
|
|
4669
4694
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4670
4695
|
|
|
4671
4696
|
"use strict";
|
|
@@ -4675,7 +4700,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4675
4700
|
value: true
|
|
4676
4701
|
}));
|
|
4677
4702
|
|
|
4678
|
-
var _ISchema = __webpack_require__(
|
|
4703
|
+
var _ISchema = __webpack_require__(33671);
|
|
4679
4704
|
|
|
4680
4705
|
Object.keys(_ISchema).forEach(function (key) {
|
|
4681
4706
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4690,7 +4715,7 @@ Object.keys(_ISchema).forEach(function (key) {
|
|
|
4690
4715
|
|
|
4691
4716
|
/***/ }),
|
|
4692
4717
|
|
|
4693
|
-
/***/
|
|
4718
|
+
/***/ 14248:
|
|
4694
4719
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4695
4720
|
|
|
4696
4721
|
"use strict";
|
|
@@ -4700,7 +4725,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4700
4725
|
value: true
|
|
4701
4726
|
}));
|
|
4702
4727
|
|
|
4703
|
-
var _tools = __webpack_require__(
|
|
4728
|
+
var _tools = __webpack_require__(87987);
|
|
4704
4729
|
|
|
4705
4730
|
Object.keys(_tools).forEach(function (key) {
|
|
4706
4731
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4713,7 +4738,7 @@ Object.keys(_tools).forEach(function (key) {
|
|
|
4713
4738
|
});
|
|
4714
4739
|
});
|
|
4715
4740
|
|
|
4716
|
-
var _interator = __webpack_require__(
|
|
4741
|
+
var _interator = __webpack_require__(5634);
|
|
4717
4742
|
|
|
4718
4743
|
Object.keys(_interator).forEach(function (key) {
|
|
4719
4744
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4726,7 +4751,7 @@ Object.keys(_interator).forEach(function (key) {
|
|
|
4726
4751
|
});
|
|
4727
4752
|
});
|
|
4728
4753
|
|
|
4729
|
-
var _itemsField = __webpack_require__(
|
|
4754
|
+
var _itemsField = __webpack_require__(80950);
|
|
4730
4755
|
|
|
4731
4756
|
Object.keys(_itemsField).forEach(function (key) {
|
|
4732
4757
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4739,7 +4764,7 @@ Object.keys(_itemsField).forEach(function (key) {
|
|
|
4739
4764
|
});
|
|
4740
4765
|
});
|
|
4741
4766
|
|
|
4742
|
-
var _keyField = __webpack_require__(
|
|
4767
|
+
var _keyField = __webpack_require__(49942);
|
|
4743
4768
|
|
|
4744
4769
|
Object.keys(_keyField).forEach(function (key) {
|
|
4745
4770
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4752,7 +4777,7 @@ Object.keys(_keyField).forEach(function (key) {
|
|
|
4752
4777
|
});
|
|
4753
4778
|
});
|
|
4754
4779
|
|
|
4755
|
-
var _stateField = __webpack_require__(
|
|
4780
|
+
var _stateField = __webpack_require__(70181);
|
|
4756
4781
|
|
|
4757
4782
|
Object.keys(_stateField).forEach(function (key) {
|
|
4758
4783
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4765,7 +4790,7 @@ Object.keys(_stateField).forEach(function (key) {
|
|
|
4765
4790
|
});
|
|
4766
4791
|
});
|
|
4767
4792
|
|
|
4768
|
-
var _nodeInfo = __webpack_require__(
|
|
4793
|
+
var _nodeInfo = __webpack_require__(13649);
|
|
4769
4794
|
|
|
4770
4795
|
Object.keys(_nodeInfo).forEach(function (key) {
|
|
4771
4796
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -4780,7 +4805,7 @@ Object.keys(_nodeInfo).forEach(function (key) {
|
|
|
4780
4805
|
|
|
4781
4806
|
/***/ }),
|
|
4782
4807
|
|
|
4783
|
-
/***/
|
|
4808
|
+
/***/ 5634:
|
|
4784
4809
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4785
4810
|
|
|
4786
4811
|
"use strict";
|
|
@@ -4791,9 +4816,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4791
4816
|
}));
|
|
4792
4817
|
exports.forEachWithKeyChain = exports.forEach = exports.filterNone = exports.filter = void 0;
|
|
4793
4818
|
|
|
4794
|
-
var _itemsField = __webpack_require__(
|
|
4819
|
+
var _itemsField = __webpack_require__(80950);
|
|
4795
4820
|
|
|
4796
|
-
var _stateField = __webpack_require__(
|
|
4821
|
+
var _stateField = __webpack_require__(70181);
|
|
4797
4822
|
|
|
4798
4823
|
// Foreach with key chain
|
|
4799
4824
|
const forEachWithKeyChain = (schema, handler) => {
|
|
@@ -4960,7 +4985,7 @@ exports.filter = filter;
|
|
|
4960
4985
|
|
|
4961
4986
|
/***/ }),
|
|
4962
4987
|
|
|
4963
|
-
/***/
|
|
4988
|
+
/***/ 80950:
|
|
4964
4989
|
/***/ ((__unused_webpack_module, exports) => {
|
|
4965
4990
|
|
|
4966
4991
|
"use strict";
|
|
@@ -4988,7 +5013,7 @@ exports.getItems = getItems;
|
|
|
4988
5013
|
|
|
4989
5014
|
/***/ }),
|
|
4990
5015
|
|
|
4991
|
-
/***/
|
|
5016
|
+
/***/ 49942:
|
|
4992
5017
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4993
5018
|
|
|
4994
5019
|
"use strict";
|
|
@@ -4999,7 +5024,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4999
5024
|
}));
|
|
5000
5025
|
exports.getAllKeys = void 0;
|
|
5001
5026
|
|
|
5002
|
-
var _itemsField = __webpack_require__(
|
|
5027
|
+
var _itemsField = __webpack_require__(80950);
|
|
5003
5028
|
|
|
5004
5029
|
const getAllKeys = schema => {
|
|
5005
5030
|
const keys = [];
|
|
@@ -5020,7 +5045,7 @@ exports.getAllKeys = getAllKeys;
|
|
|
5020
5045
|
|
|
5021
5046
|
/***/ }),
|
|
5022
5047
|
|
|
5023
|
-
/***/
|
|
5048
|
+
/***/ 13649:
|
|
5024
5049
|
/***/ ((__unused_webpack_module, exports) => {
|
|
5025
5050
|
|
|
5026
5051
|
"use strict";
|
|
@@ -5031,9 +5056,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5031
5056
|
}));
|
|
5032
5057
|
exports.getSchemaType = exports.getSchemaLabel = exports.getSchemaDisabled = exports.getSchemaDefaultState = exports.getNodeInfo = exports.fieldValue = void 0;
|
|
5033
5058
|
|
|
5034
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
5059
|
+
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; }
|
|
5035
5060
|
|
|
5036
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5061
|
+
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; }
|
|
5037
5062
|
|
|
5038
5063
|
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; }
|
|
5039
5064
|
|
|
@@ -5109,7 +5134,7 @@ exports.getNodeInfo = getNodeInfo;
|
|
|
5109
5134
|
|
|
5110
5135
|
/***/ }),
|
|
5111
5136
|
|
|
5112
|
-
/***/
|
|
5137
|
+
/***/ 70181:
|
|
5113
5138
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5114
5139
|
|
|
5115
5140
|
"use strict";
|
|
@@ -5122,9 +5147,9 @@ exports.setSchemaInitValue = exports.setInitValues = exports.isEffectedValue = e
|
|
|
5122
5147
|
|
|
5123
5148
|
var _cloneDeep2 = _interopRequireDefault(__webpack_require__(11605));
|
|
5124
5149
|
|
|
5125
|
-
var _itemsField = __webpack_require__(
|
|
5150
|
+
var _itemsField = __webpack_require__(80950);
|
|
5126
5151
|
|
|
5127
|
-
var _tools = __webpack_require__(
|
|
5152
|
+
var _tools = __webpack_require__(87987);
|
|
5128
5153
|
|
|
5129
5154
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
5130
5155
|
|
|
@@ -5222,7 +5247,7 @@ exports.getItemValue = getItemValue;
|
|
|
5222
5247
|
|
|
5223
5248
|
/***/ }),
|
|
5224
5249
|
|
|
5225
|
-
/***/
|
|
5250
|
+
/***/ 87987:
|
|
5226
5251
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5227
5252
|
|
|
5228
5253
|
"use strict";
|
|
@@ -5279,7 +5304,7 @@ exports.booleanToString = booleanToString;
|
|
|
5279
5304
|
|
|
5280
5305
|
/***/ }),
|
|
5281
5306
|
|
|
5282
|
-
/***/
|
|
5307
|
+
/***/ 78659:
|
|
5283
5308
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5284
5309
|
|
|
5285
5310
|
"use strict";
|
|
@@ -5295,11 +5320,11 @@ Object.defineProperty(exports, "List", ({
|
|
|
5295
5320
|
}
|
|
5296
5321
|
}));
|
|
5297
5322
|
|
|
5298
|
-
var _list = __webpack_require__(
|
|
5323
|
+
var _list = __webpack_require__(3034);
|
|
5299
5324
|
|
|
5300
5325
|
/***/ }),
|
|
5301
5326
|
|
|
5302
|
-
/***/
|
|
5327
|
+
/***/ 3034:
|
|
5303
5328
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5304
5329
|
|
|
5305
5330
|
"use strict";
|
|
@@ -5330,7 +5355,7 @@ var _operators = __webpack_require__(26579);
|
|
|
5330
5355
|
|
|
5331
5356
|
var _incrementListIndex = _interopRequireDefault(__webpack_require__(69062));
|
|
5332
5357
|
|
|
5333
|
-
var _utils = __webpack_require__(
|
|
5358
|
+
var _utils = __webpack_require__(60540);
|
|
5334
5359
|
|
|
5335
5360
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
5336
5361
|
|
|
@@ -5467,7 +5492,7 @@ exports.List = List;
|
|
|
5467
5492
|
|
|
5468
5493
|
/***/ }),
|
|
5469
5494
|
|
|
5470
|
-
/***/
|
|
5495
|
+
/***/ 60540:
|
|
5471
5496
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5472
5497
|
|
|
5473
5498
|
"use strict";
|
|
@@ -5480,7 +5505,7 @@ exports.listRender = listRender;
|
|
|
5480
5505
|
|
|
5481
5506
|
var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
|
5482
5507
|
|
|
5483
|
-
var _pointer = __webpack_require__(
|
|
5508
|
+
var _pointer = __webpack_require__(41026);
|
|
5484
5509
|
|
|
5485
5510
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
5486
5511
|
|
|
@@ -5529,7 +5554,7 @@ function listRender(choices, pointer, answers) {
|
|
|
5529
5554
|
|
|
5530
5555
|
/***/ }),
|
|
5531
5556
|
|
|
5532
|
-
/***/
|
|
5557
|
+
/***/ 41026:
|
|
5533
5558
|
/***/ ((__unused_webpack_module, exports) => {
|
|
5534
5559
|
|
|
5535
5560
|
"use strict";
|
|
@@ -5556,7 +5581,7 @@ exports.pointer = pointer;
|
|
|
5556
5581
|
|
|
5557
5582
|
/***/ }),
|
|
5558
5583
|
|
|
5559
|
-
/***/
|
|
5584
|
+
/***/ 98368:
|
|
5560
5585
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5561
5586
|
|
|
5562
5587
|
"use strict";
|
|
@@ -5569,7 +5594,7 @@ exports.I18n = void 0;
|
|
|
5569
5594
|
|
|
5570
5595
|
var _get2 = _interopRequireDefault(__webpack_require__(71189));
|
|
5571
5596
|
|
|
5572
|
-
var
|
|
5597
|
+
var _index = __webpack_require__(24033);
|
|
5573
5598
|
|
|
5574
5599
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
5575
5600
|
|
|
@@ -5607,7 +5632,7 @@ class I18n {
|
|
|
5607
5632
|
this.languageMap = languageMap;
|
|
5608
5633
|
}
|
|
5609
5634
|
|
|
5610
|
-
return (0,
|
|
5635
|
+
return (0, _index.getObjKeyMap)(this.languageMap[this.language]);
|
|
5611
5636
|
}
|
|
5612
5637
|
|
|
5613
5638
|
changeLanguage(config) {
|
|
@@ -5630,7 +5655,7 @@ exports.I18n = I18n;
|
|
|
5630
5655
|
|
|
5631
5656
|
/***/ }),
|
|
5632
5657
|
|
|
5633
|
-
/***/
|
|
5658
|
+
/***/ 24033:
|
|
5634
5659
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5635
5660
|
|
|
5636
5661
|
"use strict";
|
|
@@ -7691,8 +7716,8 @@ var buildFullPath = __webpack_require__(95889);
|
|
|
7691
7716
|
var buildURL = __webpack_require__(52737);
|
|
7692
7717
|
var http = __webpack_require__(13685);
|
|
7693
7718
|
var https = __webpack_require__(95687);
|
|
7694
|
-
var httpFollow = (__webpack_require__(
|
|
7695
|
-
var httpsFollow = (__webpack_require__(
|
|
7719
|
+
var httpFollow = (__webpack_require__(22117).http);
|
|
7720
|
+
var httpsFollow = (__webpack_require__(22117).https);
|
|
7696
7721
|
var url = __webpack_require__(57310);
|
|
7697
7722
|
var zlib = __webpack_require__(59796);
|
|
7698
7723
|
var pkg = __webpack_require__(31025);
|
|
@@ -17352,7 +17377,7 @@ module.exports = resolveCommand;
|
|
|
17352
17377
|
|
|
17353
17378
|
/***/ }),
|
|
17354
17379
|
|
|
17355
|
-
/***/
|
|
17380
|
+
/***/ 88351:
|
|
17356
17381
|
/***/ ((module, exports, __webpack_require__) => {
|
|
17357
17382
|
|
|
17358
17383
|
/* eslint-env browser */
|
|
@@ -17609,7 +17634,7 @@ function localstorage() {
|
|
|
17609
17634
|
}
|
|
17610
17635
|
}
|
|
17611
17636
|
|
|
17612
|
-
module.exports = __webpack_require__(
|
|
17637
|
+
module.exports = __webpack_require__(19507)(exports);
|
|
17613
17638
|
|
|
17614
17639
|
const {formatters} = module.exports;
|
|
17615
17640
|
|
|
@@ -17628,7 +17653,7 @@ formatters.j = function (v) {
|
|
|
17628
17653
|
|
|
17629
17654
|
/***/ }),
|
|
17630
17655
|
|
|
17631
|
-
/***/
|
|
17656
|
+
/***/ 19507:
|
|
17632
17657
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17633
17658
|
|
|
17634
17659
|
|
|
@@ -17667,7 +17692,7 @@ function setup(env) {
|
|
|
17667
17692
|
|
|
17668
17693
|
/**
|
|
17669
17694
|
* Selects a color for a debug namespace
|
|
17670
|
-
* @param {String} namespace The namespace string for the
|
|
17695
|
+
* @param {String} namespace The namespace string for the debug instance to be colored
|
|
17671
17696
|
* @return {Number|String} An ANSI color code for the given namespace
|
|
17672
17697
|
* @api private
|
|
17673
17698
|
*/
|
|
@@ -17909,7 +17934,7 @@ module.exports = setup;
|
|
|
17909
17934
|
|
|
17910
17935
|
/***/ }),
|
|
17911
17936
|
|
|
17912
|
-
/***/
|
|
17937
|
+
/***/ 68919:
|
|
17913
17938
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17914
17939
|
|
|
17915
17940
|
/**
|
|
@@ -17918,15 +17943,15 @@ module.exports = setup;
|
|
|
17918
17943
|
*/
|
|
17919
17944
|
|
|
17920
17945
|
if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
|
|
17921
|
-
module.exports = __webpack_require__(
|
|
17946
|
+
module.exports = __webpack_require__(88351);
|
|
17922
17947
|
} else {
|
|
17923
|
-
module.exports = __webpack_require__(
|
|
17948
|
+
module.exports = __webpack_require__(89534);
|
|
17924
17949
|
}
|
|
17925
17950
|
|
|
17926
17951
|
|
|
17927
17952
|
/***/ }),
|
|
17928
17953
|
|
|
17929
|
-
/***/
|
|
17954
|
+
/***/ 89534:
|
|
17930
17955
|
/***/ ((module, exports, __webpack_require__) => {
|
|
17931
17956
|
|
|
17932
17957
|
/**
|
|
@@ -18168,7 +18193,7 @@ function init(debug) {
|
|
|
18168
18193
|
}
|
|
18169
18194
|
}
|
|
18170
18195
|
|
|
18171
|
-
module.exports = __webpack_require__(
|
|
18196
|
+
module.exports = __webpack_require__(19507)(exports);
|
|
18172
18197
|
|
|
18173
18198
|
const {formatters} = module.exports;
|
|
18174
18199
|
|
|
@@ -25775,7 +25800,7 @@ module.exports = makeError;
|
|
|
25775
25800
|
"use strict";
|
|
25776
25801
|
|
|
25777
25802
|
const os = __webpack_require__(22037);
|
|
25778
|
-
const onExit = __webpack_require__(
|
|
25803
|
+
const onExit = __webpack_require__(66217);
|
|
25779
25804
|
|
|
25780
25805
|
const DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;
|
|
25781
25806
|
|
|
@@ -26659,7 +26684,7 @@ module.exports.windows = windows;
|
|
|
26659
26684
|
|
|
26660
26685
|
/***/ }),
|
|
26661
26686
|
|
|
26662
|
-
/***/
|
|
26687
|
+
/***/ 42846:
|
|
26663
26688
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26664
26689
|
|
|
26665
26690
|
var debug;
|
|
@@ -26668,7 +26693,7 @@ module.exports = function () {
|
|
|
26668
26693
|
if (!debug) {
|
|
26669
26694
|
try {
|
|
26670
26695
|
/* eslint global-require: off */
|
|
26671
|
-
debug = __webpack_require__(
|
|
26696
|
+
debug = __webpack_require__(68919)("follow-redirects");
|
|
26672
26697
|
}
|
|
26673
26698
|
catch (error) { /* */ }
|
|
26674
26699
|
if (typeof debug !== "function") {
|
|
@@ -26681,7 +26706,7 @@ module.exports = function () {
|
|
|
26681
26706
|
|
|
26682
26707
|
/***/ }),
|
|
26683
26708
|
|
|
26684
|
-
/***/
|
|
26709
|
+
/***/ 22117:
|
|
26685
26710
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26686
26711
|
|
|
26687
26712
|
var url = __webpack_require__(57310);
|
|
@@ -26690,7 +26715,7 @@ var http = __webpack_require__(13685);
|
|
|
26690
26715
|
var https = __webpack_require__(95687);
|
|
26691
26716
|
var Writable = (__webpack_require__(12781).Writable);
|
|
26692
26717
|
var assert = __webpack_require__(39491);
|
|
26693
|
-
var debug = __webpack_require__(
|
|
26718
|
+
var debug = __webpack_require__(42846);
|
|
26694
26719
|
|
|
26695
26720
|
// Create handlers that pass events from native requests
|
|
26696
26721
|
var events = ["abort", "aborted", "connect", "error", "socket", "timeout"];
|
|
@@ -27211,11 +27236,12 @@ function removeMatchingHeaders(regex, headers) {
|
|
|
27211
27236
|
var lastValue;
|
|
27212
27237
|
for (var header in headers) {
|
|
27213
27238
|
if (regex.test(header)) {
|
|
27214
|
-
lastValue = headers[header]
|
|
27239
|
+
lastValue = headers[header];
|
|
27215
27240
|
delete headers[header];
|
|
27216
27241
|
}
|
|
27217
27242
|
}
|
|
27218
|
-
return lastValue
|
|
27243
|
+
return (lastValue === null || typeof lastValue === "undefined") ?
|
|
27244
|
+
undefined : String(lastValue).trim();
|
|
27219
27245
|
}
|
|
27220
27246
|
|
|
27221
27247
|
function createErrorType(code, defaultMessage) {
|
|
@@ -29261,7 +29287,7 @@ module.exports = {
|
|
|
29261
29287
|
|
|
29262
29288
|
"use strict";
|
|
29263
29289
|
|
|
29264
|
-
const MiniPass = __webpack_require__(
|
|
29290
|
+
const MiniPass = __webpack_require__(81675)
|
|
29265
29291
|
const EE = (__webpack_require__(82361).EventEmitter)
|
|
29266
29292
|
const fs = __webpack_require__(57147)
|
|
29267
29293
|
|
|
@@ -31877,13 +31903,13 @@ GlobSync.prototype._makeAbs = function (f) {
|
|
|
31877
31903
|
|
|
31878
31904
|
/***/ }),
|
|
31879
31905
|
|
|
31880
|
-
/***/
|
|
31906
|
+
/***/ 39026:
|
|
31881
31907
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
31882
31908
|
|
|
31883
31909
|
"use strict";
|
|
31884
31910
|
|
|
31885
31911
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
31886
|
-
const types_1 = __webpack_require__(
|
|
31912
|
+
const types_1 = __webpack_require__(10009);
|
|
31887
31913
|
function createRejection(error, ...beforeErrorGroups) {
|
|
31888
31914
|
const promise = (async () => {
|
|
31889
31915
|
if (error instanceof types_1.RequestError) {
|
|
@@ -31915,7 +31941,7 @@ exports["default"] = createRejection;
|
|
|
31915
31941
|
|
|
31916
31942
|
/***/ }),
|
|
31917
31943
|
|
|
31918
|
-
/***/
|
|
31944
|
+
/***/ 93285:
|
|
31919
31945
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
31920
31946
|
|
|
31921
31947
|
"use strict";
|
|
@@ -31934,12 +31960,12 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
31934
31960
|
const events_1 = __webpack_require__(82361);
|
|
31935
31961
|
const is_1 = __webpack_require__(49460);
|
|
31936
31962
|
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__(
|
|
31963
|
+
const types_1 = __webpack_require__(10009);
|
|
31964
|
+
const parse_body_1 = __webpack_require__(58405);
|
|
31965
|
+
const core_1 = __webpack_require__(40753);
|
|
31966
|
+
const proxy_events_1 = __webpack_require__(47538);
|
|
31967
|
+
const get_buffer_1 = __webpack_require__(21750);
|
|
31968
|
+
const is_response_ok_1 = __webpack_require__(67930);
|
|
31943
31969
|
const proxiedRequestEvents = [
|
|
31944
31970
|
'request',
|
|
31945
31971
|
'response',
|
|
@@ -32093,12 +32119,12 @@ function asPromise(normalizedOptions) {
|
|
|
32093
32119
|
return promise;
|
|
32094
32120
|
}
|
|
32095
32121
|
exports["default"] = asPromise;
|
|
32096
|
-
__exportStar(__webpack_require__(
|
|
32122
|
+
__exportStar(__webpack_require__(10009), exports);
|
|
32097
32123
|
|
|
32098
32124
|
|
|
32099
32125
|
/***/ }),
|
|
32100
32126
|
|
|
32101
|
-
/***/
|
|
32127
|
+
/***/ 11307:
|
|
32102
32128
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
32103
32129
|
|
|
32104
32130
|
"use strict";
|
|
@@ -32184,13 +32210,13 @@ exports["default"] = normalizeArguments;
|
|
|
32184
32210
|
|
|
32185
32211
|
/***/ }),
|
|
32186
32212
|
|
|
32187
|
-
/***/
|
|
32213
|
+
/***/ 58405:
|
|
32188
32214
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
32189
32215
|
|
|
32190
32216
|
"use strict";
|
|
32191
32217
|
|
|
32192
32218
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
32193
|
-
const types_1 = __webpack_require__(
|
|
32219
|
+
const types_1 = __webpack_require__(10009);
|
|
32194
32220
|
const parseBody = (response, responseType, parseJson, encoding) => {
|
|
32195
32221
|
const { rawBody } = response;
|
|
32196
32222
|
try {
|
|
@@ -32217,7 +32243,7 @@ exports["default"] = parseBody;
|
|
|
32217
32243
|
|
|
32218
32244
|
/***/ }),
|
|
32219
32245
|
|
|
32220
|
-
/***/
|
|
32246
|
+
/***/ 10009:
|
|
32221
32247
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
32222
32248
|
|
|
32223
32249
|
"use strict";
|
|
@@ -32234,7 +32260,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
32234
32260
|
};
|
|
32235
32261
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
32236
32262
|
exports.CancelError = exports.ParseError = void 0;
|
|
32237
|
-
const core_1 = __webpack_require__(
|
|
32263
|
+
const core_1 = __webpack_require__(40753);
|
|
32238
32264
|
/**
|
|
32239
32265
|
An error to be thrown when server response code is 2xx, and parsing body fails.
|
|
32240
32266
|
Includes a `response` property.
|
|
@@ -32244,6 +32270,7 @@ class ParseError extends core_1.RequestError {
|
|
|
32244
32270
|
const { options } = response.request;
|
|
32245
32271
|
super(`${error.message} in "${options.url.toString()}"`, error, response.request);
|
|
32246
32272
|
this.name = 'ParseError';
|
|
32273
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_BODY_PARSE_FAILURE' : this.code;
|
|
32247
32274
|
}
|
|
32248
32275
|
}
|
|
32249
32276
|
exports.ParseError = ParseError;
|
|
@@ -32254,18 +32281,19 @@ class CancelError extends core_1.RequestError {
|
|
|
32254
32281
|
constructor(request) {
|
|
32255
32282
|
super('Promise was canceled', {}, request);
|
|
32256
32283
|
this.name = 'CancelError';
|
|
32284
|
+
this.code = 'ERR_CANCELED';
|
|
32257
32285
|
}
|
|
32258
32286
|
get isCanceled() {
|
|
32259
32287
|
return true;
|
|
32260
32288
|
}
|
|
32261
32289
|
}
|
|
32262
32290
|
exports.CancelError = CancelError;
|
|
32263
|
-
__exportStar(__webpack_require__(
|
|
32291
|
+
__exportStar(__webpack_require__(40753), exports);
|
|
32264
32292
|
|
|
32265
32293
|
|
|
32266
32294
|
/***/ }),
|
|
32267
32295
|
|
|
32268
|
-
/***/
|
|
32296
|
+
/***/ 1512:
|
|
32269
32297
|
/***/ ((__unused_webpack_module, exports) => {
|
|
32270
32298
|
|
|
32271
32299
|
"use strict";
|
|
@@ -32302,7 +32330,7 @@ exports["default"] = calculateRetryDelay;
|
|
|
32302
32330
|
|
|
32303
32331
|
/***/ }),
|
|
32304
32332
|
|
|
32305
|
-
/***/
|
|
32333
|
+
/***/ 40753:
|
|
32306
32334
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
32307
32335
|
|
|
32308
32336
|
"use strict";
|
|
@@ -32324,19 +32352,19 @@ const decompressResponse = __webpack_require__(8673);
|
|
|
32324
32352
|
const http2wrapper = __webpack_require__(14277);
|
|
32325
32353
|
const lowercaseKeys = __webpack_require__(5974);
|
|
32326
32354
|
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__(
|
|
32355
|
+
const get_body_size_1 = __webpack_require__(96004);
|
|
32356
|
+
const is_form_data_1 = __webpack_require__(99678);
|
|
32357
|
+
const proxy_events_1 = __webpack_require__(47538);
|
|
32358
|
+
const timed_out_1 = __webpack_require__(69012);
|
|
32359
|
+
const url_to_options_1 = __webpack_require__(22326);
|
|
32360
|
+
const options_to_url_1 = __webpack_require__(84045);
|
|
32361
|
+
const weakable_map_1 = __webpack_require__(37954);
|
|
32362
|
+
const get_buffer_1 = __webpack_require__(21750);
|
|
32363
|
+
const dns_ip_version_1 = __webpack_require__(26855);
|
|
32364
|
+
const is_response_ok_1 = __webpack_require__(67930);
|
|
32365
|
+
const deprecation_warning_1 = __webpack_require__(45907);
|
|
32366
|
+
const normalize_arguments_1 = __webpack_require__(11307);
|
|
32367
|
+
const calculate_retry_delay_1 = __webpack_require__(1512);
|
|
32340
32368
|
let globalDnsCache;
|
|
32341
32369
|
const kRequest = Symbol('request');
|
|
32342
32370
|
const kResponse = Symbol('response');
|
|
@@ -32429,11 +32457,11 @@ Contains a `code` property with error class code, like `ECONNREFUSED`.
|
|
|
32429
32457
|
*/
|
|
32430
32458
|
class RequestError extends Error {
|
|
32431
32459
|
constructor(message, error, self) {
|
|
32432
|
-
var _a;
|
|
32460
|
+
var _a, _b;
|
|
32433
32461
|
super(message);
|
|
32434
32462
|
Error.captureStackTrace(this, this.constructor);
|
|
32435
32463
|
this.name = 'RequestError';
|
|
32436
|
-
this.code = error.code;
|
|
32464
|
+
this.code = (_a = error.code) !== null && _a !== void 0 ? _a : 'ERR_GOT_REQUEST_ERROR';
|
|
32437
32465
|
if (self instanceof Request) {
|
|
32438
32466
|
Object.defineProperty(this, 'request', {
|
|
32439
32467
|
enumerable: false,
|
|
@@ -32458,7 +32486,7 @@ class RequestError extends Error {
|
|
|
32458
32486
|
value: self
|
|
32459
32487
|
});
|
|
32460
32488
|
}
|
|
32461
|
-
this.timings = (
|
|
32489
|
+
this.timings = (_b = this.request) === null || _b === void 0 ? void 0 : _b.timings;
|
|
32462
32490
|
// Recover the original stacktrace
|
|
32463
32491
|
if (is_1.default.string(error.stack) && is_1.default.string(this.stack)) {
|
|
32464
32492
|
const indexOfMessage = this.stack.indexOf(this.message) + this.message.length;
|
|
@@ -32481,6 +32509,7 @@ class MaxRedirectsError extends RequestError {
|
|
|
32481
32509
|
constructor(request) {
|
|
32482
32510
|
super(`Redirected ${request.options.maxRedirects} times. Aborting.`, {}, request);
|
|
32483
32511
|
this.name = 'MaxRedirectsError';
|
|
32512
|
+
this.code = 'ERR_TOO_MANY_REDIRECTS';
|
|
32484
32513
|
}
|
|
32485
32514
|
}
|
|
32486
32515
|
exports.MaxRedirectsError = MaxRedirectsError;
|
|
@@ -32492,6 +32521,7 @@ class HTTPError extends RequestError {
|
|
|
32492
32521
|
constructor(response) {
|
|
32493
32522
|
super(`Response code ${response.statusCode} (${response.statusMessage})`, {}, response.request);
|
|
32494
32523
|
this.name = 'HTTPError';
|
|
32524
|
+
this.code = 'ERR_NON_2XX_3XX_RESPONSE';
|
|
32495
32525
|
}
|
|
32496
32526
|
}
|
|
32497
32527
|
exports.HTTPError = HTTPError;
|
|
@@ -32503,6 +32533,7 @@ class CacheError extends RequestError {
|
|
|
32503
32533
|
constructor(error, request) {
|
|
32504
32534
|
super(error.message, error, request);
|
|
32505
32535
|
this.name = 'CacheError';
|
|
32536
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_CACHE_ACCESS' : this.code;
|
|
32506
32537
|
}
|
|
32507
32538
|
}
|
|
32508
32539
|
exports.CacheError = CacheError;
|
|
@@ -32513,6 +32544,7 @@ class UploadError extends RequestError {
|
|
|
32513
32544
|
constructor(error, request) {
|
|
32514
32545
|
super(error.message, error, request);
|
|
32515
32546
|
this.name = 'UploadError';
|
|
32547
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_UPLOAD' : this.code;
|
|
32516
32548
|
}
|
|
32517
32549
|
}
|
|
32518
32550
|
exports.UploadError = UploadError;
|
|
@@ -32536,6 +32568,7 @@ class ReadError extends RequestError {
|
|
|
32536
32568
|
constructor(error, request) {
|
|
32537
32569
|
super(error.message, error, request);
|
|
32538
32570
|
this.name = 'ReadError';
|
|
32571
|
+
this.code = this.code === 'ERR_GOT_REQUEST_ERROR' ? 'ERR_READING_RESPONSE_STREAM' : this.code;
|
|
32539
32572
|
}
|
|
32540
32573
|
}
|
|
32541
32574
|
exports.ReadError = ReadError;
|
|
@@ -32546,6 +32579,7 @@ class UnsupportedProtocolError extends RequestError {
|
|
|
32546
32579
|
constructor(options) {
|
|
32547
32580
|
super(`Unsupported protocol "${options.url.protocol}"`, {}, options);
|
|
32548
32581
|
this.name = 'UnsupportedProtocolError';
|
|
32582
|
+
this.code = 'ERR_UNSUPPORTED_PROTOCOL';
|
|
32549
32583
|
}
|
|
32550
32584
|
}
|
|
32551
32585
|
exports.UnsupportedProtocolError = UnsupportedProtocolError;
|
|
@@ -33801,7 +33835,7 @@ exports["default"] = Request;
|
|
|
33801
33835
|
|
|
33802
33836
|
/***/ }),
|
|
33803
33837
|
|
|
33804
|
-
/***/
|
|
33838
|
+
/***/ 26855:
|
|
33805
33839
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33806
33840
|
|
|
33807
33841
|
"use strict";
|
|
@@ -33826,7 +33860,7 @@ exports.dnsLookupIpVersionToFamily = (dnsLookupIpVersion) => {
|
|
|
33826
33860
|
|
|
33827
33861
|
/***/ }),
|
|
33828
33862
|
|
|
33829
|
-
/***/
|
|
33863
|
+
/***/ 96004:
|
|
33830
33864
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
33831
33865
|
|
|
33832
33866
|
"use strict";
|
|
@@ -33835,7 +33869,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
33835
33869
|
const fs_1 = __webpack_require__(57147);
|
|
33836
33870
|
const util_1 = __webpack_require__(73837);
|
|
33837
33871
|
const is_1 = __webpack_require__(49460);
|
|
33838
|
-
const is_form_data_1 = __webpack_require__(
|
|
33872
|
+
const is_form_data_1 = __webpack_require__(99678);
|
|
33839
33873
|
const statAsync = util_1.promisify(fs_1.stat);
|
|
33840
33874
|
exports["default"] = async (body, headers) => {
|
|
33841
33875
|
if (headers && 'content-length' in headers) {
|
|
@@ -33866,7 +33900,7 @@ exports["default"] = async (body, headers) => {
|
|
|
33866
33900
|
|
|
33867
33901
|
/***/ }),
|
|
33868
33902
|
|
|
33869
|
-
/***/
|
|
33903
|
+
/***/ 21750:
|
|
33870
33904
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33871
33905
|
|
|
33872
33906
|
"use strict";
|
|
@@ -33890,7 +33924,7 @@ exports["default"] = getBuffer;
|
|
|
33890
33924
|
|
|
33891
33925
|
/***/ }),
|
|
33892
33926
|
|
|
33893
|
-
/***/
|
|
33927
|
+
/***/ 99678:
|
|
33894
33928
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
33895
33929
|
|
|
33896
33930
|
"use strict";
|
|
@@ -33902,7 +33936,7 @@ exports["default"] = (body) => is_1.default.nodeStream(body) && is_1.default.fun
|
|
|
33902
33936
|
|
|
33903
33937
|
/***/ }),
|
|
33904
33938
|
|
|
33905
|
-
/***/
|
|
33939
|
+
/***/ 67930:
|
|
33906
33940
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33907
33941
|
|
|
33908
33942
|
"use strict";
|
|
@@ -33918,7 +33952,7 @@ exports.isResponseOk = (response) => {
|
|
|
33918
33952
|
|
|
33919
33953
|
/***/ }),
|
|
33920
33954
|
|
|
33921
|
-
/***/
|
|
33955
|
+
/***/ 84045:
|
|
33922
33956
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
33923
33957
|
|
|
33924
33958
|
"use strict";
|
|
@@ -33979,7 +34013,7 @@ exports["default"] = (origin, options) => {
|
|
|
33979
34013
|
|
|
33980
34014
|
/***/ }),
|
|
33981
34015
|
|
|
33982
|
-
/***/
|
|
34016
|
+
/***/ 47538:
|
|
33983
34017
|
/***/ ((__unused_webpack_module, exports) => {
|
|
33984
34018
|
|
|
33985
34019
|
"use strict";
|
|
@@ -34004,7 +34038,7 @@ exports["default"] = default_1;
|
|
|
34004
34038
|
|
|
34005
34039
|
/***/ }),
|
|
34006
34040
|
|
|
34007
|
-
/***/
|
|
34041
|
+
/***/ 69012:
|
|
34008
34042
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
34009
34043
|
|
|
34010
34044
|
"use strict";
|
|
@@ -34012,7 +34046,7 @@ exports["default"] = default_1;
|
|
|
34012
34046
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34013
34047
|
exports.TimeoutError = void 0;
|
|
34014
34048
|
const net = __webpack_require__(41808);
|
|
34015
|
-
const unhandle_1 = __webpack_require__(
|
|
34049
|
+
const unhandle_1 = __webpack_require__(47884);
|
|
34016
34050
|
const reentry = Symbol('reentry');
|
|
34017
34051
|
const noop = () => { };
|
|
34018
34052
|
class TimeoutError extends Error {
|
|
@@ -34133,7 +34167,7 @@ exports["default"] = (request, delays, options) => {
|
|
|
34133
34167
|
|
|
34134
34168
|
/***/ }),
|
|
34135
34169
|
|
|
34136
|
-
/***/
|
|
34170
|
+
/***/ 47884:
|
|
34137
34171
|
/***/ ((__unused_webpack_module, exports) => {
|
|
34138
34172
|
|
|
34139
34173
|
"use strict";
|
|
@@ -34163,7 +34197,7 @@ exports["default"] = () => {
|
|
|
34163
34197
|
|
|
34164
34198
|
/***/ }),
|
|
34165
34199
|
|
|
34166
|
-
/***/
|
|
34200
|
+
/***/ 22326:
|
|
34167
34201
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
34168
34202
|
|
|
34169
34203
|
"use strict";
|
|
@@ -34195,7 +34229,7 @@ exports["default"] = (url) => {
|
|
|
34195
34229
|
|
|
34196
34230
|
/***/ }),
|
|
34197
34231
|
|
|
34198
|
-
/***/
|
|
34232
|
+
/***/ 37954:
|
|
34199
34233
|
/***/ ((__unused_webpack_module, exports) => {
|
|
34200
34234
|
|
|
34201
34235
|
"use strict";
|
|
@@ -34232,7 +34266,7 @@ exports["default"] = WeakableMap;
|
|
|
34232
34266
|
|
|
34233
34267
|
/***/ }),
|
|
34234
34268
|
|
|
34235
|
-
/***/
|
|
34269
|
+
/***/ 79613:
|
|
34236
34270
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
34237
34271
|
|
|
34238
34272
|
"use strict";
|
|
@@ -34250,10 +34284,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
34250
34284
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34251
34285
|
exports.defaultHandler = void 0;
|
|
34252
34286
|
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__(
|
|
34287
|
+
const as_promise_1 = __webpack_require__(93285);
|
|
34288
|
+
const create_rejection_1 = __webpack_require__(39026);
|
|
34289
|
+
const core_1 = __webpack_require__(40753);
|
|
34290
|
+
const deep_freeze_1 = __webpack_require__(77116);
|
|
34257
34291
|
const errors = {
|
|
34258
34292
|
RequestError: as_promise_1.RequestError,
|
|
34259
34293
|
CacheError: as_promise_1.CacheError,
|
|
@@ -34475,12 +34509,12 @@ const create = (defaults) => {
|
|
|
34475
34509
|
return got;
|
|
34476
34510
|
};
|
|
34477
34511
|
exports["default"] = create;
|
|
34478
|
-
__exportStar(__webpack_require__(
|
|
34512
|
+
__exportStar(__webpack_require__(37335), exports);
|
|
34479
34513
|
|
|
34480
34514
|
|
|
34481
34515
|
/***/ }),
|
|
34482
34516
|
|
|
34483
|
-
/***/
|
|
34517
|
+
/***/ 98351:
|
|
34484
34518
|
/***/ (function(module, exports, __webpack_require__) {
|
|
34485
34519
|
|
|
34486
34520
|
"use strict";
|
|
@@ -34497,7 +34531,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
34497
34531
|
};
|
|
34498
34532
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34499
34533
|
const url_1 = __webpack_require__(57310);
|
|
34500
|
-
const create_1 = __webpack_require__(
|
|
34534
|
+
const create_1 = __webpack_require__(79613);
|
|
34501
34535
|
const defaults = {
|
|
34502
34536
|
options: {
|
|
34503
34537
|
method: 'GET',
|
|
@@ -34614,13 +34648,13 @@ exports["default"] = got;
|
|
|
34614
34648
|
module.exports = got;
|
|
34615
34649
|
module.exports["default"] = got;
|
|
34616
34650
|
module.exports.__esModule = true; // Workaround for TS issue: https://github.com/sindresorhus/got/pull/1267
|
|
34617
|
-
__exportStar(__webpack_require__(
|
|
34618
|
-
__exportStar(__webpack_require__(
|
|
34651
|
+
__exportStar(__webpack_require__(79613), exports);
|
|
34652
|
+
__exportStar(__webpack_require__(93285), exports);
|
|
34619
34653
|
|
|
34620
34654
|
|
|
34621
34655
|
/***/ }),
|
|
34622
34656
|
|
|
34623
|
-
/***/
|
|
34657
|
+
/***/ 37335:
|
|
34624
34658
|
/***/ ((__unused_webpack_module, exports) => {
|
|
34625
34659
|
|
|
34626
34660
|
"use strict";
|
|
@@ -34630,7 +34664,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
34630
34664
|
|
|
34631
34665
|
/***/ }),
|
|
34632
34666
|
|
|
34633
|
-
/***/
|
|
34667
|
+
/***/ 77116:
|
|
34634
34668
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
34635
34669
|
|
|
34636
34670
|
"use strict";
|
|
@@ -34650,7 +34684,7 @@ exports["default"] = deepFreeze;
|
|
|
34650
34684
|
|
|
34651
34685
|
/***/ }),
|
|
34652
34686
|
|
|
34653
|
-
/***/
|
|
34687
|
+
/***/ 45907:
|
|
34654
34688
|
/***/ ((__unused_webpack_module, exports) => {
|
|
34655
34689
|
|
|
34656
34690
|
"use strict";
|
|
@@ -59346,7 +59380,7 @@ function isNumber (x) {
|
|
|
59346
59380
|
|
|
59347
59381
|
/***/ }),
|
|
59348
59382
|
|
|
59349
|
-
/***/
|
|
59383
|
+
/***/ 81675:
|
|
59350
59384
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
59351
59385
|
|
|
59352
59386
|
"use strict";
|
|
@@ -59517,7 +59551,12 @@ module.exports = class Minipass extends Stream {
|
|
|
59517
59551
|
// because we're mid-write, so that'd be bad.
|
|
59518
59552
|
if (this[BUFFERLENGTH] !== 0)
|
|
59519
59553
|
this[FLUSH](true)
|
|
59520
|
-
|
|
59554
|
+
|
|
59555
|
+
// if we are still flowing after flushing the buffer we can emit the
|
|
59556
|
+
// chunk otherwise we have to buffer it.
|
|
59557
|
+
this.flowing
|
|
59558
|
+
? this.emit('data', chunk)
|
|
59559
|
+
: this[BUFFERPUSH](chunk)
|
|
59521
59560
|
} else
|
|
59522
59561
|
this[BUFFERPUSH](chunk)
|
|
59523
59562
|
|
|
@@ -60042,7 +60081,7 @@ const Buffer = (__webpack_require__(14300).Buffer)
|
|
|
60042
60081
|
const realZlib = __webpack_require__(59796)
|
|
60043
60082
|
|
|
60044
60083
|
const constants = exports.constants = __webpack_require__(14473)
|
|
60045
|
-
const Minipass = __webpack_require__(
|
|
60084
|
+
const Minipass = __webpack_require__(81675)
|
|
60046
60085
|
|
|
60047
60086
|
const OriginalBufferConcat = Buffer.concat
|
|
60048
60087
|
|
|
@@ -61936,7 +61975,7 @@ module.exports.CancelError = CancelError;
|
|
|
61936
61975
|
|
|
61937
61976
|
const {Agent: HttpAgent} = __webpack_require__(13685);
|
|
61938
61977
|
const {Agent: HttpsAgent} = __webpack_require__(95687);
|
|
61939
|
-
const got = __webpack_require__(
|
|
61978
|
+
const got = __webpack_require__(98351);
|
|
61940
61979
|
const registryUrl = __webpack_require__(99399);
|
|
61941
61980
|
const registryAuthToken = __webpack_require__(5086);
|
|
61942
61981
|
const semver = __webpack_require__(20962);
|
|
@@ -66110,7 +66149,7 @@ module.exports = Response;
|
|
|
66110
66149
|
"use strict";
|
|
66111
66150
|
|
|
66112
66151
|
const onetime = __webpack_require__(26401);
|
|
66113
|
-
const signalExit = __webpack_require__(
|
|
66152
|
+
const signalExit = __webpack_require__(66217);
|
|
66114
66153
|
|
|
66115
66154
|
module.exports = onetime(() => {
|
|
66116
66155
|
signalExit(() => {
|
|
@@ -82606,7 +82645,7 @@ module.exports = /^#!(.*)/;
|
|
|
82606
82645
|
|
|
82607
82646
|
/***/ }),
|
|
82608
82647
|
|
|
82609
|
-
/***/
|
|
82648
|
+
/***/ 66217:
|
|
82610
82649
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
82611
82650
|
|
|
82612
82651
|
// Note: since nyc uses this module to output coverage, any lines
|
|
@@ -82614,12 +82653,26 @@ module.exports = /^#!(.*)/;
|
|
|
82614
82653
|
// ignored, since we can never get coverage for them.
|
|
82615
82654
|
// grab a reference to node's real process object right away
|
|
82616
82655
|
var process = global.process
|
|
82656
|
+
|
|
82657
|
+
const processOk = function (process) {
|
|
82658
|
+
return process &&
|
|
82659
|
+
typeof process === 'object' &&
|
|
82660
|
+
typeof process.removeListener === 'function' &&
|
|
82661
|
+
typeof process.emit === 'function' &&
|
|
82662
|
+
typeof process.reallyExit === 'function' &&
|
|
82663
|
+
typeof process.listeners === 'function' &&
|
|
82664
|
+
typeof process.kill === 'function' &&
|
|
82665
|
+
typeof process.pid === 'number' &&
|
|
82666
|
+
typeof process.on === 'function'
|
|
82667
|
+
}
|
|
82668
|
+
|
|
82617
82669
|
// some kind of non-node environment, just no-op
|
|
82618
|
-
|
|
82670
|
+
/* istanbul ignore if */
|
|
82671
|
+
if (!processOk(process)) {
|
|
82619
82672
|
module.exports = function () {}
|
|
82620
82673
|
} else {
|
|
82621
82674
|
var assert = __webpack_require__(39491)
|
|
82622
|
-
var signals = __webpack_require__(
|
|
82675
|
+
var signals = __webpack_require__(16869)
|
|
82623
82676
|
var isWin = /^win/i.test(process.platform)
|
|
82624
82677
|
|
|
82625
82678
|
var EE = __webpack_require__(82361)
|
|
@@ -82647,7 +82700,8 @@ if (typeof process !== 'object' || !process) {
|
|
|
82647
82700
|
}
|
|
82648
82701
|
|
|
82649
82702
|
module.exports = function (cb, opts) {
|
|
82650
|
-
|
|
82703
|
+
/* istanbul ignore if */
|
|
82704
|
+
if (!processOk(global.process)) {
|
|
82651
82705
|
return
|
|
82652
82706
|
}
|
|
82653
82707
|
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')
|
|
@@ -82674,7 +82728,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82674
82728
|
}
|
|
82675
82729
|
|
|
82676
82730
|
var unload = function unload () {
|
|
82677
|
-
if (!loaded || global.process
|
|
82731
|
+
if (!loaded || !processOk(global.process)) {
|
|
82678
82732
|
return
|
|
82679
82733
|
}
|
|
82680
82734
|
loaded = false
|
|
@@ -82691,6 +82745,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82691
82745
|
module.exports.unload = unload
|
|
82692
82746
|
|
|
82693
82747
|
var emit = function emit (event, code, signal) {
|
|
82748
|
+
/* istanbul ignore if */
|
|
82694
82749
|
if (emitter.emitted[event]) {
|
|
82695
82750
|
return
|
|
82696
82751
|
}
|
|
@@ -82702,7 +82757,8 @@ if (typeof process !== 'object' || !process) {
|
|
|
82702
82757
|
var sigListeners = {}
|
|
82703
82758
|
signals.forEach(function (sig) {
|
|
82704
82759
|
sigListeners[sig] = function listener () {
|
|
82705
|
-
|
|
82760
|
+
/* istanbul ignore if */
|
|
82761
|
+
if (!processOk(global.process)) {
|
|
82706
82762
|
return
|
|
82707
82763
|
}
|
|
82708
82764
|
// If there are no other listeners, an exit is coming!
|
|
@@ -82721,6 +82777,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82721
82777
|
// so use a supported signal instead
|
|
82722
82778
|
sig = 'SIGINT'
|
|
82723
82779
|
}
|
|
82780
|
+
/* istanbul ignore next */
|
|
82724
82781
|
process.kill(process.pid, sig)
|
|
82725
82782
|
}
|
|
82726
82783
|
}
|
|
@@ -82733,7 +82790,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82733
82790
|
var loaded = false
|
|
82734
82791
|
|
|
82735
82792
|
var load = function load () {
|
|
82736
|
-
if (loaded ||
|
|
82793
|
+
if (loaded || !processOk(global.process)) {
|
|
82737
82794
|
return
|
|
82738
82795
|
}
|
|
82739
82796
|
loaded = true
|
|
@@ -82760,10 +82817,11 @@ if (typeof process !== 'object' || !process) {
|
|
|
82760
82817
|
|
|
82761
82818
|
var originalProcessReallyExit = process.reallyExit
|
|
82762
82819
|
var processReallyExit = function processReallyExit (code) {
|
|
82763
|
-
|
|
82820
|
+
/* istanbul ignore if */
|
|
82821
|
+
if (!processOk(global.process)) {
|
|
82764
82822
|
return
|
|
82765
82823
|
}
|
|
82766
|
-
process.exitCode = code || 0
|
|
82824
|
+
process.exitCode = code || /* istanbul ignore next */ 0
|
|
82767
82825
|
emit('exit', process.exitCode, null)
|
|
82768
82826
|
/* istanbul ignore next */
|
|
82769
82827
|
emit('afterexit', process.exitCode, null)
|
|
@@ -82773,14 +82831,17 @@ if (typeof process !== 'object' || !process) {
|
|
|
82773
82831
|
|
|
82774
82832
|
var originalProcessEmit = process.emit
|
|
82775
82833
|
var processEmit = function processEmit (ev, arg) {
|
|
82776
|
-
if (ev === 'exit' &&
|
|
82834
|
+
if (ev === 'exit' && processOk(global.process)) {
|
|
82835
|
+
/* istanbul ignore else */
|
|
82777
82836
|
if (arg !== undefined) {
|
|
82778
82837
|
process.exitCode = arg
|
|
82779
82838
|
}
|
|
82780
82839
|
var ret = originalProcessEmit.apply(this, arguments)
|
|
82840
|
+
/* istanbul ignore next */
|
|
82781
82841
|
emit('exit', process.exitCode, null)
|
|
82782
82842
|
/* istanbul ignore next */
|
|
82783
82843
|
emit('afterexit', process.exitCode, null)
|
|
82844
|
+
/* istanbul ignore next */
|
|
82784
82845
|
return ret
|
|
82785
82846
|
} else {
|
|
82786
82847
|
return originalProcessEmit.apply(this, arguments)
|
|
@@ -82791,7 +82852,7 @@ if (typeof process !== 'object' || !process) {
|
|
|
82791
82852
|
|
|
82792
82853
|
/***/ }),
|
|
82793
82854
|
|
|
82794
|
-
/***/
|
|
82855
|
+
/***/ 16869:
|
|
82795
82856
|
/***/ ((module) => {
|
|
82796
82857
|
|
|
82797
82858
|
// This is not the set of all possible signals.
|
|
@@ -84639,7 +84700,7 @@ class PackJob {
|
|
|
84639
84700
|
}
|
|
84640
84701
|
}
|
|
84641
84702
|
|
|
84642
|
-
const MiniPass = __webpack_require__(
|
|
84703
|
+
const MiniPass = __webpack_require__(81675)
|
|
84643
84704
|
const zlib = __webpack_require__(95289)
|
|
84644
84705
|
const ReadEntry = __webpack_require__(66523)
|
|
84645
84706
|
const WriteEntry = __webpack_require__(56004)
|
|
@@ -85816,7 +85877,7 @@ module.exports = Pax
|
|
|
85816
85877
|
|
|
85817
85878
|
"use strict";
|
|
85818
85879
|
|
|
85819
|
-
const MiniPass = __webpack_require__(
|
|
85880
|
+
const MiniPass = __webpack_require__(81675)
|
|
85820
85881
|
const normPath = __webpack_require__(41935)
|
|
85821
85882
|
|
|
85822
85883
|
const SLURP = Symbol('slurp')
|
|
@@ -87247,7 +87308,7 @@ module.exports = {
|
|
|
87247
87308
|
|
|
87248
87309
|
"use strict";
|
|
87249
87310
|
|
|
87250
|
-
const MiniPass = __webpack_require__(
|
|
87311
|
+
const MiniPass = __webpack_require__(81675)
|
|
87251
87312
|
const Pax = __webpack_require__(15674)
|
|
87252
87313
|
const Header = __webpack_require__(13391)
|
|
87253
87314
|
const fs = __webpack_require__(57147)
|
|
@@ -89337,6 +89398,2110 @@ try {
|
|
|
89337
89398
|
} catch (er) {}
|
|
89338
89399
|
|
|
89339
89400
|
|
|
89401
|
+
/***/ }),
|
|
89402
|
+
|
|
89403
|
+
/***/ 455:
|
|
89404
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89405
|
+
|
|
89406
|
+
"use strict";
|
|
89407
|
+
|
|
89408
|
+
|
|
89409
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89410
|
+
value: true
|
|
89411
|
+
}));
|
|
89412
|
+
exports.I18n = void 0;
|
|
89413
|
+
|
|
89414
|
+
var _get2 = _interopRequireDefault(__webpack_require__(71189));
|
|
89415
|
+
|
|
89416
|
+
var _utils = __webpack_require__(84032);
|
|
89417
|
+
|
|
89418
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
89419
|
+
|
|
89420
|
+
class I18n {
|
|
89421
|
+
constructor() {
|
|
89422
|
+
this.language = 'en';
|
|
89423
|
+
this.languageMap = {};
|
|
89424
|
+
}
|
|
89425
|
+
|
|
89426
|
+
format(msg, vars) {
|
|
89427
|
+
return msg.replace(/\{([^}]+)\}/gm, (_match, capture) => Object.prototype.hasOwnProperty.call(vars, capture) ? vars[capture] : capture);
|
|
89428
|
+
}
|
|
89429
|
+
|
|
89430
|
+
getMessage(lang, key, vars, fallbackText) {
|
|
89431
|
+
const model = this.languageMap[lang];
|
|
89432
|
+
|
|
89433
|
+
if (!model) {
|
|
89434
|
+
throw new Error(`current ${lang} language is not exisit`);
|
|
89435
|
+
}
|
|
89436
|
+
|
|
89437
|
+
const message = (0, _get2.default)(model, key);
|
|
89438
|
+
const value = message || fallbackText || key;
|
|
89439
|
+
|
|
89440
|
+
if (typeof value === 'string') {
|
|
89441
|
+
return this.format(value, vars || {});
|
|
89442
|
+
}
|
|
89443
|
+
|
|
89444
|
+
throw new Error('key is not a string');
|
|
89445
|
+
}
|
|
89446
|
+
|
|
89447
|
+
init(language, languageMap) {
|
|
89448
|
+
this.language = language || 'en';
|
|
89449
|
+
|
|
89450
|
+
if (languageMap) {
|
|
89451
|
+
this.languageMap = languageMap;
|
|
89452
|
+
}
|
|
89453
|
+
|
|
89454
|
+
return (0, _utils.getObjKeyMap)(this.languageMap[this.language]);
|
|
89455
|
+
}
|
|
89456
|
+
|
|
89457
|
+
changeLanguage(config) {
|
|
89458
|
+
this.language = config.locale || 'en';
|
|
89459
|
+
}
|
|
89460
|
+
|
|
89461
|
+
t(key, vars, fallbackText) {
|
|
89462
|
+
return this.getMessage(this.language, key, vars, fallbackText);
|
|
89463
|
+
}
|
|
89464
|
+
|
|
89465
|
+
lang(lang) {
|
|
89466
|
+
return {
|
|
89467
|
+
t: (key, vars, fallbackText) => this.getMessage(lang, key, vars, fallbackText)
|
|
89468
|
+
};
|
|
89469
|
+
}
|
|
89470
|
+
|
|
89471
|
+
}
|
|
89472
|
+
|
|
89473
|
+
exports.I18n = I18n;
|
|
89474
|
+
|
|
89475
|
+
/***/ }),
|
|
89476
|
+
|
|
89477
|
+
/***/ 84032:
|
|
89478
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89479
|
+
|
|
89480
|
+
"use strict";
|
|
89481
|
+
|
|
89482
|
+
|
|
89483
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89484
|
+
value: true
|
|
89485
|
+
}));
|
|
89486
|
+
exports.getObjKeyMap = getObjKeyMap;
|
|
89487
|
+
|
|
89488
|
+
var _isString2 = _interopRequireDefault(__webpack_require__(69136));
|
|
89489
|
+
|
|
89490
|
+
var _isObject2 = _interopRequireDefault(__webpack_require__(75850));
|
|
89491
|
+
|
|
89492
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
89493
|
+
|
|
89494
|
+
function getObjKeyMap(obj, prefix = '') {
|
|
89495
|
+
const result = {};
|
|
89496
|
+
Object.keys(obj).forEach(key => {
|
|
89497
|
+
if ((0, _isString2.default)(obj[key])) {
|
|
89498
|
+
result[key] = prefix ? `${prefix}.${key}` : key;
|
|
89499
|
+
} else if ((0, _isObject2.default)(obj[key])) {
|
|
89500
|
+
result[key] = getObjKeyMap(obj[key], prefix ? `${prefix}.${key}` : key);
|
|
89501
|
+
}
|
|
89502
|
+
});
|
|
89503
|
+
return result;
|
|
89504
|
+
}
|
|
89505
|
+
|
|
89506
|
+
/***/ }),
|
|
89507
|
+
|
|
89508
|
+
/***/ 32746:
|
|
89509
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89510
|
+
|
|
89511
|
+
"use strict";
|
|
89512
|
+
|
|
89513
|
+
|
|
89514
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89515
|
+
value: true
|
|
89516
|
+
}));
|
|
89517
|
+
|
|
89518
|
+
var _project = __webpack_require__(40542);
|
|
89519
|
+
|
|
89520
|
+
Object.keys(_project).forEach(function (key) {
|
|
89521
|
+
if (key === "default" || key === "__esModule") return;
|
|
89522
|
+
if (key in exports && exports[key] === _project[key]) return;
|
|
89523
|
+
Object.defineProperty(exports, key, {
|
|
89524
|
+
enumerable: true,
|
|
89525
|
+
get: function () {
|
|
89526
|
+
return _project[key];
|
|
89527
|
+
}
|
|
89528
|
+
});
|
|
89529
|
+
});
|
|
89530
|
+
|
|
89531
|
+
/***/ }),
|
|
89532
|
+
|
|
89533
|
+
/***/ 40542:
|
|
89534
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89535
|
+
|
|
89536
|
+
"use strict";
|
|
89537
|
+
|
|
89538
|
+
|
|
89539
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89540
|
+
value: true
|
|
89541
|
+
}));
|
|
89542
|
+
exports.BaseSchemas = exports.BaseSchema = exports.BaseDefaultConfig = void 0;
|
|
89543
|
+
|
|
89544
|
+
var _common = __webpack_require__(25523);
|
|
89545
|
+
|
|
89546
|
+
const BaseSchemas = [_common.PackageManagerSchema];
|
|
89547
|
+
exports.BaseSchemas = BaseSchemas;
|
|
89548
|
+
const BaseSchema = {
|
|
89549
|
+
key: 'base',
|
|
89550
|
+
isObject: true,
|
|
89551
|
+
items: BaseSchemas
|
|
89552
|
+
};
|
|
89553
|
+
exports.BaseSchema = BaseSchema;
|
|
89554
|
+
const BaseDefaultConfig = {
|
|
89555
|
+
packageManager: _common.PackageManager.Pnpm
|
|
89556
|
+
};
|
|
89557
|
+
exports.BaseDefaultConfig = BaseDefaultConfig;
|
|
89558
|
+
|
|
89559
|
+
/***/ }),
|
|
89560
|
+
|
|
89561
|
+
/***/ 34069:
|
|
89562
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89563
|
+
|
|
89564
|
+
"use strict";
|
|
89565
|
+
|
|
89566
|
+
|
|
89567
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89568
|
+
value: true
|
|
89569
|
+
}));
|
|
89570
|
+
exports.BooleanSchemas = exports.BooleanConfigName = exports.BooleanConfig = void 0;
|
|
89571
|
+
|
|
89572
|
+
var _locale = __webpack_require__(94646);
|
|
89573
|
+
|
|
89574
|
+
let BooleanConfig;
|
|
89575
|
+
exports.BooleanConfig = BooleanConfig;
|
|
89576
|
+
|
|
89577
|
+
(function (BooleanConfig) {
|
|
89578
|
+
BooleanConfig["NO"] = "no";
|
|
89579
|
+
BooleanConfig["YES"] = "yes";
|
|
89580
|
+
})(BooleanConfig || (exports.BooleanConfig = BooleanConfig = {}));
|
|
89581
|
+
|
|
89582
|
+
const BooleanConfigName = {
|
|
89583
|
+
[BooleanConfig.NO]: () => _locale.i18n.t(_locale.localeKeys.boolean.no),
|
|
89584
|
+
[BooleanConfig.YES]: () => _locale.i18n.t(_locale.localeKeys.boolean.yes)
|
|
89585
|
+
};
|
|
89586
|
+
exports.BooleanConfigName = BooleanConfigName;
|
|
89587
|
+
const BooleanSchemas = [{
|
|
89588
|
+
key: BooleanConfig.NO,
|
|
89589
|
+
label: BooleanConfigName[BooleanConfig.NO]
|
|
89590
|
+
}, {
|
|
89591
|
+
key: BooleanConfig.YES,
|
|
89592
|
+
label: BooleanConfigName[BooleanConfig.YES]
|
|
89593
|
+
}];
|
|
89594
|
+
exports.BooleanSchemas = BooleanSchemas;
|
|
89595
|
+
|
|
89596
|
+
/***/ }),
|
|
89597
|
+
|
|
89598
|
+
/***/ 99961:
|
|
89599
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89600
|
+
|
|
89601
|
+
"use strict";
|
|
89602
|
+
|
|
89603
|
+
|
|
89604
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89605
|
+
value: true
|
|
89606
|
+
}));
|
|
89607
|
+
exports.EnableSassSchema = exports.EnableLessSchema = void 0;
|
|
89608
|
+
|
|
89609
|
+
var _boolean = __webpack_require__(34069);
|
|
89610
|
+
|
|
89611
|
+
var _locale = __webpack_require__(94646);
|
|
89612
|
+
|
|
89613
|
+
const EnableLessSchema = {
|
|
89614
|
+
key: 'enableLess',
|
|
89615
|
+
type: ['string'],
|
|
89616
|
+
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.enableLess),
|
|
89617
|
+
mutualExclusion: true,
|
|
89618
|
+
state: {
|
|
89619
|
+
value: _boolean.BooleanConfig.NO
|
|
89620
|
+
},
|
|
89621
|
+
items: _boolean.BooleanSchemas
|
|
89622
|
+
};
|
|
89623
|
+
exports.EnableLessSchema = EnableLessSchema;
|
|
89624
|
+
const EnableSassSchema = {
|
|
89625
|
+
key: 'enableSass',
|
|
89626
|
+
type: ['string'],
|
|
89627
|
+
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.enableSass),
|
|
89628
|
+
mutualExclusion: true,
|
|
89629
|
+
state: {
|
|
89630
|
+
value: _boolean.BooleanConfig.NO
|
|
89631
|
+
},
|
|
89632
|
+
items: _boolean.BooleanSchemas
|
|
89633
|
+
};
|
|
89634
|
+
exports.EnableSassSchema = EnableSassSchema;
|
|
89635
|
+
|
|
89636
|
+
/***/ }),
|
|
89637
|
+
|
|
89638
|
+
/***/ 25523:
|
|
89639
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89640
|
+
|
|
89641
|
+
"use strict";
|
|
89642
|
+
|
|
89643
|
+
|
|
89644
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89645
|
+
value: true
|
|
89646
|
+
}));
|
|
89647
|
+
|
|
89648
|
+
var _boolean = __webpack_require__(34069);
|
|
89649
|
+
|
|
89650
|
+
Object.keys(_boolean).forEach(function (key) {
|
|
89651
|
+
if (key === "default" || key === "__esModule") return;
|
|
89652
|
+
if (key in exports && exports[key] === _boolean[key]) return;
|
|
89653
|
+
Object.defineProperty(exports, key, {
|
|
89654
|
+
enumerable: true,
|
|
89655
|
+
get: function () {
|
|
89656
|
+
return _boolean[key];
|
|
89657
|
+
}
|
|
89658
|
+
});
|
|
89659
|
+
});
|
|
89660
|
+
|
|
89661
|
+
var _solution = __webpack_require__(13017);
|
|
89662
|
+
|
|
89663
|
+
Object.keys(_solution).forEach(function (key) {
|
|
89664
|
+
if (key === "default" || key === "__esModule") return;
|
|
89665
|
+
if (key in exports && exports[key] === _solution[key]) return;
|
|
89666
|
+
Object.defineProperty(exports, key, {
|
|
89667
|
+
enumerable: true,
|
|
89668
|
+
get: function () {
|
|
89669
|
+
return _solution[key];
|
|
89670
|
+
}
|
|
89671
|
+
});
|
|
89672
|
+
});
|
|
89673
|
+
|
|
89674
|
+
var _language = __webpack_require__(89052);
|
|
89675
|
+
|
|
89676
|
+
Object.keys(_language).forEach(function (key) {
|
|
89677
|
+
if (key === "default" || key === "__esModule") return;
|
|
89678
|
+
if (key in exports && exports[key] === _language[key]) return;
|
|
89679
|
+
Object.defineProperty(exports, key, {
|
|
89680
|
+
enumerable: true,
|
|
89681
|
+
get: function () {
|
|
89682
|
+
return _language[key];
|
|
89683
|
+
}
|
|
89684
|
+
});
|
|
89685
|
+
});
|
|
89686
|
+
|
|
89687
|
+
var _packageManager = __webpack_require__(5221);
|
|
89688
|
+
|
|
89689
|
+
Object.keys(_packageManager).forEach(function (key) {
|
|
89690
|
+
if (key === "default" || key === "__esModule") return;
|
|
89691
|
+
if (key in exports && exports[key] === _packageManager[key]) return;
|
|
89692
|
+
Object.defineProperty(exports, key, {
|
|
89693
|
+
enumerable: true,
|
|
89694
|
+
get: function () {
|
|
89695
|
+
return _packageManager[key];
|
|
89696
|
+
}
|
|
89697
|
+
});
|
|
89698
|
+
});
|
|
89699
|
+
|
|
89700
|
+
var _packageName = __webpack_require__(69127);
|
|
89701
|
+
|
|
89702
|
+
Object.keys(_packageName).forEach(function (key) {
|
|
89703
|
+
if (key === "default" || key === "__esModule") return;
|
|
89704
|
+
if (key in exports && exports[key] === _packageName[key]) return;
|
|
89705
|
+
Object.defineProperty(exports, key, {
|
|
89706
|
+
enumerable: true,
|
|
89707
|
+
get: function () {
|
|
89708
|
+
return _packageName[key];
|
|
89709
|
+
}
|
|
89710
|
+
});
|
|
89711
|
+
});
|
|
89712
|
+
|
|
89713
|
+
var _packagePath = __webpack_require__(14708);
|
|
89714
|
+
|
|
89715
|
+
Object.keys(_packagePath).forEach(function (key) {
|
|
89716
|
+
if (key === "default" || key === "__esModule") return;
|
|
89717
|
+
if (key in exports && exports[key] === _packagePath[key]) return;
|
|
89718
|
+
Object.defineProperty(exports, key, {
|
|
89719
|
+
enumerable: true,
|
|
89720
|
+
get: function () {
|
|
89721
|
+
return _packagePath[key];
|
|
89722
|
+
}
|
|
89723
|
+
});
|
|
89724
|
+
});
|
|
89725
|
+
|
|
89726
|
+
/***/ }),
|
|
89727
|
+
|
|
89728
|
+
/***/ 89052:
|
|
89729
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89730
|
+
|
|
89731
|
+
"use strict";
|
|
89732
|
+
|
|
89733
|
+
|
|
89734
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89735
|
+
value: true
|
|
89736
|
+
}));
|
|
89737
|
+
exports.LanguageSchema = exports.LanguageName = exports.Language = void 0;
|
|
89738
|
+
|
|
89739
|
+
var _locale = __webpack_require__(94646);
|
|
89740
|
+
|
|
89741
|
+
let Language;
|
|
89742
|
+
exports.Language = Language;
|
|
89743
|
+
|
|
89744
|
+
(function (Language) {
|
|
89745
|
+
Language["TS"] = "ts";
|
|
89746
|
+
Language["JS"] = "js";
|
|
89747
|
+
})(Language || (exports.Language = Language = {}));
|
|
89748
|
+
|
|
89749
|
+
const LanguageName = {
|
|
89750
|
+
[Language.TS]: () => 'TS',
|
|
89751
|
+
[Language.JS]: () => 'ES6+'
|
|
89752
|
+
};
|
|
89753
|
+
exports.LanguageName = LanguageName;
|
|
89754
|
+
const LanguageSchema = {
|
|
89755
|
+
key: 'language',
|
|
89756
|
+
type: ['string'],
|
|
89757
|
+
label: () => _locale.i18n.t(_locale.localeKeys.language.self),
|
|
89758
|
+
mutualExclusion: true,
|
|
89759
|
+
items: Object.values(Language).map(language => ({
|
|
89760
|
+
key: language,
|
|
89761
|
+
label: LanguageName[language]
|
|
89762
|
+
}))
|
|
89763
|
+
};
|
|
89764
|
+
exports.LanguageSchema = LanguageSchema;
|
|
89765
|
+
|
|
89766
|
+
/***/ }),
|
|
89767
|
+
|
|
89768
|
+
/***/ 5221:
|
|
89769
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89770
|
+
|
|
89771
|
+
"use strict";
|
|
89772
|
+
|
|
89773
|
+
|
|
89774
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89775
|
+
value: true
|
|
89776
|
+
}));
|
|
89777
|
+
exports.PackageManagerSchema = exports.PackageManagerName = exports.PackageManager = void 0;
|
|
89778
|
+
|
|
89779
|
+
var _locale = __webpack_require__(94646);
|
|
89780
|
+
|
|
89781
|
+
let PackageManager;
|
|
89782
|
+
exports.PackageManager = PackageManager;
|
|
89783
|
+
|
|
89784
|
+
(function (PackageManager) {
|
|
89785
|
+
PackageManager["Pnpm"] = "pnpm";
|
|
89786
|
+
PackageManager["Yarn"] = "yarn";
|
|
89787
|
+
})(PackageManager || (exports.PackageManager = PackageManager = {}));
|
|
89788
|
+
|
|
89789
|
+
const PackageManagerName = {
|
|
89790
|
+
[PackageManager.Pnpm]: () => 'pnpm',
|
|
89791
|
+
[PackageManager.Yarn]: () => 'Yarn'
|
|
89792
|
+
};
|
|
89793
|
+
exports.PackageManagerName = PackageManagerName;
|
|
89794
|
+
const PackageManagerSchema = {
|
|
89795
|
+
key: 'packageManager',
|
|
89796
|
+
type: ['string'],
|
|
89797
|
+
label: () => _locale.i18n.t(_locale.localeKeys.packageManager.self),
|
|
89798
|
+
mutualExclusion: true,
|
|
89799
|
+
when: (_values, extra) => !(extra !== null && extra !== void 0 && extra.isMonorepoSubProject),
|
|
89800
|
+
items: Object.values(PackageManager).map(packageManager => ({
|
|
89801
|
+
key: packageManager,
|
|
89802
|
+
label: PackageManagerName[packageManager]
|
|
89803
|
+
}))
|
|
89804
|
+
};
|
|
89805
|
+
exports.PackageManagerSchema = PackageManagerSchema;
|
|
89806
|
+
|
|
89807
|
+
/***/ }),
|
|
89808
|
+
|
|
89809
|
+
/***/ 69127:
|
|
89810
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89811
|
+
|
|
89812
|
+
"use strict";
|
|
89813
|
+
|
|
89814
|
+
|
|
89815
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89816
|
+
value: true
|
|
89817
|
+
}));
|
|
89818
|
+
exports.PackageNameSchema = void 0;
|
|
89819
|
+
|
|
89820
|
+
var _locale = __webpack_require__(94646);
|
|
89821
|
+
|
|
89822
|
+
const PackageNameSchema = {
|
|
89823
|
+
key: 'packageName',
|
|
89824
|
+
label: (_, extra) => extra !== null && extra !== void 0 && extra.isMonorepoSubProject ? _locale.i18n.t(_locale.localeKeys.packageName.sub_name) : _locale.i18n.t(_locale.localeKeys.packageName.self),
|
|
89825
|
+
type: ['string'],
|
|
89826
|
+
when: (_, extra) => Boolean(extra === null || extra === void 0 ? void 0 : extra.isMonorepoSubProject) || !(extra !== null && extra !== void 0 && extra.isMwa),
|
|
89827
|
+
validate: value => {
|
|
89828
|
+
if (!value) {
|
|
89829
|
+
return {
|
|
89830
|
+
success: false,
|
|
89831
|
+
message: _locale.i18n.t(_locale.localeKeys.packageName.no_empty)
|
|
89832
|
+
};
|
|
89833
|
+
}
|
|
89834
|
+
|
|
89835
|
+
return {
|
|
89836
|
+
success: true
|
|
89837
|
+
};
|
|
89838
|
+
}
|
|
89839
|
+
};
|
|
89840
|
+
exports.PackageNameSchema = PackageNameSchema;
|
|
89841
|
+
|
|
89842
|
+
/***/ }),
|
|
89843
|
+
|
|
89844
|
+
/***/ 14708:
|
|
89845
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89846
|
+
|
|
89847
|
+
"use strict";
|
|
89848
|
+
|
|
89849
|
+
|
|
89850
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89851
|
+
value: true
|
|
89852
|
+
}));
|
|
89853
|
+
exports.PackagePathSchema = void 0;
|
|
89854
|
+
|
|
89855
|
+
var _locale = __webpack_require__(94646);
|
|
89856
|
+
|
|
89857
|
+
const PackagePathRegex = new RegExp('^[a-z0-9]*[-_/]?([a-z0-9]*[-_]?[a-z0-9]*)*[-_/]?[a-z0-9-_]+$');
|
|
89858
|
+
const PackagePathSchema = {
|
|
89859
|
+
key: 'packagePath',
|
|
89860
|
+
label: () => _locale.i18n.t(_locale.localeKeys.packagePath.self),
|
|
89861
|
+
type: ['string'],
|
|
89862
|
+
when: (_, extra) => Boolean(extra === null || extra === void 0 ? void 0 : extra.isMonorepoSubProject),
|
|
89863
|
+
state: {
|
|
89864
|
+
value: {
|
|
89865
|
+
effectedByFields: ['packageName'],
|
|
89866
|
+
action: data => `${data.packageName || ''}`
|
|
89867
|
+
}
|
|
89868
|
+
},
|
|
89869
|
+
validate: value => {
|
|
89870
|
+
if (!value) {
|
|
89871
|
+
return {
|
|
89872
|
+
success: false,
|
|
89873
|
+
message: _locale.i18n.t(_locale.localeKeys.packagePath.no_empty)
|
|
89874
|
+
};
|
|
89875
|
+
}
|
|
89876
|
+
|
|
89877
|
+
if (!PackagePathRegex.test(value)) {
|
|
89878
|
+
return {
|
|
89879
|
+
success: false,
|
|
89880
|
+
message: _locale.i18n.t(_locale.localeKeys.packagePath.format)
|
|
89881
|
+
};
|
|
89882
|
+
}
|
|
89883
|
+
|
|
89884
|
+
return {
|
|
89885
|
+
success: true
|
|
89886
|
+
};
|
|
89887
|
+
}
|
|
89888
|
+
};
|
|
89889
|
+
exports.PackagePathSchema = PackagePathSchema;
|
|
89890
|
+
|
|
89891
|
+
/***/ }),
|
|
89892
|
+
|
|
89893
|
+
/***/ 13017:
|
|
89894
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89895
|
+
|
|
89896
|
+
"use strict";
|
|
89897
|
+
|
|
89898
|
+
|
|
89899
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
89900
|
+
value: true
|
|
89901
|
+
}));
|
|
89902
|
+
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;
|
|
89903
|
+
|
|
89904
|
+
var _locale = __webpack_require__(94646);
|
|
89905
|
+
|
|
89906
|
+
let Solution;
|
|
89907
|
+
exports.Solution = Solution;
|
|
89908
|
+
|
|
89909
|
+
(function (Solution) {
|
|
89910
|
+
Solution["MWA"] = "mwa";
|
|
89911
|
+
Solution["Module"] = "module";
|
|
89912
|
+
Solution["Monorepo"] = "monorepo";
|
|
89913
|
+
})(Solution || (exports.Solution = Solution = {}));
|
|
89914
|
+
|
|
89915
|
+
let SubSolution;
|
|
89916
|
+
exports.SubSolution = SubSolution;
|
|
89917
|
+
|
|
89918
|
+
(function (SubSolution) {
|
|
89919
|
+
SubSolution["MWA"] = "mwa";
|
|
89920
|
+
SubSolution["MWATest"] = "mwa_test";
|
|
89921
|
+
SubSolution["Module"] = "module";
|
|
89922
|
+
SubSolution["InnerModule"] = "inner_module";
|
|
89923
|
+
})(SubSolution || (exports.SubSolution = SubSolution = {}));
|
|
89924
|
+
|
|
89925
|
+
const SolutionText = {
|
|
89926
|
+
[Solution.MWA]: () => _locale.i18n.t(_locale.localeKeys.solution.mwa),
|
|
89927
|
+
[Solution.Module]: () => _locale.i18n.t(_locale.localeKeys.solution.module),
|
|
89928
|
+
[Solution.Monorepo]: () => _locale.i18n.t(_locale.localeKeys.solution.monorepo)
|
|
89929
|
+
};
|
|
89930
|
+
exports.SolutionText = SolutionText;
|
|
89931
|
+
const SubSolutionText = {
|
|
89932
|
+
[SubSolution.MWA]: () => _locale.i18n.t(_locale.localeKeys.sub_solution.mwa),
|
|
89933
|
+
[SubSolution.MWATest]: () => _locale.i18n.t(_locale.localeKeys.sub_solution.mwa_test),
|
|
89934
|
+
[SubSolution.Module]: () => _locale.i18n.t(_locale.localeKeys.sub_solution.module),
|
|
89935
|
+
[SubSolution.InnerModule]: () => _locale.i18n.t(_locale.localeKeys.sub_solution.inner_module)
|
|
89936
|
+
};
|
|
89937
|
+
exports.SubSolutionText = SubSolutionText;
|
|
89938
|
+
const SolutionSchema = {
|
|
89939
|
+
key: 'solution_schema',
|
|
89940
|
+
isObject: true,
|
|
89941
|
+
items: [{
|
|
89942
|
+
key: 'solution',
|
|
89943
|
+
label: () => _locale.i18n.t(_locale.localeKeys.solution.self),
|
|
89944
|
+
type: ['string'],
|
|
89945
|
+
mutualExclusion: true,
|
|
89946
|
+
items: Object.values(Solution).map(solution => ({
|
|
89947
|
+
key: solution,
|
|
89948
|
+
label: SolutionText[solution]
|
|
89949
|
+
}))
|
|
89950
|
+
}]
|
|
89951
|
+
};
|
|
89952
|
+
exports.SolutionSchema = SolutionSchema;
|
|
89953
|
+
const SubSolutionSchema = {
|
|
89954
|
+
key: 'sub_solution_schema',
|
|
89955
|
+
isObject: true,
|
|
89956
|
+
items: [{
|
|
89957
|
+
key: 'solution',
|
|
89958
|
+
label: () => _locale.i18n.t(_locale.localeKeys.sub_solution.self),
|
|
89959
|
+
type: ['string'],
|
|
89960
|
+
mutualExclusion: true,
|
|
89961
|
+
items: Object.values(SubSolution).map(solution => ({
|
|
89962
|
+
key: solution,
|
|
89963
|
+
label: SubSolutionText[solution]
|
|
89964
|
+
}))
|
|
89965
|
+
}]
|
|
89966
|
+
};
|
|
89967
|
+
exports.SubSolutionSchema = SubSolutionSchema;
|
|
89968
|
+
const BaseGenerator = '@modern-js/base-generator';
|
|
89969
|
+
exports.BaseGenerator = BaseGenerator;
|
|
89970
|
+
const SolutionGenerator = {
|
|
89971
|
+
[Solution.MWA]: '@modern-js/mwa-generator',
|
|
89972
|
+
[Solution.Module]: '@modern-js/module-generator',
|
|
89973
|
+
[Solution.Monorepo]: '@modern-js/monorepo-generator'
|
|
89974
|
+
};
|
|
89975
|
+
exports.SolutionGenerator = SolutionGenerator;
|
|
89976
|
+
const SubSolutionGenerator = {
|
|
89977
|
+
[SubSolution.MWA]: '@modern-js/mwa-generator',
|
|
89978
|
+
[SubSolution.MWATest]: '@modern-js/mwa-generator',
|
|
89979
|
+
[SubSolution.Module]: '@modern-js/module-generator',
|
|
89980
|
+
[SubSolution.InnerModule]: '@modern-js/module-generator'
|
|
89981
|
+
};
|
|
89982
|
+
exports.SubSolutionGenerator = SubSolutionGenerator;
|
|
89983
|
+
const ChangesetGenerator = '@modern-js/changeset-generator';
|
|
89984
|
+
exports.ChangesetGenerator = ChangesetGenerator;
|
|
89985
|
+
const DependenceGenerator = '@modern-js/dependence-generator';
|
|
89986
|
+
exports.DependenceGenerator = DependenceGenerator;
|
|
89987
|
+
const EntryGenerator = '@modern-js/entry-generator';
|
|
89988
|
+
exports.EntryGenerator = EntryGenerator;
|
|
89989
|
+
const ElectronGenerator = '@modern-js/electron-generator';
|
|
89990
|
+
exports.ElectronGenerator = ElectronGenerator;
|
|
89991
|
+
const EslintGenerator = '@modern-js/eslint-generator';
|
|
89992
|
+
exports.EslintGenerator = EslintGenerator;
|
|
89993
|
+
|
|
89994
|
+
/***/ }),
|
|
89995
|
+
|
|
89996
|
+
/***/ 9344:
|
|
89997
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
89998
|
+
|
|
89999
|
+
"use strict";
|
|
90000
|
+
|
|
90001
|
+
|
|
90002
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90003
|
+
value: true
|
|
90004
|
+
}));
|
|
90005
|
+
exports.GeneratorSchema = exports.GeneratorDefaultConfig = void 0;
|
|
90006
|
+
|
|
90007
|
+
var _common = __webpack_require__(25523);
|
|
90008
|
+
|
|
90009
|
+
const GeneratorSchemas = [_common.PackageNameSchema, _common.PackagePathSchema, _common.PackageManagerSchema, _common.LanguageSchema];
|
|
90010
|
+
const GeneratorSchema = {
|
|
90011
|
+
key: 'generator-generator',
|
|
90012
|
+
isObject: true,
|
|
90013
|
+
items: Object.values(GeneratorSchemas)
|
|
90014
|
+
};
|
|
90015
|
+
exports.GeneratorSchema = GeneratorSchema;
|
|
90016
|
+
const GeneratorDefaultConfig = {
|
|
90017
|
+
packageManager: _common.PackageManager.Pnpm,
|
|
90018
|
+
language: _common.Language.TS
|
|
90019
|
+
};
|
|
90020
|
+
exports.GeneratorDefaultConfig = GeneratorDefaultConfig;
|
|
90021
|
+
|
|
90022
|
+
/***/ }),
|
|
90023
|
+
|
|
90024
|
+
/***/ 83066:
|
|
90025
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90026
|
+
|
|
90027
|
+
"use strict";
|
|
90028
|
+
|
|
90029
|
+
|
|
90030
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90031
|
+
value: true
|
|
90032
|
+
}));
|
|
90033
|
+
|
|
90034
|
+
var _generator = __webpack_require__(9344);
|
|
90035
|
+
|
|
90036
|
+
Object.keys(_generator).forEach(function (key) {
|
|
90037
|
+
if (key === "default" || key === "__esModule") return;
|
|
90038
|
+
if (key in exports && exports[key] === _generator[key]) return;
|
|
90039
|
+
Object.defineProperty(exports, key, {
|
|
90040
|
+
enumerable: true,
|
|
90041
|
+
get: function () {
|
|
90042
|
+
return _generator[key];
|
|
90043
|
+
}
|
|
90044
|
+
});
|
|
90045
|
+
});
|
|
90046
|
+
|
|
90047
|
+
/***/ }),
|
|
90048
|
+
|
|
90049
|
+
/***/ 50828:
|
|
90050
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90051
|
+
|
|
90052
|
+
"use strict";
|
|
90053
|
+
|
|
90054
|
+
|
|
90055
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90056
|
+
value: true
|
|
90057
|
+
}));
|
|
90058
|
+
var _exportNames = {
|
|
90059
|
+
SolutionDefualtConfig: true
|
|
90060
|
+
};
|
|
90061
|
+
exports.SolutionDefualtConfig = void 0;
|
|
90062
|
+
|
|
90063
|
+
var _common = __webpack_require__(25523);
|
|
90064
|
+
|
|
90065
|
+
Object.keys(_common).forEach(function (key) {
|
|
90066
|
+
if (key === "default" || key === "__esModule") return;
|
|
90067
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90068
|
+
if (key in exports && exports[key] === _common[key]) return;
|
|
90069
|
+
Object.defineProperty(exports, key, {
|
|
90070
|
+
enumerable: true,
|
|
90071
|
+
get: function () {
|
|
90072
|
+
return _common[key];
|
|
90073
|
+
}
|
|
90074
|
+
});
|
|
90075
|
+
});
|
|
90076
|
+
|
|
90077
|
+
var _module = __webpack_require__(28184);
|
|
90078
|
+
|
|
90079
|
+
Object.keys(_module).forEach(function (key) {
|
|
90080
|
+
if (key === "default" || key === "__esModule") return;
|
|
90081
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90082
|
+
if (key in exports && exports[key] === _module[key]) return;
|
|
90083
|
+
Object.defineProperty(exports, key, {
|
|
90084
|
+
enumerable: true,
|
|
90085
|
+
get: function () {
|
|
90086
|
+
return _module[key];
|
|
90087
|
+
}
|
|
90088
|
+
});
|
|
90089
|
+
});
|
|
90090
|
+
|
|
90091
|
+
var _monorepo = __webpack_require__(4234);
|
|
90092
|
+
|
|
90093
|
+
Object.keys(_monorepo).forEach(function (key) {
|
|
90094
|
+
if (key === "default" || key === "__esModule") return;
|
|
90095
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90096
|
+
if (key in exports && exports[key] === _monorepo[key]) return;
|
|
90097
|
+
Object.defineProperty(exports, key, {
|
|
90098
|
+
enumerable: true,
|
|
90099
|
+
get: function () {
|
|
90100
|
+
return _monorepo[key];
|
|
90101
|
+
}
|
|
90102
|
+
});
|
|
90103
|
+
});
|
|
90104
|
+
|
|
90105
|
+
var _mwa = __webpack_require__(61693);
|
|
90106
|
+
|
|
90107
|
+
Object.keys(_mwa).forEach(function (key) {
|
|
90108
|
+
if (key === "default" || key === "__esModule") return;
|
|
90109
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90110
|
+
if (key in exports && exports[key] === _mwa[key]) return;
|
|
90111
|
+
Object.defineProperty(exports, key, {
|
|
90112
|
+
enumerable: true,
|
|
90113
|
+
get: function () {
|
|
90114
|
+
return _mwa[key];
|
|
90115
|
+
}
|
|
90116
|
+
});
|
|
90117
|
+
});
|
|
90118
|
+
|
|
90119
|
+
var _locale = __webpack_require__(94646);
|
|
90120
|
+
|
|
90121
|
+
Object.keys(_locale).forEach(function (key) {
|
|
90122
|
+
if (key === "default" || key === "__esModule") return;
|
|
90123
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90124
|
+
if (key in exports && exports[key] === _locale[key]) return;
|
|
90125
|
+
Object.defineProperty(exports, key, {
|
|
90126
|
+
enumerable: true,
|
|
90127
|
+
get: function () {
|
|
90128
|
+
return _locale[key];
|
|
90129
|
+
}
|
|
90130
|
+
});
|
|
90131
|
+
});
|
|
90132
|
+
|
|
90133
|
+
var _newAction = __webpack_require__(13988);
|
|
90134
|
+
|
|
90135
|
+
Object.keys(_newAction).forEach(function (key) {
|
|
90136
|
+
if (key === "default" || key === "__esModule") return;
|
|
90137
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90138
|
+
if (key in exports && exports[key] === _newAction[key]) return;
|
|
90139
|
+
Object.defineProperty(exports, key, {
|
|
90140
|
+
enumerable: true,
|
|
90141
|
+
get: function () {
|
|
90142
|
+
return _newAction[key];
|
|
90143
|
+
}
|
|
90144
|
+
});
|
|
90145
|
+
});
|
|
90146
|
+
|
|
90147
|
+
var _expand = __webpack_require__(83066);
|
|
90148
|
+
|
|
90149
|
+
Object.keys(_expand).forEach(function (key) {
|
|
90150
|
+
if (key === "default" || key === "__esModule") return;
|
|
90151
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90152
|
+
if (key in exports && exports[key] === _expand[key]) return;
|
|
90153
|
+
Object.defineProperty(exports, key, {
|
|
90154
|
+
enumerable: true,
|
|
90155
|
+
get: function () {
|
|
90156
|
+
return _expand[key];
|
|
90157
|
+
}
|
|
90158
|
+
});
|
|
90159
|
+
});
|
|
90160
|
+
|
|
90161
|
+
var _base = __webpack_require__(32746);
|
|
90162
|
+
|
|
90163
|
+
Object.keys(_base).forEach(function (key) {
|
|
90164
|
+
if (key === "default" || key === "__esModule") return;
|
|
90165
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
90166
|
+
if (key in exports && exports[key] === _base[key]) return;
|
|
90167
|
+
Object.defineProperty(exports, key, {
|
|
90168
|
+
enumerable: true,
|
|
90169
|
+
get: function () {
|
|
90170
|
+
return _base[key];
|
|
90171
|
+
}
|
|
90172
|
+
});
|
|
90173
|
+
});
|
|
90174
|
+
const SolutionDefualtConfig = {
|
|
90175
|
+
[_common.Solution.MWA]: _mwa.MWADefaultConfig,
|
|
90176
|
+
[_common.Solution.Module]: _module.ModuleDefaultConfig,
|
|
90177
|
+
[_common.Solution.Monorepo]: _monorepo.MonorepoDefaultConfig
|
|
90178
|
+
};
|
|
90179
|
+
exports.SolutionDefualtConfig = SolutionDefualtConfig;
|
|
90180
|
+
|
|
90181
|
+
/***/ }),
|
|
90182
|
+
|
|
90183
|
+
/***/ 61934:
|
|
90184
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
90185
|
+
|
|
90186
|
+
"use strict";
|
|
90187
|
+
|
|
90188
|
+
|
|
90189
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90190
|
+
value: true
|
|
90191
|
+
}));
|
|
90192
|
+
exports.EN_LOCALE = void 0;
|
|
90193
|
+
const EN_LOCALE = {
|
|
90194
|
+
solution: {
|
|
90195
|
+
self: 'Please select the solution you want to create',
|
|
90196
|
+
mwa: 'MWA Solution',
|
|
90197
|
+
module: 'Module Solution',
|
|
90198
|
+
monorepo: 'Monorepo Solution'
|
|
90199
|
+
},
|
|
90200
|
+
sub_solution: {
|
|
90201
|
+
self: 'Please select the solution you want to create',
|
|
90202
|
+
mwa: 'MWA Solution',
|
|
90203
|
+
mwa_test: 'MWA Solution(Test)',
|
|
90204
|
+
module: 'Module Solution',
|
|
90205
|
+
inner_module: 'Module Solution(Inner)',
|
|
90206
|
+
monorepo: 'Monorepo Solution'
|
|
90207
|
+
},
|
|
90208
|
+
action: {
|
|
90209
|
+
self: 'Action',
|
|
90210
|
+
function: {
|
|
90211
|
+
self: 'Enable features',
|
|
90212
|
+
unbundle: 'Enable "Unbundled Development"',
|
|
90213
|
+
tailwindcss: 'Enable Tailwind CSS',
|
|
90214
|
+
less: 'Enable Less',
|
|
90215
|
+
sass: 'Enable Sass',
|
|
90216
|
+
bff: 'Enable "BFF"',
|
|
90217
|
+
micro_frontend: 'Enable "micro frontend"',
|
|
90218
|
+
electron: 'Enable "Electron"',
|
|
90219
|
+
i18n: 'Enable "Internationalization (i18n)"',
|
|
90220
|
+
test: 'Enable "Unit Test / Integration Test"',
|
|
90221
|
+
e2e_test: 'Enable "E2E Test"',
|
|
90222
|
+
doc: 'Enable "Document Station"',
|
|
90223
|
+
storybook: 'Enable "Storybook"',
|
|
90224
|
+
runtime_api: 'Enable "Runtime API"',
|
|
90225
|
+
mwa_storybook: 'Enable "Visual Testing (Storybook)"',
|
|
90226
|
+
ssg: 'Enable "SSG"',
|
|
90227
|
+
deploy: 'Enable "Deploy"'
|
|
90228
|
+
},
|
|
90229
|
+
element: {
|
|
90230
|
+
self: 'Create project element',
|
|
90231
|
+
entry: 'New "entry"',
|
|
90232
|
+
server: 'New "Server Custom" source code directory'
|
|
90233
|
+
},
|
|
90234
|
+
refactor: {
|
|
90235
|
+
self: 'Automatic refactor',
|
|
90236
|
+
bff_to_app: 'Transform BFF to frame mode'
|
|
90237
|
+
}
|
|
90238
|
+
},
|
|
90239
|
+
boolean: {
|
|
90240
|
+
yes: 'Yes',
|
|
90241
|
+
no: 'No'
|
|
90242
|
+
},
|
|
90243
|
+
language: {
|
|
90244
|
+
self: 'Development Language'
|
|
90245
|
+
},
|
|
90246
|
+
packageManager: {
|
|
90247
|
+
self: 'Package Management Tool'
|
|
90248
|
+
},
|
|
90249
|
+
packageName: {
|
|
90250
|
+
self: 'Package Name',
|
|
90251
|
+
sub_name: 'Package Name',
|
|
90252
|
+
no_empty: 'The package name cannot be empty!'
|
|
90253
|
+
},
|
|
90254
|
+
packagePath: {
|
|
90255
|
+
self: 'Package Path',
|
|
90256
|
+
no_empty: 'The package path cannot be empty!',
|
|
90257
|
+
format: 'Only lowercase letters, numbers and delimiters (-), and underscore(_), and directory delimiters (/) can be used in package path.'
|
|
90258
|
+
},
|
|
90259
|
+
runWay: {
|
|
90260
|
+
self: 'Do you need to support the following types of applications',
|
|
90261
|
+
no: 'Not Enabled',
|
|
90262
|
+
electron: 'Electron'
|
|
90263
|
+
},
|
|
90264
|
+
needModifyConfig: {
|
|
90265
|
+
self: 'Modify the Default Configuration?',
|
|
90266
|
+
enableLess: 'Enable Less?',
|
|
90267
|
+
enableSass: 'Enable Sass?'
|
|
90268
|
+
},
|
|
90269
|
+
entry: {
|
|
90270
|
+
name: 'Entry name',
|
|
90271
|
+
no_empty: 'The entry name cannot be empty!',
|
|
90272
|
+
no_pages: 'The entry name cannot be "pages"!',
|
|
90273
|
+
disableStateManagement: 'Disable App State Management?',
|
|
90274
|
+
clientRoute: {
|
|
90275
|
+
self: 'Client Routing',
|
|
90276
|
+
selfControlRoute: 'Enable Self Control Route',
|
|
90277
|
+
conventionalRoute: 'Enable Conventional Route',
|
|
90278
|
+
no: 'Not Enabled'
|
|
90279
|
+
}
|
|
90280
|
+
},
|
|
90281
|
+
framework: {
|
|
90282
|
+
self: 'Please select the framework you want to use',
|
|
90283
|
+
egg: 'Egg',
|
|
90284
|
+
express: 'Express',
|
|
90285
|
+
koa: 'Koa',
|
|
90286
|
+
nest: 'Nest'
|
|
90287
|
+
},
|
|
90288
|
+
bff: {
|
|
90289
|
+
bffType: {
|
|
90290
|
+
self: 'BFF Type',
|
|
90291
|
+
func: 'Function',
|
|
90292
|
+
framework: 'Framework'
|
|
90293
|
+
}
|
|
90294
|
+
},
|
|
90295
|
+
deploy: {
|
|
90296
|
+
cloud: {
|
|
90297
|
+
self: 'Modify the default Web Server?'
|
|
90298
|
+
},
|
|
90299
|
+
cdn: {
|
|
90300
|
+
self: 'Please select the cdn platform you want to use',
|
|
90301
|
+
oss: 'Aliyun OSS',
|
|
90302
|
+
cos: 'Tencent COS',
|
|
90303
|
+
no: 'Not Enabled'
|
|
90304
|
+
},
|
|
90305
|
+
lambda: {
|
|
90306
|
+
self: 'Please select the lambda you want to use',
|
|
90307
|
+
fc: 'Aliyun FC',
|
|
90308
|
+
scf: 'Tencent SCF',
|
|
90309
|
+
no: 'Not Enabled'
|
|
90310
|
+
}
|
|
90311
|
+
}
|
|
90312
|
+
};
|
|
90313
|
+
exports.EN_LOCALE = EN_LOCALE;
|
|
90314
|
+
|
|
90315
|
+
/***/ }),
|
|
90316
|
+
|
|
90317
|
+
/***/ 94646:
|
|
90318
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90319
|
+
|
|
90320
|
+
"use strict";
|
|
90321
|
+
|
|
90322
|
+
|
|
90323
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90324
|
+
value: true
|
|
90325
|
+
}));
|
|
90326
|
+
exports.localeKeys = exports.i18n = void 0;
|
|
90327
|
+
|
|
90328
|
+
var _pluginI18n = __webpack_require__(455);
|
|
90329
|
+
|
|
90330
|
+
var _zh = __webpack_require__(4591);
|
|
90331
|
+
|
|
90332
|
+
var _en = __webpack_require__(61934);
|
|
90333
|
+
|
|
90334
|
+
const i18n = new _pluginI18n.I18n();
|
|
90335
|
+
exports.i18n = i18n;
|
|
90336
|
+
const localeKeys = i18n.init('zh', {
|
|
90337
|
+
zh: _zh.ZH_LOCALE,
|
|
90338
|
+
en: _en.EN_LOCALE
|
|
90339
|
+
});
|
|
90340
|
+
exports.localeKeys = localeKeys;
|
|
90341
|
+
|
|
90342
|
+
/***/ }),
|
|
90343
|
+
|
|
90344
|
+
/***/ 4591:
|
|
90345
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
90346
|
+
|
|
90347
|
+
"use strict";
|
|
90348
|
+
|
|
90349
|
+
|
|
90350
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90351
|
+
value: true
|
|
90352
|
+
}));
|
|
90353
|
+
exports.ZH_LOCALE = void 0;
|
|
90354
|
+
const ZH_LOCALE = {
|
|
90355
|
+
solution: {
|
|
90356
|
+
self: '请选择你想创建的工程类型',
|
|
90357
|
+
mwa: '应用',
|
|
90358
|
+
module: '模块',
|
|
90359
|
+
monorepo: '项目组'
|
|
90360
|
+
},
|
|
90361
|
+
sub_solution: {
|
|
90362
|
+
self: '请选择你想创建的工程类型',
|
|
90363
|
+
mwa: '应用',
|
|
90364
|
+
mwa_test: '应用(测试)',
|
|
90365
|
+
module: '模块',
|
|
90366
|
+
inner_module: '模块(内部)'
|
|
90367
|
+
},
|
|
90368
|
+
action: {
|
|
90369
|
+
self: '请选择你想要的操作',
|
|
90370
|
+
function: {
|
|
90371
|
+
self: '启用可选功能',
|
|
90372
|
+
unbundle: '启用「Unbundled 开发」模式',
|
|
90373
|
+
tailwindcss: '启用 Tailwind CSS 支持',
|
|
90374
|
+
less: '启用 Less 支持',
|
|
90375
|
+
sass: '启用 Sass 支持',
|
|
90376
|
+
bff: '启用「BFF」功能',
|
|
90377
|
+
micro_frontend: '启用「微前端」模式',
|
|
90378
|
+
electron: '启用「Electron」模式',
|
|
90379
|
+
i18n: '启用「国际化(i18n)」功能',
|
|
90380
|
+
test: '启用「单元测试 / 集成测试」功能',
|
|
90381
|
+
e2e_test: '启用「E2E 测试」功能',
|
|
90382
|
+
doc: '启用「文档站」功能',
|
|
90383
|
+
storybook: '启用「Storybook」',
|
|
90384
|
+
runtime_api: '启用「Rumtime API」',
|
|
90385
|
+
mwa_storybook: '启用「Visual Testing (Storybook)」模式',
|
|
90386
|
+
ssg: '启用「SSG」功能',
|
|
90387
|
+
deploy: '启用「部署」功能'
|
|
90388
|
+
},
|
|
90389
|
+
element: {
|
|
90390
|
+
self: '创建工程元素',
|
|
90391
|
+
entry: '新建「应用入口」',
|
|
90392
|
+
server: '新建「Server 自定义」源码目录'
|
|
90393
|
+
},
|
|
90394
|
+
refactor: {
|
|
90395
|
+
self: '自动重构',
|
|
90396
|
+
bff_to_app: 'BFF 切换框架模式'
|
|
90397
|
+
}
|
|
90398
|
+
},
|
|
90399
|
+
boolean: {
|
|
90400
|
+
yes: '是',
|
|
90401
|
+
no: '否'
|
|
90402
|
+
},
|
|
90403
|
+
language: {
|
|
90404
|
+
self: '请选择开发语言'
|
|
90405
|
+
},
|
|
90406
|
+
packageManager: {
|
|
90407
|
+
self: '请选择包管理工具'
|
|
90408
|
+
},
|
|
90409
|
+
runWay: {
|
|
90410
|
+
self: '是否需要支持以下类型应用',
|
|
90411
|
+
no: '不需要',
|
|
90412
|
+
electron: 'Electron'
|
|
90413
|
+
},
|
|
90414
|
+
needModifyConfig: {
|
|
90415
|
+
self: '是否需要调整默认配置?',
|
|
90416
|
+
enableLess: '是否启用 Less 支持?',
|
|
90417
|
+
enableSass: '是否启用 Sass 支持?'
|
|
90418
|
+
},
|
|
90419
|
+
entry: {
|
|
90420
|
+
name: '请填写入口名称',
|
|
90421
|
+
no_empty: '入口名称不能为空!',
|
|
90422
|
+
no_pages: '入口名称不支持 "pages"!',
|
|
90423
|
+
needModifyConfig: '是否需要调整默认配置?',
|
|
90424
|
+
disableStateManagement: '是否关闭「应用状态管理」功能?',
|
|
90425
|
+
clientRoute: {
|
|
90426
|
+
self: '请选择客户端路由方式',
|
|
90427
|
+
selfControlRoute: '启用自控路由',
|
|
90428
|
+
conventionalRoute: '启用约定式路由',
|
|
90429
|
+
no: '不启用'
|
|
90430
|
+
}
|
|
90431
|
+
},
|
|
90432
|
+
packageName: {
|
|
90433
|
+
self: '请填写项目名称',
|
|
90434
|
+
sub_name: '请填写子项目名称',
|
|
90435
|
+
no_empty: '项目名称不能为空!'
|
|
90436
|
+
},
|
|
90437
|
+
packagePath: {
|
|
90438
|
+
self: '请填写子项目目录名称',
|
|
90439
|
+
no_empty: '目录名称不能为空!',
|
|
90440
|
+
format: '目录名称只能使用小写字母、数字和分隔线(-)、下划线(_)和目录分隔符(/)'
|
|
90441
|
+
},
|
|
90442
|
+
framework: {
|
|
90443
|
+
self: '请选择运行时框架',
|
|
90444
|
+
egg: 'Egg',
|
|
90445
|
+
express: 'Express',
|
|
90446
|
+
koa: 'Koa',
|
|
90447
|
+
nest: 'Nest'
|
|
90448
|
+
},
|
|
90449
|
+
bff: {
|
|
90450
|
+
bffType: {
|
|
90451
|
+
self: '请选择 BFF 类型',
|
|
90452
|
+
func: '函数模式',
|
|
90453
|
+
framework: '框架模式'
|
|
90454
|
+
}
|
|
90455
|
+
},
|
|
90456
|
+
deploy: {
|
|
90457
|
+
cloud: {
|
|
90458
|
+
self: '默认使用框架内置的产品级 Web 服务器,是否调整?'
|
|
90459
|
+
},
|
|
90460
|
+
cdn: {
|
|
90461
|
+
self: '请选择 CDN 平台',
|
|
90462
|
+
oss: '阿里云 OSS',
|
|
90463
|
+
cos: '腾讯云 COS',
|
|
90464
|
+
no: '不使用 CDN'
|
|
90465
|
+
},
|
|
90466
|
+
lambda: {
|
|
90467
|
+
self: '请选择云函数平台',
|
|
90468
|
+
fc: '阿里云 FC',
|
|
90469
|
+
scf: '腾讯云 SCF',
|
|
90470
|
+
no: '不使用云函数部署'
|
|
90471
|
+
}
|
|
90472
|
+
}
|
|
90473
|
+
};
|
|
90474
|
+
exports.ZH_LOCALE = ZH_LOCALE;
|
|
90475
|
+
|
|
90476
|
+
/***/ }),
|
|
90477
|
+
|
|
90478
|
+
/***/ 28184:
|
|
90479
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90480
|
+
|
|
90481
|
+
"use strict";
|
|
90482
|
+
|
|
90483
|
+
|
|
90484
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90485
|
+
value: true
|
|
90486
|
+
}));
|
|
90487
|
+
|
|
90488
|
+
var _project = __webpack_require__(23189);
|
|
90489
|
+
|
|
90490
|
+
Object.keys(_project).forEach(function (key) {
|
|
90491
|
+
if (key === "default" || key === "__esModule") return;
|
|
90492
|
+
if (key in exports && exports[key] === _project[key]) return;
|
|
90493
|
+
Object.defineProperty(exports, key, {
|
|
90494
|
+
enumerable: true,
|
|
90495
|
+
get: function () {
|
|
90496
|
+
return _project[key];
|
|
90497
|
+
}
|
|
90498
|
+
});
|
|
90499
|
+
});
|
|
90500
|
+
|
|
90501
|
+
/***/ }),
|
|
90502
|
+
|
|
90503
|
+
/***/ 23189:
|
|
90504
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90505
|
+
|
|
90506
|
+
"use strict";
|
|
90507
|
+
|
|
90508
|
+
|
|
90509
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90510
|
+
value: true
|
|
90511
|
+
}));
|
|
90512
|
+
exports.moduleConfigWhenFunc = exports.NeedModifyModuleConfigSchema = exports.ModuleSchemas = exports.ModuleSchema = exports.ModuleDefaultConfig = exports.EnableModuleSassSchema = exports.EnableModuleLessSchema = void 0;
|
|
90513
|
+
|
|
90514
|
+
var _locale = __webpack_require__(94646);
|
|
90515
|
+
|
|
90516
|
+
var _common = __webpack_require__(25523);
|
|
90517
|
+
|
|
90518
|
+
var _css = __webpack_require__(99961);
|
|
90519
|
+
|
|
90520
|
+
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; }
|
|
90521
|
+
|
|
90522
|
+
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; }
|
|
90523
|
+
|
|
90524
|
+
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; }
|
|
90525
|
+
|
|
90526
|
+
const moduleConfigWhenFunc = values => values.needModifyModuleConfig === _common.BooleanConfig.YES;
|
|
90527
|
+
|
|
90528
|
+
exports.moduleConfigWhenFunc = moduleConfigWhenFunc;
|
|
90529
|
+
|
|
90530
|
+
const EnableModuleLessSchema = _objectSpread(_objectSpread({}, _css.EnableLessSchema), {}, {
|
|
90531
|
+
when: moduleConfigWhenFunc
|
|
90532
|
+
});
|
|
90533
|
+
|
|
90534
|
+
exports.EnableModuleLessSchema = EnableModuleLessSchema;
|
|
90535
|
+
|
|
90536
|
+
const EnableModuleSassSchema = _objectSpread(_objectSpread({}, _css.EnableSassSchema), {}, {
|
|
90537
|
+
when: moduleConfigWhenFunc
|
|
90538
|
+
});
|
|
90539
|
+
|
|
90540
|
+
exports.EnableModuleSassSchema = EnableModuleSassSchema;
|
|
90541
|
+
const NeedModifyModuleConfigSchema = {
|
|
90542
|
+
key: 'needModifyModuleConfig',
|
|
90543
|
+
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.self),
|
|
90544
|
+
type: ['string'],
|
|
90545
|
+
mutualExclusion: true,
|
|
90546
|
+
state: {
|
|
90547
|
+
value: _common.BooleanConfig.NO
|
|
90548
|
+
},
|
|
90549
|
+
items: _common.BooleanSchemas
|
|
90550
|
+
};
|
|
90551
|
+
exports.NeedModifyModuleConfigSchema = NeedModifyModuleConfigSchema;
|
|
90552
|
+
const ModuleSchemas = [_common.PackageNameSchema, _common.PackagePathSchema, _common.LanguageSchema, _common.PackageManagerSchema, NeedModifyModuleConfigSchema, EnableModuleLessSchema, EnableModuleSassSchema];
|
|
90553
|
+
exports.ModuleSchemas = ModuleSchemas;
|
|
90554
|
+
const ModuleSchema = {
|
|
90555
|
+
key: 'module',
|
|
90556
|
+
isObject: true,
|
|
90557
|
+
items: ModuleSchemas
|
|
90558
|
+
};
|
|
90559
|
+
exports.ModuleSchema = ModuleSchema;
|
|
90560
|
+
const ModuleDefaultConfig = {
|
|
90561
|
+
language: _common.Language.TS,
|
|
90562
|
+
packageManager: _common.PackageManager.Pnpm,
|
|
90563
|
+
needModifyModuleConfig: _common.BooleanConfig.NO,
|
|
90564
|
+
enableLess: _common.BooleanConfig.NO,
|
|
90565
|
+
enableSass: _common.BooleanConfig.NO
|
|
90566
|
+
};
|
|
90567
|
+
exports.ModuleDefaultConfig = ModuleDefaultConfig;
|
|
90568
|
+
|
|
90569
|
+
/***/ }),
|
|
90570
|
+
|
|
90571
|
+
/***/ 4234:
|
|
90572
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90573
|
+
|
|
90574
|
+
"use strict";
|
|
90575
|
+
|
|
90576
|
+
|
|
90577
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90578
|
+
value: true
|
|
90579
|
+
}));
|
|
90580
|
+
|
|
90581
|
+
var _project = __webpack_require__(19943);
|
|
90582
|
+
|
|
90583
|
+
Object.keys(_project).forEach(function (key) {
|
|
90584
|
+
if (key === "default" || key === "__esModule") return;
|
|
90585
|
+
if (key in exports && exports[key] === _project[key]) return;
|
|
90586
|
+
Object.defineProperty(exports, key, {
|
|
90587
|
+
enumerable: true,
|
|
90588
|
+
get: function () {
|
|
90589
|
+
return _project[key];
|
|
90590
|
+
}
|
|
90591
|
+
});
|
|
90592
|
+
});
|
|
90593
|
+
|
|
90594
|
+
/***/ }),
|
|
90595
|
+
|
|
90596
|
+
/***/ 19943:
|
|
90597
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90598
|
+
|
|
90599
|
+
"use strict";
|
|
90600
|
+
|
|
90601
|
+
|
|
90602
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90603
|
+
value: true
|
|
90604
|
+
}));
|
|
90605
|
+
exports.MonorepoSchemas = exports.MonorepoSchema = exports.MonorepoDefaultConfig = void 0;
|
|
90606
|
+
|
|
90607
|
+
var _common = __webpack_require__(25523);
|
|
90608
|
+
|
|
90609
|
+
const MonorepoSchemas = [_common.PackageManagerSchema];
|
|
90610
|
+
exports.MonorepoSchemas = MonorepoSchemas;
|
|
90611
|
+
const MonorepoSchema = {
|
|
90612
|
+
key: 'monorepo',
|
|
90613
|
+
isObject: true,
|
|
90614
|
+
items: MonorepoSchemas
|
|
90615
|
+
};
|
|
90616
|
+
exports.MonorepoSchema = MonorepoSchema;
|
|
90617
|
+
const MonorepoDefaultConfig = {
|
|
90618
|
+
packageManager: _common.PackageManager.Pnpm
|
|
90619
|
+
};
|
|
90620
|
+
exports.MonorepoDefaultConfig = MonorepoDefaultConfig;
|
|
90621
|
+
|
|
90622
|
+
/***/ }),
|
|
90623
|
+
|
|
90624
|
+
/***/ 86137:
|
|
90625
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90626
|
+
|
|
90627
|
+
"use strict";
|
|
90628
|
+
|
|
90629
|
+
|
|
90630
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90631
|
+
value: true
|
|
90632
|
+
}));
|
|
90633
|
+
exports.MWADefaultBffConfig = exports.BFFTypeSchema = exports.BFFType = exports.BFFSchemas = exports.BFFSchema = void 0;
|
|
90634
|
+
|
|
90635
|
+
var _common = __webpack_require__(70852);
|
|
90636
|
+
|
|
90637
|
+
var _locale = __webpack_require__(94646);
|
|
90638
|
+
|
|
90639
|
+
let BFFType;
|
|
90640
|
+
exports.BFFType = BFFType;
|
|
90641
|
+
|
|
90642
|
+
(function (BFFType) {
|
|
90643
|
+
BFFType["Func"] = "func";
|
|
90644
|
+
BFFType["Framework"] = "framework";
|
|
90645
|
+
})(BFFType || (exports.BFFType = BFFType = {}));
|
|
90646
|
+
|
|
90647
|
+
const BFFTypeSchema = {
|
|
90648
|
+
key: 'bffType',
|
|
90649
|
+
type: ['string'],
|
|
90650
|
+
label: () => _locale.i18n.t(_locale.localeKeys.bff.bffType.self),
|
|
90651
|
+
mutualExclusion: true,
|
|
90652
|
+
items: Object.values(BFFType).map(bffType => ({
|
|
90653
|
+
key: bffType,
|
|
90654
|
+
label: () => _locale.i18n.t(_locale.localeKeys.bff.bffType[bffType])
|
|
90655
|
+
}))
|
|
90656
|
+
};
|
|
90657
|
+
exports.BFFTypeSchema = BFFTypeSchema;
|
|
90658
|
+
const BFFSchemas = [BFFTypeSchema, _common.FrameworkSchema];
|
|
90659
|
+
exports.BFFSchemas = BFFSchemas;
|
|
90660
|
+
const BFFSchema = {
|
|
90661
|
+
key: 'bff',
|
|
90662
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.function.bff),
|
|
90663
|
+
isObject: true,
|
|
90664
|
+
items: BFFSchemas
|
|
90665
|
+
};
|
|
90666
|
+
exports.BFFSchema = BFFSchema;
|
|
90667
|
+
const MWADefaultBffConfig = {
|
|
90668
|
+
bffType: BFFType.Func,
|
|
90669
|
+
frameWork: _common.Framework.Express
|
|
90670
|
+
};
|
|
90671
|
+
exports.MWADefaultBffConfig = MWADefaultBffConfig;
|
|
90672
|
+
|
|
90673
|
+
/***/ }),
|
|
90674
|
+
|
|
90675
|
+
/***/ 70852:
|
|
90676
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90677
|
+
|
|
90678
|
+
"use strict";
|
|
90679
|
+
|
|
90680
|
+
|
|
90681
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90682
|
+
value: true
|
|
90683
|
+
}));
|
|
90684
|
+
exports.mwaConfigWhenFunc = exports.RunWaySchema = exports.RunWay = exports.NeedModifyMWAConfigSchema = exports.FrameworkSchema = exports.Framework = exports.EnableMWASassSchema = exports.EnableMWALessSchema = exports.DisableStateManagementSchema = exports.ClientRouteSchema = exports.ClientRoute = void 0;
|
|
90685
|
+
|
|
90686
|
+
var _locale = __webpack_require__(94646);
|
|
90687
|
+
|
|
90688
|
+
var _boolean = __webpack_require__(34069);
|
|
90689
|
+
|
|
90690
|
+
var _css = __webpack_require__(99961);
|
|
90691
|
+
|
|
90692
|
+
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; }
|
|
90693
|
+
|
|
90694
|
+
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; }
|
|
90695
|
+
|
|
90696
|
+
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; }
|
|
90697
|
+
|
|
90698
|
+
const mwaConfigWhenFunc = values => values.needModifyMWAConfig === _boolean.BooleanConfig.YES;
|
|
90699
|
+
|
|
90700
|
+
exports.mwaConfigWhenFunc = mwaConfigWhenFunc;
|
|
90701
|
+
let RunWay;
|
|
90702
|
+
exports.RunWay = RunWay;
|
|
90703
|
+
|
|
90704
|
+
(function (RunWay) {
|
|
90705
|
+
RunWay["No"] = "no";
|
|
90706
|
+
RunWay["Electron"] = "electron";
|
|
90707
|
+
})(RunWay || (exports.RunWay = RunWay = {}));
|
|
90708
|
+
|
|
90709
|
+
const RunWaySchema = {
|
|
90710
|
+
key: 'runWay',
|
|
90711
|
+
type: ['string'],
|
|
90712
|
+
label: () => _locale.i18n.t(_locale.localeKeys.runWay.self),
|
|
90713
|
+
mutualExclusion: true,
|
|
90714
|
+
when: (_, extra) => (extra === null || extra === void 0 ? void 0 : extra.isEmptySrc) === undefined ? true : Boolean(extra === null || extra === void 0 ? void 0 : extra.isEmptySrc),
|
|
90715
|
+
state: {
|
|
90716
|
+
value: RunWay.No
|
|
90717
|
+
},
|
|
90718
|
+
items: Object.values(RunWay).map(runWay => ({
|
|
90719
|
+
key: runWay,
|
|
90720
|
+
label: () => _locale.i18n.t(_locale.localeKeys.runWay[runWay])
|
|
90721
|
+
}))
|
|
90722
|
+
};
|
|
90723
|
+
exports.RunWaySchema = RunWaySchema;
|
|
90724
|
+
let ClientRoute;
|
|
90725
|
+
exports.ClientRoute = ClientRoute;
|
|
90726
|
+
|
|
90727
|
+
(function (ClientRoute) {
|
|
90728
|
+
ClientRoute["SelfControlRoute"] = "selfControlRoute";
|
|
90729
|
+
ClientRoute["ConventionalRoute"] = "conventionalRoute";
|
|
90730
|
+
ClientRoute["No"] = "no";
|
|
90731
|
+
})(ClientRoute || (exports.ClientRoute = ClientRoute = {}));
|
|
90732
|
+
|
|
90733
|
+
const ClientRouteSchema = {
|
|
90734
|
+
key: 'clientRoute',
|
|
90735
|
+
type: ['string'],
|
|
90736
|
+
label: () => _locale.i18n.t(_locale.localeKeys.entry.clientRoute.self),
|
|
90737
|
+
mutualExclusion: true,
|
|
90738
|
+
when: mwaConfigWhenFunc,
|
|
90739
|
+
state: {
|
|
90740
|
+
value: ClientRoute.SelfControlRoute
|
|
90741
|
+
},
|
|
90742
|
+
items: Object.values(ClientRoute).map(clientRoute => ({
|
|
90743
|
+
key: clientRoute,
|
|
90744
|
+
label: () => _locale.i18n.t(_locale.localeKeys.entry.clientRoute[clientRoute])
|
|
90745
|
+
}))
|
|
90746
|
+
};
|
|
90747
|
+
exports.ClientRouteSchema = ClientRouteSchema;
|
|
90748
|
+
const DisableStateManagementSchema = {
|
|
90749
|
+
key: 'disableStateManagement',
|
|
90750
|
+
type: ['string'],
|
|
90751
|
+
label: () => _locale.i18n.t(_locale.localeKeys.entry.disableStateManagement),
|
|
90752
|
+
mutualExclusion: true,
|
|
90753
|
+
when: mwaConfigWhenFunc,
|
|
90754
|
+
state: {
|
|
90755
|
+
value: _boolean.BooleanConfig.NO
|
|
90756
|
+
},
|
|
90757
|
+
items: _boolean.BooleanSchemas
|
|
90758
|
+
};
|
|
90759
|
+
exports.DisableStateManagementSchema = DisableStateManagementSchema;
|
|
90760
|
+
|
|
90761
|
+
const EnableMWALessSchema = _objectSpread(_objectSpread({}, _css.EnableLessSchema), {}, {
|
|
90762
|
+
when: mwaConfigWhenFunc
|
|
90763
|
+
});
|
|
90764
|
+
|
|
90765
|
+
exports.EnableMWALessSchema = EnableMWALessSchema;
|
|
90766
|
+
|
|
90767
|
+
const EnableMWASassSchema = _objectSpread(_objectSpread({}, _css.EnableSassSchema), {}, {
|
|
90768
|
+
when: mwaConfigWhenFunc
|
|
90769
|
+
});
|
|
90770
|
+
|
|
90771
|
+
exports.EnableMWASassSchema = EnableMWASassSchema;
|
|
90772
|
+
const NeedModifyMWAConfigSchema = {
|
|
90773
|
+
key: 'needModifyMWAConfig',
|
|
90774
|
+
label: () => _locale.i18n.t(_locale.localeKeys.needModifyConfig.self),
|
|
90775
|
+
type: ['string'],
|
|
90776
|
+
mutualExclusion: true,
|
|
90777
|
+
state: {
|
|
90778
|
+
value: _boolean.BooleanConfig.NO
|
|
90779
|
+
},
|
|
90780
|
+
items: _boolean.BooleanSchemas
|
|
90781
|
+
};
|
|
90782
|
+
exports.NeedModifyMWAConfigSchema = NeedModifyMWAConfigSchema;
|
|
90783
|
+
let Framework;
|
|
90784
|
+
exports.Framework = Framework;
|
|
90785
|
+
|
|
90786
|
+
(function (Framework) {
|
|
90787
|
+
Framework["Express"] = "express";
|
|
90788
|
+
Framework["Koa"] = "koa";
|
|
90789
|
+
Framework["Egg"] = "egg";
|
|
90790
|
+
Framework["Nest"] = "nest";
|
|
90791
|
+
})(Framework || (exports.Framework = Framework = {}));
|
|
90792
|
+
|
|
90793
|
+
const FrameworkSchema = {
|
|
90794
|
+
key: 'framework',
|
|
90795
|
+
type: ['string'],
|
|
90796
|
+
label: () => _locale.i18n.t(_locale.localeKeys.framework.self),
|
|
90797
|
+
mutualExclusion: true,
|
|
90798
|
+
items: Object.values(Framework).map(framework => ({
|
|
90799
|
+
key: framework,
|
|
90800
|
+
label: () => _locale.i18n.t(_locale.localeKeys.framework[framework])
|
|
90801
|
+
}))
|
|
90802
|
+
};
|
|
90803
|
+
exports.FrameworkSchema = FrameworkSchema;
|
|
90804
|
+
|
|
90805
|
+
/***/ }),
|
|
90806
|
+
|
|
90807
|
+
/***/ 73423:
|
|
90808
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90809
|
+
|
|
90810
|
+
"use strict";
|
|
90811
|
+
|
|
90812
|
+
|
|
90813
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90814
|
+
value: true
|
|
90815
|
+
}));
|
|
90816
|
+
exports.LambdaTypeSchema = exports.LambdaType = exports.DeployTypeSchema = exports.CloudTypeSchema = exports.CDNTypeSchema = exports.CDNType = void 0;
|
|
90817
|
+
|
|
90818
|
+
var _locale = __webpack_require__(94646);
|
|
90819
|
+
|
|
90820
|
+
var _common = __webpack_require__(25523);
|
|
90821
|
+
|
|
90822
|
+
let CDNType;
|
|
90823
|
+
exports.CDNType = CDNType;
|
|
90824
|
+
|
|
90825
|
+
(function (CDNType) {
|
|
90826
|
+
CDNType["OSS"] = "oss";
|
|
90827
|
+
CDNType["COS"] = "cos";
|
|
90828
|
+
CDNType["NO"] = "no";
|
|
90829
|
+
})(CDNType || (exports.CDNType = CDNType = {}));
|
|
90830
|
+
|
|
90831
|
+
let LambdaType;
|
|
90832
|
+
exports.LambdaType = LambdaType;
|
|
90833
|
+
|
|
90834
|
+
(function (LambdaType) {
|
|
90835
|
+
LambdaType["FC"] = "fc";
|
|
90836
|
+
LambdaType["SCF"] = "scf";
|
|
90837
|
+
LambdaType["NO"] = "no";
|
|
90838
|
+
})(LambdaType || (exports.LambdaType = LambdaType = {}));
|
|
90839
|
+
|
|
90840
|
+
const CloudTypeSchema = {
|
|
90841
|
+
key: 'disableModernServer',
|
|
90842
|
+
type: ['string'],
|
|
90843
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cloud.self),
|
|
90844
|
+
mutualExclusion: true,
|
|
90845
|
+
state: {
|
|
90846
|
+
value: _common.BooleanConfig.NO
|
|
90847
|
+
},
|
|
90848
|
+
items: _common.BooleanSchemas
|
|
90849
|
+
};
|
|
90850
|
+
exports.CloudTypeSchema = CloudTypeSchema;
|
|
90851
|
+
const CDNTypeSchema = {
|
|
90852
|
+
key: 'cdnType',
|
|
90853
|
+
type: ['string'],
|
|
90854
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cdn.self),
|
|
90855
|
+
mutualExclusion: true,
|
|
90856
|
+
items: Object.values(CDNType).map(deployType => ({
|
|
90857
|
+
key: deployType,
|
|
90858
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.cdn[deployType])
|
|
90859
|
+
}))
|
|
90860
|
+
};
|
|
90861
|
+
exports.CDNTypeSchema = CDNTypeSchema;
|
|
90862
|
+
const LambdaTypeSchema = {
|
|
90863
|
+
key: 'lambdaType',
|
|
90864
|
+
type: ['string'],
|
|
90865
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.lambda.self),
|
|
90866
|
+
mutualExclusion: true,
|
|
90867
|
+
when: values => values.disableModernServer === _common.BooleanConfig.NO,
|
|
90868
|
+
items: Object.values(LambdaType).map(deployType => ({
|
|
90869
|
+
key: deployType,
|
|
90870
|
+
label: () => _locale.i18n.t(_locale.localeKeys.deploy.lambda[deployType])
|
|
90871
|
+
}))
|
|
90872
|
+
};
|
|
90873
|
+
exports.LambdaTypeSchema = LambdaTypeSchema;
|
|
90874
|
+
const DeployTypeSchema = {
|
|
90875
|
+
key: 'Deploy',
|
|
90876
|
+
isObject: true,
|
|
90877
|
+
items: [CloudTypeSchema, CDNTypeSchema, LambdaTypeSchema]
|
|
90878
|
+
};
|
|
90879
|
+
exports.DeployTypeSchema = DeployTypeSchema;
|
|
90880
|
+
|
|
90881
|
+
/***/ }),
|
|
90882
|
+
|
|
90883
|
+
/***/ 91124:
|
|
90884
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90885
|
+
|
|
90886
|
+
"use strict";
|
|
90887
|
+
|
|
90888
|
+
|
|
90889
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90890
|
+
value: true
|
|
90891
|
+
}));
|
|
90892
|
+
exports.MWADefaultEntryConfig = exports.EntrySchemas = exports.EntrySchema = void 0;
|
|
90893
|
+
|
|
90894
|
+
var _common = __webpack_require__(70852);
|
|
90895
|
+
|
|
90896
|
+
var _locale = __webpack_require__(94646);
|
|
90897
|
+
|
|
90898
|
+
var _common2 = __webpack_require__(25523);
|
|
90899
|
+
|
|
90900
|
+
const EntryNameSchema = {
|
|
90901
|
+
key: 'name',
|
|
90902
|
+
type: ['string'],
|
|
90903
|
+
label: () => _locale.i18n.t(_locale.localeKeys.entry.name),
|
|
90904
|
+
state: {
|
|
90905
|
+
value: 'entry'
|
|
90906
|
+
},
|
|
90907
|
+
validate: value => {
|
|
90908
|
+
if (!value) {
|
|
90909
|
+
return {
|
|
90910
|
+
success: false,
|
|
90911
|
+
message: _locale.i18n.t(_locale.localeKeys.entry.no_empty)
|
|
90912
|
+
};
|
|
90913
|
+
}
|
|
90914
|
+
|
|
90915
|
+
if (value === 'pages') {
|
|
90916
|
+
return {
|
|
90917
|
+
success: false,
|
|
90918
|
+
message: _locale.i18n.t(_locale.localeKeys.entry.no_pages)
|
|
90919
|
+
};
|
|
90920
|
+
}
|
|
90921
|
+
|
|
90922
|
+
return {
|
|
90923
|
+
success: true
|
|
90924
|
+
};
|
|
90925
|
+
},
|
|
90926
|
+
when: (_values, extra) => {
|
|
90927
|
+
if (extra !== null && extra !== void 0 && extra.isEmptySrc) {
|
|
90928
|
+
return false;
|
|
90929
|
+
}
|
|
90930
|
+
|
|
90931
|
+
return true;
|
|
90932
|
+
}
|
|
90933
|
+
};
|
|
90934
|
+
const EntrySchemas = [EntryNameSchema, _common.NeedModifyMWAConfigSchema, _common.ClientRouteSchema, _common.DisableStateManagementSchema];
|
|
90935
|
+
exports.EntrySchemas = EntrySchemas;
|
|
90936
|
+
const EntrySchema = {
|
|
90937
|
+
key: 'entry',
|
|
90938
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.element.entry),
|
|
90939
|
+
isObject: true,
|
|
90940
|
+
items: EntrySchemas
|
|
90941
|
+
};
|
|
90942
|
+
exports.EntrySchema = EntrySchema;
|
|
90943
|
+
const MWADefaultEntryConfig = {
|
|
90944
|
+
needModifyMWAConfig: _common2.BooleanConfig.NO,
|
|
90945
|
+
clientRoute: _common.ClientRoute.SelfControlRoute,
|
|
90946
|
+
disableStateManagement: _common2.BooleanConfig.NO
|
|
90947
|
+
};
|
|
90948
|
+
exports.MWADefaultEntryConfig = MWADefaultEntryConfig;
|
|
90949
|
+
|
|
90950
|
+
/***/ }),
|
|
90951
|
+
|
|
90952
|
+
/***/ 61693:
|
|
90953
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
90954
|
+
|
|
90955
|
+
"use strict";
|
|
90956
|
+
|
|
90957
|
+
|
|
90958
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
90959
|
+
value: true
|
|
90960
|
+
}));
|
|
90961
|
+
|
|
90962
|
+
var _common = __webpack_require__(70852);
|
|
90963
|
+
|
|
90964
|
+
Object.keys(_common).forEach(function (key) {
|
|
90965
|
+
if (key === "default" || key === "__esModule") return;
|
|
90966
|
+
if (key in exports && exports[key] === _common[key]) return;
|
|
90967
|
+
Object.defineProperty(exports, key, {
|
|
90968
|
+
enumerable: true,
|
|
90969
|
+
get: function () {
|
|
90970
|
+
return _common[key];
|
|
90971
|
+
}
|
|
90972
|
+
});
|
|
90973
|
+
});
|
|
90974
|
+
|
|
90975
|
+
var _entry = __webpack_require__(91124);
|
|
90976
|
+
|
|
90977
|
+
Object.keys(_entry).forEach(function (key) {
|
|
90978
|
+
if (key === "default" || key === "__esModule") return;
|
|
90979
|
+
if (key in exports && exports[key] === _entry[key]) return;
|
|
90980
|
+
Object.defineProperty(exports, key, {
|
|
90981
|
+
enumerable: true,
|
|
90982
|
+
get: function () {
|
|
90983
|
+
return _entry[key];
|
|
90984
|
+
}
|
|
90985
|
+
});
|
|
90986
|
+
});
|
|
90987
|
+
|
|
90988
|
+
var _bff = __webpack_require__(86137);
|
|
90989
|
+
|
|
90990
|
+
Object.keys(_bff).forEach(function (key) {
|
|
90991
|
+
if (key === "default" || key === "__esModule") return;
|
|
90992
|
+
if (key in exports && exports[key] === _bff[key]) return;
|
|
90993
|
+
Object.defineProperty(exports, key, {
|
|
90994
|
+
enumerable: true,
|
|
90995
|
+
get: function () {
|
|
90996
|
+
return _bff[key];
|
|
90997
|
+
}
|
|
90998
|
+
});
|
|
90999
|
+
});
|
|
91000
|
+
|
|
91001
|
+
var _deploy = __webpack_require__(73423);
|
|
91002
|
+
|
|
91003
|
+
Object.keys(_deploy).forEach(function (key) {
|
|
91004
|
+
if (key === "default" || key === "__esModule") return;
|
|
91005
|
+
if (key in exports && exports[key] === _deploy[key]) return;
|
|
91006
|
+
Object.defineProperty(exports, key, {
|
|
91007
|
+
enumerable: true,
|
|
91008
|
+
get: function () {
|
|
91009
|
+
return _deploy[key];
|
|
91010
|
+
}
|
|
91011
|
+
});
|
|
91012
|
+
});
|
|
91013
|
+
|
|
91014
|
+
var _project = __webpack_require__(30968);
|
|
91015
|
+
|
|
91016
|
+
Object.keys(_project).forEach(function (key) {
|
|
91017
|
+
if (key === "default" || key === "__esModule") return;
|
|
91018
|
+
if (key in exports && exports[key] === _project[key]) return;
|
|
91019
|
+
Object.defineProperty(exports, key, {
|
|
91020
|
+
enumerable: true,
|
|
91021
|
+
get: function () {
|
|
91022
|
+
return _project[key];
|
|
91023
|
+
}
|
|
91024
|
+
});
|
|
91025
|
+
});
|
|
91026
|
+
|
|
91027
|
+
var _server = __webpack_require__(59223);
|
|
91028
|
+
|
|
91029
|
+
Object.keys(_server).forEach(function (key) {
|
|
91030
|
+
if (key === "default" || key === "__esModule") return;
|
|
91031
|
+
if (key in exports && exports[key] === _server[key]) return;
|
|
91032
|
+
Object.defineProperty(exports, key, {
|
|
91033
|
+
enumerable: true,
|
|
91034
|
+
get: function () {
|
|
91035
|
+
return _server[key];
|
|
91036
|
+
}
|
|
91037
|
+
});
|
|
91038
|
+
});
|
|
91039
|
+
|
|
91040
|
+
/***/ }),
|
|
91041
|
+
|
|
91042
|
+
/***/ 30968:
|
|
91043
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91044
|
+
|
|
91045
|
+
"use strict";
|
|
91046
|
+
|
|
91047
|
+
|
|
91048
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91049
|
+
value: true
|
|
91050
|
+
}));
|
|
91051
|
+
exports.MWASchemas = exports.MWASchema = exports.MWADefaultConfig = void 0;
|
|
91052
|
+
|
|
91053
|
+
var _common = __webpack_require__(70852);
|
|
91054
|
+
|
|
91055
|
+
var _common2 = __webpack_require__(25523);
|
|
91056
|
+
|
|
91057
|
+
const MWASchemas = [_common2.PackageNameSchema, _common2.PackagePathSchema, _common2.LanguageSchema, _common2.PackageManagerSchema, _common.RunWaySchema, _common.NeedModifyMWAConfigSchema, _common.ClientRouteSchema, _common.DisableStateManagementSchema, _common.EnableMWALessSchema, _common.EnableMWASassSchema];
|
|
91058
|
+
exports.MWASchemas = MWASchemas;
|
|
91059
|
+
const MWASchema = {
|
|
91060
|
+
key: 'mwa',
|
|
91061
|
+
isObject: true,
|
|
91062
|
+
items: MWASchemas
|
|
91063
|
+
};
|
|
91064
|
+
exports.MWASchema = MWASchema;
|
|
91065
|
+
const MWADefaultConfig = {
|
|
91066
|
+
language: _common2.Language.TS,
|
|
91067
|
+
packageManager: _common2.PackageManager.Pnpm,
|
|
91068
|
+
runWay: _common.RunWay.No,
|
|
91069
|
+
needModifyMWAConfig: _common2.BooleanConfig.NO,
|
|
91070
|
+
clientRoute: _common.ClientRoute.SelfControlRoute,
|
|
91071
|
+
disableStateManagement: _common2.BooleanConfig.NO,
|
|
91072
|
+
enableLess: _common2.BooleanConfig.NO,
|
|
91073
|
+
enableSass: _common2.BooleanConfig.NO
|
|
91074
|
+
};
|
|
91075
|
+
exports.MWADefaultConfig = MWADefaultConfig;
|
|
91076
|
+
|
|
91077
|
+
/***/ }),
|
|
91078
|
+
|
|
91079
|
+
/***/ 59223:
|
|
91080
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91081
|
+
|
|
91082
|
+
"use strict";
|
|
91083
|
+
|
|
91084
|
+
|
|
91085
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91086
|
+
value: true
|
|
91087
|
+
}));
|
|
91088
|
+
exports.ServerSchemas = exports.ServerSchema = exports.MWADefaultServerConfig = void 0;
|
|
91089
|
+
|
|
91090
|
+
var _locale = __webpack_require__(94646);
|
|
91091
|
+
|
|
91092
|
+
var _common = __webpack_require__(70852);
|
|
91093
|
+
|
|
91094
|
+
const ServerSchemas = [_common.FrameworkSchema];
|
|
91095
|
+
exports.ServerSchemas = ServerSchemas;
|
|
91096
|
+
const ServerSchema = {
|
|
91097
|
+
key: 'server',
|
|
91098
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.element.server),
|
|
91099
|
+
isObject: true,
|
|
91100
|
+
items: ServerSchemas
|
|
91101
|
+
};
|
|
91102
|
+
exports.ServerSchema = ServerSchema;
|
|
91103
|
+
const MWADefaultServerConfig = {
|
|
91104
|
+
framework: _common.Framework.Express
|
|
91105
|
+
};
|
|
91106
|
+
exports.MWADefaultServerConfig = MWADefaultServerConfig;
|
|
91107
|
+
|
|
91108
|
+
/***/ }),
|
|
91109
|
+
|
|
91110
|
+
/***/ 78353:
|
|
91111
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91112
|
+
|
|
91113
|
+
"use strict";
|
|
91114
|
+
|
|
91115
|
+
|
|
91116
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91117
|
+
value: true
|
|
91118
|
+
}));
|
|
91119
|
+
exports.ActionTypeTextMap = exports.ActionTypeText = exports.ActionType = exports.ActionRefactorText = exports.ActionRefactor = exports.ActionFunctionText = exports.ActionFunction = exports.ActionElementText = exports.ActionElement = void 0;
|
|
91120
|
+
|
|
91121
|
+
var _locale = __webpack_require__(94646);
|
|
91122
|
+
|
|
91123
|
+
let ActionType;
|
|
91124
|
+
exports.ActionType = ActionType;
|
|
91125
|
+
|
|
91126
|
+
(function (ActionType) {
|
|
91127
|
+
ActionType["Function"] = "function";
|
|
91128
|
+
ActionType["Element"] = "element";
|
|
91129
|
+
ActionType["Refactor"] = "refactor";
|
|
91130
|
+
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
91131
|
+
|
|
91132
|
+
let ActionElement;
|
|
91133
|
+
exports.ActionElement = ActionElement;
|
|
91134
|
+
|
|
91135
|
+
(function (ActionElement) {
|
|
91136
|
+
ActionElement["Entry"] = "entry";
|
|
91137
|
+
ActionElement["Server"] = "server";
|
|
91138
|
+
})(ActionElement || (exports.ActionElement = ActionElement = {}));
|
|
91139
|
+
|
|
91140
|
+
let ActionFunction;
|
|
91141
|
+
exports.ActionFunction = ActionFunction;
|
|
91142
|
+
|
|
91143
|
+
(function (ActionFunction) {
|
|
91144
|
+
ActionFunction["UnBundle"] = "unbundle";
|
|
91145
|
+
ActionFunction["TailwindCSS"] = "tailwindcss";
|
|
91146
|
+
ActionFunction["Less"] = "less";
|
|
91147
|
+
ActionFunction["Sass"] = "sass";
|
|
91148
|
+
ActionFunction["BFF"] = "bff";
|
|
91149
|
+
ActionFunction["MicroFrontend"] = "micro_frontend";
|
|
91150
|
+
ActionFunction["Electron"] = "electron";
|
|
91151
|
+
ActionFunction["I18n"] = "i18n";
|
|
91152
|
+
ActionFunction["Test"] = "test";
|
|
91153
|
+
ActionFunction["E2ETest"] = "e2e_test";
|
|
91154
|
+
ActionFunction["Doc"] = "doc";
|
|
91155
|
+
ActionFunction["Storybook"] = "storybook";
|
|
91156
|
+
ActionFunction["RuntimeApi"] = "runtimeApi";
|
|
91157
|
+
ActionFunction["SSG"] = "ssg";
|
|
91158
|
+
ActionFunction["Deploy"] = "deploy";
|
|
91159
|
+
})(ActionFunction || (exports.ActionFunction = ActionFunction = {}));
|
|
91160
|
+
|
|
91161
|
+
let ActionRefactor;
|
|
91162
|
+
exports.ActionRefactor = ActionRefactor;
|
|
91163
|
+
|
|
91164
|
+
(function (ActionRefactor) {
|
|
91165
|
+
ActionRefactor["BFFToApp"] = "bff_to_app";
|
|
91166
|
+
})(ActionRefactor || (exports.ActionRefactor = ActionRefactor = {}));
|
|
91167
|
+
|
|
91168
|
+
const ActionTypeText = {
|
|
91169
|
+
[ActionType.Function]: () => _locale.i18n.t(_locale.localeKeys.action.function.self),
|
|
91170
|
+
[ActionType.Element]: () => _locale.i18n.t(_locale.localeKeys.action.element.self),
|
|
91171
|
+
[ActionType.Refactor]: () => _locale.i18n.t(_locale.localeKeys.action.refactor.self)
|
|
91172
|
+
};
|
|
91173
|
+
exports.ActionTypeText = ActionTypeText;
|
|
91174
|
+
const ActionElementText = {
|
|
91175
|
+
[ActionElement.Entry]: () => _locale.i18n.t(_locale.localeKeys.action.element.entry),
|
|
91176
|
+
[ActionElement.Server]: () => _locale.i18n.t(_locale.localeKeys.action.element.server)
|
|
91177
|
+
};
|
|
91178
|
+
exports.ActionElementText = ActionElementText;
|
|
91179
|
+
const ActionFunctionText = {
|
|
91180
|
+
[ActionFunction.UnBundle]: () => _locale.i18n.t(_locale.localeKeys.action.function.unbundle),
|
|
91181
|
+
[ActionFunction.TailwindCSS]: () => _locale.i18n.t(_locale.localeKeys.action.function.tailwindcss),
|
|
91182
|
+
[ActionFunction.Less]: () => _locale.i18n.t(_locale.localeKeys.action.function.less),
|
|
91183
|
+
[ActionFunction.Sass]: () => _locale.i18n.t(_locale.localeKeys.action.function.sass),
|
|
91184
|
+
[ActionFunction.BFF]: () => _locale.i18n.t(_locale.localeKeys.action.function.bff),
|
|
91185
|
+
[ActionFunction.MicroFrontend]: () => _locale.i18n.t(_locale.localeKeys.action.function.micro_frontend),
|
|
91186
|
+
[ActionFunction.Electron]: () => _locale.i18n.t(_locale.localeKeys.action.function.electron),
|
|
91187
|
+
[ActionFunction.I18n]: () => _locale.i18n.t(_locale.localeKeys.action.function.i18n),
|
|
91188
|
+
[ActionFunction.Test]: () => _locale.i18n.t(_locale.localeKeys.action.function.test),
|
|
91189
|
+
[ActionFunction.E2ETest]: () => _locale.i18n.t(_locale.localeKeys.action.function.e2e_test),
|
|
91190
|
+
[ActionFunction.Doc]: () => _locale.i18n.t(_locale.localeKeys.action.function.doc),
|
|
91191
|
+
[ActionFunction.Storybook]: () => _locale.i18n.t(_locale.localeKeys.action.function.storybook),
|
|
91192
|
+
[ActionFunction.RuntimeApi]: () => _locale.i18n.t(_locale.localeKeys.action.function.runtime_api),
|
|
91193
|
+
[ActionFunction.SSG]: () => _locale.i18n.t(_locale.localeKeys.action.function.ssg),
|
|
91194
|
+
[ActionFunction.Deploy]: () => _locale.i18n.t(_locale.localeKeys.action.function.deploy)
|
|
91195
|
+
};
|
|
91196
|
+
exports.ActionFunctionText = ActionFunctionText;
|
|
91197
|
+
const ActionRefactorText = {
|
|
91198
|
+
[ActionRefactor.BFFToApp]: () => _locale.i18n.t(_locale.localeKeys.action.refactor.bff_to_app)
|
|
91199
|
+
};
|
|
91200
|
+
exports.ActionRefactorText = ActionRefactorText;
|
|
91201
|
+
const ActionTypeTextMap = {
|
|
91202
|
+
[ActionType.Element]: ActionElementText,
|
|
91203
|
+
[ActionType.Function]: ActionFunctionText,
|
|
91204
|
+
[ActionType.Refactor]: ActionRefactorText
|
|
91205
|
+
};
|
|
91206
|
+
exports.ActionTypeTextMap = ActionTypeTextMap;
|
|
91207
|
+
|
|
91208
|
+
/***/ }),
|
|
91209
|
+
|
|
91210
|
+
/***/ 13988:
|
|
91211
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91212
|
+
|
|
91213
|
+
"use strict";
|
|
91214
|
+
|
|
91215
|
+
|
|
91216
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91217
|
+
value: true
|
|
91218
|
+
}));
|
|
91219
|
+
|
|
91220
|
+
var _common = __webpack_require__(78353);
|
|
91221
|
+
|
|
91222
|
+
Object.keys(_common).forEach(function (key) {
|
|
91223
|
+
if (key === "default" || key === "__esModule") return;
|
|
91224
|
+
if (key in exports && exports[key] === _common[key]) return;
|
|
91225
|
+
Object.defineProperty(exports, key, {
|
|
91226
|
+
enumerable: true,
|
|
91227
|
+
get: function () {
|
|
91228
|
+
return _common[key];
|
|
91229
|
+
}
|
|
91230
|
+
});
|
|
91231
|
+
});
|
|
91232
|
+
|
|
91233
|
+
var _mwa = __webpack_require__(27173);
|
|
91234
|
+
|
|
91235
|
+
Object.keys(_mwa).forEach(function (key) {
|
|
91236
|
+
if (key === "default" || key === "__esModule") return;
|
|
91237
|
+
if (key in exports && exports[key] === _mwa[key]) return;
|
|
91238
|
+
Object.defineProperty(exports, key, {
|
|
91239
|
+
enumerable: true,
|
|
91240
|
+
get: function () {
|
|
91241
|
+
return _mwa[key];
|
|
91242
|
+
}
|
|
91243
|
+
});
|
|
91244
|
+
});
|
|
91245
|
+
|
|
91246
|
+
var _module = __webpack_require__(23399);
|
|
91247
|
+
|
|
91248
|
+
Object.keys(_module).forEach(function (key) {
|
|
91249
|
+
if (key === "default" || key === "__esModule") return;
|
|
91250
|
+
if (key in exports && exports[key] === _module[key]) return;
|
|
91251
|
+
Object.defineProperty(exports, key, {
|
|
91252
|
+
enumerable: true,
|
|
91253
|
+
get: function () {
|
|
91254
|
+
return _module[key];
|
|
91255
|
+
}
|
|
91256
|
+
});
|
|
91257
|
+
});
|
|
91258
|
+
|
|
91259
|
+
var _monorepo = __webpack_require__(12225);
|
|
91260
|
+
|
|
91261
|
+
Object.keys(_monorepo).forEach(function (key) {
|
|
91262
|
+
if (key === "default" || key === "__esModule") return;
|
|
91263
|
+
if (key in exports && exports[key] === _monorepo[key]) return;
|
|
91264
|
+
Object.defineProperty(exports, key, {
|
|
91265
|
+
enumerable: true,
|
|
91266
|
+
get: function () {
|
|
91267
|
+
return _monorepo[key];
|
|
91268
|
+
}
|
|
91269
|
+
});
|
|
91270
|
+
});
|
|
91271
|
+
|
|
91272
|
+
/***/ }),
|
|
91273
|
+
|
|
91274
|
+
/***/ 23399:
|
|
91275
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91276
|
+
|
|
91277
|
+
"use strict";
|
|
91278
|
+
|
|
91279
|
+
|
|
91280
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91281
|
+
value: true
|
|
91282
|
+
}));
|
|
91283
|
+
exports.ModuleSpecialSchemaMap = exports.ModuleNewActionSchema = exports.ModuleNewActionGenerators = exports.ModuleActionTypesMap = exports.ModuleActionTypes = exports.ModuleActionFunctionsPeerDependencies = exports.ModuleActionFunctionsDevDependencies = exports.ModuleActionFunctionsDependencies = exports.ModuleActionFunctions = void 0;
|
|
91284
|
+
|
|
91285
|
+
var _common = __webpack_require__(78353);
|
|
91286
|
+
|
|
91287
|
+
var _locale = __webpack_require__(94646);
|
|
91288
|
+
|
|
91289
|
+
const ModuleActionTypes = [_common.ActionType.Function];
|
|
91290
|
+
exports.ModuleActionTypes = ModuleActionTypes;
|
|
91291
|
+
const ModuleActionFunctions = [_common.ActionFunction.TailwindCSS, _common.ActionFunction.Less, _common.ActionFunction.Sass, // ActionFunction.I18n,
|
|
91292
|
+
// ActionFunction.Doc,
|
|
91293
|
+
_common.ActionFunction.Storybook, _common.ActionFunction.RuntimeApi];
|
|
91294
|
+
exports.ModuleActionFunctions = ModuleActionFunctions;
|
|
91295
|
+
const ModuleActionTypesMap = {
|
|
91296
|
+
[_common.ActionType.Function]: ModuleActionFunctions
|
|
91297
|
+
};
|
|
91298
|
+
exports.ModuleActionTypesMap = ModuleActionTypesMap;
|
|
91299
|
+
const ModuleSpecialSchemaMap = {};
|
|
91300
|
+
exports.ModuleSpecialSchemaMap = ModuleSpecialSchemaMap;
|
|
91301
|
+
const ModuleNewActionSchema = {
|
|
91302
|
+
key: 'Module_new_action',
|
|
91303
|
+
isObject: true,
|
|
91304
|
+
items: [{
|
|
91305
|
+
key: 'actionType',
|
|
91306
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.self),
|
|
91307
|
+
type: ['string'],
|
|
91308
|
+
mutualExclusion: true,
|
|
91309
|
+
items: ModuleActionTypes.map(type => ({
|
|
91310
|
+
key: type,
|
|
91311
|
+
label: _common.ActionTypeText[type],
|
|
91312
|
+
type: ['string'],
|
|
91313
|
+
mutualExclusion: true,
|
|
91314
|
+
items: ModuleActionFunctions.map(func => ModuleSpecialSchemaMap[func] || {
|
|
91315
|
+
key: func,
|
|
91316
|
+
label: _common.ActionFunctionText[func]
|
|
91317
|
+
})
|
|
91318
|
+
}))
|
|
91319
|
+
}]
|
|
91320
|
+
};
|
|
91321
|
+
exports.ModuleNewActionSchema = ModuleNewActionSchema;
|
|
91322
|
+
const ModuleActionFunctionsDevDependencies = {
|
|
91323
|
+
[_common.ActionFunction.Doc]: '@modern-js/plugin-docsite',
|
|
91324
|
+
[_common.ActionFunction.Storybook]: '@modern-js/plugin-storybook',
|
|
91325
|
+
[_common.ActionFunction.RuntimeApi]: '@modern-js/runtime',
|
|
91326
|
+
[_common.ActionFunction.TailwindCSS]: 'tailwindcss'
|
|
91327
|
+
};
|
|
91328
|
+
exports.ModuleActionFunctionsDevDependencies = ModuleActionFunctionsDevDependencies;
|
|
91329
|
+
const ModuleActionFunctionsPeerDependencies = {
|
|
91330
|
+
[_common.ActionFunction.RuntimeApi]: '@modern-js/runtime',
|
|
91331
|
+
[_common.ActionFunction.TailwindCSS]: 'tailwindcss'
|
|
91332
|
+
};
|
|
91333
|
+
exports.ModuleActionFunctionsPeerDependencies = ModuleActionFunctionsPeerDependencies;
|
|
91334
|
+
const ModuleActionFunctionsDependencies = {
|
|
91335
|
+
[_common.ActionFunction.I18n]: '@modern-js/plugin-i18n',
|
|
91336
|
+
[_common.ActionFunction.TailwindCSS]: '@modern-js/plugin-tailwindcss',
|
|
91337
|
+
[_common.ActionFunction.Less]: '@modern-js/plugin-less',
|
|
91338
|
+
[_common.ActionFunction.Sass]: '@modern-js/plugin-sass'
|
|
91339
|
+
};
|
|
91340
|
+
exports.ModuleActionFunctionsDependencies = ModuleActionFunctionsDependencies;
|
|
91341
|
+
const ModuleNewActionGenerators = {
|
|
91342
|
+
[_common.ActionType.Function]: {
|
|
91343
|
+
[_common.ActionFunction.TailwindCSS]: '@modern-js/dependence-generator',
|
|
91344
|
+
[_common.ActionFunction.Less]: '@modern-js/dependence-generator',
|
|
91345
|
+
[_common.ActionFunction.Sass]: '@modern-js/dependence-generator',
|
|
91346
|
+
[_common.ActionFunction.I18n]: '@modern-js/dependence-generator',
|
|
91347
|
+
[_common.ActionFunction.Test]: '@modern-js/dependence-generator',
|
|
91348
|
+
[_common.ActionFunction.Doc]: '@modern-js/dependence-generator',
|
|
91349
|
+
[_common.ActionFunction.Storybook]: '@modern-js/storybook-generator',
|
|
91350
|
+
[_common.ActionFunction.RuntimeApi]: '@modern-js/dependence-generator'
|
|
91351
|
+
}
|
|
91352
|
+
};
|
|
91353
|
+
exports.ModuleNewActionGenerators = ModuleNewActionGenerators;
|
|
91354
|
+
|
|
91355
|
+
/***/ }),
|
|
91356
|
+
|
|
91357
|
+
/***/ 12225:
|
|
91358
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91359
|
+
|
|
91360
|
+
"use strict";
|
|
91361
|
+
|
|
91362
|
+
|
|
91363
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91364
|
+
value: true
|
|
91365
|
+
}));
|
|
91366
|
+
exports.MonorepoNewActionSchema = exports.MonorepoNewActionConfig = void 0;
|
|
91367
|
+
|
|
91368
|
+
var _common = __webpack_require__(25523);
|
|
91369
|
+
|
|
91370
|
+
const MonorepoNewActionSchema = {
|
|
91371
|
+
key: 'monorepo_new_action',
|
|
91372
|
+
isObject: true,
|
|
91373
|
+
items: [_common.SubSolutionSchema]
|
|
91374
|
+
};
|
|
91375
|
+
exports.MonorepoNewActionSchema = MonorepoNewActionSchema;
|
|
91376
|
+
const MonorepoNewActionConfig = {
|
|
91377
|
+
[_common.SubSolution.MWA]: {
|
|
91378
|
+
isMonorepoSubProject: true,
|
|
91379
|
+
isTest: false
|
|
91380
|
+
},
|
|
91381
|
+
[_common.SubSolution.MWATest]: {
|
|
91382
|
+
isMonorepoSubProject: true,
|
|
91383
|
+
isTest: true
|
|
91384
|
+
},
|
|
91385
|
+
[_common.SubSolution.Module]: {
|
|
91386
|
+
isMonorepoSubProject: true,
|
|
91387
|
+
isPublic: true
|
|
91388
|
+
},
|
|
91389
|
+
[_common.SubSolution.InnerModule]: {
|
|
91390
|
+
isMonorepoSubProject: true,
|
|
91391
|
+
isPublic: false
|
|
91392
|
+
}
|
|
91393
|
+
};
|
|
91394
|
+
exports.MonorepoNewActionConfig = MonorepoNewActionConfig;
|
|
91395
|
+
|
|
91396
|
+
/***/ }),
|
|
91397
|
+
|
|
91398
|
+
/***/ 27173:
|
|
91399
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
91400
|
+
|
|
91401
|
+
"use strict";
|
|
91402
|
+
|
|
91403
|
+
|
|
91404
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
91405
|
+
value: true
|
|
91406
|
+
}));
|
|
91407
|
+
exports.MWASpecialSchemaMap = exports.MWANewActionSchema = exports.MWANewActionGenerators = exports.MWAActionTypesMap = exports.MWAActionTypes = exports.MWAActionReactors = exports.MWAActionFunctionsDevDependencies = exports.MWAActionFunctionsDependencies = exports.MWAActionFunctions = exports.MWAActionElements = void 0;
|
|
91408
|
+
|
|
91409
|
+
var _common = __webpack_require__(78353);
|
|
91410
|
+
|
|
91411
|
+
var _locale = __webpack_require__(94646);
|
|
91412
|
+
|
|
91413
|
+
const MWAActionTypes = [_common.ActionType.Element, _common.ActionType.Function // ActionType.Refactor,
|
|
91414
|
+
];
|
|
91415
|
+
exports.MWAActionTypes = MWAActionTypes;
|
|
91416
|
+
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,
|
|
91417
|
+
_common.ActionFunction.Test, _common.ActionFunction.Storybook, // ActionFunction.E2ETest,
|
|
91418
|
+
// ActionFunction.Doc,
|
|
91419
|
+
_common.ActionFunction.Deploy];
|
|
91420
|
+
exports.MWAActionFunctions = MWAActionFunctions;
|
|
91421
|
+
const MWAActionElements = [_common.ActionElement.Entry, _common.ActionElement.Server];
|
|
91422
|
+
exports.MWAActionElements = MWAActionElements;
|
|
91423
|
+
const MWAActionReactors = [_common.ActionRefactor.BFFToApp];
|
|
91424
|
+
exports.MWAActionReactors = MWAActionReactors;
|
|
91425
|
+
const MWAActionTypesMap = {
|
|
91426
|
+
[_common.ActionType.Element]: MWAActionElements,
|
|
91427
|
+
[_common.ActionType.Function]: MWAActionFunctions,
|
|
91428
|
+
[_common.ActionType.Refactor]: MWAActionReactors
|
|
91429
|
+
};
|
|
91430
|
+
exports.MWAActionTypesMap = MWAActionTypesMap;
|
|
91431
|
+
const MWASpecialSchemaMap = {
|
|
91432
|
+
[_common.ActionFunction.Storybook]: {
|
|
91433
|
+
key: _common.ActionFunction.Storybook,
|
|
91434
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.function.mwa_storybook)
|
|
91435
|
+
}
|
|
91436
|
+
};
|
|
91437
|
+
exports.MWASpecialSchemaMap = MWASpecialSchemaMap;
|
|
91438
|
+
const MWANewActionSchema = {
|
|
91439
|
+
key: 'mwa_new_action',
|
|
91440
|
+
isObject: true,
|
|
91441
|
+
items: [{
|
|
91442
|
+
key: 'actionType',
|
|
91443
|
+
label: () => _locale.i18n.t(_locale.localeKeys.action.self),
|
|
91444
|
+
type: ['string'],
|
|
91445
|
+
mutualExclusion: true,
|
|
91446
|
+
items: MWAActionTypes.map(type => ({
|
|
91447
|
+
key: type,
|
|
91448
|
+
label: _common.ActionTypeText[type],
|
|
91449
|
+
type: ['string'],
|
|
91450
|
+
mutualExclusion: true,
|
|
91451
|
+
items: MWAActionTypesMap[type].map(item => MWASpecialSchemaMap[item] || {
|
|
91452
|
+
key: item,
|
|
91453
|
+
label: _common.ActionTypeTextMap[type][item]
|
|
91454
|
+
})
|
|
91455
|
+
}))
|
|
91456
|
+
}]
|
|
91457
|
+
};
|
|
91458
|
+
exports.MWANewActionSchema = MWANewActionSchema;
|
|
91459
|
+
const MWAActionFunctionsDevDependencies = {
|
|
91460
|
+
[_common.ActionFunction.UnBundle]: '@modern-js/plugin-unbundle',
|
|
91461
|
+
[_common.ActionFunction.TailwindCSS]: '@modern-js/plugin-tailwindcss',
|
|
91462
|
+
[_common.ActionFunction.Test]: '@modern-js/plugin-testing',
|
|
91463
|
+
[_common.ActionFunction.E2ETest]: '@modern-js/plugin-e2e',
|
|
91464
|
+
[_common.ActionFunction.Doc]: '@modern-js/plugin-docsite',
|
|
91465
|
+
[_common.ActionFunction.Electron]: '@modern-js/plugin-electron',
|
|
91466
|
+
[_common.ActionFunction.Storybook]: '@modern-js/plugin-storybook'
|
|
91467
|
+
};
|
|
91468
|
+
exports.MWAActionFunctionsDevDependencies = MWAActionFunctionsDevDependencies;
|
|
91469
|
+
const MWAActionFunctionsDependencies = {
|
|
91470
|
+
[_common.ActionFunction.Less]: '@modern-js/plugin-less',
|
|
91471
|
+
[_common.ActionFunction.Sass]: '@modern-js/plugin-sass',
|
|
91472
|
+
[_common.ActionFunction.BFF]: '@modern-js/plugin-bff',
|
|
91473
|
+
[_common.ActionFunction.MicroFrontend]: '@modern-js/plugin-micro-frontend',
|
|
91474
|
+
[_common.ActionFunction.I18n]: '@modern-js/plugin-i18n',
|
|
91475
|
+
[_common.ActionFunction.SSG]: '@modern-js/plugin-ssg'
|
|
91476
|
+
};
|
|
91477
|
+
exports.MWAActionFunctionsDependencies = MWAActionFunctionsDependencies;
|
|
91478
|
+
const MWANewActionGenerators = {
|
|
91479
|
+
[_common.ActionType.Element]: {
|
|
91480
|
+
[_common.ActionElement.Entry]: '@modern-js/entry-generator',
|
|
91481
|
+
[_common.ActionElement.Server]: '@modern-js/server-generator'
|
|
91482
|
+
},
|
|
91483
|
+
[_common.ActionType.Function]: {
|
|
91484
|
+
[_common.ActionFunction.UnBundle]: '@modern-js/unbundle-generator',
|
|
91485
|
+
[_common.ActionFunction.TailwindCSS]: '@modern-js/tailwindcss-generator',
|
|
91486
|
+
[_common.ActionFunction.Less]: '@modern-js/dependence-generator',
|
|
91487
|
+
[_common.ActionFunction.Sass]: '@modern-js/dependence-generator',
|
|
91488
|
+
[_common.ActionFunction.BFF]: '@modern-js/bff-generator',
|
|
91489
|
+
[_common.ActionFunction.MicroFrontend]: '@modern-js/dependence-generator',
|
|
91490
|
+
[_common.ActionFunction.Electron]: '@modern-js/electron-generator',
|
|
91491
|
+
[_common.ActionFunction.I18n]: '@modern-js/dependence-generator',
|
|
91492
|
+
[_common.ActionFunction.Test]: '@modern-js/test-generator',
|
|
91493
|
+
[_common.ActionFunction.E2ETest]: '@modern-js/dependence-generator',
|
|
91494
|
+
[_common.ActionFunction.Doc]: '@modern-js/dependence-generator',
|
|
91495
|
+
[_common.ActionFunction.Storybook]: '@modern-js/dependence-generator',
|
|
91496
|
+
[_common.ActionFunction.SSG]: '@modern-js/ssg-generator',
|
|
91497
|
+
[_common.ActionFunction.Deploy]: '@modern-js/cloud-deploy-generator'
|
|
91498
|
+
},
|
|
91499
|
+
[_common.ActionType.Refactor]: {
|
|
91500
|
+
[_common.ActionRefactor.BFFToApp]: '@modern-js/bff-refactor-generator'
|
|
91501
|
+
}
|
|
91502
|
+
};
|
|
91503
|
+
exports.MWANewActionGenerators = MWANewActionGenerators;
|
|
91504
|
+
|
|
89340
91505
|
/***/ }),
|
|
89341
91506
|
|
|
89342
91507
|
/***/ 39491:
|
|
@@ -89675,10 +91840,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
89675
91840
|
}));
|
|
89676
91841
|
exports["default"] = void 0;
|
|
89677
91842
|
|
|
89678
|
-
var _codesmithApiApp = __webpack_require__(
|
|
91843
|
+
var _codesmithApiApp = __webpack_require__(83028);
|
|
91844
|
+
|
|
91845
|
+
var _generatorCommon = __webpack_require__(50828);
|
|
89679
91846
|
|
|
89680
|
-
const handleTemplateFile = async appApi => {
|
|
89681
|
-
await appApi.
|
|
91847
|
+
const handleTemplateFile = async (context, appApi) => {
|
|
91848
|
+
await appApi.getInputBySchema(_generatorCommon.BaseSchema, context.config);
|
|
91849
|
+
await appApi.forgeTemplate('templates/base-templates/**/*', undefined, resourceKey => resourceKey.replace('templates/base-templates/', '').replace('.handlebars', ''));
|
|
91850
|
+
await appApi.forgeTemplate('templates/idea/**/*', undefined, resourceKey => resourceKey.replace('templates/idea/', '.idea/'));
|
|
89682
91851
|
};
|
|
89683
91852
|
|
|
89684
91853
|
var _default = async (context, generator) => {
|
|
@@ -89698,7 +91867,7 @@ var _default = async (context, generator) => {
|
|
|
89698
91867
|
generator.logger.debug(`start run @modern-js/base-generator`);
|
|
89699
91868
|
generator.logger.debug(`context=${JSON.stringify(context)}`);
|
|
89700
91869
|
generator.logger.debug(`context.data=${JSON.stringify(context.data)}`);
|
|
89701
|
-
await handleTemplateFile(appApi);
|
|
91870
|
+
await handleTemplateFile(context, appApi);
|
|
89702
91871
|
|
|
89703
91872
|
if (context.handleForged) {
|
|
89704
91873
|
await context.handleForged('base-generator', context, context.config.hasPlugin);
|