@modern-js/repo-generator 0.0.0-next-20240731082401 → 0.0.0-next-20240731143838

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.
Files changed (2) hide show
  1. package/dist/index.js +121 -119
  2. package/package.json +10 -10
package/dist/index.js CHANGED
@@ -73371,7 +73371,7 @@ function isEmpty(val, strict) {
73371
73371
  return false;
73372
73372
  }
73373
73373
 
73374
- // ../../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
73374
+ // ../../../../node_modules/.pnpm/tslib@2.6.3/node_modules/tslib/tslib.es6.mjs
73375
73375
  var __assign = function() {
73376
73376
  __assign = Object.assign || function __assign11(t) {
73377
73377
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -73384,82 +73384,6 @@ var __assign = function() {
73384
73384
  };
73385
73385
  return __assign.apply(this, arguments);
73386
73386
  };
73387
- function __generator(thisArg, body) {
73388
- var _ = { label: 0, sent: function() {
73389
- if (t[0] & 1)
73390
- throw t[1];
73391
- return t[1];
73392
- }, trys: [], ops: [] }, f, y, t, g;
73393
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
73394
- return this;
73395
- }), g;
73396
- function verb(n) {
73397
- return function(v) {
73398
- return step([n, v]);
73399
- };
73400
- }
73401
- function step(op) {
73402
- if (f)
73403
- throw new TypeError("Generator is already executing.");
73404
- while (g && (g = 0, op[0] && (_ = 0)), _)
73405
- try {
73406
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
73407
- return t;
73408
- if (y = 0, t)
73409
- op = [op[0] & 2, t.value];
73410
- switch (op[0]) {
73411
- case 0:
73412
- case 1:
73413
- t = op;
73414
- break;
73415
- case 4:
73416
- _.label++;
73417
- return { value: op[1], done: false };
73418
- case 5:
73419
- _.label++;
73420
- y = op[1];
73421
- op = [0];
73422
- continue;
73423
- case 7:
73424
- op = _.ops.pop();
73425
- _.trys.pop();
73426
- continue;
73427
- default:
73428
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
73429
- _ = 0;
73430
- continue;
73431
- }
73432
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
73433
- _.label = op[1];
73434
- break;
73435
- }
73436
- if (op[0] === 6 && _.label < t[1]) {
73437
- _.label = t[1];
73438
- t = op;
73439
- break;
73440
- }
73441
- if (t && _.label < t[2]) {
73442
- _.label = t[2];
73443
- _.ops.push(op);
73444
- break;
73445
- }
73446
- if (t[2])
73447
- _.ops.pop();
73448
- _.trys.pop();
73449
- continue;
73450
- }
73451
- op = body.call(thisArg, _);
73452
- } catch (e) {
73453
- op = [6, e];
73454
- y = 0;
73455
- } finally {
73456
- f = t = 0;
73457
- }
73458
- if (op[0] & 5)
73459
- throw op[1];
73460
- return { value: op[0] ? op[1] : void 0, done: true };
73461
- }
73462
- }
73463
73387
 
73464
73388
  // ../../../../node_modules/.pnpm/lower-case@2.0.2/node_modules/lower-case/dist.es2015/index.js
73465
73389
  function lowerCase(str) {
@@ -77723,7 +77647,7 @@ var __awaiter = function(thisArg, _arguments, P, generator) {
77723
77647
  step((generator = generator.apply(thisArg, _arguments || [])).next());
77724
77648
  });
77725
77649
  };
77726
- var __generator2 = function(thisArg, body) {
77650
+ var __generator = function(thisArg, body) {
77727
77651
  var _ = { label: 0, sent: function() {
77728
77652
  if (t[0] & 1)
77729
77653
  throw t[1];
@@ -77852,7 +77776,7 @@ var parseValidatorRules = function(rules) {
77852
77776
  return function(value, context) {
77853
77777
  return __awaiter(void 0, void 0, void 0, function() {
77854
77778
  var context_, results, e_1;
77855
- return __generator2(this, function(_a2) {
77779
+ return __generator(this, function(_a2) {
77856
77780
  switch (_a2.label) {
77857
77781
  case 0:
77858
77782
  context_ = getContext(context, value);
@@ -78214,7 +78138,7 @@ var __awaiter2 = function(thisArg, _arguments, P, generator) {
78214
78138
  step((generator = generator.apply(thisArg, _arguments || [])).next());
78215
78139
  });
78216
78140
  };
78217
- var __generator3 = function(thisArg, body) {
78141
+ var __generator2 = function(thisArg, body) {
78218
78142
  var _ = { label: 0, sent: function() {
78219
78143
  if (t[0] & 1)
78220
78144
  throw t[1];
@@ -78412,7 +78336,7 @@ var RULES = {
78412
78336
  validator: function(value, rule, context, format) {
78413
78337
  return __awaiter2(this, void 0, void 0, function() {
78414
78338
  var response;
78415
- return __generator3(this, function(_a2) {
78339
+ return __generator2(this, function(_a2) {
78416
78340
  switch (_a2.label) {
78417
78341
  case 0:
78418
78342
  if (!isFn(rule.validator))
@@ -78517,7 +78441,7 @@ var __awaiter3 = function(thisArg, _arguments, P, generator) {
78517
78441
  step((generator = generator.apply(thisArg, _arguments || [])).next());
78518
78442
  });
78519
78443
  };
78520
- var __generator4 = function(thisArg, body) {
78444
+ var __generator3 = function(thisArg, body) {
78521
78445
  var _ = { label: 0, sent: function() {
78522
78446
  if (t[0] & 1)
78523
78447
  throw t[1];
@@ -78599,7 +78523,7 @@ registerValidateFormats(formats_default);
78599
78523
  var validate = function(value, validator, options) {
78600
78524
  return __awaiter3(void 0, void 0, void 0, function() {
78601
78525
  var validates, results, i, result, type, message;
78602
- return __generator4(this, function(_a2) {
78526
+ return __generator3(this, function(_a2) {
78603
78527
  switch (_a2.label) {
78604
78528
  case 0:
78605
78529
  validates = parseValidator(validator, options);
@@ -78778,7 +78702,7 @@ var __awaiter4 = function(thisArg, _arguments, P, generator) {
78778
78702
  step((generator = generator.apply(thisArg, _arguments || [])).next());
78779
78703
  });
78780
78704
  };
78781
- var __generator5 = function(thisArg, body) {
78705
+ var __generator4 = function(thisArg, body) {
78782
78706
  var _ = { label: 0, sent: function() {
78783
78707
  if (t[0] & 1)
78784
78708
  throw t[1];
@@ -79082,7 +79006,7 @@ var validateToFeedbacks = function(field, triggerType) {
79082
79006
  return __awaiter4(void 0, void 0, void 0, function() {
79083
79007
  var results;
79084
79008
  var _a2;
79085
- return __generator5(this, function(_b) {
79009
+ return __generator4(this, function(_b) {
79086
79010
  switch (_b.label) {
79087
79011
  case 0:
79088
79012
  return [4, validate(field.value, field.validator, {
@@ -79522,7 +79446,7 @@ var setLoading = function(target, loading) {
79522
79446
  var batchSubmit = function(target, onSubmit) {
79523
79447
  return __awaiter4(void 0, void 0, void 0, function() {
79524
79448
  var getValues, e_1, results, e_2;
79525
- return __generator5(this, function(_a2) {
79449
+ return __generator4(this, function(_a2) {
79526
79450
  switch (_a2.label) {
79527
79451
  case 0:
79528
79452
  getValues = function(target2) {
@@ -79582,7 +79506,7 @@ var batchSubmit = function(target, onSubmit) {
79582
79506
  var batchValidate = function(target, pattern, triggerType) {
79583
79507
  return __awaiter4(void 0, void 0, void 0, function() {
79584
79508
  var tasks;
79585
- return __generator5(this, function(_a2) {
79509
+ return __generator4(this, function(_a2) {
79586
79510
  switch (_a2.label) {
79587
79511
  case 0:
79588
79512
  if (isForm(target))
@@ -79621,7 +79545,7 @@ var batchValidate = function(target, pattern, triggerType) {
79621
79545
  var batchReset = function(target, pattern, options) {
79622
79546
  return __awaiter4(void 0, void 0, void 0, function() {
79623
79547
  var tasks;
79624
- return __generator5(this, function(_a2) {
79548
+ return __generator4(this, function(_a2) {
79625
79549
  switch (_a2.label) {
79626
79550
  case 0:
79627
79551
  tasks = [];
@@ -79651,7 +79575,7 @@ var validateSelf = batch.bound(function(target, triggerType, noEmit) {
79651
79575
  }
79652
79576
  return __awaiter4(void 0, void 0, void 0, function() {
79653
79577
  var start, end, allTriggerTypes, results_1, i, payload, results;
79654
- return __generator5(this, function(_a2) {
79578
+ return __generator4(this, function(_a2) {
79655
79579
  switch (_a2.label) {
79656
79580
  case 0:
79657
79581
  start = function() {
@@ -79711,7 +79635,7 @@ var resetSelf = batch.bound(function(target, options, noEmit) {
79711
79635
  }
79712
79636
  return __awaiter4(void 0, void 0, void 0, function() {
79713
79637
  var typedDefaultValue, initialValue;
79714
- return __generator5(this, function(_a2) {
79638
+ return __generator4(this, function(_a2) {
79715
79639
  switch (_a2.label) {
79716
79640
  case 0:
79717
79641
  typedDefaultValue = getTypedDefaultValue(target);
@@ -80357,7 +80281,7 @@ var __awaiter5 = function(thisArg, _arguments, P, generator) {
80357
80281
  step((generator = generator.apply(thisArg, _arguments || [])).next());
80358
80282
  });
80359
80283
  };
80360
- var __generator6 = function(thisArg, body) {
80284
+ var __generator5 = function(thisArg, body) {
80361
80285
  var _ = { label: 0, sent: function() {
80362
80286
  if (t[0] & 1)
80363
80287
  throw t[1];
@@ -80509,7 +80433,7 @@ var Field = (
80509
80433
  }
80510
80434
  return __awaiter5(_this, void 0, void 0, function() {
80511
80435
  var getValues, values, value;
80512
- return __generator6(this, function(_a2) {
80436
+ return __generator5(this, function(_a2) {
80513
80437
  switch (_a2.label) {
80514
80438
  case 0:
80515
80439
  getValues = function(args2) {
@@ -80548,7 +80472,7 @@ var Field = (
80548
80472
  }
80549
80473
  return __awaiter5(_this, void 0, void 0, function() {
80550
80474
  var _a2;
80551
- return __generator6(this, function(_b) {
80475
+ return __generator5(this, function(_b) {
80552
80476
  switch (_b.label) {
80553
80477
  case 0:
80554
80478
  if ((_a2 = args[0]) === null || _a2 === void 0 ? void 0 : _a2.target) {
@@ -80578,7 +80502,7 @@ var Field = (
80578
80502
  }
80579
80503
  return __awaiter5(_this, void 0, void 0, function() {
80580
80504
  var _a2;
80581
- return __generator6(this, function(_b) {
80505
+ return __generator5(this, function(_b) {
80582
80506
  switch (_b.label) {
80583
80507
  case 0:
80584
80508
  if ((_a2 = args[0]) === null || _a2 === void 0 ? void 0 : _a2.target) {
@@ -84631,6 +84555,84 @@ function _to_consumable_array(arr) {
84631
84555
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
84632
84556
  }
84633
84557
 
84558
+ // ../../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
84559
+ function __generator6(thisArg, body) {
84560
+ var _ = { label: 0, sent: function() {
84561
+ if (t[0] & 1)
84562
+ throw t[1];
84563
+ return t[1];
84564
+ }, trys: [], ops: [] }, f, y, t, g;
84565
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
84566
+ return this;
84567
+ }), g;
84568
+ function verb(n) {
84569
+ return function(v) {
84570
+ return step([n, v]);
84571
+ };
84572
+ }
84573
+ function step(op) {
84574
+ if (f)
84575
+ throw new TypeError("Generator is already executing.");
84576
+ while (g && (g = 0, op[0] && (_ = 0)), _)
84577
+ try {
84578
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
84579
+ return t;
84580
+ if (y = 0, t)
84581
+ op = [op[0] & 2, t.value];
84582
+ switch (op[0]) {
84583
+ case 0:
84584
+ case 1:
84585
+ t = op;
84586
+ break;
84587
+ case 4:
84588
+ _.label++;
84589
+ return { value: op[1], done: false };
84590
+ case 5:
84591
+ _.label++;
84592
+ y = op[1];
84593
+ op = [0];
84594
+ continue;
84595
+ case 7:
84596
+ op = _.ops.pop();
84597
+ _.trys.pop();
84598
+ continue;
84599
+ default:
84600
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
84601
+ _ = 0;
84602
+ continue;
84603
+ }
84604
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
84605
+ _.label = op[1];
84606
+ break;
84607
+ }
84608
+ if (op[0] === 6 && _.label < t[1]) {
84609
+ _.label = t[1];
84610
+ t = op;
84611
+ break;
84612
+ }
84613
+ if (t && _.label < t[2]) {
84614
+ _.label = t[2];
84615
+ _.ops.push(op);
84616
+ break;
84617
+ }
84618
+ if (t[2])
84619
+ _.ops.pop();
84620
+ _.trys.pop();
84621
+ continue;
84622
+ }
84623
+ op = body.call(thisArg, _);
84624
+ } catch (e) {
84625
+ op = [6, e];
84626
+ y = 0;
84627
+ } finally {
84628
+ f = t = 0;
84629
+ }
84630
+ if (op[0] & 5)
84631
+ throw op[1];
84632
+ return { value: op[0] ? op[1] : void 0, done: true };
84633
+ }
84634
+ }
84635
+
84634
84636
  // ../../generator-plugin/dist/esm/index.js
84635
84637
  var import_path17 = __toESM(require("path"));
84636
84638
  var import_lodash13 = require("@modern-js/utils/lodash");
@@ -84735,7 +84737,7 @@ function fileExists(filePath) {
84735
84737
  function _fileExists() {
84736
84738
  _fileExists = _async_to_generator(function(filePath) {
84737
84739
  var e;
84738
- return __generator(this, function(_state) {
84740
+ return __generator6(this, function(_state) {
84739
84741
  switch (_state.label) {
84740
84742
  case 0:
84741
84743
  _state.trys.push([
@@ -84792,7 +84794,7 @@ function addFile(config, projectPath, templatePath, renderString3) {
84792
84794
  function _addFile() {
84793
84795
  _addFile = _async_to_generator(function(config, projectPath, templatePath, renderString3) {
84794
84796
  var fileDestPath, destExists, absTemplatePath, rawTemplate, _config_templateFile, template;
84795
- return __generator(this, function(_state) {
84797
+ return __generator6(this, function(_state) {
84796
84798
  switch (_state.label) {
84797
84799
  case 0:
84798
84800
  fileDestPath = import_path13.default.join(projectPath, config.file);
@@ -84872,7 +84874,7 @@ function addManyFiles(config, projectPath, templatePath, renderString3) {
84872
84874
  function _addManyFiles() {
84873
84875
  _addManyFiles = _async_to_generator(function(config, projectPath, templatePath, renderString3) {
84874
84876
  var _config_templateBase, dest, templateFiles, filesAdded, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, templateFile, absTemplatePath, targetFile, fileCfg, addedPath, err;
84875
- return __generator(this, function(_state) {
84877
+ return __generator6(this, function(_state) {
84876
84878
  switch (_state.label) {
84877
84879
  case 0:
84878
84880
  dest = config.destination;
@@ -85059,7 +85061,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
85059
85061
  _proto.addFile = function addFile1(params) {
85060
85062
  var _this = this;
85061
85063
  return _async_to_generator(function() {
85062
- return __generator(this, function(_state) {
85064
+ return __generator6(this, function(_state) {
85063
85065
  switch (_state.label) {
85064
85066
  case 0:
85065
85067
  return [
@@ -85078,7 +85080,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
85078
85080
  _proto.addManyFiles = function addManyFiles1(params) {
85079
85081
  var _this = this;
85080
85082
  return _async_to_generator(function() {
85081
- return __generator(this, function(_state) {
85083
+ return __generator6(this, function(_state) {
85082
85084
  switch (_state.label) {
85083
85085
  case 0:
85084
85086
  return [
@@ -85098,7 +85100,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
85098
85100
  var _this = this;
85099
85101
  return _async_to_generator(function() {
85100
85102
  var fsMaterial;
85101
- return __generator(this, function(_state) {
85103
+ return __generator6(this, function(_state) {
85102
85104
  switch (_state.label) {
85103
85105
  case 0:
85104
85106
  fsMaterial = new FsMaterial(_this.projectPath);
@@ -85124,7 +85126,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
85124
85126
  var _this = this;
85125
85127
  return _async_to_generator(function() {
85126
85128
  var update;
85127
- return __generator(this, function(_state) {
85129
+ return __generator6(this, function(_state) {
85128
85130
  switch (_state.label) {
85129
85131
  case 0:
85130
85132
  update = {};
@@ -85148,7 +85150,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
85148
85150
  var _this = this;
85149
85151
  return _async_to_generator(function() {
85150
85152
  var content, newContent;
85151
- return __generator(this, function(_state) {
85153
+ return __generator6(this, function(_state) {
85152
85154
  switch (_state.label) {
85153
85155
  case 0:
85154
85156
  return [
@@ -85175,7 +85177,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
85175
85177
  var _this = this;
85176
85178
  return _async_to_generator(function() {
85177
85179
  var file;
85178
- return __generator(this, function(_state) {
85180
+ return __generator6(this, function(_state) {
85179
85181
  switch (_state.label) {
85180
85182
  case 0:
85181
85183
  file = import_path14.default.join(_this.projectPath, fileName);
@@ -85208,7 +85210,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
85208
85210
  var _this = this;
85209
85211
  return _async_to_generator(function() {
85210
85212
  var dir, stat, e;
85211
- return __generator(this, function(_state) {
85213
+ return __generator6(this, function(_state) {
85212
85214
  switch (_state.label) {
85213
85215
  case 0:
85214
85216
  dir = import_path14.default.join(_this.projectPath, dirName);
@@ -85262,7 +85264,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
85262
85264
  _proto.isFileExist = function isFileExist(fileName) {
85263
85265
  var _this = this;
85264
85266
  return _async_to_generator(function() {
85265
- return __generator(this, function(_state) {
85267
+ return __generator6(this, function(_state) {
85266
85268
  return [
85267
85269
  2,
85268
85270
  fileExists(import_path14.default.join(_this.projectPath, fileName))
@@ -85273,7 +85275,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
85273
85275
  _proto.readDir = function readDir(dir) {
85274
85276
  var _this = this;
85275
85277
  return _async_to_generator(function() {
85276
- return __generator(this, function(_state) {
85278
+ return __generator6(this, function(_state) {
85277
85279
  return [
85278
85280
  2,
85279
85281
  import_utils50.fs.readdir(import_path14.default.join(_this.projectPath, dir))
@@ -85329,7 +85331,7 @@ var PluginGitAPI = /* @__PURE__ */ function() {
85329
85331
  _proto.isInGitRepo = function isInGitRepo2() {
85330
85332
  var _this = this;
85331
85333
  return _async_to_generator(function() {
85332
- return __generator(this, function(_state) {
85334
+ return __generator6(this, function(_state) {
85333
85335
  return [
85334
85336
  2,
85335
85337
  _this.gitApi.isInGitRepo(_this.projectPath)
@@ -85340,7 +85342,7 @@ var PluginGitAPI = /* @__PURE__ */ function() {
85340
85342
  _proto.initGitRepo = function initGitRepo2() {
85341
85343
  var _this = this;
85342
85344
  return _async_to_generator(function() {
85343
- return __generator(this, function(_state) {
85345
+ return __generator6(this, function(_state) {
85344
85346
  switch (_state.label) {
85345
85347
  case 0:
85346
85348
  return [
@@ -85360,7 +85362,7 @@ var PluginGitAPI = /* @__PURE__ */ function() {
85360
85362
  var commitMessage = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "feat: init";
85361
85363
  var _this = this;
85362
85364
  return _async_to_generator(function() {
85363
- return __generator(this, function(_state) {
85365
+ return __generator6(this, function(_state) {
85364
85366
  switch (_state.label) {
85365
85367
  case 0:
85366
85368
  return [
@@ -85591,7 +85593,7 @@ var PluginNpmAPI = /* @__PURE__ */ function() {
85591
85593
  _proto.install = function install() {
85592
85594
  var _this = this;
85593
85595
  return _async_to_generator(function() {
85594
- return __generator(this, function(_state) {
85596
+ return __generator6(this, function(_state) {
85595
85597
  switch (_state.label) {
85596
85598
  case 0:
85597
85599
  if (!(_this.packageManager === PackageManager.Pnpm))
@@ -85949,7 +85951,7 @@ var PluginNewAPI = /* @__PURE__ */ function() {
85949
85951
  _proto.createElement = function createElement(element, params) {
85950
85952
  var _this = this;
85951
85953
  return _async_to_generator(function() {
85952
- return __generator(this, function(_state) {
85954
+ return __generator6(this, function(_state) {
85953
85955
  switch (_state.label) {
85954
85956
  case 0:
85955
85957
  if (!(_this.solution === Solution.MWA))
@@ -85985,7 +85987,7 @@ var PluginNewAPI = /* @__PURE__ */ function() {
85985
85987
  _proto.enableFunc = function enableFunc(func, params) {
85986
85988
  var _this = this;
85987
85989
  return _async_to_generator(function() {
85988
- return __generator(this, function(_state) {
85990
+ return __generator6(this, function(_state) {
85989
85991
  switch (_state.label) {
85990
85992
  case 0:
85991
85993
  if (!(_this.solution === Solution.MWA))
@@ -86138,7 +86140,7 @@ function getPackageMeta(packageName, packageVersion, options) {
86138
86140
  function _getPackageMeta() {
86139
86141
  _getPackageMeta = _async_to_generator(function(packageName, packageVersion, options) {
86140
86142
  var registryUrl, params, getPkgInfoPromise, stdout, pkgMetaInfo;
86141
- return __generator(this, function(_state) {
86143
+ return __generator6(this, function(_state) {
86142
86144
  switch (_state.label) {
86143
86145
  case 0:
86144
86146
  registryUrl = (options || {}).registryUrl;
@@ -86193,13 +86195,13 @@ function installPlugins(plugins, registryUrl) {
86193
86195
  }
86194
86196
  function _installPlugins() {
86195
86197
  _installPlugins = _async_to_generator(function(plugins, registryUrl) {
86196
- return __generator(this, function(_state) {
86198
+ return __generator6(this, function(_state) {
86197
86199
  return [
86198
86200
  2,
86199
86201
  Promise.all(plugins.map(function() {
86200
86202
  var _ref = _async_to_generator(function(plugin) {
86201
86203
  var pluginPath, _getPackageInfo, name, version, pluginPath1;
86202
- return __generator(this, function(_state2) {
86204
+ return __generator6(this, function(_state2) {
86203
86205
  switch (_state2.label) {
86204
86206
  case 0:
86205
86207
  if (plugin.startsWith("file:")) {
@@ -86302,7 +86304,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86302
86304
  _proto.setupPlugin = function setupPlugin(plugins, registry2) {
86303
86305
  var _this = this;
86304
86306
  return _async_to_generator(function() {
86305
- return __generator(this, function(_state) {
86307
+ return __generator6(this, function(_state) {
86306
86308
  switch (_state.label) {
86307
86309
  case 0:
86308
86310
  return [
@@ -86310,7 +86312,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86310
86312
  Promise.all(plugins.map(function() {
86311
86313
  var _ref = _async_to_generator(function(plugin) {
86312
86314
  var pkgJSON, _getPackageInfo, name, pkgVersion, meta;
86313
- return __generator(this, function(_state2) {
86315
+ return __generator6(this, function(_state2) {
86314
86316
  switch (_state2.label) {
86315
86317
  case 0:
86316
86318
  if (!plugin.startsWith("file:"))
@@ -86472,7 +86474,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86472
86474
  var _this = this;
86473
86475
  return _async_to_generator(function() {
86474
86476
  var plugins, plugin, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, info;
86475
- return __generator(this, function(_state) {
86477
+ return __generator6(this, function(_state) {
86476
86478
  switch (_state.label) {
86477
86479
  case 0:
86478
86480
  plugins = [];
@@ -86555,7 +86557,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86555
86557
  var _this = this;
86556
86558
  return _async_to_generator(function() {
86557
86559
  var generatorPlugin, restData, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, info, _info_context, _info_context1, onForgedFunc, err, _iteratorNormalCompletion1, _didIteratorError1, _iteratorError1, _iterator1, _step1, info1, _info_context2, afterForged, err;
86558
- return __generator(this, function(_state) {
86560
+ return __generator6(this, function(_state) {
86559
86561
  switch (_state.label) {
86560
86562
  case 0:
86561
86563
  _this.logger.info(i18n4.t(localeKeys4.run_plugin));
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20240731082401",
18
+ "version": "0.0.0-next-20240731143838",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -23,7 +23,7 @@
23
23
  "/dist/index.js"
24
24
  ],
25
25
  "dependencies": {
26
- "@modern-js/utils": "0.0.0-next-20240731082401"
26
+ "@modern-js/utils": "0.0.0-next-20240731143838"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@modern-js/codesmith": "2.3.5",
@@ -32,14 +32,14 @@
32
32
  "@types/node": "^14",
33
33
  "jest": "^29",
34
34
  "typescript": "^5",
35
- "@modern-js/base-generator": "0.0.0-next-20240731082401",
36
- "@modern-js/generator-plugin": "0.0.0-next-20240731082401",
37
- "@modern-js/generator-utils": "0.0.0-next-20240731082401",
38
- "@modern-js/generator-common": "0.0.0-next-20240731082401",
39
- "@modern-js/module-generator": "0.0.0-next-20240731082401",
40
- "@modern-js/mwa-generator": "0.0.0-next-20240731082401",
41
- "@scripts/build": "0.0.0-next-20240731082401",
42
- "@scripts/jest-config": "0.0.0-next-20240731082401"
35
+ "@modern-js/base-generator": "0.0.0-next-20240731143838",
36
+ "@modern-js/generator-common": "0.0.0-next-20240731143838",
37
+ "@modern-js/generator-utils": "0.0.0-next-20240731143838",
38
+ "@modern-js/generator-plugin": "0.0.0-next-20240731143838",
39
+ "@modern-js/module-generator": "0.0.0-next-20240731143838",
40
+ "@modern-js/mwa-generator": "0.0.0-next-20240731143838",
41
+ "@scripts/jest-config": "0.0.0-next-20240731143838",
42
+ "@scripts/build": "0.0.0-next-20240731143838"
43
43
  },
44
44
  "sideEffects": false,
45
45
  "publishConfig": {