@modern-js/repo-generator 0.0.0-next-1684829489558 → 0.0.0-next-1684835333335

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 +185 -216
  2. package/package.json +14 -14
package/dist/index.js CHANGED
@@ -125752,11 +125752,11 @@ var mime = Import.lazy("../compiled/mime-types", require);
125752
125752
  var chokidar = Import.lazy("../compiled/chokidar", require);
125753
125753
  var inquirer = Import.lazy("../compiled/inquirer", require);
125754
125754
 
125755
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
125755
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
125756
125756
  var import_lodash7 = __toESM(require_lodash3());
125757
125757
  var import_comment_json = __toESM(require_src2());
125758
125758
 
125759
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.0/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/env.js
125759
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/env.js
125760
125760
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
125761
125761
  try {
125762
125762
  var info = gen[key](arg);
@@ -126064,7 +126064,7 @@ function _canUsePnpm() {
126064
126064
  return _canUsePnpm.apply(this, arguments);
126065
126065
  }
126066
126066
 
126067
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.0/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/install.js
126067
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/utils/install.js
126068
126068
  function asyncGeneratorStep2(gen, resolve, reject, _next, _throw, key, arg) {
126069
126069
  try {
126070
126070
  var info = gen[key](arg);
@@ -126431,7 +126431,7 @@ function _pnpmInstall() {
126431
126431
  return _pnpmInstall.apply(this, arguments);
126432
126432
  }
126433
126433
 
126434
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.0/node_modules/@modern-js/codesmith-api-npm/dist/esm/index.js
126434
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.2.3/node_modules/@modern-js/codesmith-api-npm/dist/esm/index.js
126435
126435
  function _class_call_check(instance, Constructor) {
126436
126436
  if (!(instance instanceof Constructor)) {
126437
126437
  throw new TypeError("Cannot call a class as a function");
@@ -126512,7 +126512,7 @@ var NpmAPI = /* @__PURE__ */ function() {
126512
126512
  return NpmAPI2;
126513
126513
  }();
126514
126514
 
126515
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-git/dist/esm/utils/index.js
126515
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-git/dist/esm/utils/index.js
126516
126516
  function asyncGeneratorStep3(gen, resolve, reject, _next, _throw, key, arg) {
126517
126517
  try {
126518
126518
  var info = gen[key](arg);
@@ -126854,7 +126854,7 @@ function _gitCommit() {
126854
126854
  return _gitCommit.apply(this, arguments);
126855
126855
  }
126856
126856
 
126857
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-git/dist/esm/index.js
126857
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-git/dist/esm/index.js
126858
126858
  function asyncGeneratorStep4(gen, resolve, reject, _next, _throw, key, arg) {
126859
126859
  try {
126860
126860
  var info = gen[key](arg);
@@ -127185,7 +127185,7 @@ var GitAPI = /* @__PURE__ */ function() {
127185
127185
  return GitAPI2;
127186
127186
  }();
127187
127187
 
127188
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/logger/constants.js
127188
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/logger/constants.js
127189
127189
  var LoggerLevel;
127190
127190
  (function(LoggerLevel2) {
127191
127191
  LoggerLevel2["Error"] = "error";
@@ -127204,7 +127204,7 @@ var LevelPriority = [
127204
127204
  LoggerLevel.Stream
127205
127205
  ];
127206
127206
 
127207
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/logger/index.js
127207
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/logger/index.js
127208
127208
  function _array_like_to_array(arr, len) {
127209
127209
  if (len == null || len > arr.length)
127210
127210
  len = arr.length;
@@ -127389,20 +127389,20 @@ var Logger = /* @__PURE__ */ function() {
127389
127389
  return Logger2;
127390
127390
  }();
127391
127391
 
127392
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/codesmith/index.js
127392
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/codesmith/index.js
127393
127393
  var import_path7 = __toESM(require("path"));
127394
127394
 
127395
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/generator/index.js
127395
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/generator/index.js
127396
127396
  var import_path4 = __toESM(require("path"));
127397
127397
  var import_events = require("events");
127398
127398
 
127399
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/FsMaterial.js
127399
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsMaterial.js
127400
127400
  var import_path2 = __toESM(require("path"));
127401
127401
 
127402
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
127402
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
127403
127403
  var import_path = __toESM(require("path"));
127404
127404
 
127405
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/constants.js
127405
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/constants.js
127406
127406
  var IMAGE_EXT_LIST = [
127407
127407
  ".jpg",
127408
127408
  ".jpeg",
@@ -127416,7 +127416,7 @@ var IMAGE_EXT_LIST = [
127416
127416
  ".wmf"
127417
127417
  ];
127418
127418
 
127419
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
127419
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsResource.js
127420
127420
  function asyncGeneratorStep5(gen, resolve, reject, _next, _throw, key, arg) {
127421
127421
  try {
127422
127422
  var info = gen[key](arg);
@@ -127648,7 +127648,7 @@ var FsResource = /* @__PURE__ */ function() {
127648
127648
  return FsResource2;
127649
127649
  }();
127650
127650
 
127651
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/FsMaterial.js
127651
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/FsMaterial.js
127652
127652
  function asyncGeneratorStep6(gen, resolve, reject, _next, _throw, key, arg) {
127653
127653
  try {
127654
127654
  var info = gen[key](arg);
@@ -127872,7 +127872,7 @@ var FsMaterial = /* @__PURE__ */ function() {
127872
127872
  return FsMaterial2;
127873
127873
  }();
127874
127874
 
127875
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/nodeRequire.js
127875
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/nodeRequire.js
127876
127876
  var nodeRequire = function(path18) {
127877
127877
  try {
127878
127878
  var module2 = __non_webpack_require__(path18);
@@ -127889,10 +127889,10 @@ var nodeRequire = function(path18) {
127889
127889
  }
127890
127890
  };
127891
127891
 
127892
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getGeneratorDir.js
127892
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getGeneratorDir.js
127893
127893
  var import_path3 = __toESM(require("path"));
127894
127894
 
127895
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
127895
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/fsExists.js
127896
127896
  function asyncGeneratorStep7(gen, resolve, reject, _next, _throw, key, arg) {
127897
127897
  try {
127898
127898
  var info = gen[key](arg);
@@ -128065,7 +128065,7 @@ function _fsExists() {
128065
128065
  return _fsExists.apply(this, arguments);
128066
128066
  }
128067
128067
 
128068
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getGeneratorDir.js
128068
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getGeneratorDir.js
128069
128069
  function asyncGeneratorStep8(gen, resolve, reject, _next, _throw, key, arg) {
128070
128070
  try {
128071
128071
  var info = gen[key](arg);
@@ -128259,7 +128259,7 @@ function _getGeneratorDir() {
128259
128259
  return _getGeneratorDir.apply(this, arguments);
128260
128260
  }
128261
128261
 
128262
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/generator/index.js
128262
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/generator/index.js
128263
128263
  function asyncGeneratorStep9(gen, resolve, reject, _next, _throw, key, arg) {
128264
128264
  try {
128265
128265
  var info = gen[key](arg);
@@ -128838,10 +128838,10 @@ var GeneratorCore = /* @__PURE__ */ function() {
128838
128838
  return GeneratorCore2;
128839
128839
  }();
128840
128840
 
128841
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/index.js
128841
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/index.js
128842
128842
  var import_path6 = __toESM(require("path"));
128843
128843
 
128844
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/packageManager.js
128844
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/packageManager.js
128845
128845
  var import_path5 = __toESM(require("path"));
128846
128846
  function asyncGeneratorStep10(gen, resolve, reject, _next, _throw, key, arg) {
128847
128847
  try {
@@ -129174,7 +129174,7 @@ function _runInstall() {
129174
129174
  return _runInstall.apply(this, arguments);
129175
129175
  }
129176
129176
 
129177
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/timeoutPromise.js
129177
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/timeoutPromise.js
129178
129178
  function asyncGeneratorStep11(gen, resolve, reject, _next, _throw, key, arg) {
129179
129179
  try {
129180
129180
  var info = gen[key](arg);
@@ -129364,16 +129364,16 @@ function _timeoutPromise() {
129364
129364
  return _timeoutPromise.apply(this, arguments);
129365
129365
  }
129366
129366
 
129367
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/downloadPackage.js
129367
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/downloadPackage.js
129368
129368
  var import_os = __toESM(require("os"));
129369
129369
  var import_axios = __toESM(require_axios2());
129370
129370
  var import_tar = __toESM(require_tar());
129371
129371
 
129372
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/constants.js
129372
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/constants.js
129373
129373
  var NPM_API_TIMEOUT = 3e4;
129374
129374
  var CATCHE_VALIDITY_PREIOD = 12 * 3600 * 1e3;
129375
129375
 
129376
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getNpmTarballUrl.js
129376
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getNpmTarballUrl.js
129377
129377
  function asyncGeneratorStep12(gen, resolve, reject, _next, _throw, key, arg) {
129378
129378
  try {
129379
129379
  var info = gen[key](arg);
@@ -129550,7 +129550,7 @@ function _getNpmTarballUrl() {
129550
129550
  return _getNpmTarballUrl.apply(this, arguments);
129551
129551
  }
129552
129552
 
129553
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getNpmVersion.js
129553
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getNpmVersion.js
129554
129554
  function asyncGeneratorStep13(gen, resolve, reject, _next, _throw, key, arg) {
129555
129555
  try {
129556
129556
  var info = gen[key](arg);
@@ -129722,7 +129722,7 @@ function _getNpmVersion() {
129722
129722
  return _getNpmVersion.apply(this, arguments);
129723
129723
  }
129724
129724
 
129725
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/downloadPackage.js
129725
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/downloadPackage.js
129726
129726
  function asyncGeneratorStep14(gen, resolve, reject, _next, _throw, key, arg) {
129727
129727
  try {
129728
129728
  var info = gen[key](arg);
@@ -130071,7 +130071,7 @@ function _downloadPackage() {
130071
130071
  return _downloadPackage.apply(this, arguments);
130072
130072
  }
130073
130073
 
130074
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/utils/getPackageInfo.js
130074
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/utils/getPackageInfo.js
130075
130075
  function getPackageInfo(packageName) {
130076
130076
  if (!packageName) {
130077
130077
  throw new Error("package is not exisit");
@@ -130095,7 +130095,7 @@ function getPackageInfo(packageName) {
130095
130095
  };
130096
130096
  }
130097
130097
 
130098
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/materials/index.js
130098
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/materials/index.js
130099
130099
  function asyncGeneratorStep15(gen, resolve, reject, _next, _throw, key, arg) {
130100
130100
  try {
130101
130101
  var info = gen[key](arg);
@@ -130320,7 +130320,7 @@ var MaterialsManager = /* @__PURE__ */ function() {
130320
130320
  return MaterialsManager2;
130321
130321
  }();
130322
130322
 
130323
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith/dist/esm/codesmith/index.js
130323
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith/dist/esm/codesmith/index.js
130324
130324
  function asyncGeneratorStep16(gen, resolve, reject, _next, _throw, key, arg) {
130325
130325
  try {
130326
130326
  var info = gen[key](arg);
@@ -130631,7 +130631,7 @@ var CodeSmith = /* @__PURE__ */ function() {
130631
130631
  return CodeSmith2;
130632
130632
  }();
130633
130633
 
130634
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-handlebars/dist/esm/utils/renderString.js
130634
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-handlebars/dist/esm/utils/renderString.js
130635
130635
  var import_handlebars = __toESM(require_lib());
130636
130636
  function _define_property10(obj, key, value) {
130637
130637
  if (key in obj) {
@@ -130673,7 +130673,7 @@ function renderString(template, fullData, registers) {
130673
130673
  return import_handlebars.default.compile(template)(fullData) || "";
130674
130674
  }
130675
130675
 
130676
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-handlebars/dist/esm/index.js
130676
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-handlebars/dist/esm/index.js
130677
130677
  function asyncGeneratorStep17(gen, resolve, reject, _next, _throw, key, arg) {
130678
130678
  try {
130679
130679
  var info = gen[key](arg);
@@ -130991,13 +130991,13 @@ var HandlebarsAPI = /* @__PURE__ */ function() {
130991
130991
  return HandlebarsAPI2;
130992
130992
  }();
130993
130993
 
130994
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-ejs/dist/esm/utils/renderString.js
130994
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-ejs/dist/esm/utils/renderString.js
130995
130995
  var import_ejs = __toESM(require_ejs());
130996
130996
  function renderString2(template, fullData) {
130997
130997
  return import_ejs.default.render(template, fullData) || "";
130998
130998
  }
130999
130999
 
131000
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-ejs/dist/esm/index.js
131000
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-ejs/dist/esm/index.js
131001
131001
  function asyncGeneratorStep18(gen, resolve, reject, _next, _throw, key, arg) {
131002
131002
  try {
131003
131003
  var info = gen[key](arg);
@@ -131267,24 +131267,8 @@ var EjsAPI = /* @__PURE__ */ function() {
131267
131267
  return EjsAPI2;
131268
131268
  }();
131269
131269
 
131270
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-fs/dist/esm/index.js
131270
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.3_@modern-js+codesmith@2.2.3/node_modules/@modern-js/codesmith-api-fs/dist/esm/index.js
131271
131271
  var import_path8 = __toESM(require("path"));
131272
-
131273
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-fs/dist/esm/constant.js
131274
- var imageExtNameList = [
131275
- ".jpg",
131276
- ".jpeg",
131277
- ".png",
131278
- ".gif",
131279
- ".bmp",
131280
- ".ico",
131281
- ".icon",
131282
- ".mpt",
131283
- ".psd",
131284
- ".wmf"
131285
- ];
131286
-
131287
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.2.0_@modern-js+codesmith@2.2.0/node_modules/@modern-js/codesmith-api-fs/dist/esm/index.js
131288
131272
  function asyncGeneratorStep19(gen, resolve, reject, _next, _throw, key, arg) {
131289
131273
  try {
131290
131274
  var info = gen[key](arg);
@@ -131464,48 +131448,26 @@ var FsAPI = /* @__PURE__ */ function() {
131464
131448
  value: function renderFile(resource, target) {
131465
131449
  var _this = this;
131466
131450
  return _async_to_generator19(function() {
131467
- var resourceValue, resourceFileExt;
131451
+ var filePath;
131468
131452
  return __generator19(this, function(_state) {
131469
131453
  switch (_state.label) {
131470
131454
  case 0:
131471
131455
  if (resource._type !== FS_RESOURCE) {
131472
131456
  throw new Error("resource not match");
131473
131457
  }
131458
+ filePath = import_path8.default.resolve(_this.generatorCore.outputPath, target.toString());
131474
131459
  return [
131475
131460
  4,
131476
- resource.value()
131461
+ import_fs_extra.default.mkdirp(import_path8.default.dirname(filePath))
131477
131462
  ];
131478
131463
  case 1:
131479
- resourceValue = _state.sent();
131480
- resourceFileExt = import_path8.default.extname(resource.filePath);
131481
- if (!imageExtNameList.includes(resourceFileExt))
131482
- return [
131483
- 3,
131484
- 3
131485
- ];
131486
- return [
131487
- 4,
131488
- _this.generatorCore.output.fs(target, resourceValue.content, {
131489
- encoding: "binary"
131490
- })
131491
- ];
131492
- case 2:
131493
131464
  _state.sent();
131494
- return [
131495
- 3,
131496
- 5
131497
- ];
131498
- case 3:
131499
131465
  return [
131500
131466
  4,
131501
- _this.generatorCore.output.fs(target, resourceValue.content, {
131502
- encoding: "utf-8"
131503
- })
131467
+ import_fs_extra.default.copyFile(resource.filePath, filePath)
131504
131468
  ];
131505
- case 4:
131469
+ case 2:
131506
131470
  _state.sent();
131507
- _state.label = 5;
131508
- case 5:
131509
131471
  return [
131510
131472
  2
131511
131473
  ];
@@ -131568,10 +131530,10 @@ var FsAPI = /* @__PURE__ */ function() {
131568
131530
  return FsAPI2;
131569
131531
  }();
131570
131532
 
131571
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/index.js
131533
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/index.js
131572
131534
  var import_lodash3 = __toESM(require_lodash3());
131573
131535
 
131574
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/checkers.js
131536
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/checkers.js
131575
131537
  var toString = Object.prototype.toString;
131576
131538
  var isType = function(type) {
131577
131539
  return function(obj) {
@@ -131597,7 +131559,7 @@ var isObj = function(val) {
131597
131559
  };
131598
131560
  var isRegExp = isType("RegExp");
131599
131561
 
131600
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/array.js
131562
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/array.js
131601
131563
  var toArr = function(val) {
131602
131564
  return isArr(val) ? val : val ? [val] : [];
131603
131565
  };
@@ -131648,7 +131610,7 @@ function reduce(val, iterator, accumulator, revert) {
131648
131610
  return result;
131649
131611
  }
131650
131612
 
131651
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/global.js
131613
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/global.js
131652
131614
  function globalSelf() {
131653
131615
  try {
131654
131616
  if (typeof self !== "undefined") {
@@ -131672,7 +131634,7 @@ function globalSelf() {
131672
131634
  }
131673
131635
  var globalThisPolyfill = globalSelf();
131674
131636
 
131675
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/instanceof.js
131637
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/instanceof.js
131676
131638
  var instOf = function(value, cls) {
131677
131639
  if (isFn(cls))
131678
131640
  return value instanceof cls;
@@ -131681,7 +131643,7 @@ var instOf = function(value, cls) {
131681
131643
  return false;
131682
131644
  };
131683
131645
 
131684
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/compare.js
131646
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/compare.js
131685
131647
  var isArray = isArr;
131686
131648
  var keyList = Object.keys;
131687
131649
  var hasProp = Object.prototype.hasOwnProperty;
@@ -131788,7 +131750,7 @@ var isEqual = function exportedEqual(a, b) {
131788
131750
  }
131789
131751
  };
131790
131752
 
131791
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/clone.js
131753
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/clone.js
131792
131754
  var clone = function(values) {
131793
131755
  if (Array.isArray(values)) {
131794
131756
  var res_1 = [];
@@ -131824,7 +131786,7 @@ var clone = function(values) {
131824
131786
  }
131825
131787
  };
131826
131788
 
131827
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/isEmpty.js
131789
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/isEmpty.js
131828
131790
  var has = Object.prototype.hasOwnProperty;
131829
131791
  var toString2 = Object.prototype.toString;
131830
131792
  var isUndef = function(val) {
@@ -132028,7 +131990,7 @@ function pascalCase(input, options) {
132028
131990
  return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
132029
131991
  }
132030
131992
 
132031
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/string.js
131993
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/string.js
132032
131994
  var ansiRegex = function() {
132033
131995
  var pattern = [
132034
131996
  "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)",
@@ -132047,7 +132009,7 @@ var stringLength = function(input) {
132047
132009
  return stripAnsi(input).replace(astralRegex(), " ").length;
132048
132010
  };
132049
132011
 
132050
- // ../../../../node_modules/.pnpm/@formily+path@2.2.22/node_modules/@formily/path/esm/contexts.js
132012
+ // ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/contexts.js
132051
132013
  var __assign2 = function() {
132052
132014
  __assign2 = Object.assign || function(t) {
132053
132015
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -132070,7 +132032,7 @@ var parenContext = ContextType("()");
132070
132032
  var braceContext = ContextType("{}");
132071
132033
  var destructorContext = ContextType("{x}");
132072
132034
 
132073
- // ../../../../node_modules/.pnpm/@formily+path@2.2.22/node_modules/@formily/path/esm/tokens.js
132035
+ // ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokens.js
132074
132036
  var __assign3 = function() {
132075
132037
  __assign3 = Object.assign || function(t) {
132076
132038
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -132238,7 +132200,7 @@ var expandTok = TokenType("expandTok", {
132238
132200
  });
132239
132201
  var eofTok = TokenType("eof");
132240
132202
 
132241
- // ../../../../node_modules/.pnpm/@formily+path@2.2.22/node_modules/@formily/path/esm/tokenizer.js
132203
+ // ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/tokenizer.js
132242
132204
  var nonASCIIWhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
132243
132205
  var fullCharCodeAtPos = function(input, pos) {
132244
132206
  if (String.fromCharCode)
@@ -132490,7 +132452,7 @@ var Tokenizer = (
132490
132452
  }()
132491
132453
  );
132492
132454
 
132493
- // ../../../../node_modules/.pnpm/@formily+path@2.2.22/node_modules/@formily/path/esm/types.js
132455
+ // ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/types.js
132494
132456
  var isType2 = function(type) {
132495
132457
  return function(obj) {
132496
132458
  return obj && obj.type === type;
@@ -132508,7 +132470,7 @@ var isObjectPattern = isType2("ObjectPattern");
132508
132470
  var isObjectPatternProperty = isType2("ObjectPatternProperty");
132509
132471
  var isArrayPattern = isType2("ArrayPattern");
132510
132472
 
132511
- // ../../../../node_modules/.pnpm/@formily+path@2.2.22/node_modules/@formily/path/esm/shared.js
132473
+ // ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/shared.js
132512
132474
  var toString3 = Object.prototype.toString;
132513
132475
  var isType3 = function(type) {
132514
132476
  return function(obj) {
@@ -132585,7 +132547,7 @@ var isSegmentEqual = function(a, b) {
132585
132547
  return a === b;
132586
132548
  };
132587
132549
 
132588
- // ../../../../node_modules/.pnpm/@formily+path@2.2.22/node_modules/@formily/path/esm/destructor.js
132550
+ // ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/destructor.js
132589
132551
  var DestructorCache = /* @__PURE__ */ new Map();
132590
132552
  var isValid2 = function(val) {
132591
132553
  return val !== void 0 && val !== null;
@@ -132703,7 +132665,7 @@ var existInByDestructor = function(source, rules, start, mutators) {
132703
132665
  });
132704
132666
  };
132705
132667
 
132706
- // ../../../../node_modules/.pnpm/@formily+path@2.2.22/node_modules/@formily/path/esm/parser.js
132668
+ // ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/parser.js
132707
132669
  var __extends = function() {
132708
132670
  var extendStatics = function(d, b) {
132709
132671
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
@@ -133094,7 +133056,7 @@ var Parser = (
133094
133056
  }(Tokenizer)
133095
133057
  );
133096
133058
 
133097
- // ../../../../node_modules/.pnpm/@formily+path@2.2.22/node_modules/@formily/path/esm/matcher.js
133059
+ // ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/matcher.js
133098
133060
  var Matcher = (
133099
133061
  /** @class */
133100
133062
  function() {
@@ -133276,7 +133238,7 @@ var Matcher = (
133276
133238
  }()
133277
133239
  );
133278
133240
 
133279
- // ../../../../node_modules/.pnpm/@formily+path@2.2.22/node_modules/@formily/path/esm/index.js
133241
+ // ../../../../node_modules/.pnpm/@formily+path@2.2.24/node_modules/@formily/path/esm/index.js
133280
133242
  var __read = function(o, n) {
133281
133243
  var m = typeof Symbol === "function" && o[Symbol.iterator];
133282
133244
  if (!m)
@@ -133830,7 +133792,7 @@ var Path = (
133830
133792
  }()
133831
133793
  );
133832
133794
 
133833
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/subscribable.js
133795
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/subscribable.js
133834
133796
  var Subscribable = (
133835
133797
  /** @class */
133836
133798
  function() {
@@ -133882,7 +133844,7 @@ var Subscribable = (
133882
133844
  }()
133883
133845
  );
133884
133846
 
133885
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/merge.js
133847
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/merge.js
133886
133848
  function defaultIsMergeableObject(value) {
133887
133849
  return isNonNullObject(value) && !isSpecial(value);
133888
133850
  }
@@ -134075,7 +134037,7 @@ var lazyMerge = function(target) {
134075
134037
  };
134076
134038
  var merge = deepmerge;
134077
134039
 
134078
- // ../../../../node_modules/.pnpm/@formily+shared@2.2.22/node_modules/@formily/shared/esm/uid.js
134040
+ // ../../../../node_modules/.pnpm/@formily+shared@2.2.24/node_modules/@formily/shared/esm/uid.js
134079
134041
  var IDX = 36;
134080
134042
  var HEX = "";
134081
134043
  while (IDX--)
@@ -134087,7 +134049,7 @@ function uid(len) {
134087
134049
  return str;
134088
134050
  }
134089
134051
 
134090
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/checkers.js
134052
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/checkers.js
134091
134053
  var toString4 = Object.prototype.toString;
134092
134054
  var isMap = function(val) {
134093
134055
  return val && val instanceof Map;
@@ -134118,7 +134080,7 @@ var isNormalType = function(target) {
134118
134080
  return isPlainObj3(target) || isArr3(target);
134119
134081
  };
134120
134082
 
134121
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/array.js
134083
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/array.js
134122
134084
  var toArray = function(value) {
134123
134085
  return Array.isArray(value) ? value : value !== void 0 && value !== null ? [value] : [];
134124
134086
  };
@@ -134182,7 +134144,7 @@ var ArraySet = (
134182
134144
  }()
134183
134145
  );
134184
134146
 
134185
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/environment.js
134147
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/environment.js
134186
134148
  var ProxyRaw = /* @__PURE__ */ new WeakMap();
134187
134149
  var RawProxy = /* @__PURE__ */ new WeakMap();
134188
134150
  var RawShallowProxy = /* @__PURE__ */ new WeakMap();
@@ -134201,7 +134163,7 @@ var MakeObModelSymbol = Symbol("MakeObModelSymbol");
134201
134163
  var ObModelSymbol = Symbol("ObModelSymbol");
134202
134164
  var ObModelNodeSymbol = Symbol("ObModelNodeSymbol");
134203
134165
 
134204
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/reaction.js
134166
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/reaction.js
134205
134167
  var ITERATION_KEY = Symbol("iteration key");
134206
134168
  var addRawReactionsMap = function(target, key, reaction2) {
134207
134169
  var reactionsMap = RawReactionsMap.get(target);
@@ -134431,7 +134393,7 @@ var disposeEffects = function(reaction2) {
134431
134393
  }
134432
134394
  };
134433
134395
 
134434
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/tree.js
134396
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tree.js
134435
134397
  var DataChange = (
134436
134398
  /** @class */
134437
134399
  function() {
@@ -134527,7 +134489,7 @@ var buildDataTree = function(target, key, value) {
134527
134489
  setDataNode(raw2, new DataNode(target, key, value));
134528
134490
  };
134529
134491
 
134530
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/externals.js
134492
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/externals.js
134531
134493
  var RAW_TYPE = Symbol("RAW_TYPE");
134532
134494
  var OBSERVABLE_TYPE = Symbol("OBSERVABLE_TYPE");
134533
134495
  var hasOwnProperty2 = Object.prototype.hasOwnProperty;
@@ -134629,7 +134591,7 @@ var hasCollected = function(callback) {
134629
134591
  return DependencyCollected.value;
134630
134592
  };
134631
134593
 
134632
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/handlers.js
134594
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/handlers.js
134633
134595
  var __read2 = function(o, n) {
134634
134596
  var m = typeof Symbol === "function" && o[Symbol.iterator];
134635
134597
  if (!m)
@@ -134885,7 +134847,7 @@ var baseHandlers = {
134885
134847
  }
134886
134848
  };
134887
134849
 
134888
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/internals.js
134850
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/internals.js
134889
134851
  var createNormalProxy = function(target, shallow2) {
134890
134852
  var proxy = new Proxy(target, baseHandlers);
134891
134853
  ProxyRaw.set(proxy, target);
@@ -135000,7 +134962,7 @@ var createBoundaryAnnotation = function(start, end) {
135000
134962
  return boundary;
135001
134963
  };
135002
134964
 
135003
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/batch.js
134965
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/batch.js
135004
134966
  var batch = createBoundaryAnnotation(batchStart, batchEnd);
135005
134967
  batch.scope = createBoundaryAnnotation(batchScopeStart, batchScopeEnd);
135006
134968
  batch.endpoint = function(callback) {
@@ -135013,7 +134975,7 @@ batch.endpoint = function(callback) {
135013
134975
  }
135014
134976
  };
135015
134977
 
135016
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/action.js
134978
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/action.js
135017
134979
  var action = createBoundaryAnnotation(function() {
135018
134980
  batchStart();
135019
134981
  untrackStart();
@@ -135029,10 +134991,10 @@ action.scope = createBoundaryAnnotation(function() {
135029
134991
  batchScopeEnd();
135030
134992
  });
135031
134993
 
135032
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/untracked.js
134994
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/untracked.js
135033
134995
  var untracked = createBoundaryFunction(untrackStart, untrackEnd);
135034
134996
 
135035
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/annotations/observable.js
134997
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/observable.js
135036
134998
  var observable = createAnnotation(function(_a2) {
135037
134999
  var target = _a2.target, key = _a2.key, value = _a2.value;
135038
135000
  var store = {
@@ -135072,7 +135034,7 @@ var observable = createAnnotation(function(_a2) {
135072
135034
  return store.value;
135073
135035
  });
135074
135036
 
135075
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/annotations/box.js
135037
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/box.js
135076
135038
  var box = createAnnotation(function(_a2) {
135077
135039
  var target = _a2.target, key = _a2.key, value = _a2.value;
135078
135040
  var store = {
@@ -135118,7 +135080,7 @@ var box = createAnnotation(function(_a2) {
135118
135080
  return proxy;
135119
135081
  });
135120
135082
 
135121
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/annotations/ref.js
135083
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/ref.js
135122
135084
  var ref = createAnnotation(function(_a2) {
135123
135085
  var target = _a2.target, key = _a2.key, value = _a2.value;
135124
135086
  var store = {
@@ -135166,7 +135128,7 @@ var ref = createAnnotation(function(_a2) {
135166
135128
  return proxy;
135167
135129
  });
135168
135130
 
135169
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/annotations/shallow.js
135131
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/shallow.js
135170
135132
  var shallow = createAnnotation(function(_a2) {
135171
135133
  var target = _a2.target, key = _a2.key, value = _a2.value;
135172
135134
  var store = {
@@ -135206,7 +135168,7 @@ var shallow = createAnnotation(function(_a2) {
135206
135168
  return store.value;
135207
135169
  });
135208
135170
 
135209
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/annotations/computed.js
135171
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/annotations/computed.js
135210
135172
  var getDescriptor = Object.getOwnPropertyDescriptor;
135211
135173
  var getProto = Object.getPrototypeOf;
135212
135174
  var ClassDescriptorSymbol = Symbol("ClassDescriptorSymbol");
@@ -135327,7 +135289,7 @@ var computed = createAnnotation(function(_a2) {
135327
135289
  return proxy;
135328
135290
  });
135329
135291
 
135330
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/observable.js
135292
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observable.js
135331
135293
  function observable2(target) {
135332
135294
  return createObservable(null, null, target);
135333
135295
  }
@@ -135338,7 +135300,7 @@ observable2.shallow = shallow;
135338
135300
  observable2.computed = computed;
135339
135301
  observable2[MakeObModelSymbol] = observable;
135340
135302
 
135341
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/model.js
135303
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/model.js
135342
135304
  function define2(target, annotations) {
135343
135305
  if (isObservable(target))
135344
135306
  return target;
@@ -135358,7 +135320,7 @@ function define2(target, annotations) {
135358
135320
  return target;
135359
135321
  }
135360
135322
 
135361
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/autorun.js
135323
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/autorun.js
135362
135324
  var __assign4 = function() {
135363
135325
  __assign4 = Object.assign || function(t) {
135364
135326
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -135504,7 +135466,7 @@ var reaction = function(tracker, subscriber, options) {
135504
135466
  };
135505
135467
  };
135506
135468
 
135507
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/tracker.js
135469
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/tracker.js
135508
135470
  var Tracker = (
135509
135471
  /** @class */
135510
135472
  function() {
@@ -135549,7 +135511,7 @@ var Tracker = (
135549
135511
  }()
135550
135512
  );
135551
135513
 
135552
- // ../../../../node_modules/.pnpm/@formily+reactive@2.2.22/node_modules/@formily/reactive/esm/observe.js
135514
+ // ../../../../node_modules/.pnpm/@formily+reactive@2.2.24/node_modules/@formily/reactive/esm/observe.js
135553
135515
  var observe = function(target, observer, deep) {
135554
135516
  if (deep === void 0) {
135555
135517
  deep = true;
@@ -135582,7 +135544,7 @@ var observe = function(target, observer, deep) {
135582
135544
  return addListener(target);
135583
135545
  };
135584
135546
 
135585
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
135547
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
135586
135548
  var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
135587
135549
  var SchemaNestedMap = {
135588
135550
  parent: true,
@@ -135769,7 +135731,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
135769
135731
  });
135770
135732
  };
135771
135733
 
135772
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
135734
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
135773
135735
  var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
135774
135736
  var Registry = {
135775
135737
  silent: false,
@@ -135873,7 +135835,7 @@ var patchSchemaCompile = function(targetState, sourceSchema, scope, demand) {
135873
135835
  });
135874
135836
  };
135875
135837
 
135876
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/LifeCycle.js
135838
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/LifeCycle.js
135877
135839
  var LifeCycle = (
135878
135840
  /** @class */
135879
135841
  function() {
@@ -135919,7 +135881,7 @@ var LifeCycle = (
135919
135881
  }()
135920
135882
  );
135921
135883
 
135922
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/Heart.js
135884
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Heart.js
135923
135885
  var __extends2 = function() {
135924
135886
  var extendStatics = function(d, b) {
135925
135887
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
@@ -136015,7 +135977,7 @@ var Heart = (
136015
135977
  }(Subscribable)
136016
135978
  );
136017
135979
 
136018
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/shared/checkers.js
135980
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/checkers.js
136019
135981
  var isForm = function(node) {
136020
135982
  return node instanceof Form;
136021
135983
  };
@@ -136061,7 +136023,7 @@ var isQuery = function(query2) {
136061
136023
  return query2 && query2 instanceof Query;
136062
136024
  };
136063
136025
 
136064
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/Graph.js
136026
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Graph.js
136065
136027
  var Graph = (
136066
136028
  /** @class */
136067
136029
  function() {
@@ -136113,12 +136075,12 @@ var Graph = (
136113
136075
  }()
136114
136076
  );
136115
136077
 
136116
- // ../../../../node_modules/.pnpm/@formily+validator@2.2.22/node_modules/@formily/validator/esm/types.js
136078
+ // ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/types.js
136117
136079
  var isValidateResult = function(obj) {
136118
136080
  return !!obj["type"] && !!obj["message"];
136119
136081
  };
136120
136082
 
136121
- // ../../../../node_modules/.pnpm/@formily+validator@2.2.22/node_modules/@formily/validator/esm/registry.js
136083
+ // ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/registry.js
136122
136084
  var getIn2 = Path.getIn;
136123
136085
  var self2 = globalThisPolyfill;
136124
136086
  var defaultLanguage = "en";
@@ -136189,7 +136151,7 @@ var registerValidateFormats = function(formats) {
136189
136151
  });
136190
136152
  };
136191
136153
 
136192
- // ../../../../node_modules/.pnpm/@formily+validator@2.2.22/node_modules/@formily/validator/esm/template.js
136154
+ // ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/template.js
136193
136155
  var render = function(result, rules) {
136194
136156
  var message = result.message;
136195
136157
  if (isStr(result.message)) {
@@ -136204,7 +136166,7 @@ var render = function(result, rules) {
136204
136166
  return result;
136205
136167
  };
136206
136168
 
136207
- // ../../../../node_modules/.pnpm/@formily+validator@2.2.22/node_modules/@formily/validator/esm/parser.js
136169
+ // ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/parser.js
136208
136170
  var __assign5 = function() {
136209
136171
  __assign5 = Object.assign || function(t) {
136210
136172
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -136455,7 +136417,7 @@ var parseValidator = function(validator, options) {
136455
136417
  }, []);
136456
136418
  };
136457
136419
 
136458
- // ../../../../node_modules/.pnpm/@formily+validator@2.2.22/node_modules/@formily/validator/esm/locale.js
136420
+ // ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/locale.js
136459
136421
  var locale_default = {
136460
136422
  en: {
136461
136423
  pattern: "This field is invalid",
@@ -136675,7 +136637,7 @@ var locale_default = {
136675
136637
  }
136676
136638
  };
136677
136639
 
136678
- // ../../../../node_modules/.pnpm/@formily+validator@2.2.22/node_modules/@formily/validator/esm/formats.js
136640
+ // ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/formats.js
136679
136641
  var formats_default = {
136680
136642
  url: new RegExp(
136681
136643
  // protocol identifier
@@ -136695,7 +136657,7 @@ var formats_default = {
136695
136657
  zip: /^[0-9]{6}$/
136696
136658
  };
136697
136659
 
136698
- // ../../../../node_modules/.pnpm/@formily+validator@2.2.22/node_modules/@formily/validator/esm/rules.js
136660
+ // ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/rules.js
136699
136661
  var __assign6 = function() {
136700
136662
  __assign6 = Object.assign || function(t) {
136701
136663
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -137010,7 +136972,7 @@ extendSameRules(RULES, {
137010
136972
  });
137011
136973
  var rules_default = RULES;
137012
136974
 
137013
- // ../../../../node_modules/.pnpm/@formily+validator@2.2.22/node_modules/@formily/validator/esm/validator.js
136975
+ // ../../../../node_modules/.pnpm/@formily+validator@2.2.24/node_modules/@formily/validator/esm/validator.js
137014
136976
  var __awaiter3 = function(thisArg, _arguments, P, generator) {
137015
136977
  function adopt(value) {
137016
136978
  return value instanceof P ? value : new P(function(resolve) {
@@ -137155,7 +137117,7 @@ var validate = function(value, validator, options) {
137155
137117
  });
137156
137118
  };
137157
137119
 
137158
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/types.js
137120
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/types.js
137159
137121
  var LifeCycleTypes;
137160
137122
  (function(LifeCycleTypes2) {
137161
137123
  LifeCycleTypes2["ON_FORM_INIT"] = "onFormInit";
@@ -137207,7 +137169,7 @@ var LifeCycleTypes;
137207
137169
  LifeCycleTypes2["ON_FIELD_UNMOUNT"] = "onFieldUnmount";
137208
137170
  })(LifeCycleTypes || (LifeCycleTypes = {}));
137209
137171
 
137210
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/shared/constants.js
137172
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/constants.js
137211
137173
  var ReservedProperties = {
137212
137174
  form: true,
137213
137175
  parent: true,
@@ -137259,7 +137221,7 @@ var GlobalState = {
137259
137221
  };
137260
137222
  var NumberIndexReg = /^\.(\d+)/;
137261
137223
 
137262
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/shared/internals.js
137224
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/internals.js
137263
137225
  var __assign7 = function() {
137264
137226
  __assign7 = Object.assign || function(t) {
137265
137227
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -138366,7 +138328,7 @@ var getObjectParent = function(field) {
138366
138328
  }
138367
138329
  };
138368
138330
 
138369
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/Query.js
138331
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Query.js
138370
138332
  var output = function(field, taker) {
138371
138333
  if (!field)
138372
138334
  return;
@@ -138449,7 +138411,7 @@ var Query = (
138449
138411
  }()
138450
138412
  );
138451
138413
 
138452
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/BaseField.js
138414
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/BaseField.js
138453
138415
  var __read4 = function(o, n) {
138454
138416
  var m = typeof Symbol === "function" && o[Symbol.iterator];
138455
138417
  if (!m)
@@ -138829,7 +138791,7 @@ var BaseField = (
138829
138791
  }()
138830
138792
  );
138831
138793
 
138832
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/Field.js
138794
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Field.js
138833
138795
  var __extends3 = function() {
138834
138796
  var extendStatics = function(d, b) {
138835
138797
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
@@ -139470,7 +139432,7 @@ var Field = (
139470
139432
  }(BaseField)
139471
139433
  );
139472
139434
 
139473
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/shared/effective.js
139435
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/shared/effective.js
139474
139436
  var __read5 = function(o, n) {
139475
139437
  var m = typeof Symbol === "function" && o[Symbol.iterator];
139476
139438
  if (!m)
@@ -139564,7 +139526,7 @@ var runEffects = function(context) {
139564
139526
  return GlobalState.lifecycles;
139565
139527
  };
139566
139528
 
139567
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/ArrayField.js
139529
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ArrayField.js
139568
139530
  var __extends4 = function() {
139569
139531
  var extendStatics = function(d, b) {
139570
139532
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
@@ -139754,7 +139716,7 @@ var ArrayField = (
139754
139716
  }(Field)
139755
139717
  );
139756
139718
 
139757
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/ObjectField.js
139719
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/ObjectField.js
139758
139720
  var __extends5 = function() {
139759
139721
  var extendStatics = function(d, b) {
139760
139722
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
@@ -139815,7 +139777,7 @@ var ObjectField = (
139815
139777
  }(Field)
139816
139778
  );
139817
139779
 
139818
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/VoidField.js
139780
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/VoidField.js
139819
139781
  var __extends6 = function() {
139820
139782
  var extendStatics = function(d, b) {
139821
139783
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
@@ -139930,7 +139892,7 @@ var VoidField = (
139930
139892
  }(BaseField)
139931
139893
  );
139932
139894
 
139933
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/models/Form.js
139895
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/models/Form.js
139934
139896
  var __assign8 = function() {
139935
139897
  __assign8 = Object.assign || function(t) {
139936
139898
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -140458,7 +140420,7 @@ var Form = (
140458
140420
  }()
140459
140421
  );
140460
140422
 
140461
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/effects/onFormEffects.js
140423
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFormEffects.js
140462
140424
  function createFormEffect(type) {
140463
140425
  return createEffectHook(type, function(form) {
140464
140426
  return function(callback) {
@@ -140491,7 +140453,7 @@ var onFormValidateEnd = createFormEffect(LifeCycleTypes.ON_FORM_VALIDATE_END);
140491
140453
  var onFormGraphChange = createFormEffect(LifeCycleTypes.ON_FORM_GRAPH_CHANGE);
140492
140454
  var onFormLoading = createFormEffect(LifeCycleTypes.ON_FORM_LOADING);
140493
140455
 
140494
- // ../../../../node_modules/.pnpm/@formily+core@2.2.22/node_modules/@formily/core/esm/effects/onFieldEffects.js
140456
+ // ../../../../node_modules/.pnpm/@formily+core@2.2.24/node_modules/@formily/core/esm/effects/onFieldEffects.js
140495
140457
  function createFieldEffect(type) {
140496
140458
  return createEffectHook(type, function(field, form) {
140497
140459
  return function(pattern, callback) {
@@ -140536,7 +140498,7 @@ function onFieldInit(pattern, callback) {
140536
140498
  }
140537
140499
  }
140538
140500
 
140539
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
140501
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
140540
140502
  var __read7 = function(o, n) {
140541
140503
  var m = typeof Symbol === "function" && o[Symbol.iterator];
140542
140504
  if (!m)
@@ -140761,7 +140723,7 @@ var transformFieldProps = function(schema, options) {
140761
140723
  };
140762
140724
  };
140763
140725
 
140764
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
140726
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
140765
140727
  var __assign9 = function() {
140766
140728
  __assign9 = Object.assign || function(t) {
140767
140729
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -140810,7 +140772,7 @@ var enablePolyfills = function(versions) {
140810
140772
  }
140811
140773
  };
140812
140774
 
140813
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
140775
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
140814
140776
  var __assign10 = function() {
140815
140777
  __assign10 = Object.assign || function(t) {
140816
140778
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -140967,7 +140929,7 @@ var registerTypeDefaultComponents = function(maps) {
140967
140929
  Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
140968
140930
  };
140969
140931
 
140970
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.22_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
140932
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
140971
140933
  var Schema = (
140972
140934
  /** @class */
140973
140935
  function() {
@@ -141203,10 +141165,10 @@ var Schema = (
141203
141165
  }()
141204
141166
  );
141205
141167
 
141206
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
141168
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
141207
141169
  var import_inquirer = __toESM(require_inquirer());
141208
141170
 
141209
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
141171
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/transform.js
141210
141172
  var import_lodash2 = __toESM(require_lodash3());
141211
141173
  function asyncGeneratorStep20(gen, resolve, reject, _next, _throw, key, arg) {
141212
141174
  try {
@@ -141553,7 +141515,7 @@ function transformForm(schema) {
141553
141515
  return getQuestionFromSchema(schema, configValue, validateMap, initValue);
141554
141516
  }
141555
141517
 
141556
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
141518
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/prompt.js
141557
141519
  function asyncGeneratorStep21(gen, resolve, reject, _next, _throw, key, arg) {
141558
141520
  try {
141559
141521
  var info = gen[key](arg);
@@ -142077,7 +142039,7 @@ function _prompt() {
142077
142039
  return _prompt.apply(this, arguments);
142078
142040
  }
142079
142041
 
142080
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
142042
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/inquirer.js
142081
142043
  function asyncGeneratorStep22(gen, resolve, reject, _next, _throw, key, arg) {
142082
142044
  try {
142083
142045
  var info = gen[key](arg);
@@ -142317,7 +142279,7 @@ var CLIReader = /* @__PURE__ */ function() {
142317
142279
  return CLIReader2;
142318
142280
  }();
142319
142281
 
142320
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-formily/dist/esm/index.js
142282
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-formily/dist/esm/index.js
142321
142283
  function asyncGeneratorStep23(gen, resolve, reject, _next, _throw, key, arg) {
142322
142284
  try {
142323
142285
  var info = gen[key](arg);
@@ -142535,7 +142497,7 @@ var FormilyAPI = /* @__PURE__ */ function() {
142535
142497
  return FormilyAPI2;
142536
142498
  }();
142537
142499
 
142538
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
142500
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
142539
142501
  var import_inquirer3 = __toESM(require_inquirer2());
142540
142502
 
142541
142503
  // ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.18.0/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
@@ -142614,7 +142576,7 @@ var I18n = class {
142614
142576
  }
142615
142577
  };
142616
142578
 
142617
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
142579
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/zh.js
142618
142580
  var ZH_LOCALE = {
142619
142581
  environment: {
142620
142582
  node_version: "请升级 Node 版本至 LIS",
@@ -142641,7 +142603,7 @@ var ZH_LOCALE = {
142641
142603
  }
142642
142604
  };
142643
142605
 
142644
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
142606
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/en.js
142645
142607
  var EN_LOCALE = {
142646
142608
  environment: {
142647
142609
  node_version: "please upgrade node to lts version",
@@ -142668,14 +142630,14 @@ var EN_LOCALE = {
142668
142630
  }
142669
142631
  };
142670
142632
 
142671
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
142633
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/locale/index.js
142672
142634
  var i18n = new I18n();
142673
142635
  var localeKeys = i18n.init("zh", {
142674
142636
  zh: ZH_LOCALE,
142675
142637
  en: EN_LOCALE
142676
142638
  });
142677
142639
 
142678
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
142640
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/transform.js
142679
142641
  var import_lodash6 = __toESM(require_lodash3());
142680
142642
  function asyncGeneratorStep24(gen, resolve, reject, _next, _throw, key, arg) {
142681
142643
  try {
@@ -142884,7 +142846,7 @@ function transformInquirerSchema(questions) {
142884
142846
  return questions;
142885
142847
  }
142886
142848
 
142887
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
142849
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/utils/checkUseNvm.js
142888
142850
  var import_path10 = __toESM(require("path"));
142889
142851
  function asyncGeneratorStep25(gen, resolve, reject, _next, _throw, key, arg) {
142890
142852
  try {
@@ -143148,7 +143110,7 @@ function _checkUseNvm() {
143148
143110
  return _checkUseNvm.apply(this, arguments);
143149
143111
  }
143150
143112
 
143151
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.0_lrvl2n6y65x3yb6jqezh4nrmz4/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
143113
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.2.3_bho3aw2byq52erp6eaxmeboo7i/node_modules/@modern-js/codesmith-api-app/dist/esm/index.js
143152
143114
  function _array_like_to_array2(arr, len) {
143153
143115
  if (len == null || len > arr.length)
143154
143116
  len = arr.length;
@@ -143729,7 +143691,7 @@ var AppAPI = /* @__PURE__ */ function() {
143729
143691
  switch (_state2.label) {
143730
143692
  case 0:
143731
143693
  _this.generatorCore.logger.debug("[renderDir] resourceKey=".concat(resourceKey));
143732
- target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "");
143694
+ target = rename ? rename(resourceKey) : resourceKey.replace("templates/", "").replace(".handlebars", "").replace(".ejs", "");
143733
143695
  return [
143734
143696
  4,
143735
143697
  api.renderTemplate(material.get(resourceKey), target, _object_spread8({}, _this.generatorContext.data || {}, parameters || {}))
@@ -145291,7 +145253,7 @@ var import_path17 = __toESM(require("path"));
145291
145253
 
145292
145254
  // ../../generator-utils/dist/esm/index.js
145293
145255
  var import_path11 = __toESM(require("path"));
145294
- var import_utils25 = __toESM(require_cjs2());
145256
+ var import_utils26 = __toESM(require_cjs2());
145295
145257
 
145296
145258
  // ../../generator-utils/dist/esm/utils/stripAnsi.js
145297
145259
  function ansiRegex2({ onlyFirst = false } = {}) {
@@ -145336,10 +145298,10 @@ var localeKeys3 = i18n3.init("en", {
145336
145298
  });
145337
145299
 
145338
145300
  // ../../generator-utils/dist/esm/utils/package.js
145339
- var import_utils24 = __toESM(require_cjs2());
145301
+ var import_utils25 = __toESM(require_cjs2());
145340
145302
  function isPackageExist(packageName, registry2) {
145341
145303
  return __async(this, null, function* () {
145342
- if (yield (0, import_utils24.canUseNpm)()) {
145304
+ if (yield (0, import_utils25.canUseNpm)()) {
145343
145305
  const args = [
145344
145306
  "view",
145345
145307
  packageName,
@@ -145348,15 +145310,15 @@ function isPackageExist(packageName, registry2) {
145348
145310
  if (registry2) {
145349
145311
  args.push(`--registry=${registry2}`);
145350
145312
  }
145351
- const result = yield (0, import_utils24.execa)("npm", args);
145352
- return (0, import_utils24.stripAnsi)(result.stdout);
145313
+ const result = yield (0, import_utils25.execa)("npm", args);
145314
+ return (0, import_utils25.stripAnsi)(result.stdout);
145353
145315
  }
145354
145316
  throw new Error("not found npm, please install npm before");
145355
145317
  });
145356
145318
  }
145357
145319
  function isPackageDeprecated(packageName, registry2) {
145358
145320
  return __async(this, null, function* () {
145359
- if (yield (0, import_utils24.canUseNpm)()) {
145321
+ if (yield (0, import_utils25.canUseNpm)()) {
145360
145322
  const args = [
145361
145323
  "view",
145362
145324
  packageName,
@@ -145365,14 +145327,14 @@ function isPackageDeprecated(packageName, registry2) {
145365
145327
  if (registry2) {
145366
145328
  args.push(`--registry=${registry2}`);
145367
145329
  }
145368
- const result = yield (0, import_utils24.execa)("npm", args);
145369
- return (0, import_utils24.stripAnsi)(result.stdout);
145330
+ const result = yield (0, import_utils25.execa)("npm", args);
145331
+ return (0, import_utils25.stripAnsi)(result.stdout);
145370
145332
  }
145371
145333
  throw new Error("not found npm, please install npm before");
145372
145334
  });
145373
145335
  }
145374
145336
  function semverDecrease(version) {
145375
- const versionObj = import_utils24.semver.parse(version, {
145337
+ const versionObj = import_utils25.semver.parse(version, {
145376
145338
  loose: true
145377
145339
  });
145378
145340
  if (!versionObj) {
@@ -145382,8 +145344,8 @@ function semverDecrease(version) {
145382
145344
  versionObj.prerelease = [];
145383
145345
  versionObj.patch--;
145384
145346
  const result = versionObj.format();
145385
- if (!import_utils24.semver.valid(result)) {
145386
- import_utils24.logger.debug(`Version ${result} is not valid semver`);
145347
+ if (!import_utils25.semver.valid(result)) {
145348
+ import_utils25.logger.debug(`Version ${result} is not valid semver`);
145387
145349
  return version;
145388
145350
  }
145389
145351
  return result;
@@ -145394,7 +145356,7 @@ function getAvailableVersion(packageName, currentVersion, registry2) {
145394
145356
  let version = currentVersion;
145395
145357
  while (times) {
145396
145358
  if (!(yield isPackageExist(`${packageName}@${version}`, registry2)) || (yield isPackageDeprecated(`${packageName}@${version}`, registry2))) {
145397
- version = import_utils24.semver.inc(version, "patch");
145359
+ version = import_utils25.semver.inc(version, "patch");
145398
145360
  times--;
145399
145361
  continue;
145400
145362
  }
@@ -145414,14 +145376,14 @@ function getAvailableVersion(packageName, currentVersion, registry2) {
145414
145376
  }
145415
145377
 
145416
145378
  // ../../generator-utils/dist/esm/index.js
145417
- var import_utils26 = __toESM(require_cjs2());
145379
+ var import_utils27 = __toESM(require_cjs2());
145418
145380
  function getPackageVersion(packageName, registry2) {
145419
145381
  return __async(this, null, function* () {
145420
- const spinner = (0, import_utils25.ora)({
145382
+ const spinner = (0, import_utils26.ora)({
145421
145383
  text: "Load Generator...",
145422
145384
  spinner: "runner"
145423
145385
  }).start();
145424
- if (yield (0, import_utils25.canUsePnpm)()) {
145386
+ if (yield (0, import_utils26.canUsePnpm)()) {
145425
145387
  const args = [
145426
145388
  "info",
145427
145389
  packageName,
@@ -145430,11 +145392,11 @@ function getPackageVersion(packageName, registry2) {
145430
145392
  if (registry2) {
145431
145393
  args.push(`--registry=${registry2}`);
145432
145394
  }
145433
- const result = yield (0, import_utils25.execa)("pnpm", args);
145395
+ const result = yield (0, import_utils26.execa)("pnpm", args);
145434
145396
  spinner.stop();
145435
145397
  return stripAnsi2(result.stdout);
145436
145398
  }
145437
- if (yield (0, import_utils25.canUseNpm)()) {
145399
+ if (yield (0, import_utils26.canUseNpm)()) {
145438
145400
  const args = [
145439
145401
  "view",
145440
145402
  packageName,
@@ -145443,7 +145405,7 @@ function getPackageVersion(packageName, registry2) {
145443
145405
  if (registry2) {
145444
145406
  args.push(`--registry=${registry2}`);
145445
145407
  }
145446
- const result = yield (0, import_utils25.execa)("npm", args);
145408
+ const result = yield (0, import_utils26.execa)("npm", args);
145447
145409
  spinner.stop();
145448
145410
  return stripAnsi2(result.stdout);
145449
145411
  }
@@ -145463,13 +145425,20 @@ function getModernPluginVersion(_0, _1) {
145463
145425
  if (!packageName.startsWith("@modern-js") || packageName.includes("electron") || packageName.includes("codesmith") || packageName.includes("easy-form") || packageName.startsWith("@modern-js-reduck")) {
145464
145426
  return getLatetPluginVersion("latest");
145465
145427
  }
145466
- const pkgPath = import_path11.default.join(require.resolve(SolutionToolsMap[solution], {
145428
+ let pkgPath = import_path11.default.join(require.resolve(SolutionToolsMap[solution], {
145467
145429
  paths: [
145468
145430
  cwd
145469
145431
  ]
145470
- }), "../../../../", "package.json");
145471
- if (import_utils25.fs.existsSync(pkgPath)) {
145472
- const pkgInfo = import_utils25.fs.readJSONSync(pkgPath);
145432
+ }), "../../..", "package.json");
145433
+ if (solution === Solution.Module) {
145434
+ pkgPath = import_path11.default.join(require.resolve(SolutionToolsMap[solution], {
145435
+ paths: [
145436
+ cwd
145437
+ ]
145438
+ }), "../..", "package.json");
145439
+ }
145440
+ if (import_utils26.fs.existsSync(pkgPath)) {
145441
+ const pkgInfo = import_utils26.fs.readJSONSync(pkgPath);
145473
145442
  const modernVersion = pkgInfo.version;
145474
145443
  if (typeof modernVersion !== "string") {
145475
145444
  return getLatetPluginVersion();
@@ -145486,11 +145455,11 @@ var import_lodash15 = __toESM(require_lodash2());
145486
145455
  // ../../generator-plugin/dist/esm/context/file.js
145487
145456
  var import_path13 = __toESM(require("path"));
145488
145457
 
145489
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.0/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
145458
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
145490
145459
  var import_comment_json2 = __toESM(require_src2());
145491
145460
  var declarationUpdate = __toESM(require_dist());
145492
145461
 
145493
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.0/node_modules/@modern-js/codesmith-api-json/dist/esm/utils/index.js
145462
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/utils/index.js
145494
145463
  function asyncGeneratorStep28(gen, resolve, reject, _next, _throw, key, arg) {
145495
145464
  try {
145496
145465
  var info = gen[key](arg);
@@ -145664,7 +145633,7 @@ function _editJson() {
145664
145633
  return _editJson.apply(this, arguments);
145665
145634
  }
145666
145635
 
145667
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.0/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
145636
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.2.3/node_modules/@modern-js/codesmith-api-json/dist/esm/index.js
145668
145637
  function asyncGeneratorStep29(gen, resolve, reject, _next, _throw, key, arg) {
145669
145638
  try {
145670
145639
  var info = gen[key](arg);
@@ -145960,7 +145929,7 @@ var JsonAPI = /* @__PURE__ */ function() {
145960
145929
 
145961
145930
  // ../../generator-plugin/dist/esm/utils/file.js
145962
145931
  var import_path12 = __toESM(require("path"));
145963
- var import_utils28 = __toESM(require_cjs2());
145932
+ var import_utils29 = __toESM(require_cjs2());
145964
145933
  var FileType;
145965
145934
  (function(FileType22) {
145966
145935
  FileType22["Text"] = "text";
@@ -145985,7 +145954,7 @@ function _fileExists() {
145985
145954
  ]);
145986
145955
  return [
145987
145956
  4,
145988
- import_utils26.fs.access(filePath)
145957
+ import_utils27.fs.access(filePath)
145989
145958
  ];
145990
145959
  case 1:
145991
145960
  _state.sent();
@@ -146019,7 +145988,7 @@ function dropFileRootPath(file, rootPath) {
146019
145988
  }
146020
145989
  function isAbsoluteOrRelativeFileTo(relativePath) {
146021
145990
  var isFile = function(file) {
146022
- return import_utils26.fs.existsSync(file) && import_utils26.fs.lstatSync(file).isFile();
145991
+ return import_utils27.fs.existsSync(file) && import_utils27.fs.lstatSync(file).isFile();
146023
145992
  };
146024
145993
  return function(fileName) {
146025
145994
  return isFile(fileName) || isFile(import_path12.default.join(relativePath, fileName));
@@ -146046,7 +146015,7 @@ function _addFile() {
146046
146015
  }
146047
146016
  return [
146048
146017
  4,
146049
- import_utils26.fs.mkdir(import_path12.default.dirname(fileDestPath), {
146018
+ import_utils27.fs.mkdir(import_path12.default.dirname(fileDestPath), {
146050
146019
  recursive: true
146051
146020
  })
146052
146021
  ];
@@ -146060,13 +146029,13 @@ function _addFile() {
146060
146029
  ];
146061
146030
  return [
146062
146031
  4,
146063
- import_utils26.fs.readFile(absTemplatePath)
146032
+ import_utils27.fs.readFile(absTemplatePath)
146064
146033
  ];
146065
146034
  case 3:
146066
146035
  rawTemplate = _state.sent();
146067
146036
  return [
146068
146037
  4,
146069
- import_utils26.fs.writeFile(fileDestPath, rawTemplate)
146038
+ import_utils27.fs.writeFile(fileDestPath, rawTemplate)
146070
146039
  ];
146071
146040
  case 4:
146072
146041
  _state.sent();
@@ -146083,7 +146052,7 @@ function _addFile() {
146083
146052
  ];
146084
146053
  return [
146085
146054
  4,
146086
- import_utils26.fs.readFile(absTemplatePath, "utf8")
146055
+ import_utils27.fs.readFile(absTemplatePath, "utf8")
146087
146056
  ];
146088
146057
  case 6:
146089
146058
  template = _state.sent();
@@ -146091,7 +146060,7 @@ function _addFile() {
146091
146060
  case 7:
146092
146061
  return [
146093
146062
  4,
146094
- import_utils26.fs.writeFile(fileDestPath, renderString3(template, config.data || {}, ((_config_templateFile = config.templateFile) === null || _config_templateFile === void 0 ? void 0 : _config_templateFile.endsWith(".ejs")) ? "ejs" : "handlebars"), "utf8")
146063
+ import_utils27.fs.writeFile(fileDestPath, renderString3(template, config.data || {}, ((_config_templateFile = config.templateFile) === null || _config_templateFile === void 0 ? void 0 : _config_templateFile.endsWith(".ejs")) ? "ejs" : "handlebars"), "utf8")
146095
146064
  ];
146096
146065
  case 8:
146097
146066
  _state.sent();
@@ -146125,7 +146094,7 @@ function _addManyFiles() {
146125
146094
  return import_path12.default.join(templatePath, templateFile2);
146126
146095
  });
146127
146096
  config.templateBase = ((_config_templateBase = config.templateBase) === null || _config_templateBase === void 0 ? void 0 : _config_templateBase.startsWith(import_path12.default.sep)) ? config.templateBase : "".concat(import_path12.default.sep).concat(config.templateBase || "");
146128
- templateFiles = import_utils28.globby.sync(config.templateFiles, {
146097
+ templateFiles = import_utils29.globby.sync(config.templateFiles, {
146129
146098
  braceExpansion: false
146130
146099
  }).map(function(filePath) {
146131
146100
  return dropFileRootPath(filePath, templatePath);
@@ -146449,14 +146418,14 @@ var PluginFileAPI = /* @__PURE__ */ function() {
146449
146418
  case 0:
146450
146419
  return [
146451
146420
  4,
146452
- import_utils26.fs.readFile(import_path13.default.join(_this.projectPath, fileName), "utf-8")
146421
+ import_utils27.fs.readFile(import_path13.default.join(_this.projectPath, fileName), "utf-8")
146453
146422
  ];
146454
146423
  case 1:
146455
146424
  content = _state.sent();
146456
146425
  newContent = update(content.split("\n"));
146457
146426
  return [
146458
146427
  4,
146459
- import_utils26.fs.writeFile(import_path13.default.join(_this.projectPath, fileName), newContent.join("\n"), "utf-8")
146428
+ import_utils27.fs.writeFile(import_path13.default.join(_this.projectPath, fileName), newContent.join("\n"), "utf-8")
146460
146429
  ];
146461
146430
  case 2:
146462
146431
  _state.sent();
@@ -146490,7 +146459,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
146490
146459
  ];
146491
146460
  return [
146492
146461
  4,
146493
- import_utils26.fs.rm(file)
146462
+ import_utils27.fs.rm(file)
146494
146463
  ];
146495
146464
  case 2:
146496
146465
  _state.sent();
@@ -146524,7 +146493,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
146524
146493
  ]);
146525
146494
  return [
146526
146495
  4,
146527
- import_utils26.fs.stat(dir)
146496
+ import_utils27.fs.stat(dir)
146528
146497
  ];
146529
146498
  case 2:
146530
146499
  stat = _state.sent();
@@ -146535,7 +146504,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
146535
146504
  ];
146536
146505
  return [
146537
146506
  4,
146538
- import_utils26.fs.rm(dir, {
146507
+ import_utils27.fs.rm(dir, {
146539
146508
  recursive: true
146540
146509
  })
146541
146510
  ];
@@ -146584,7 +146553,7 @@ var PluginFileAPI = /* @__PURE__ */ function() {
146584
146553
  return __generator20(this, function(_state) {
146585
146554
  return [
146586
146555
  2,
146587
- import_utils26.fs.readdir(import_path13.default.join(_this.projectPath, dir))
146556
+ import_utils27.fs.readdir(import_path13.default.join(_this.projectPath, dir))
146588
146557
  ];
146589
146558
  });
146590
146559
  })();
@@ -146991,23 +146960,23 @@ var PluginNpmAPI = /* @__PURE__ */ function() {
146991
146960
 
146992
146961
  // ../../new-action/dist/esm/utils/index.js
146993
146962
  var import_path14 = __toESM(require("path"));
146994
- var import_utils29 = __toESM(require_cjs2());
146963
+ var import_utils30 = __toESM(require_cjs2());
146995
146964
  function alreadyRepo(cwd = process.cwd()) {
146996
146965
  try {
146997
- return import_utils26.fs.existsSync(import_path14.default.resolve(cwd, "package.json"));
146966
+ return import_utils27.fs.existsSync(import_path14.default.resolve(cwd, "package.json"));
146998
146967
  } catch (e) {
146999
146968
  return false;
147000
146969
  }
147001
146970
  }
147002
146971
  var readJson = (jsonPath) => {
147003
- if (!import_utils26.fs.existsSync(jsonPath)) {
146972
+ if (!import_utils27.fs.existsSync(jsonPath)) {
147004
146973
  return {};
147005
146974
  }
147006
- const jsonStr = import_utils26.fs.readFileSync(jsonPath, {
146975
+ const jsonStr = import_utils27.fs.readFileSync(jsonPath, {
147007
146976
  encoding: "utf8"
147008
146977
  });
147009
146978
  try {
147010
- return import_utils29.json5.parse(jsonStr);
146979
+ return import_utils30.json5.parse(jsonStr);
147011
146980
  } catch (error) {
147012
146981
  throw Error(`${jsonPath} is not a valid json, please check and try again.`);
147013
146982
  }
@@ -147098,7 +147067,7 @@ var MWANewAction = (options) => __async(void 0, null, function* () {
147098
147067
  const dependency = MWAActionFunctionsDependencies[action2] || MWAActionRefactorDependencies[action2];
147099
147068
  const finalConfig = (0, import_lodash11.merge)(UserConfig, ans, {
147100
147069
  locale: UserConfig.locale || locale,
147101
- packageManager: UserConfig.packageManager || (yield (0, import_utils26.getPackageManager)(cwd)),
147070
+ packageManager: UserConfig.packageManager || (yield (0, import_utils27.getPackageManager)(cwd)),
147102
147071
  distTag
147103
147072
  }, {
147104
147073
  devDependencies: devDependency ? {
@@ -147186,7 +147155,7 @@ var ModuleNewAction = (options) => __async(void 0, null, function* () {
147186
147155
  };
147187
147156
  const finalConfig = (0, import_lodash12.merge)(UserConfig, ans, {
147188
147157
  locale: UserConfig.locale || locale,
147189
- packageManager: UserConfig.packageManager || (yield (0, import_utils26.getPackageManager)(cwd)),
147158
+ packageManager: UserConfig.packageManager || (yield (0, import_utils27.getPackageManager)(cwd)),
147190
147159
  distTag
147191
147160
  }, {
147192
147161
  devDependencies: devDependency ? {
@@ -147251,7 +147220,7 @@ var MonorepoNewAction = (options) => __async(void 0, null, function* () {
147251
147220
  });
147252
147221
  const finalConfig = (0, import_lodash13.merge)(UserConfig, {
147253
147222
  locale: UserConfig.locale || locale,
147254
- packageManager: UserConfig.packageManager || (yield (0, import_utils26.getPackageManager)(cwd)),
147223
+ packageManager: UserConfig.packageManager || (yield (0, import_utils27.getPackageManager)(cwd)),
147255
147224
  isMonorepo: true,
147256
147225
  distTag,
147257
147226
  plugins
@@ -147553,7 +147522,7 @@ function _getPackageMeta() {
147553
147522
  params.push("--registry");
147554
147523
  params.push(registryUrl);
147555
147524
  }
147556
- getPkgInfoPromise = (0, import_utils26.execa)("npm", params);
147525
+ getPkgInfoPromise = (0, import_utils27.execa)("npm", params);
147557
147526
  return [
147558
147527
  4,
147559
147528
  timeoutPromise(getPkgInfoPromise, NPM_API_TIMEOUT2, "Get npm version of '".concat(packageName, "'"))
@@ -147725,7 +147694,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
147725
147694
  ];
147726
147695
  return [
147727
147696
  4,
147728
- import_utils26.fs.readJSON(import_path17.default.join(process.cwd(), plugin.slice(5), "package.json"))
147697
+ import_utils27.fs.readJSON(import_path17.default.join(process.cwd(), plugin.slice(5), "package.json"))
147729
147698
  ];
147730
147699
  case 1:
147731
147700
  pkgJSON = _state2.sent();
@@ -147741,7 +147710,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
147741
147710
  ];
147742
147711
  return [
147743
147712
  4,
147744
- import_utils26.fs.readJSON(import_path17.default.join(plugin, "package.json"))
147713
+ import_utils27.fs.readJSON(import_path17.default.join(plugin, "package.json"))
147745
147714
  ];
147746
147715
  case 3:
147747
147716
  pkgJSON = _state2.sent();