@modern-js/repo-generator 3.1.10 → 3.1.11

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 +105 -61
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -11738,7 +11738,7 @@ var require_ora = __commonJS({
11738
11738
  throw new TypeError("Cannot call a class as a function");
11739
11739
  }
11740
11740
  }
11741
- function _defineProperties24(e3, t3) {
11741
+ function _defineProperties25(e3, t3) {
11742
11742
  for (var r3 = 0; r3 < t3.length; r3++) {
11743
11743
  var i2 = t3[r3];
11744
11744
  i2.enumerable = i2.enumerable || false;
@@ -11750,9 +11750,9 @@ var require_ora = __commonJS({
11750
11750
  }
11751
11751
  function _createClass16(e3, t3, r3) {
11752
11752
  if (t3)
11753
- _defineProperties24(e3.prototype, t3);
11753
+ _defineProperties25(e3.prototype, t3);
11754
11754
  if (r3)
11755
- _defineProperties24(e3, r3);
11755
+ _defineProperties25(e3, r3);
11756
11756
  return e3;
11757
11757
  }
11758
11758
  var i = r2(300), n = i.Buffer;
@@ -79689,7 +79689,7 @@ var require_buffer_list = __commonJS({
79689
79689
  throw new TypeError("Cannot call a class as a function");
79690
79690
  }
79691
79691
  }
79692
- function _defineProperties24(target, props) {
79692
+ function _defineProperties25(target, props) {
79693
79693
  for (var i = 0; i < props.length; i++) {
79694
79694
  var descriptor = props[i];
79695
79695
  descriptor.enumerable = descriptor.enumerable || false;
@@ -79701,9 +79701,9 @@ var require_buffer_list = __commonJS({
79701
79701
  }
79702
79702
  function _createClass16(Constructor, protoProps, staticProps) {
79703
79703
  if (protoProps)
79704
- _defineProperties24(Constructor.prototype, protoProps);
79704
+ _defineProperties25(Constructor.prototype, protoProps);
79705
79705
  if (staticProps)
79706
- _defineProperties24(Constructor, staticProps);
79706
+ _defineProperties25(Constructor, staticProps);
79707
79707
  return Constructor;
79708
79708
  }
79709
79709
  var _require = require("buffer");
@@ -103112,7 +103112,7 @@ var require_ora3 = __commonJS({
103112
103112
  throw new TypeError("Cannot call a class as a function");
103113
103113
  }
103114
103114
  }
103115
- function _defineProperties24(e3, t3) {
103115
+ function _defineProperties25(e3, t3) {
103116
103116
  for (var r3 = 0; r3 < t3.length; r3++) {
103117
103117
  var i2 = t3[r3];
103118
103118
  i2.enumerable = i2.enumerable || false;
@@ -103124,9 +103124,9 @@ var require_ora3 = __commonJS({
103124
103124
  }
103125
103125
  function _createClass16(e3, t3, r3) {
103126
103126
  if (t3)
103127
- _defineProperties24(e3.prototype, t3);
103127
+ _defineProperties25(e3.prototype, t3);
103128
103128
  if (r3)
103129
- _defineProperties24(e3, r3);
103129
+ _defineProperties25(e3, r3);
103130
103130
  return e3;
103131
103131
  }
103132
103132
  var i = r2(300), n = i.Buffer;
@@ -147348,7 +147348,7 @@ function addFile(config, projectPath, templatePath, renderString3) {
147348
147348
  }
147349
147349
  function _addFile() {
147350
147350
  _addFile = _async_to_generator(function(config, projectPath, templatePath, renderString3) {
147351
- var fileDestPath, destExists, absTemplatePath, rawTemplate, template;
147351
+ var fileDestPath, destExists, absTemplatePath, rawTemplate, _config_templateFile, template;
147352
147352
  return __generator34(this, function(_state) {
147353
147353
  switch (_state.label) {
147354
147354
  case 0:
@@ -147409,7 +147409,7 @@ function _addFile() {
147409
147409
  case 7:
147410
147410
  return [
147411
147411
  4,
147412
- import_fs_extra.default.writeFile(fileDestPath, renderString3(template, config.data || {}), "utf8")
147412
+ import_fs_extra.default.writeFile(fileDestPath, renderString3(template, config.data || {}, ((_config_templateFile = config.templateFile) === null || _config_templateFile === void 0 ? void 0 : _config_templateFile.endsWith(".ejs")) ? "ejs" : "handlebars"), "utf8")
147413
147413
  ];
147414
147414
  case 8:
147415
147415
  _state.sent();
@@ -147625,6 +147625,46 @@ var PluginHandlebarsAPI = /* @__PURE__ */ function() {
147625
147625
  return PluginHandlebarsAPI2;
147626
147626
  }();
147627
147627
 
147628
+ // ../../generator-plugin/dist/esm/context/ejs.js
147629
+ var import_ejs2 = __toESM(require_ejs());
147630
+ function _class_call_check2(instance, Constructor) {
147631
+ if (!(instance instanceof Constructor)) {
147632
+ throw new TypeError("Cannot call a class as a function");
147633
+ }
147634
+ }
147635
+ function _defineProperties17(target, props) {
147636
+ for (var i = 0; i < props.length; i++) {
147637
+ var descriptor = props[i];
147638
+ descriptor.enumerable = descriptor.enumerable || false;
147639
+ descriptor.configurable = true;
147640
+ if ("value" in descriptor)
147641
+ descriptor.writable = true;
147642
+ Object.defineProperty(target, descriptor.key, descriptor);
147643
+ }
147644
+ }
147645
+ function _create_class2(Constructor, protoProps, staticProps) {
147646
+ if (protoProps)
147647
+ _defineProperties17(Constructor.prototype, protoProps);
147648
+ if (staticProps)
147649
+ _defineProperties17(Constructor, staticProps);
147650
+ return Constructor;
147651
+ }
147652
+ var PluginEjsAPI = /* @__PURE__ */ function() {
147653
+ "use strict";
147654
+ function PluginEjsAPI2() {
147655
+ _class_call_check2(this, PluginEjsAPI2);
147656
+ }
147657
+ _create_class2(PluginEjsAPI2, [
147658
+ {
147659
+ key: "renderString",
147660
+ value: function renderString3(template, data) {
147661
+ return import_ejs2.default.render(template, data) || "";
147662
+ }
147663
+ }
147664
+ ]);
147665
+ return PluginEjsAPI2;
147666
+ }();
147667
+
147628
147668
  // ../../generator-plugin/dist/esm/context/file.js
147629
147669
  function asyncGeneratorStep30(gen, resolve, reject, _next, _throw, key, arg) {
147630
147670
  try {
@@ -147655,12 +147695,12 @@ function _async_to_generator2(fn) {
147655
147695
  });
147656
147696
  };
147657
147697
  }
147658
- function _class_call_check2(instance, Constructor) {
147698
+ function _class_call_check3(instance, Constructor) {
147659
147699
  if (!(instance instanceof Constructor)) {
147660
147700
  throw new TypeError("Cannot call a class as a function");
147661
147701
  }
147662
147702
  }
147663
- function _defineProperties17(target, props) {
147703
+ function _defineProperties18(target, props) {
147664
147704
  for (var i = 0; i < props.length; i++) {
147665
147705
  var descriptor = props[i];
147666
147706
  descriptor.enumerable = descriptor.enumerable || false;
@@ -147670,11 +147710,11 @@ function _defineProperties17(target, props) {
147670
147710
  Object.defineProperty(target, descriptor.key, descriptor);
147671
147711
  }
147672
147712
  }
147673
- function _create_class2(Constructor, protoProps, staticProps) {
147713
+ function _create_class3(Constructor, protoProps, staticProps) {
147674
147714
  if (protoProps)
147675
- _defineProperties17(Constructor.prototype, protoProps);
147715
+ _defineProperties18(Constructor.prototype, protoProps);
147676
147716
  if (staticProps)
147677
- _defineProperties17(Constructor, staticProps);
147717
+ _defineProperties18(Constructor, staticProps);
147678
147718
  return Constructor;
147679
147719
  }
147680
147720
  function _define_property5(obj, key, value) {
@@ -147817,14 +147857,15 @@ var FileType2;
147817
147857
  var PluginFileAPI = /* @__PURE__ */ function() {
147818
147858
  "use strict";
147819
147859
  function PluginFileAPI2() {
147820
- _class_call_check2(this, PluginFileAPI2);
147860
+ _class_call_check3(this, PluginFileAPI2);
147821
147861
  _define_property5(this, "projectPath", "");
147822
147862
  _define_property5(this, "templatePath", "");
147823
147863
  _define_property5(this, "handlebarAPI", new PluginHandlebarsAPI());
147864
+ _define_property5(this, "ejsAPI", new PluginEjsAPI());
147824
147865
  _define_property5(this, "jsonAPI", void 0);
147825
147866
  this.renderString = this.renderString.bind(this);
147826
147867
  }
147827
- _create_class2(PluginFileAPI2, [
147868
+ _create_class3(PluginFileAPI2, [
147828
147869
  {
147829
147870
  key: "context",
147830
147871
  get: function get4() {
@@ -147853,7 +147894,10 @@ var PluginFileAPI = /* @__PURE__ */ function() {
147853
147894
  {
147854
147895
  key: "renderString",
147855
147896
  value: function renderString3() {
147856
- var template = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", data = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
147897
+ var template = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", data = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, type = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "handlebars";
147898
+ if (type === "ejs") {
147899
+ return this.ejsAPI.renderString(template, data);
147900
+ }
147857
147901
  return this.handlebarAPI.renderString(template, data);
147858
147902
  }
147859
147903
  },
@@ -148151,12 +148195,12 @@ function _async_to_generator3(fn) {
148151
148195
  });
148152
148196
  };
148153
148197
  }
148154
- function _class_call_check3(instance, Constructor) {
148198
+ function _class_call_check4(instance, Constructor) {
148155
148199
  if (!(instance instanceof Constructor)) {
148156
148200
  throw new TypeError("Cannot call a class as a function");
148157
148201
  }
148158
148202
  }
148159
- function _defineProperties18(target, props) {
148203
+ function _defineProperties19(target, props) {
148160
148204
  for (var i = 0; i < props.length; i++) {
148161
148205
  var descriptor = props[i];
148162
148206
  descriptor.enumerable = descriptor.enumerable || false;
@@ -148166,11 +148210,11 @@ function _defineProperties18(target, props) {
148166
148210
  Object.defineProperty(target, descriptor.key, descriptor);
148167
148211
  }
148168
148212
  }
148169
- function _create_class3(Constructor, protoProps, staticProps) {
148213
+ function _create_class4(Constructor, protoProps, staticProps) {
148170
148214
  if (protoProps)
148171
- _defineProperties18(Constructor.prototype, protoProps);
148215
+ _defineProperties19(Constructor.prototype, protoProps);
148172
148216
  if (staticProps)
148173
- _defineProperties18(Constructor, staticProps);
148217
+ _defineProperties19(Constructor, staticProps);
148174
148218
  return Constructor;
148175
148219
  }
148176
148220
  function _define_property6(obj, key, value) {
@@ -148291,12 +148335,12 @@ var __generator36 = function(thisArg, body) {
148291
148335
  var PluginGitAPI = /* @__PURE__ */ function() {
148292
148336
  "use strict";
148293
148337
  function PluginGitAPI2() {
148294
- _class_call_check3(this, PluginGitAPI2);
148338
+ _class_call_check4(this, PluginGitAPI2);
148295
148339
  _define_property6(this, "gitMessage", "");
148296
148340
  _define_property6(this, "gitApi", void 0);
148297
148341
  _define_property6(this, "projectPath", void 0);
148298
148342
  }
148299
- _create_class3(PluginGitAPI2, [
148343
+ _create_class4(PluginGitAPI2, [
148300
148344
  {
148301
148345
  key: "context",
148302
148346
  get: function get4() {
@@ -148393,12 +148437,12 @@ var PluginGitAPI = /* @__PURE__ */ function() {
148393
148437
 
148394
148438
  // ../../generator-plugin/dist/esm/context/input.js
148395
148439
  var import_lodash10 = __toESM(require_lodash2());
148396
- function _class_call_check4(instance, Constructor) {
148440
+ function _class_call_check5(instance, Constructor) {
148397
148441
  if (!(instance instanceof Constructor)) {
148398
148442
  throw new TypeError("Cannot call a class as a function");
148399
148443
  }
148400
148444
  }
148401
- function _defineProperties19(target, props) {
148445
+ function _defineProperties20(target, props) {
148402
148446
  for (var i = 0; i < props.length; i++) {
148403
148447
  var descriptor = props[i];
148404
148448
  descriptor.enumerable = descriptor.enumerable || false;
@@ -148408,11 +148452,11 @@ function _defineProperties19(target, props) {
148408
148452
  Object.defineProperty(target, descriptor.key, descriptor);
148409
148453
  }
148410
148454
  }
148411
- function _create_class4(Constructor, protoProps, staticProps) {
148455
+ function _create_class5(Constructor, protoProps, staticProps) {
148412
148456
  if (protoProps)
148413
- _defineProperties19(Constructor.prototype, protoProps);
148457
+ _defineProperties20(Constructor.prototype, protoProps);
148414
148458
  if (staticProps)
148415
- _defineProperties19(Constructor, staticProps);
148459
+ _defineProperties20(Constructor, staticProps);
148416
148460
  return Constructor;
148417
148461
  }
148418
148462
  function _define_property7(obj, key, value) {
@@ -148431,7 +148475,7 @@ function _define_property7(obj, key, value) {
148431
148475
  var PluginInputContext = /* @__PURE__ */ function() {
148432
148476
  "use strict";
148433
148477
  function PluginInputContext2(solutionSchema) {
148434
- _class_call_check4(this, PluginInputContext2);
148478
+ _class_call_check5(this, PluginInputContext2);
148435
148479
  _define_property7(this, "inputValue", {});
148436
148480
  _define_property7(this, "defaultConfig", {});
148437
148481
  _define_property7(this, "solutionSchemaFunc", void 0);
@@ -148439,7 +148483,7 @@ var PluginInputContext = /* @__PURE__ */ function() {
148439
148483
  _define_property7(this, "extendInputMap", {});
148440
148484
  this.solutionSchemaFunc = solutionSchema;
148441
148485
  }
148442
- _create_class4(PluginInputContext2, [
148486
+ _create_class5(PluginInputContext2, [
148443
148487
  {
148444
148488
  key: "prepare",
148445
148489
  value: function prepare(inputData) {
@@ -148662,12 +148706,12 @@ function _async_to_generator4(fn) {
148662
148706
  });
148663
148707
  };
148664
148708
  }
148665
- function _class_call_check5(instance, Constructor) {
148709
+ function _class_call_check6(instance, Constructor) {
148666
148710
  if (!(instance instanceof Constructor)) {
148667
148711
  throw new TypeError("Cannot call a class as a function");
148668
148712
  }
148669
148713
  }
148670
- function _defineProperties20(target, props) {
148714
+ function _defineProperties21(target, props) {
148671
148715
  for (var i = 0; i < props.length; i++) {
148672
148716
  var descriptor = props[i];
148673
148717
  descriptor.enumerable = descriptor.enumerable || false;
@@ -148677,11 +148721,11 @@ function _defineProperties20(target, props) {
148677
148721
  Object.defineProperty(target, descriptor.key, descriptor);
148678
148722
  }
148679
148723
  }
148680
- function _create_class5(Constructor, protoProps, staticProps) {
148724
+ function _create_class6(Constructor, protoProps, staticProps) {
148681
148725
  if (protoProps)
148682
- _defineProperties20(Constructor.prototype, protoProps);
148726
+ _defineProperties21(Constructor.prototype, protoProps);
148683
148727
  if (staticProps)
148684
- _defineProperties20(Constructor, staticProps);
148728
+ _defineProperties21(Constructor, staticProps);
148685
148729
  return Constructor;
148686
148730
  }
148687
148731
  function _define_property8(obj, key, value) {
@@ -148802,13 +148846,13 @@ var __generator37 = function(thisArg, body) {
148802
148846
  var PluginNpmAPI = /* @__PURE__ */ function() {
148803
148847
  "use strict";
148804
148848
  function PluginNpmAPI2(projectPath, packageManager) {
148805
- _class_call_check5(this, PluginNpmAPI2);
148849
+ _class_call_check6(this, PluginNpmAPI2);
148806
148850
  _define_property8(this, "projectPath", "");
148807
148851
  _define_property8(this, "packageManager", void 0);
148808
148852
  this.projectPath = projectPath;
148809
148853
  this.packageManager = packageManager;
148810
148854
  }
148811
- _create_class5(PluginNpmAPI2, [
148855
+ _create_class6(PluginNpmAPI2, [
148812
148856
  {
148813
148857
  key: "method",
148814
148858
  get: function get4() {
@@ -149200,12 +149244,12 @@ function _async_to_generator5(fn) {
149200
149244
  });
149201
149245
  };
149202
149246
  }
149203
- function _class_call_check6(instance, Constructor) {
149247
+ function _class_call_check7(instance, Constructor) {
149204
149248
  if (!(instance instanceof Constructor)) {
149205
149249
  throw new TypeError("Cannot call a class as a function");
149206
149250
  }
149207
149251
  }
149208
- function _defineProperties21(target, props) {
149252
+ function _defineProperties22(target, props) {
149209
149253
  for (var i = 0; i < props.length; i++) {
149210
149254
  var descriptor = props[i];
149211
149255
  descriptor.enumerable = descriptor.enumerable || false;
@@ -149215,11 +149259,11 @@ function _defineProperties21(target, props) {
149215
149259
  Object.defineProperty(target, descriptor.key, descriptor);
149216
149260
  }
149217
149261
  }
149218
- function _create_class6(Constructor, protoProps, staticProps) {
149262
+ function _create_class7(Constructor, protoProps, staticProps) {
149219
149263
  if (protoProps)
149220
- _defineProperties21(Constructor.prototype, protoProps);
149264
+ _defineProperties22(Constructor.prototype, protoProps);
149221
149265
  if (staticProps)
149222
- _defineProperties21(Constructor, staticProps);
149266
+ _defineProperties22(Constructor, staticProps);
149223
149267
  return Constructor;
149224
149268
  }
149225
149269
  function _define_property9(obj, key, value) {
@@ -149355,7 +149399,7 @@ var __generator38 = function(thisArg, body) {
149355
149399
  var PluginNewAPI = /* @__PURE__ */ function() {
149356
149400
  "use strict";
149357
149401
  function PluginNewAPI2(solution, projectPath, inputData) {
149358
- _class_call_check6(this, PluginNewAPI2);
149402
+ _class_call_check7(this, PluginNewAPI2);
149359
149403
  _define_property9(this, "solution", void 0);
149360
149404
  _define_property9(this, "projectPath", void 0);
149361
149405
  _define_property9(this, "inputData", void 0);
@@ -149364,7 +149408,7 @@ var PluginNewAPI = /* @__PURE__ */ function() {
149364
149408
  this.inputData = inputData;
149365
149409
  process.setMaxListeners(20);
149366
149410
  }
149367
- _create_class6(PluginNewAPI2, [
149411
+ _create_class7(PluginNewAPI2, [
149368
149412
  {
149369
149413
  key: "method",
149370
149414
  get: function get4() {
@@ -149518,12 +149562,12 @@ var PluginNewAPI = /* @__PURE__ */ function() {
149518
149562
  }();
149519
149563
 
149520
149564
  // ../../generator-plugin/dist/esm/context/index.js
149521
- function _class_call_check7(instance, Constructor) {
149565
+ function _class_call_check8(instance, Constructor) {
149522
149566
  if (!(instance instanceof Constructor)) {
149523
149567
  throw new TypeError("Cannot call a class as a function");
149524
149568
  }
149525
149569
  }
149526
- function _defineProperties22(target, props) {
149570
+ function _defineProperties23(target, props) {
149527
149571
  for (var i = 0; i < props.length; i++) {
149528
149572
  var descriptor = props[i];
149529
149573
  descriptor.enumerable = descriptor.enumerable || false;
@@ -149533,11 +149577,11 @@ function _defineProperties22(target, props) {
149533
149577
  Object.defineProperty(target, descriptor.key, descriptor);
149534
149578
  }
149535
149579
  }
149536
- function _create_class7(Constructor, protoProps, staticProps) {
149580
+ function _create_class8(Constructor, protoProps, staticProps) {
149537
149581
  if (protoProps)
149538
- _defineProperties22(Constructor.prototype, protoProps);
149582
+ _defineProperties23(Constructor.prototype, protoProps);
149539
149583
  if (staticProps)
149540
- _defineProperties22(Constructor, staticProps);
149584
+ _defineProperties23(Constructor, staticProps);
149541
149585
  return Constructor;
149542
149586
  }
149543
149587
  function _define_property10(obj, key, value) {
@@ -149600,7 +149644,7 @@ var LifeCycle2;
149600
149644
  var PluginContext = /* @__PURE__ */ function() {
149601
149645
  "use strict";
149602
149646
  function PluginContext2(solutionSchema, locale) {
149603
- _class_call_check7(this, PluginContext2);
149647
+ _class_call_check8(this, PluginContext2);
149604
149648
  _define_property10(this, "generator", void 0);
149605
149649
  _define_property10(this, "inputContext", void 0);
149606
149650
  _define_property10(this, "gitAPI", void 0);
@@ -149617,7 +149661,7 @@ var PluginContext = /* @__PURE__ */ function() {
149617
149661
  this.fileAPI = new PluginFileAPI();
149618
149662
  this.locale = locale;
149619
149663
  }
149620
- _create_class7(PluginContext2, [
149664
+ _create_class8(PluginContext2, [
149621
149665
  {
149622
149666
  key: "context",
149623
149667
  get: function get4() {
@@ -150126,12 +150170,12 @@ function _async_to_generator8(fn) {
150126
150170
  });
150127
150171
  };
150128
150172
  }
150129
- function _class_call_check8(instance, Constructor) {
150173
+ function _class_call_check9(instance, Constructor) {
150130
150174
  if (!(instance instanceof Constructor)) {
150131
150175
  throw new TypeError("Cannot call a class as a function");
150132
150176
  }
150133
150177
  }
150134
- function _defineProperties23(target, props) {
150178
+ function _defineProperties24(target, props) {
150135
150179
  for (var i = 0; i < props.length; i++) {
150136
150180
  var descriptor = props[i];
150137
150181
  descriptor.enumerable = descriptor.enumerable || false;
@@ -150141,11 +150185,11 @@ function _defineProperties23(target, props) {
150141
150185
  Object.defineProperty(target, descriptor.key, descriptor);
150142
150186
  }
150143
150187
  }
150144
- function _create_class8(Constructor, protoProps, staticProps) {
150188
+ function _create_class9(Constructor, protoProps, staticProps) {
150145
150189
  if (protoProps)
150146
- _defineProperties23(Constructor.prototype, protoProps);
150190
+ _defineProperties24(Constructor.prototype, protoProps);
150147
150191
  if (staticProps)
150148
- _defineProperties23(Constructor, staticProps);
150192
+ _defineProperties24(Constructor, staticProps);
150149
150193
  return Constructor;
150150
150194
  }
150151
150195
  function _define_property11(obj, key, value) {
@@ -150361,7 +150405,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
150361
150405
  "use strict";
150362
150406
  function GeneratorPlugin2(logger2, event) {
150363
150407
  var locale = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "en";
150364
- _class_call_check8(this, GeneratorPlugin2);
150408
+ _class_call_check9(this, GeneratorPlugin2);
150365
150409
  _define_property11(this, "plugins", []);
150366
150410
  _define_property11(this, "extendPlugin", {});
150367
150411
  _define_property11(this, "customPlugin", {});
@@ -150382,7 +150426,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
150382
150426
  locale
150383
150427
  });
150384
150428
  }
150385
- _create_class8(GeneratorPlugin2, [
150429
+ _create_class9(GeneratorPlugin2, [
150386
150430
  {
150387
150431
  key: "setupPlugin",
150388
150432
  value: function setupPlugin(plugins, registry2) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.1.10",
18
+ "version": "3.1.11",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -30,17 +30,17 @@
30
30
  "@types/node": "^14",
31
31
  "jest": "^29",
32
32
  "typescript": "^4",
33
- "@modern-js/base-generator": "3.1.10",
34
- "@modern-js/generator-common": "3.1.10",
35
- "@modern-js/generator-plugin": "3.1.10",
36
- "@modern-js/generator-utils": "3.1.10",
37
- "@modern-js/module-generator": "3.1.10",
38
- "@modern-js/monorepo-generator": "3.1.10",
39
- "@modern-js/mwa-generator": "3.1.10",
40
- "@modern-js/doc-generator": "3.1.10",
41
- "@modern-js/utils": "2.16.0",
42
- "@scripts/build": "2.16.0",
43
- "@scripts/jest-config": "2.16.0"
33
+ "@modern-js/base-generator": "3.1.11",
34
+ "@modern-js/module-generator": "3.1.11",
35
+ "@modern-js/generator-utils": "3.1.11",
36
+ "@modern-js/monorepo-generator": "3.1.11",
37
+ "@modern-js/doc-generator": "3.1.11",
38
+ "@modern-js/mwa-generator": "3.1.11",
39
+ "@modern-js/utils": "2.17.0",
40
+ "@modern-js/generator-common": "3.1.11",
41
+ "@modern-js/generator-plugin": "3.1.11",
42
+ "@scripts/build": "2.17.0",
43
+ "@scripts/jest-config": "2.17.0"
44
44
  },
45
45
  "sideEffects": false,
46
46
  "publishConfig": {