@modern-js/repo-generator 3.0.9 → 3.0.10

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 (3) hide show
  1. package/README.md +2 -2
  2. package/dist/index.js +151 -108
  3. package/package.json +15 -15
package/README.md CHANGED
@@ -19,8 +19,8 @@ Please follow [Quick Start](https://modernjs.dev/en/guides/get-started/quick-sta
19
19
 
20
20
  ## Contributing
21
21
 
22
- Please read the [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md).
22
+ Please read the [Contributing Guide](https://github.com/web-infra-dev/modern.js/blob/main/CONTRIBUTING.md).
23
23
 
24
24
  ## License
25
25
 
26
- Modern.js is [MIT licensed](https://github.com/modern-js-dev/modern.js/blob/main/LICENSE).
26
+ Modern.js is [MIT licensed](https://github.com/web-infra-dev/modern.js/blob/main/LICENSE).
package/dist/index.js CHANGED
@@ -44658,9 +44658,9 @@ var require_src2 = __commonJS({
44658
44658
  }
44659
44659
  });
44660
44660
 
44661
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
44661
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
44662
44662
  var require_env = __commonJS({
44663
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js"(exports) {
44663
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js"(exports) {
44664
44664
  "use strict";
44665
44665
  Object.defineProperty(exports, "__esModule", {
44666
44666
  value: true
@@ -44722,9 +44722,9 @@ var require_env = __commonJS({
44722
44722
  }
44723
44723
  });
44724
44724
 
44725
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
44725
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
44726
44726
  var require_install = __commonJS({
44727
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js"(exports) {
44727
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js"(exports) {
44728
44728
  "use strict";
44729
44729
  Object.defineProperty(exports, "__esModule", {
44730
44730
  value: true
@@ -44876,9 +44876,9 @@ var require_install = __commonJS({
44876
44876
  }
44877
44877
  });
44878
44878
 
44879
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
44879
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
44880
44880
  var require_utils = __commonJS({
44881
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js"(exports) {
44881
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js"(exports) {
44882
44882
  "use strict";
44883
44883
  Object.defineProperty(exports, "__esModule", {
44884
44884
  value: true
@@ -44942,9 +44942,9 @@ var require_utils = __commonJS({
44942
44942
  }
44943
44943
  });
44944
44944
 
44945
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
44945
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
44946
44946
  var require_node = __commonJS({
44947
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
44947
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
44948
44948
  "use strict";
44949
44949
  Object.defineProperty(exports, "__esModule", {
44950
44950
  value: true
@@ -45019,9 +45019,9 @@ var require_node = __commonJS({
45019
45019
  }
45020
45020
  });
45021
45021
 
45022
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js
45022
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js
45023
45023
  var require_utils2 = __commonJS({
45024
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js"(exports) {
45024
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js"(exports) {
45025
45025
  "use strict";
45026
45026
  Object.defineProperty(exports, "__esModule", {
45027
45027
  value: true
@@ -45096,9 +45096,9 @@ var require_utils2 = __commonJS({
45096
45096
  }
45097
45097
  });
45098
45098
 
45099
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js
45099
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js
45100
45100
  var require_node2 = __commonJS({
45101
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js"(exports) {
45101
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js"(exports) {
45102
45102
  "use strict";
45103
45103
  Object.defineProperty(exports, "__esModule", {
45104
45104
  value: true
@@ -45177,9 +45177,9 @@ var require_node2 = __commonJS({
45177
45177
  }
45178
45178
  });
45179
45179
 
45180
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
45180
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
45181
45181
  var require_constants2 = __commonJS({
45182
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
45182
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
45183
45183
  "use strict";
45184
45184
  Object.defineProperty(exports, "__esModule", {
45185
45185
  value: true
@@ -45200,9 +45200,9 @@ var require_constants2 = __commonJS({
45200
45200
  }
45201
45201
  });
45202
45202
 
45203
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
45203
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
45204
45204
  var require_logger2 = __commonJS({
45205
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
45205
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
45206
45206
  "use strict";
45207
45207
  Object.defineProperty(exports, "__esModule", {
45208
45208
  value: true
@@ -45270,9 +45270,9 @@ var require_logger2 = __commonJS({
45270
45270
  }
45271
45271
  });
45272
45272
 
45273
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
45273
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
45274
45274
  var require_constants3 = __commonJS({
45275
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
45275
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
45276
45276
  "use strict";
45277
45277
  Object.defineProperty(exports, "__esModule", {
45278
45278
  value: true
@@ -45283,9 +45283,9 @@ var require_constants3 = __commonJS({
45283
45283
  }
45284
45284
  });
45285
45285
 
45286
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
45286
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
45287
45287
  var require_FsResource = __commonJS({
45288
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
45288
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
45289
45289
  "use strict";
45290
45290
  Object.defineProperty(exports, "__esModule", {
45291
45291
  value: true
@@ -45336,9 +45336,9 @@ var require_FsResource = __commonJS({
45336
45336
  }
45337
45337
  });
45338
45338
 
45339
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
45339
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
45340
45340
  var require_FsMaterial = __commonJS({
45341
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
45341
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
45342
45342
  "use strict";
45343
45343
  Object.defineProperty(exports, "__esModule", {
45344
45344
  value: true
@@ -45390,9 +45390,9 @@ var require_FsMaterial = __commonJS({
45390
45390
  }
45391
45391
  });
45392
45392
 
45393
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
45393
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
45394
45394
  var require_nodeRequire = __commonJS({
45395
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
45395
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
45396
45396
  "use strict";
45397
45397
  Object.defineProperty(exports, "__esModule", {
45398
45398
  value: true
@@ -45417,9 +45417,9 @@ var require_nodeRequire = __commonJS({
45417
45417
  }
45418
45418
  });
45419
45419
 
45420
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
45420
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
45421
45421
  var require_fsExists = __commonJS({
45422
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
45422
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
45423
45423
  "use strict";
45424
45424
  Object.defineProperty(exports, "__esModule", {
45425
45425
  value: true
@@ -45439,9 +45439,9 @@ var require_fsExists = __commonJS({
45439
45439
  }
45440
45440
  });
45441
45441
 
45442
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
45442
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
45443
45443
  var require_getGeneratorDir = __commonJS({
45444
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
45444
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
45445
45445
  "use strict";
45446
45446
  Object.defineProperty(exports, "__esModule", {
45447
45447
  value: true
@@ -45475,9 +45475,9 @@ var require_getGeneratorDir = __commonJS({
45475
45475
  }
45476
45476
  });
45477
45477
 
45478
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
45478
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
45479
45479
  var require_generator = __commonJS({
45480
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
45480
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
45481
45481
  "use strict";
45482
45482
  Object.defineProperty(exports, "__esModule", {
45483
45483
  value: true
@@ -45725,9 +45725,9 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
45725
45725
  }
45726
45726
  });
45727
45727
 
45728
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
45728
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
45729
45729
  var require_packageManager = __commonJS({
45730
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
45730
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
45731
45731
  "use strict";
45732
45732
  Object.defineProperty(exports, "__esModule", {
45733
45733
  value: true
@@ -45805,9 +45805,9 @@ var require_packageManager = __commonJS({
45805
45805
  }
45806
45806
  });
45807
45807
 
45808
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
45808
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
45809
45809
  var require_timeoutPromise = __commonJS({
45810
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
45810
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
45811
45811
  "use strict";
45812
45812
  Object.defineProperty(exports, "__esModule", {
45813
45813
  value: true
@@ -53633,9 +53633,9 @@ var require_tar = __commonJS({
53633
53633
  }
53634
53634
  });
53635
53635
 
53636
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/constants.js
53636
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js
53637
53637
  var require_constants5 = __commonJS({
53638
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
53638
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
53639
53639
  "use strict";
53640
53640
  Object.defineProperty(exports, "__esModule", {
53641
53641
  value: true
@@ -53648,9 +53648,9 @@ var require_constants5 = __commonJS({
53648
53648
  }
53649
53649
  });
53650
53650
 
53651
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
53651
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
53652
53652
  var require_getNpmTarballUrl = __commonJS({
53653
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
53653
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
53654
53654
  "use strict";
53655
53655
  Object.defineProperty(exports, "__esModule", {
53656
53656
  value: true
@@ -53684,9 +53684,9 @@ var require_getNpmTarballUrl = __commonJS({
53684
53684
  }
53685
53685
  });
53686
53686
 
53687
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
53687
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
53688
53688
  var require_getNpmVersion = __commonJS({
53689
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
53689
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
53690
53690
  "use strict";
53691
53691
  Object.defineProperty(exports, "__esModule", {
53692
53692
  value: true
@@ -53722,9 +53722,9 @@ var require_getNpmVersion = __commonJS({
53722
53722
  }
53723
53723
  });
53724
53724
 
53725
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
53725
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
53726
53726
  var require_downloadPackage = __commonJS({
53727
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
53727
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
53728
53728
  "use strict";
53729
53729
  Object.defineProperty(exports, "__esModule", {
53730
53730
  value: true
@@ -53826,9 +53826,9 @@ var require_downloadPackage = __commonJS({
53826
53826
  }
53827
53827
  });
53828
53828
 
53829
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
53829
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
53830
53830
  var require_getPackageInfo = __commonJS({
53831
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
53831
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
53832
53832
  "use strict";
53833
53833
  Object.defineProperty(exports, "__esModule", {
53834
53834
  value: true
@@ -53860,9 +53860,9 @@ var require_getPackageInfo = __commonJS({
53860
53860
  }
53861
53861
  });
53862
53862
 
53863
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
53863
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
53864
53864
  var require_utils4 = __commonJS({
53865
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
53865
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
53866
53866
  "use strict";
53867
53867
  Object.defineProperty(exports, "__esModule", {
53868
53868
  value: true
@@ -53938,9 +53938,9 @@ var require_utils4 = __commonJS({
53938
53938
  }
53939
53939
  });
53940
53940
 
53941
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
53941
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
53942
53942
  var require_materials = __commonJS({
53943
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
53943
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
53944
53944
  "use strict";
53945
53945
  Object.defineProperty(exports, "__esModule", {
53946
53946
  value: true
@@ -53998,9 +53998,9 @@ var require_materials = __commonJS({
53998
53998
  }
53999
53999
  });
54000
54000
 
54001
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
54001
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
54002
54002
  var require_codesmith = __commonJS({
54003
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
54003
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
54004
54004
  "use strict";
54005
54005
  Object.defineProperty(exports, "__esModule", {
54006
54006
  value: true
@@ -54076,9 +54076,9 @@ var require_codesmith = __commonJS({
54076
54076
  }
54077
54077
  });
54078
54078
 
54079
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/index.js
54079
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js
54080
54080
  var require_node3 = __commonJS({
54081
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
54081
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
54082
54082
  "use strict";
54083
54083
  Object.defineProperty(exports, "__esModule", {
54084
54084
  value: true
@@ -60032,9 +60032,9 @@ var require_lib = __commonJS({
60032
60032
  }
60033
60033
  });
60034
60034
 
60035
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js
60035
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js
60036
60036
  var require_renderString = __commonJS({
60037
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js"(exports) {
60037
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js"(exports) {
60038
60038
  "use strict";
60039
60039
  Object.defineProperty(exports, "__esModule", {
60040
60040
  value: true
@@ -60083,9 +60083,9 @@ var require_renderString = __commonJS({
60083
60083
  }
60084
60084
  });
60085
60085
 
60086
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js
60086
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js
60087
60087
  var require_utils6 = __commonJS({
60088
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js"(exports) {
60088
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js"(exports) {
60089
60089
  "use strict";
60090
60090
  Object.defineProperty(exports, "__esModule", {
60091
60091
  value: true
@@ -60100,9 +60100,9 @@ var require_utils6 = __commonJS({
60100
60100
  }
60101
60101
  });
60102
60102
 
60103
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js
60103
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js
60104
60104
  var require_node4 = __commonJS({
60105
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js"(exports) {
60105
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js"(exports) {
60106
60106
  "use strict";
60107
60107
  Object.defineProperty(exports, "__esModule", {
60108
60108
  value: true
@@ -60116,6 +60116,27 @@ var require_node4 = __commonJS({
60116
60116
  });
60117
60117
  var _codesmith = require_node3();
60118
60118
  var _utils = require_utils6();
60119
+ function ownKeys7(object, enumerableOnly) {
60120
+ var keys = Object.keys(object);
60121
+ if (Object.getOwnPropertySymbols) {
60122
+ var symbols = Object.getOwnPropertySymbols(object);
60123
+ enumerableOnly && (symbols = symbols.filter(function(sym) {
60124
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
60125
+ })), keys.push.apply(keys, symbols);
60126
+ }
60127
+ return keys;
60128
+ }
60129
+ function _objectSpread10(target) {
60130
+ for (var i = 1; i < arguments.length; i++) {
60131
+ var source = null != arguments[i] ? arguments[i] : {};
60132
+ i % 2 ? ownKeys7(Object(source), true).forEach(function(key) {
60133
+ _defineProperty14(target, key, source[key]);
60134
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys7(Object(source)).forEach(function(key) {
60135
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
60136
+ });
60137
+ }
60138
+ return target;
60139
+ }
60119
60140
  function _defineProperty14(obj, key, value) {
60120
60141
  if (key in obj) {
60121
60142
  Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
@@ -60134,6 +60155,16 @@ var require_node4 = __commonJS({
60134
60155
  partials: {}
60135
60156
  };
60136
60157
  }
60158
+ registerHelp(helpers) {
60159
+ return __async(this, null, function* () {
60160
+ this.registers.helpers = _objectSpread10(_objectSpread10({}, this.registers.helpers), helpers);
60161
+ });
60162
+ }
60163
+ registerPartials(partials) {
60164
+ return __async(this, null, function* () {
60165
+ this.registers.partials = _objectSpread10(_objectSpread10({}, this.registers.partials), partials);
60166
+ });
60167
+ }
60137
60168
  renderTemplate(_0, _1) {
60138
60169
  return __async(this, arguments, function* (templateResource, target, parameters = {}) {
60139
60170
  if (templateResource._type !== _codesmith.FS_RESOURCE) {
@@ -60875,9 +60906,9 @@ var require_ejs = __commonJS({
60875
60906
  }
60876
60907
  });
60877
60908
 
60878
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js
60909
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js
60879
60910
  var require_renderString2 = __commonJS({
60880
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js"(exports) {
60911
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js"(exports) {
60881
60912
  "use strict";
60882
60913
  Object.defineProperty(exports, "__esModule", {
60883
60914
  value: true
@@ -60893,9 +60924,9 @@ var require_renderString2 = __commonJS({
60893
60924
  }
60894
60925
  });
60895
60926
 
60896
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js
60927
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js
60897
60928
  var require_utils8 = __commonJS({
60898
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js"(exports) {
60929
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js"(exports) {
60899
60930
  "use strict";
60900
60931
  Object.defineProperty(exports, "__esModule", {
60901
60932
  value: true
@@ -60910,9 +60941,9 @@ var require_utils8 = __commonJS({
60910
60941
  }
60911
60942
  });
60912
60943
 
60913
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js
60944
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js
60914
60945
  var require_node5 = __commonJS({
60915
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js"(exports) {
60946
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js"(exports) {
60916
60947
  "use strict";
60917
60948
  Object.defineProperty(exports, "__esModule", {
60918
60949
  value: true
@@ -60970,9 +61001,9 @@ var require_node5 = __commonJS({
60970
61001
  }
60971
61002
  });
60972
61003
 
60973
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js
61004
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js
60974
61005
  var require_constant = __commonJS({
60975
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js"(exports) {
61006
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js"(exports) {
60976
61007
  "use strict";
60977
61008
  Object.defineProperty(exports, "__esModule", {
60978
61009
  value: true
@@ -60983,9 +61014,9 @@ var require_constant = __commonJS({
60983
61014
  }
60984
61015
  });
60985
61016
 
60986
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js
61017
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js
60987
61018
  var require_node6 = __commonJS({
60988
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js"(exports) {
61019
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js"(exports) {
60989
61020
  "use strict";
60990
61021
  Object.defineProperty(exports, "__esModule", {
60991
61022
  value: true
@@ -102344,9 +102375,9 @@ var require_inquirer = __commonJS({
102344
102375
  }
102345
102376
  });
102346
102377
 
102347
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
102378
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
102348
102379
  var require_transform = __commonJS({
102349
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
102380
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
102350
102381
  "use strict";
102351
102382
  Object.defineProperty(exports, "__esModule", {
102352
102383
  value: true
@@ -102515,9 +102546,9 @@ var require_transform = __commonJS({
102515
102546
  }
102516
102547
  });
102517
102548
 
102518
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
102549
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
102519
102550
  var require_prompt2 = __commonJS({
102520
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
102551
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
102521
102552
  "use strict";
102522
102553
  Object.defineProperty(exports, "__esModule", {
102523
102554
  value: true
@@ -102655,9 +102686,9 @@ var require_prompt2 = __commonJS({
102655
102686
  }
102656
102687
  });
102657
102688
 
102658
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
102689
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
102659
102690
  var require_inquirer2 = __commonJS({
102660
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
102691
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
102661
102692
  "use strict";
102662
102693
  Object.defineProperty(exports, "__esModule", {
102663
102694
  value: true
@@ -102729,9 +102760,9 @@ var require_inquirer2 = __commonJS({
102729
102760
  }
102730
102761
  });
102731
102762
 
102732
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
102763
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
102733
102764
  var require_node7 = __commonJS({
102734
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
102765
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
102735
102766
  "use strict";
102736
102767
  Object.defineProperty(exports, "__esModule", {
102737
102768
  value: true
@@ -105544,9 +105575,9 @@ var require_node8 = __commonJS({
105544
105575
  }
105545
105576
  });
105546
105577
 
105547
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
105578
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
105548
105579
  var require_zh = __commonJS({
105549
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
105580
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
105550
105581
  "use strict";
105551
105582
  Object.defineProperty(exports, "__esModule", {
105552
105583
  value: true
@@ -105581,9 +105612,9 @@ var require_zh = __commonJS({
105581
105612
  }
105582
105613
  });
105583
105614
 
105584
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
105615
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
105585
105616
  var require_en = __commonJS({
105586
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
105617
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
105587
105618
  "use strict";
105588
105619
  Object.defineProperty(exports, "__esModule", {
105589
105620
  value: true
@@ -105618,9 +105649,9 @@ var require_en = __commonJS({
105618
105649
  }
105619
105650
  });
105620
105651
 
105621
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
105652
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
105622
105653
  var require_locale = __commonJS({
105623
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
105654
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
105624
105655
  "use strict";
105625
105656
  Object.defineProperty(exports, "__esModule", {
105626
105657
  value: true
@@ -105645,9 +105676,9 @@ var require_locale = __commonJS({
105645
105676
  }
105646
105677
  });
105647
105678
 
105648
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
105679
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
105649
105680
  var require_transform2 = __commonJS({
105650
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
105681
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
105651
105682
  "use strict";
105652
105683
  Object.defineProperty(exports, "__esModule", {
105653
105684
  value: true
@@ -105682,9 +105713,9 @@ var require_transform2 = __commonJS({
105682
105713
  }
105683
105714
  });
105684
105715
 
105685
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
105716
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
105686
105717
  var require_checkUseNvm = __commonJS({
105687
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
105718
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
105688
105719
  "use strict";
105689
105720
  Object.defineProperty(exports, "__esModule", {
105690
105721
  value: true
@@ -105747,9 +105778,9 @@ var require_checkUseNvm = __commonJS({
105747
105778
  }
105748
105779
  });
105749
105780
 
105750
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
105781
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
105751
105782
  var require_node9 = __commonJS({
105752
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
105783
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
105753
105784
  "use strict";
105754
105785
  Object.defineProperty(exports, "__esModule", {
105755
105786
  value: true
@@ -105803,13 +105834,13 @@ var require_node9 = __commonJS({
105803
105834
  var AppAPI2 = class {
105804
105835
  constructor(generatorContext, generatorCore) {
105805
105836
  _defineProperty14(this, "i18n", _locale.i18n);
105806
- _defineProperty14(this, "generatorCore", void 0);
105807
- _defineProperty14(this, "generatorContext", void 0);
105808
105837
  _defineProperty14(this, "npmApi", void 0);
105809
105838
  _defineProperty14(this, "gitApi", void 0);
105810
105839
  _defineProperty14(this, "handlebarsAPI", void 0);
105811
105840
  _defineProperty14(this, "ejsAPI", void 0);
105812
105841
  _defineProperty14(this, "fsAPI", void 0);
105842
+ _defineProperty14(this, "generatorCore", void 0);
105843
+ _defineProperty14(this, "generatorContext", void 0);
105813
105844
  this.generatorCore = generatorCore;
105814
105845
  this.generatorContext = generatorContext;
105815
105846
  this.npmApi = new _codesmithApiNpm.NpmAPI(generatorCore);
@@ -105869,6 +105900,7 @@ var require_node9 = __commonJS({
105869
105900
  yield intallPromise;
105870
105901
  this.generatorCore.logger.info(_locale.i18n.t(_locale.localeKeys.install.success));
105871
105902
  } catch (e) {
105903
+ this.generatorCore.logger.warn(e);
105872
105904
  this.generatorCore.logger.warn(_locale.i18n.t(_locale.localeKeys.install.failed, {
105873
105905
  command: command || `${packageManager} install`
105874
105906
  }));
@@ -135808,8 +135840,10 @@ var require_is2 = __commonJS({
135808
135840
  isEmpty: () => isEmpty2,
135809
135841
  isFastRefresh: () => isFastRefresh,
135810
135842
  isRouterV5: () => isRouterV5,
135843
+ isSSGEntry: () => isSSGEntry,
135811
135844
  isSSR: () => isSSR,
135812
135845
  isServiceWorker: () => isServiceWorker,
135846
+ isSingleEntry: () => isSingleEntry,
135813
135847
  isTypescript: () => isTypescript,
135814
135848
  isUseSSRBundle: () => isUseSSRBundle
135815
135849
  });
@@ -135867,6 +135901,12 @@ var require_is2 = __commonJS({
135867
135901
  var _a2, _b, _c;
135868
135902
  return typeof ((_a2 = config.runtime) == null ? void 0 : _a2.router) !== "boolean" && ((_c = (_b = config == null ? void 0 : config.runtime) == null ? void 0 : _b.router) == null ? void 0 : _c.mode) === "react-router-5";
135869
135903
  };
135904
+ var isSSGEntry = (config, entryName, entrypoints) => {
135905
+ const ssgConfig = config.output.ssg;
135906
+ const useSSG = isSingleEntry(entrypoints) ? Boolean(ssgConfig) : ssgConfig === true || typeof (ssgConfig == null ? void 0 : ssgConfig[0]) === "function" || Boolean(ssgConfig == null ? void 0 : ssgConfig[entryName]);
135907
+ return useSSG;
135908
+ };
135909
+ var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
135870
135910
  }
135871
135911
  });
135872
135912
 
@@ -137318,14 +137358,12 @@ var require_prettyInstructions2 = __commonJS({
137318
137358
  __export2(prettyInstructions_exports, {
137319
137359
  getAddressUrls: () => getAddressUrls,
137320
137360
  getIpv4Interfaces: () => getIpv4Interfaces,
137321
- isSingleEntry: () => isSingleEntry,
137322
137361
  prettyInstructions: () => prettyInstructions
137323
137362
  });
137324
137363
  module2.exports = __toCommonJS2(prettyInstructions_exports);
137325
137364
  var import_os = __toESM2(require("os"));
137326
137365
  var import_compiled = require_compiled2();
137327
137366
  var import_is = require_is2();
137328
- var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
137329
137367
  var normalizeUrl = (url) => url.replace(/([^:]\/)\/+/g, "$1");
137330
137368
  var getIpv4Interfaces = () => {
137331
137369
  const interfaces = import_os.default.networkInterfaces();
@@ -137364,7 +137402,7 @@ var require_prettyInstructions2 = __commonJS({
137364
137402
  );
137365
137403
  const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
137366
137404
  let message = "App running at:\n\n";
137367
- if (isSingleEntry(entrypoints) || apiOnly) {
137405
+ if ((0, import_is.isSingleEntry)(entrypoints) || apiOnly) {
137368
137406
  message += urls.map(
137369
137407
  ({ type, url }) => ` ${import_compiled.chalk.bold(`> ${type.padEnd(10)}`)}${import_compiled.chalk.cyanBright(
137370
137408
  normalizeUrl(`${url}/${routes[0].urlPath}`)
@@ -137856,7 +137894,8 @@ var require_analyzeProject2 = __commonJS({
137856
137894
  };
137857
137895
  var analyzeProject_exports = {};
137858
137896
  __export2(analyzeProject_exports, {
137859
- isApiOnly: () => isApiOnly
137897
+ isApiOnly: () => isApiOnly,
137898
+ isWebOnly: () => isWebOnly
137860
137899
  });
137861
137900
  module2.exports = __toCommonJS2(analyzeProject_exports);
137862
137901
  var path9 = __toESM2(require("path"));
@@ -137867,6 +137906,10 @@ var require_analyzeProject2 = __commonJS({
137867
137906
  const options = (0, import_compiled.minimist)(process.argv.slice(2));
137868
137907
  return !existSrc || Boolean(options["api-only"]);
137869
137908
  });
137909
+ var isWebOnly = () => __async2(void 0, null, function* () {
137910
+ const options = (0, import_compiled.minimist)(process.argv.slice(2));
137911
+ return Boolean(options["web-only"]);
137912
+ });
137870
137913
  }
137871
137914
  });
137872
137915
 
@@ -139403,9 +139446,9 @@ var require_dist3 = __commonJS({
139403
139446
  }
139404
139447
  });
139405
139448
 
139406
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js
139449
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js
139407
139450
  var require_utils12 = __commonJS({
139408
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js"(exports) {
139451
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js"(exports) {
139409
139452
  "use strict";
139410
139453
  Object.defineProperty(exports, "__esModule", {
139411
139454
  value: true
@@ -139427,9 +139470,9 @@ var require_utils12 = __commonJS({
139427
139470
  }
139428
139471
  });
139429
139472
 
139430
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js
139473
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js
139431
139474
  var require_node10 = __commonJS({
139432
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js"(exports) {
139475
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js"(exports) {
139433
139476
  "use strict";
139434
139477
  Object.defineProperty(exports, "__esModule", {
139435
139478
  value: true
@@ -139657,7 +139700,7 @@ var ZH_LOCALE = {
139657
139700
  polyfill: "启用「基于 UA 的 Polyfill」功能",
139658
139701
  proxy: "启用「全局代理」",
139659
139702
  swc: "启用「SWC 编译」",
139660
- rspack: "启用「rspack 构建」"
139703
+ rspack: "启用「Rspack 构建」(实验性)"
139661
139704
  },
139662
139705
  element: {
139663
139706
  self: "创建工程元素",
@@ -139711,7 +139754,7 @@ var ZH_LOCALE = {
139711
139754
  buildTools: {
139712
139755
  self: "请选择构建工具",
139713
139756
  webpack: "webpack",
139714
- rspack: "rspack (experimental)"
139757
+ rspack: "Rspack (实验性)"
139715
139758
  }
139716
139759
  };
139717
139760
 
@@ -139754,7 +139797,7 @@ var EN_LOCALE = {
139754
139797
  polyfill: "Enable UA-based Polyfill Feature",
139755
139798
  proxy: "Enable Global Proxy",
139756
139799
  swc: "Enable SWC Compile",
139757
- rspack: "Enable rspack Build"
139800
+ rspack: "Enable Rspack Build (experimental)"
139758
139801
  },
139759
139802
  element: {
139760
139803
  self: "Create project element",
@@ -139808,7 +139851,7 @@ var EN_LOCALE = {
139808
139851
  buildTools: {
139809
139852
  self: "Build Tools",
139810
139853
  webpack: "webpack",
139811
- rspack: "rspack (experimental)"
139854
+ rspack: "Rspack (experimental)"
139812
139855
  }
139813
139856
  };
139814
139857
 
@@ -142636,14 +142679,14 @@ function getGeneratorPath(generator, distTag) {
142636
142679
  var import_lodash6 = __toESM(require_lodash2());
142637
142680
  var import_codesmith2 = __toESM(require_node3());
142638
142681
 
142639
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/modern/index.js
142682
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/index.js
142640
142683
  var import_lodash5 = __toESM(require_lodash3());
142641
142684
 
142642
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/modern/prompt.js
142685
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/prompt.js
142643
142686
  init_esm6();
142644
142687
  var import_inquirer = __toESM(require_inquirer());
142645
142688
 
142646
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/modern/transform.js
142689
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/transform.js
142647
142690
  var import_lodash4 = __toESM(require_lodash3());
142648
142691
  init_esm4();
142649
142692
  var _excluded = ["type", "title", "default", "enum", "x-validate"];
@@ -142804,7 +142847,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
142804
142847
  return getQuestionFromSchema(schema, configValue, validateMap, initValue);
142805
142848
  }
142806
142849
 
142807
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/modern/prompt.js
142850
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/prompt.js
142808
142851
  function ownKeys3(object, enumerableOnly) {
142809
142852
  var keys = Object.keys(object);
142810
142853
  if (Object.getOwnPropertySymbols) {
@@ -142929,7 +142972,7 @@ function prompt(_0) {
142929
142972
  });
142930
142973
  }
142931
142974
 
142932
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/modern/inquirer.js
142975
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/inquirer.js
142933
142976
  function ownKeys4(object, enumerableOnly) {
142934
142977
  var keys = Object.keys(object);
142935
142978
  if (Object.getOwnPropertySymbols) {
@@ -142992,7 +143035,7 @@ var CLIReader = class {
142992
143035
  }
142993
143036
  };
142994
143037
 
142995
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/modern/index.js
143038
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/index.js
142996
143039
  init_esm4();
142997
143040
  function _defineProperty10(obj, key, value) {
142998
143041
  if (key in obj) {
package/package.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "name": "@modern-js/repo-generator",
3
3
  "description": "A Progressive React Framework for modern web development.",
4
4
  "homepage": "https://modernjs.dev",
5
- "bugs": "https://github.com/modern-js-dev/modern.js/issues",
6
- "repository": "modern-js-dev/modern.js",
5
+ "bugs": "https://github.com/web-infra-dev/modern.js/issues",
6
+ "repository": "web-infra-dev/modern.js",
7
7
  "license": "MIT",
8
8
  "keywords": [
9
9
  "react",
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "3.0.9",
14
+ "version": "3.0.10",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "main": "./dist/index.js",
17
17
  "files": [
@@ -20,22 +20,22 @@
20
20
  ],
21
21
  "devDependencies": {
22
22
  "@babel/runtime": "^7.18.0",
23
- "@modern-js/codesmith": "2.0.4",
24
- "@modern-js/codesmith-api-app": "2.0.4",
23
+ "@modern-js/codesmith": "2.0.5",
24
+ "@modern-js/codesmith-api-app": "2.0.5",
25
25
  "@types/jest": "^27",
26
26
  "@types/node": "^14",
27
27
  "jest": "^27",
28
28
  "typescript": "^4",
29
- "@modern-js/base-generator": "3.0.9",
30
- "@modern-js/generator-common": "3.0.9",
31
- "@modern-js/module-generator": "3.0.9",
32
- "@modern-js/mwa-generator": "3.0.9",
33
- "@modern-js/monorepo-generator": "3.0.9",
34
- "@modern-js/utils": "2.7.0",
35
- "@modern-js/generator-plugin": "3.0.9",
36
- "@modern-js/generator-utils": "3.0.9",
37
- "@scripts/jest-config": "2.7.0",
38
- "@scripts/build": "2.7.0"
29
+ "@modern-js/generator-common": "3.0.10",
30
+ "@modern-js/generator-utils": "3.0.10",
31
+ "@modern-js/module-generator": "3.0.10",
32
+ "@modern-js/monorepo-generator": "3.0.10",
33
+ "@modern-js/mwa-generator": "3.0.10",
34
+ "@modern-js/utils": "2.8.0",
35
+ "@modern-js/generator-plugin": "3.0.10",
36
+ "@modern-js/base-generator": "3.0.10",
37
+ "@scripts/build": "2.8.0",
38
+ "@scripts/jest-config": "2.8.0"
39
39
  },
40
40
  "sideEffects": false,
41
41
  "publishConfig": {