@modern-js/repo-generator 0.0.0-next-1684865198194 → 0.0.0-next-1684897676528

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