@modern-js/mwa-generator 3.0.8 → 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.
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
@@ -44663,9 +44663,9 @@ var require_src2 = __commonJS({
44663
44663
  }
44664
44664
  });
44665
44665
 
44666
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
44666
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
44667
44667
  var require_env = __commonJS({
44668
- "../../../../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) {
44668
+ "../../../../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) {
44669
44669
  "use strict";
44670
44670
  Object.defineProperty(exports, "__esModule", {
44671
44671
  value: true
@@ -44727,9 +44727,9 @@ var require_env = __commonJS({
44727
44727
  }
44728
44728
  });
44729
44729
 
44730
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
44730
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
44731
44731
  var require_install = __commonJS({
44732
- "../../../../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) {
44732
+ "../../../../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) {
44733
44733
  "use strict";
44734
44734
  Object.defineProperty(exports, "__esModule", {
44735
44735
  value: true
@@ -44881,9 +44881,9 @@ var require_install = __commonJS({
44881
44881
  }
44882
44882
  });
44883
44883
 
44884
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
44884
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
44885
44885
  var require_utils = __commonJS({
44886
- "../../../../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) {
44886
+ "../../../../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) {
44887
44887
  "use strict";
44888
44888
  Object.defineProperty(exports, "__esModule", {
44889
44889
  value: true
@@ -44947,9 +44947,9 @@ var require_utils = __commonJS({
44947
44947
  }
44948
44948
  });
44949
44949
 
44950
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
44950
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
44951
44951
  var require_node = __commonJS({
44952
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
44952
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
44953
44953
  "use strict";
44954
44954
  Object.defineProperty(exports, "__esModule", {
44955
44955
  value: true
@@ -45024,9 +45024,9 @@ var require_node = __commonJS({
45024
45024
  }
45025
45025
  });
45026
45026
 
45027
- // ../../../../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
45027
+ // ../../../../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
45028
45028
  var require_utils2 = __commonJS({
45029
- "../../../../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) {
45029
+ "../../../../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) {
45030
45030
  "use strict";
45031
45031
  Object.defineProperty(exports, "__esModule", {
45032
45032
  value: true
@@ -45101,9 +45101,9 @@ var require_utils2 = __commonJS({
45101
45101
  }
45102
45102
  });
45103
45103
 
45104
- // ../../../../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
45104
+ // ../../../../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
45105
45105
  var require_node2 = __commonJS({
45106
- "../../../../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) {
45106
+ "../../../../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) {
45107
45107
  "use strict";
45108
45108
  Object.defineProperty(exports, "__esModule", {
45109
45109
  value: true
@@ -45182,9 +45182,9 @@ var require_node2 = __commonJS({
45182
45182
  }
45183
45183
  });
45184
45184
 
45185
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
45185
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
45186
45186
  var require_constants2 = __commonJS({
45187
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
45187
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
45188
45188
  "use strict";
45189
45189
  Object.defineProperty(exports, "__esModule", {
45190
45190
  value: true
@@ -45205,9 +45205,9 @@ var require_constants2 = __commonJS({
45205
45205
  }
45206
45206
  });
45207
45207
 
45208
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
45208
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
45209
45209
  var require_logger2 = __commonJS({
45210
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
45210
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
45211
45211
  "use strict";
45212
45212
  Object.defineProperty(exports, "__esModule", {
45213
45213
  value: true
@@ -45275,9 +45275,9 @@ var require_logger2 = __commonJS({
45275
45275
  }
45276
45276
  });
45277
45277
 
45278
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
45278
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
45279
45279
  var require_constants3 = __commonJS({
45280
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
45280
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
45281
45281
  "use strict";
45282
45282
  Object.defineProperty(exports, "__esModule", {
45283
45283
  value: true
@@ -45288,9 +45288,9 @@ var require_constants3 = __commonJS({
45288
45288
  }
45289
45289
  });
45290
45290
 
45291
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
45291
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
45292
45292
  var require_FsResource = __commonJS({
45293
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
45293
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
45294
45294
  "use strict";
45295
45295
  Object.defineProperty(exports, "__esModule", {
45296
45296
  value: true
@@ -45341,9 +45341,9 @@ var require_FsResource = __commonJS({
45341
45341
  }
45342
45342
  });
45343
45343
 
45344
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
45344
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
45345
45345
  var require_FsMaterial = __commonJS({
45346
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
45346
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
45347
45347
  "use strict";
45348
45348
  Object.defineProperty(exports, "__esModule", {
45349
45349
  value: true
@@ -45395,9 +45395,9 @@ var require_FsMaterial = __commonJS({
45395
45395
  }
45396
45396
  });
45397
45397
 
45398
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
45398
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
45399
45399
  var require_nodeRequire = __commonJS({
45400
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
45400
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
45401
45401
  "use strict";
45402
45402
  Object.defineProperty(exports, "__esModule", {
45403
45403
  value: true
@@ -45422,9 +45422,9 @@ var require_nodeRequire = __commonJS({
45422
45422
  }
45423
45423
  });
45424
45424
 
45425
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
45425
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
45426
45426
  var require_fsExists = __commonJS({
45427
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
45427
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
45428
45428
  "use strict";
45429
45429
  Object.defineProperty(exports, "__esModule", {
45430
45430
  value: true
@@ -45444,9 +45444,9 @@ var require_fsExists = __commonJS({
45444
45444
  }
45445
45445
  });
45446
45446
 
45447
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
45447
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
45448
45448
  var require_getGeneratorDir = __commonJS({
45449
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
45449
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
45450
45450
  "use strict";
45451
45451
  Object.defineProperty(exports, "__esModule", {
45452
45452
  value: true
@@ -45480,9 +45480,9 @@ var require_getGeneratorDir = __commonJS({
45480
45480
  }
45481
45481
  });
45482
45482
 
45483
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
45483
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
45484
45484
  var require_generator = __commonJS({
45485
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
45485
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
45486
45486
  "use strict";
45487
45487
  Object.defineProperty(exports, "__esModule", {
45488
45488
  value: true
@@ -45730,9 +45730,9 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
45730
45730
  }
45731
45731
  });
45732
45732
 
45733
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
45733
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
45734
45734
  var require_packageManager = __commonJS({
45735
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
45735
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
45736
45736
  "use strict";
45737
45737
  Object.defineProperty(exports, "__esModule", {
45738
45738
  value: true
@@ -45810,9 +45810,9 @@ var require_packageManager = __commonJS({
45810
45810
  }
45811
45811
  });
45812
45812
 
45813
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
45813
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
45814
45814
  var require_timeoutPromise = __commonJS({
45815
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
45815
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
45816
45816
  "use strict";
45817
45817
  Object.defineProperty(exports, "__esModule", {
45818
45818
  value: true
@@ -53638,9 +53638,9 @@ var require_tar = __commonJS({
53638
53638
  }
53639
53639
  });
53640
53640
 
53641
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/constants.js
53641
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js
53642
53642
  var require_constants5 = __commonJS({
53643
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
53643
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
53644
53644
  "use strict";
53645
53645
  Object.defineProperty(exports, "__esModule", {
53646
53646
  value: true
@@ -53653,9 +53653,9 @@ var require_constants5 = __commonJS({
53653
53653
  }
53654
53654
  });
53655
53655
 
53656
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
53656
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
53657
53657
  var require_getNpmTarballUrl = __commonJS({
53658
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
53658
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
53659
53659
  "use strict";
53660
53660
  Object.defineProperty(exports, "__esModule", {
53661
53661
  value: true
@@ -53689,9 +53689,9 @@ var require_getNpmTarballUrl = __commonJS({
53689
53689
  }
53690
53690
  });
53691
53691
 
53692
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
53692
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
53693
53693
  var require_getNpmVersion = __commonJS({
53694
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
53694
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
53695
53695
  "use strict";
53696
53696
  Object.defineProperty(exports, "__esModule", {
53697
53697
  value: true
@@ -53727,9 +53727,9 @@ var require_getNpmVersion = __commonJS({
53727
53727
  }
53728
53728
  });
53729
53729
 
53730
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
53730
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
53731
53731
  var require_downloadPackage = __commonJS({
53732
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
53732
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
53733
53733
  "use strict";
53734
53734
  Object.defineProperty(exports, "__esModule", {
53735
53735
  value: true
@@ -53831,9 +53831,9 @@ var require_downloadPackage = __commonJS({
53831
53831
  }
53832
53832
  });
53833
53833
 
53834
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
53834
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
53835
53835
  var require_getPackageInfo = __commonJS({
53836
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
53836
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
53837
53837
  "use strict";
53838
53838
  Object.defineProperty(exports, "__esModule", {
53839
53839
  value: true
@@ -53865,9 +53865,9 @@ var require_getPackageInfo = __commonJS({
53865
53865
  }
53866
53866
  });
53867
53867
 
53868
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
53868
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
53869
53869
  var require_utils4 = __commonJS({
53870
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
53870
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
53871
53871
  "use strict";
53872
53872
  Object.defineProperty(exports, "__esModule", {
53873
53873
  value: true
@@ -53943,9 +53943,9 @@ var require_utils4 = __commonJS({
53943
53943
  }
53944
53944
  });
53945
53945
 
53946
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
53946
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
53947
53947
  var require_materials = __commonJS({
53948
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
53948
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
53949
53949
  "use strict";
53950
53950
  Object.defineProperty(exports, "__esModule", {
53951
53951
  value: true
@@ -54003,9 +54003,9 @@ var require_materials = __commonJS({
54003
54003
  }
54004
54004
  });
54005
54005
 
54006
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
54006
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
54007
54007
  var require_codesmith = __commonJS({
54008
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
54008
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
54009
54009
  "use strict";
54010
54010
  Object.defineProperty(exports, "__esModule", {
54011
54011
  value: true
@@ -54081,9 +54081,9 @@ var require_codesmith = __commonJS({
54081
54081
  }
54082
54082
  });
54083
54083
 
54084
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/index.js
54084
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js
54085
54085
  var require_node3 = __commonJS({
54086
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
54086
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
54087
54087
  "use strict";
54088
54088
  Object.defineProperty(exports, "__esModule", {
54089
54089
  value: true
@@ -60037,9 +60037,9 @@ var require_lib = __commonJS({
60037
60037
  }
60038
60038
  });
60039
60039
 
60040
- // ../../../../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
60040
+ // ../../../../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
60041
60041
  var require_renderString = __commonJS({
60042
- "../../../../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) {
60042
+ "../../../../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) {
60043
60043
  "use strict";
60044
60044
  Object.defineProperty(exports, "__esModule", {
60045
60045
  value: true
@@ -60088,9 +60088,9 @@ var require_renderString = __commonJS({
60088
60088
  }
60089
60089
  });
60090
60090
 
60091
- // ../../../../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
60091
+ // ../../../../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
60092
60092
  var require_utils6 = __commonJS({
60093
- "../../../../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) {
60093
+ "../../../../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) {
60094
60094
  "use strict";
60095
60095
  Object.defineProperty(exports, "__esModule", {
60096
60096
  value: true
@@ -60105,9 +60105,9 @@ var require_utils6 = __commonJS({
60105
60105
  }
60106
60106
  });
60107
60107
 
60108
- // ../../../../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
60108
+ // ../../../../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
60109
60109
  var require_node4 = __commonJS({
60110
- "../../../../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) {
60110
+ "../../../../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) {
60111
60111
  "use strict";
60112
60112
  Object.defineProperty(exports, "__esModule", {
60113
60113
  value: true
@@ -60121,6 +60121,27 @@ var require_node4 = __commonJS({
60121
60121
  });
60122
60122
  var _codesmith = require_node3();
60123
60123
  var _utils = require_utils6();
60124
+ function ownKeys(object, enumerableOnly) {
60125
+ var keys = Object.keys(object);
60126
+ if (Object.getOwnPropertySymbols) {
60127
+ var symbols = Object.getOwnPropertySymbols(object);
60128
+ enumerableOnly && (symbols = symbols.filter(function(sym) {
60129
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
60130
+ })), keys.push.apply(keys, symbols);
60131
+ }
60132
+ return keys;
60133
+ }
60134
+ function _objectSpread(target) {
60135
+ for (var i = 1; i < arguments.length; i++) {
60136
+ var source = null != arguments[i] ? arguments[i] : {};
60137
+ i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
60138
+ _defineProperty(target, key, source[key]);
60139
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
60140
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
60141
+ });
60142
+ }
60143
+ return target;
60144
+ }
60124
60145
  function _defineProperty(obj, key, value) {
60125
60146
  if (key in obj) {
60126
60147
  Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
@@ -60139,6 +60160,16 @@ var require_node4 = __commonJS({
60139
60160
  partials: {}
60140
60161
  };
60141
60162
  }
60163
+ registerHelp(helpers) {
60164
+ return __async(this, null, function* () {
60165
+ this.registers.helpers = _objectSpread(_objectSpread({}, this.registers.helpers), helpers);
60166
+ });
60167
+ }
60168
+ registerPartials(partials) {
60169
+ return __async(this, null, function* () {
60170
+ this.registers.partials = _objectSpread(_objectSpread({}, this.registers.partials), partials);
60171
+ });
60172
+ }
60142
60173
  renderTemplate(_0, _1) {
60143
60174
  return __async(this, arguments, function* (templateResource, target, parameters = {}) {
60144
60175
  if (templateResource._type !== _codesmith.FS_RESOURCE) {
@@ -60880,9 +60911,9 @@ var require_ejs = __commonJS({
60880
60911
  }
60881
60912
  });
60882
60913
 
60883
- // ../../../../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
60914
+ // ../../../../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
60884
60915
  var require_renderString2 = __commonJS({
60885
- "../../../../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) {
60916
+ "../../../../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) {
60886
60917
  "use strict";
60887
60918
  Object.defineProperty(exports, "__esModule", {
60888
60919
  value: true
@@ -60898,9 +60929,9 @@ var require_renderString2 = __commonJS({
60898
60929
  }
60899
60930
  });
60900
60931
 
60901
- // ../../../../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
60932
+ // ../../../../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
60902
60933
  var require_utils8 = __commonJS({
60903
- "../../../../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) {
60934
+ "../../../../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) {
60904
60935
  "use strict";
60905
60936
  Object.defineProperty(exports, "__esModule", {
60906
60937
  value: true
@@ -60915,9 +60946,9 @@ var require_utils8 = __commonJS({
60915
60946
  }
60916
60947
  });
60917
60948
 
60918
- // ../../../../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
60949
+ // ../../../../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
60919
60950
  var require_node5 = __commonJS({
60920
- "../../../../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) {
60951
+ "../../../../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) {
60921
60952
  "use strict";
60922
60953
  Object.defineProperty(exports, "__esModule", {
60923
60954
  value: true
@@ -60975,9 +61006,9 @@ var require_node5 = __commonJS({
60975
61006
  }
60976
61007
  });
60977
61008
 
60978
- // ../../../../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
61009
+ // ../../../../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
60979
61010
  var require_constant = __commonJS({
60980
- "../../../../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) {
61011
+ "../../../../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) {
60981
61012
  "use strict";
60982
61013
  Object.defineProperty(exports, "__esModule", {
60983
61014
  value: true
@@ -60988,9 +61019,9 @@ var require_constant = __commonJS({
60988
61019
  }
60989
61020
  });
60990
61021
 
60991
- // ../../../../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
61022
+ // ../../../../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
60992
61023
  var require_node6 = __commonJS({
60993
- "../../../../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) {
61024
+ "../../../../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) {
60994
61025
  "use strict";
60995
61026
  Object.defineProperty(exports, "__esModule", {
60996
61027
  value: true
@@ -102349,9 +102380,9 @@ var require_inquirer = __commonJS({
102349
102380
  }
102350
102381
  });
102351
102382
 
102352
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
102383
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
102353
102384
  var require_transform = __commonJS({
102354
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
102385
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
102355
102386
  "use strict";
102356
102387
  Object.defineProperty(exports, "__esModule", {
102357
102388
  value: true
@@ -102520,9 +102551,9 @@ var require_transform = __commonJS({
102520
102551
  }
102521
102552
  });
102522
102553
 
102523
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
102554
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
102524
102555
  var require_prompt2 = __commonJS({
102525
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
102556
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
102526
102557
  "use strict";
102527
102558
  Object.defineProperty(exports, "__esModule", {
102528
102559
  value: true
@@ -102660,9 +102691,9 @@ var require_prompt2 = __commonJS({
102660
102691
  }
102661
102692
  });
102662
102693
 
102663
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
102694
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
102664
102695
  var require_inquirer2 = __commonJS({
102665
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
102696
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
102666
102697
  "use strict";
102667
102698
  Object.defineProperty(exports, "__esModule", {
102668
102699
  value: true
@@ -102734,9 +102765,9 @@ var require_inquirer2 = __commonJS({
102734
102765
  }
102735
102766
  });
102736
102767
 
102737
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
102768
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
102738
102769
  var require_node7 = __commonJS({
102739
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
102770
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
102740
102771
  "use strict";
102741
102772
  Object.defineProperty(exports, "__esModule", {
102742
102773
  value: true
@@ -105549,9 +105580,9 @@ var require_node8 = __commonJS({
105549
105580
  }
105550
105581
  });
105551
105582
 
105552
- // ../../../../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
105583
+ // ../../../../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
105553
105584
  var require_zh = __commonJS({
105554
- "../../../../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) {
105585
+ "../../../../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) {
105555
105586
  "use strict";
105556
105587
  Object.defineProperty(exports, "__esModule", {
105557
105588
  value: true
@@ -105586,9 +105617,9 @@ var require_zh = __commonJS({
105586
105617
  }
105587
105618
  });
105588
105619
 
105589
- // ../../../../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
105620
+ // ../../../../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
105590
105621
  var require_en = __commonJS({
105591
- "../../../../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) {
105622
+ "../../../../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) {
105592
105623
  "use strict";
105593
105624
  Object.defineProperty(exports, "__esModule", {
105594
105625
  value: true
@@ -105623,9 +105654,9 @@ var require_en = __commonJS({
105623
105654
  }
105624
105655
  });
105625
105656
 
105626
- // ../../../../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
105657
+ // ../../../../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
105627
105658
  var require_locale = __commonJS({
105628
- "../../../../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) {
105659
+ "../../../../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) {
105629
105660
  "use strict";
105630
105661
  Object.defineProperty(exports, "__esModule", {
105631
105662
  value: true
@@ -105650,9 +105681,9 @@ var require_locale = __commonJS({
105650
105681
  }
105651
105682
  });
105652
105683
 
105653
- // ../../../../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
105684
+ // ../../../../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
105654
105685
  var require_transform2 = __commonJS({
105655
- "../../../../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) {
105686
+ "../../../../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) {
105656
105687
  "use strict";
105657
105688
  Object.defineProperty(exports, "__esModule", {
105658
105689
  value: true
@@ -105687,9 +105718,9 @@ var require_transform2 = __commonJS({
105687
105718
  }
105688
105719
  });
105689
105720
 
105690
- // ../../../../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
105721
+ // ../../../../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
105691
105722
  var require_checkUseNvm = __commonJS({
105692
- "../../../../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) {
105723
+ "../../../../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) {
105693
105724
  "use strict";
105694
105725
  Object.defineProperty(exports, "__esModule", {
105695
105726
  value: true
@@ -105752,9 +105783,9 @@ var require_checkUseNvm = __commonJS({
105752
105783
  }
105753
105784
  });
105754
105785
 
105755
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
105786
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
105756
105787
  var require_node9 = __commonJS({
105757
- "../../../../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) {
105788
+ "../../../../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) {
105758
105789
  "use strict";
105759
105790
  Object.defineProperty(exports, "__esModule", {
105760
105791
  value: true
@@ -105808,13 +105839,13 @@ var require_node9 = __commonJS({
105808
105839
  var AppAPI2 = class {
105809
105840
  constructor(generatorContext, generatorCore) {
105810
105841
  _defineProperty(this, "i18n", _locale.i18n);
105811
- _defineProperty(this, "generatorCore", void 0);
105812
- _defineProperty(this, "generatorContext", void 0);
105813
105842
  _defineProperty(this, "npmApi", void 0);
105814
105843
  _defineProperty(this, "gitApi", void 0);
105815
105844
  _defineProperty(this, "handlebarsAPI", void 0);
105816
105845
  _defineProperty(this, "ejsAPI", void 0);
105817
105846
  _defineProperty(this, "fsAPI", void 0);
105847
+ _defineProperty(this, "generatorCore", void 0);
105848
+ _defineProperty(this, "generatorContext", void 0);
105818
105849
  this.generatorCore = generatorCore;
105819
105850
  this.generatorContext = generatorContext;
105820
105851
  this.npmApi = new _codesmithApiNpm.NpmAPI(generatorCore);
@@ -105874,6 +105905,7 @@ var require_node9 = __commonJS({
105874
105905
  yield intallPromise;
105875
105906
  this.generatorCore.logger.info(_locale.i18n.t(_locale.localeKeys.install.success));
105876
105907
  } catch (e) {
105908
+ this.generatorCore.logger.warn(e);
105877
105909
  this.generatorCore.logger.warn(_locale.i18n.t(_locale.localeKeys.install.failed, {
105878
105910
  command: command || `${packageManager} install`
105879
105911
  }));
@@ -106905,9 +106937,9 @@ var require_dist2 = __commonJS({
106905
106937
  }
106906
106938
  });
106907
106939
 
106908
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js
106940
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js
106909
106941
  var require_utils12 = __commonJS({
106910
- "../../../../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) {
106942
+ "../../../../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) {
106911
106943
  "use strict";
106912
106944
  Object.defineProperty(exports, "__esModule", {
106913
106945
  value: true
@@ -106929,9 +106961,9 @@ var require_utils12 = __commonJS({
106929
106961
  }
106930
106962
  });
106931
106963
 
106932
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js
106964
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js
106933
106965
  var require_node10 = __commonJS({
106934
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js"(exports) {
106966
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js"(exports) {
106935
106967
  "use strict";
106936
106968
  Object.defineProperty(exports, "__esModule", {
106937
106969
  value: true
@@ -136012,7 +136044,7 @@ var require_compiled2 = __commonJS({
136012
136044
  semver: () => import_semver.default,
136013
136045
  signale: () => import_signale.default,
136014
136046
  slash: () => import_slash.default,
136015
- stripAnsi: () => import_strip_ansi2.default,
136047
+ stripAnsi: () => import_strip_ansi.default,
136016
136048
  upath: () => import_upath.default,
136017
136049
  urlJoin: () => import_url_join.default,
136018
136050
  yaml: () => import_js_yaml.default
@@ -136042,7 +136074,7 @@ var require_compiled2 = __commonJS({
136042
136074
  var import_fast_glob = __toESM2(require_fast_glob2());
136043
136075
  var import_filesize = __toESM2(require_filesize2());
136044
136076
  var import_gzip_size = __toESM2(require_gzip_size2());
136045
- var import_strip_ansi2 = __toESM2(require_strip_ansi3());
136077
+ var import_strip_ansi = __toESM2(require_strip_ansi3());
136046
136078
  var import_dotenv_expand = __toESM2(require_dotenv_expand2());
136047
136079
  var import_browserslist = __toESM2(require_browserslist2());
136048
136080
  var import_recursive_readdir = __toESM2(require_recursive_readdir2());
@@ -136648,9 +136680,9 @@ var require_findExists2 = __commonJS({
136648
136680
  }
136649
136681
  });
136650
136682
 
136651
- // ../../../toolkit/utils/dist/is/node-env.js
136652
- var require_node_env2 = __commonJS({
136653
- "../../../toolkit/utils/dist/is/node-env.js"(exports, module2) {
136683
+ // ../../../toolkit/utils/dist/is/nodeEnv.js
136684
+ var require_nodeEnv2 = __commonJS({
136685
+ "../../../toolkit/utils/dist/is/nodeEnv.js"(exports, module2) {
136654
136686
  var __defProp2 = Object.defineProperty;
136655
136687
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
136656
136688
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
@@ -136668,15 +136700,15 @@ var require_node_env2 = __commonJS({
136668
136700
  return to;
136669
136701
  };
136670
136702
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
136671
- var node_env_exports = {};
136672
- __export2(node_env_exports, {
136703
+ var nodeEnv_exports = {};
136704
+ __export2(nodeEnv_exports, {
136673
136705
  getNodeEnv: () => getNodeEnv,
136674
136706
  isDev: () => isDev,
136675
136707
  isProd: () => isProd,
136676
136708
  isProdProfile: () => isProdProfile,
136677
136709
  isTest: () => isTest
136678
136710
  });
136679
- module2.exports = __toCommonJS2(node_env_exports);
136711
+ module2.exports = __toCommonJS2(nodeEnv_exports);
136680
136712
  var getNodeEnv = () => process.env.NODE_ENV || "development";
136681
136713
  var isDev = () => getNodeEnv() === "development";
136682
136714
  var isProd = () => getNodeEnv() === "production";
@@ -136812,8 +136844,10 @@ var require_is2 = __commonJS({
136812
136844
  isEmpty: () => isEmpty2,
136813
136845
  isFastRefresh: () => isFastRefresh,
136814
136846
  isRouterV5: () => isRouterV5,
136847
+ isSSGEntry: () => isSSGEntry,
136815
136848
  isSSR: () => isSSR,
136816
136849
  isServiceWorker: () => isServiceWorker,
136850
+ isSingleEntry: () => isSingleEntry,
136817
136851
  isTypescript: () => isTypescript,
136818
136852
  isUseSSRBundle: () => isUseSSRBundle
136819
136853
  });
@@ -136821,8 +136855,8 @@ var require_is2 = __commonJS({
136821
136855
  var import_fs = __toESM2(require("fs"));
136822
136856
  var import_path4 = __toESM2(require("path"));
136823
136857
  var import_debug = require_debug5();
136824
- var import_node_env = require_node_env2();
136825
- __reExport(is_exports, require_node_env2(), module2.exports);
136858
+ var import_nodeEnv = require_nodeEnv2();
136859
+ __reExport(is_exports, require_nodeEnv2(), module2.exports);
136826
136860
  __reExport(is_exports, require_platform2(), module2.exports);
136827
136861
  __reExport(is_exports, require_type2(), module2.exports);
136828
136862
  var debug2 = (0, import_debug.createDebugger)("judge-depExists");
@@ -136866,11 +136900,17 @@ var require_is2 = __commonJS({
136866
136900
  }
136867
136901
  return false;
136868
136902
  };
136869
- var isFastRefresh = () => (0, import_node_env.isDev)() && process.env.FAST_REFRESH !== "false";
136903
+ var isFastRefresh = () => (0, import_nodeEnv.isDev)() && process.env.FAST_REFRESH !== "false";
136870
136904
  var isRouterV5 = (config) => {
136871
136905
  var _a2, _b, _c;
136872
136906
  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";
136873
136907
  };
136908
+ var isSSGEntry = (config, entryName, entrypoints) => {
136909
+ const ssgConfig = config.output.ssg;
136910
+ const useSSG = isSingleEntry(entrypoints) ? Boolean(ssgConfig) : ssgConfig === true || typeof (ssgConfig == null ? void 0 : ssgConfig[0]) === "function" || Boolean(ssgConfig == null ? void 0 : ssgConfig[entryName]);
136911
+ return useSSG;
136912
+ };
136913
+ var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
136874
136914
  }
136875
136915
  });
136876
136916
 
@@ -137773,7 +137813,7 @@ var require_monorepo2 = __commonJS({
137773
137813
  });
137774
137814
 
137775
137815
  // ../../../toolkit/utils/dist/nodeEnv.js
137776
- var require_nodeEnv2 = __commonJS({
137816
+ var require_nodeEnv3 = __commonJS({
137777
137817
  "../../../toolkit/utils/dist/nodeEnv.js"(exports, module2) {
137778
137818
  var __defProp2 = Object.defineProperty;
137779
137819
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -137911,7 +137951,7 @@ var require_getPackageManager2 = __commonJS({
137911
137951
  var import_os = __toESM2(require("os"));
137912
137952
  var import_path4 = __toESM2(require("path"));
137913
137953
  var import_compiled = require_compiled2();
137914
- var import_nodeEnv = require_nodeEnv2();
137954
+ var import_nodeEnv = require_nodeEnv3();
137915
137955
  var MAX_TIMES = 5;
137916
137956
  function getPackageManager() {
137917
137957
  return __async2(this, arguments, function* (cwd = process.cwd()) {
@@ -138322,14 +138362,12 @@ var require_prettyInstructions2 = __commonJS({
138322
138362
  __export2(prettyInstructions_exports, {
138323
138363
  getAddressUrls: () => getAddressUrls,
138324
138364
  getIpv4Interfaces: () => getIpv4Interfaces,
138325
- isSingleEntry: () => isSingleEntry,
138326
138365
  prettyInstructions: () => prettyInstructions
138327
138366
  });
138328
138367
  module2.exports = __toCommonJS2(prettyInstructions_exports);
138329
138368
  var import_os = __toESM2(require("os"));
138330
138369
  var import_compiled = require_compiled2();
138331
138370
  var import_is = require_is2();
138332
- var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
138333
138371
  var normalizeUrl = (url) => url.replace(/([^:]\/)\/+/g, "$1");
138334
138372
  var getIpv4Interfaces = () => {
138335
138373
  const interfaces = import_os.default.networkInterfaces();
@@ -138368,7 +138406,7 @@ var require_prettyInstructions2 = __commonJS({
138368
138406
  );
138369
138407
  const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
138370
138408
  let message = "App running at:\n\n";
138371
- if (isSingleEntry(entrypoints) || apiOnly) {
138409
+ if ((0, import_is.isSingleEntry)(entrypoints) || apiOnly) {
138372
138410
  message += urls.map(
138373
138411
  ({ type, url }) => ` ${import_compiled.chalk.bold(`> ${type.padEnd(10)}`)}${import_compiled.chalk.cyanBright(
138374
138412
  normalizeUrl(`${url}/${routes[0].urlPath}`)
@@ -138757,114 +138795,6 @@ var require_getServerConfig2 = __commonJS({
138757
138795
  }
138758
138796
  });
138759
138797
 
138760
- // ../../../toolkit/utils/dist/storage.js
138761
- var require_storage2 = __commonJS({
138762
- "../../../toolkit/utils/dist/storage.js"(exports, module2) {
138763
- var __create2 = Object.create;
138764
- var __defProp2 = Object.defineProperty;
138765
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
138766
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
138767
- var __getProtoOf2 = Object.getPrototypeOf;
138768
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
138769
- var __export2 = (target, all) => {
138770
- for (var name in all)
138771
- __defProp2(target, name, { get: all[name], enumerable: true });
138772
- };
138773
- var __copyProps2 = (to, from, except, desc) => {
138774
- if (from && typeof from === "object" || typeof from === "function") {
138775
- for (let key of __getOwnPropNames2(from))
138776
- if (!__hasOwnProp2.call(to, key) && key !== except)
138777
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
138778
- }
138779
- return to;
138780
- };
138781
- var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
138782
- // If the importer is in node compatibility mode or this is not an ESM
138783
- // file that has been converted to a CommonJS file using a Babel-
138784
- // compatible transform (i.e. "__esModule" has not been set), then set
138785
- // "default" to the CommonJS "module.exports" for node compatibility.
138786
- isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
138787
- mod
138788
- ));
138789
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
138790
- var storage_exports = {};
138791
- __export2(storage_exports, {
138792
- createStorage: () => createStorage
138793
- });
138794
- module2.exports = __toCommonJS2(storage_exports);
138795
- var ah = __toESM2(require("async_hooks"));
138796
- var createStorage = () => {
138797
- let storage;
138798
- if (typeof ah.AsyncLocalStorage !== "undefined") {
138799
- storage = new ah.AsyncLocalStorage();
138800
- }
138801
- const run = (context, cb) => {
138802
- if (!storage) {
138803
- throw new Error(`Unable to use async_hook, please confirm the node version >= 12.17
138804
- `);
138805
- }
138806
- return new Promise((resolve, reject) => {
138807
- storage.run(context, () => {
138808
- try {
138809
- return resolve(cb());
138810
- } catch (error) {
138811
- return reject(error);
138812
- }
138813
- });
138814
- });
138815
- };
138816
- const useContext = () => {
138817
- if (!storage) {
138818
- throw new Error(`Unable to use async_hook, please confirm the node version >= 12.17
138819
- `);
138820
- }
138821
- const context = storage.getStore();
138822
- if (!context) {
138823
- throw new Error(
138824
- `Can't call useContext out of scope, make sure @modern-js/utils is a single version in node_modules`
138825
- );
138826
- }
138827
- return context;
138828
- };
138829
- return {
138830
- run,
138831
- useContext
138832
- };
138833
- };
138834
- }
138835
- });
138836
-
138837
- // ../../../toolkit/utils/dist/ssr.js
138838
- var require_ssr2 = __commonJS({
138839
- "../../../toolkit/utils/dist/ssr.js"(exports, module2) {
138840
- var __defProp2 = Object.defineProperty;
138841
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
138842
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
138843
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
138844
- var __export2 = (target, all) => {
138845
- for (var name in all)
138846
- __defProp2(target, name, { get: all[name], enumerable: true });
138847
- };
138848
- var __copyProps2 = (to, from, except, desc) => {
138849
- if (from && typeof from === "object" || typeof from === "function") {
138850
- for (let key of __getOwnPropNames2(from))
138851
- if (!__hasOwnProp2.call(to, key) && key !== except)
138852
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
138853
- }
138854
- return to;
138855
- };
138856
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
138857
- var ssr_exports = {};
138858
- __export2(ssr_exports, {
138859
- run: () => run,
138860
- useHeaders: () => useHeaders
138861
- });
138862
- module2.exports = __toCommonJS2(ssr_exports);
138863
- var import_storage = require_storage2();
138864
- var { run, useContext: useHeaders } = (0, import_storage.createStorage)();
138865
- }
138866
- });
138867
-
138868
138798
  // ../../../toolkit/utils/dist/tryResolve.js
138869
138799
  var require_tryResolve2 = __commonJS({
138870
138800
  "../../../toolkit/utils/dist/tryResolve.js"(exports, module2) {
@@ -138968,7 +138898,8 @@ var require_analyzeProject2 = __commonJS({
138968
138898
  };
138969
138899
  var analyzeProject_exports = {};
138970
138900
  __export2(analyzeProject_exports, {
138971
- isApiOnly: () => isApiOnly
138901
+ isApiOnly: () => isApiOnly,
138902
+ isWebOnly: () => isWebOnly
138972
138903
  });
138973
138904
  module2.exports = __toCommonJS2(analyzeProject_exports);
138974
138905
  var path3 = __toESM2(require("path"));
@@ -138979,6 +138910,10 @@ var require_analyzeProject2 = __commonJS({
138979
138910
  const options = (0, import_compiled.minimist)(process.argv.slice(2));
138980
138911
  return !existSrc || Boolean(options["api-only"]);
138981
138912
  });
138913
+ var isWebOnly = () => __async2(void 0, null, function* () {
138914
+ const options = (0, import_compiled.minimist)(process.argv.slice(2));
138915
+ return Boolean(options["web-only"]);
138916
+ });
138982
138917
  }
138983
138918
  });
138984
138919
 
@@ -139397,9 +139332,9 @@ var require_routes = __commonJS({
139397
139332
  }
139398
139333
  });
139399
139334
 
139400
- // ../../../toolkit/utils/dist/test-utils.js
139401
- var require_test_utils = __commonJS({
139402
- "../../../toolkit/utils/dist/test-utils.js"(exports, module2) {
139335
+ // ../../../toolkit/utils/dist/testUtils.js
139336
+ var require_testUtils = __commonJS({
139337
+ "../../../toolkit/utils/dist/testUtils.js"(exports, module2) {
139403
139338
  var __defProp2 = Object.defineProperty;
139404
139339
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
139405
139340
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
@@ -139417,11 +139352,11 @@ var require_test_utils = __commonJS({
139417
139352
  return to;
139418
139353
  };
139419
139354
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
139420
- var test_utils_exports = {};
139421
- __export2(test_utils_exports, {
139355
+ var testUtils_exports = {};
139356
+ __export2(testUtils_exports, {
139422
139357
  initSnapshotSerializer: () => initSnapshotSerializer
139423
139358
  });
139424
- module2.exports = __toCommonJS2(test_utils_exports);
139359
+ module2.exports = __toCommonJS2(testUtils_exports);
139425
139360
  var initSnapshotSerializer = (root) => {
139426
139361
  expect.addSnapshotSerializer({
139427
139362
  test: (val) => typeof val === "string" && (val.includes("modern.js") || val.includes("node_modules") || val.includes(root)),
@@ -139551,6 +139486,49 @@ var require_react = __commonJS({
139551
139486
  }
139552
139487
  });
139553
139488
 
139489
+ // ../../../toolkit/utils/dist/getTargetDir.js
139490
+ var require_getTargetDir = __commonJS({
139491
+ "../../../toolkit/utils/dist/getTargetDir.js"(exports, module2) {
139492
+ var __create2 = Object.create;
139493
+ var __defProp2 = Object.defineProperty;
139494
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
139495
+ var __getOwnPropNames2 = Object.getOwnPropertyNames;
139496
+ var __getProtoOf2 = Object.getPrototypeOf;
139497
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
139498
+ var __export2 = (target, all) => {
139499
+ for (var name in all)
139500
+ __defProp2(target, name, { get: all[name], enumerable: true });
139501
+ };
139502
+ var __copyProps2 = (to, from, except, desc) => {
139503
+ if (from && typeof from === "object" || typeof from === "function") {
139504
+ for (let key of __getOwnPropNames2(from))
139505
+ if (!__hasOwnProp2.call(to, key) && key !== except)
139506
+ __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
139507
+ }
139508
+ return to;
139509
+ };
139510
+ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
139511
+ // If the importer is in node compatibility mode or this is not an ESM
139512
+ // file that has been converted to a CommonJS file using a Babel-
139513
+ // compatible transform (i.e. "__esModule" has not been set), then set
139514
+ // "default" to the CommonJS "module.exports" for node compatibility.
139515
+ isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
139516
+ mod
139517
+ ));
139518
+ var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
139519
+ var getTargetDir_exports = {};
139520
+ __export2(getTargetDir_exports, {
139521
+ getTargetDir: () => getTargetDir
139522
+ });
139523
+ module2.exports = __toCommonJS2(getTargetDir_exports);
139524
+ var path3 = __toESM2(require("path"));
139525
+ var getTargetDir = (from, baseDir, targetBaseDir) => {
139526
+ const relativePath = path3.relative(baseDir, from);
139527
+ return path3.resolve(targetBaseDir, relativePath);
139528
+ };
139529
+ }
139530
+ });
139531
+
139554
139532
  // ../../../toolkit/utils/dist/index.js
139555
139533
  var require_dist3 = __commonJS({
139556
139534
  "../../../toolkit/utils/dist/index.js"(exports, module2) {
@@ -139600,20 +139578,20 @@ var require_dist3 = __commonJS({
139600
139578
  __reExport(src_exports2, require_alias2(), module2.exports);
139601
139579
  __reExport(src_exports2, require_import2(), module2.exports);
139602
139580
  __reExport(src_exports2, require_watch2(), module2.exports);
139603
- __reExport(src_exports2, require_nodeEnv2(), module2.exports);
139581
+ __reExport(src_exports2, require_nodeEnv3(), module2.exports);
139604
139582
  __reExport(src_exports2, require_wait2(), module2.exports);
139605
139583
  __reExport(src_exports2, require_emptyDir2(), module2.exports);
139606
139584
  __reExport(src_exports2, require_getServerConfig2(), module2.exports);
139607
- __reExport(src_exports2, require_ssr2(), module2.exports);
139608
139585
  __reExport(src_exports2, require_tryResolve2(), module2.exports);
139609
139586
  __reExport(src_exports2, require_analyzeProject2(), module2.exports);
139610
139587
  __reExport(src_exports2, require_chainId2(), module2.exports);
139611
139588
  __reExport(src_exports2, require_version2(), module2.exports);
139612
139589
  __reExport(src_exports2, require_plugin(), module2.exports);
139613
139590
  __reExport(src_exports2, require_routes(), module2.exports);
139614
- __reExport(src_exports2, require_test_utils(), module2.exports);
139591
+ __reExport(src_exports2, require_testUtils(), module2.exports);
139615
139592
  __reExport(src_exports2, require_getCoreJsVersion(), module2.exports);
139616
139593
  __reExport(src_exports2, require_react(), module2.exports);
139594
+ __reExport(src_exports2, require_getTargetDir(), module2.exports);
139617
139595
  }
139618
139596
  });
139619
139597
 
@@ -139735,7 +139713,7 @@ var ZH_LOCALE = {
139735
139713
  polyfill: "启用「基于 UA 的 Polyfill」功能",
139736
139714
  proxy: "启用「全局代理」",
139737
139715
  swc: "启用「SWC 编译」",
139738
- rspack: "启用「rspack 构建」"
139716
+ rspack: "启用「Rspack 构建」(实验性)"
139739
139717
  },
139740
139718
  element: {
139741
139719
  self: "创建工程元素",
@@ -139789,7 +139767,7 @@ var ZH_LOCALE = {
139789
139767
  buildTools: {
139790
139768
  self: "请选择构建工具",
139791
139769
  webpack: "webpack",
139792
- rspack: "rspack (experimental)"
139770
+ rspack: "Rspack (实验性)"
139793
139771
  }
139794
139772
  };
139795
139773
 
@@ -139832,7 +139810,7 @@ var EN_LOCALE = {
139832
139810
  polyfill: "Enable UA-based Polyfill Feature",
139833
139811
  proxy: "Enable Global Proxy",
139834
139812
  swc: "Enable SWC Compile",
139835
- rspack: "Enable rspack Build"
139813
+ rspack: "Enable Rspack Build (experimental)"
139836
139814
  },
139837
139815
  element: {
139838
139816
  self: "Create project element",
@@ -139886,7 +139864,7 @@ var EN_LOCALE = {
139886
139864
  buildTools: {
139887
139865
  self: "Build Tools",
139888
139866
  webpack: "webpack",
139889
- rspack: "rspack (experimental)"
139867
+ rspack: "Rspack (experimental)"
139890
139868
  }
139891
139869
  };
139892
139870
 
@@ -139954,7 +139932,7 @@ var getLanguageSchema = (_extra = {}) => {
139954
139932
  };
139955
139933
  };
139956
139934
 
139957
- // ../../generator-common/dist/esm-node/common/package-manager.js
139935
+ // ../../generator-common/dist/esm-node/common/packageManager.js
139958
139936
  var PackageManager = /* @__PURE__ */ ((PackageManager2) => {
139959
139937
  PackageManager2["Pnpm"] = "pnpm";
139960
139938
  PackageManager2["Yarn"] = "yarn";
@@ -139998,7 +139976,7 @@ var getPackageManagerSchema = (extra = {}) => {
139998
139976
  };
139999
139977
  };
140000
139978
 
140001
- // ../../generator-common/dist/esm-node/common/package-name.js
139979
+ // ../../generator-common/dist/esm-node/common/packageName.js
140002
139980
  var getPackageNameSchema = (extra = {}) => {
140003
139981
  return {
140004
139982
  type: "string",
@@ -140022,7 +140000,7 @@ var getPackageNameSchema = (extra = {}) => {
140022
140000
  };
140023
140001
  };
140024
140002
 
140025
- // ../../generator-common/dist/esm-node/common/package-path.js
140003
+ // ../../generator-common/dist/esm-node/common/packagePath.js
140026
140004
  var PackagePathRegex = new RegExp(
140027
140005
  "^[a-z0-9]*[-_/]?([a-z0-9]*[-_]?[a-z0-9]*)*[-_/]?[a-z0-9-_]+$"
140028
140006
  );
@@ -140097,7 +140075,7 @@ var MWADefaultConfig = {
140097
140075
  var import_path2 = __toESM(require("path"));
140098
140076
  var import_utils2 = __toESM(require_dist3());
140099
140077
 
140100
- // ../../generator-utils/dist/esm/utils/strip-ansi.js
140078
+ // ../../generator-utils/dist/esm/utils/stripAnsi.js
140101
140079
  function ansiRegex2({ onlyFirst = false } = {}) {
140102
140080
  const pattern = [
140103
140081
  "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
@@ -140307,7 +140285,7 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
140307
140285
  context.config.distTag
140308
140286
  );
140309
140287
  generator.logger.debug(`inputData=${JSON.stringify(ans)}`, ans);
140310
- const { packageName, packagePath, language } = ans;
140288
+ const { packageName, packagePath, language, packageManager } = ans;
140311
140289
  const projectPath = getMWAProjectPath(
140312
140290
  packagePath,
140313
140291
  isMonorepoSubProject,
@@ -140326,7 +140304,8 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
140326
140304
  {
140327
140305
  name: packageName || dirname,
140328
140306
  isMonorepoSubProject,
140329
- modernVersion
140307
+ modernVersion,
140308
+ packageManager
140330
140309
  }
140331
140310
  );
140332
140311
  if (language === Language.TS) {
package/package.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "name": "@modern-js/mwa-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.8",
14
+ "version": "3.0.10",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "main": "./dist/index.js",
17
17
  "files": [
@@ -20,23 +20,23 @@
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",
25
- "@modern-js/codesmith-api-json": "2.0.4",
23
+ "@modern-js/codesmith": "2.0.5",
24
+ "@modern-js/codesmith-api-app": "2.0.5",
25
+ "@modern-js/codesmith-api-json": "2.0.5",
26
26
  "@types/jest": "^27",
27
27
  "@types/node": "^14",
28
28
  "jest": "^27",
29
29
  "typescript": "^4",
30
- "@modern-js/generator-common": "3.0.8",
31
- "@modern-js/dependence-generator": "3.0.8",
32
- "@modern-js/generator-utils": "3.0.8",
33
- "@modern-js/packages-generator": "3.0.8",
34
- "@modern-js/plugin-i18n": "2.6.0",
35
- "@modern-js/rspack-generator": "3.0.8",
36
- "@modern-js/entry-generator": "3.0.8",
37
- "@modern-js/base-generator": "3.0.8",
38
- "@scripts/build": "2.6.0",
39
- "@scripts/jest-config": "2.6.0"
30
+ "@modern-js/base-generator": "3.0.10",
31
+ "@modern-js/generator-utils": "3.0.10",
32
+ "@modern-js/packages-generator": "3.0.10",
33
+ "@modern-js/rspack-generator": "3.0.10",
34
+ "@modern-js/generator-common": "3.0.10",
35
+ "@modern-js/plugin-i18n": "2.8.0",
36
+ "@modern-js/dependence-generator": "3.0.10",
37
+ "@modern-js/entry-generator": "3.0.10",
38
+ "@scripts/jest-config": "2.8.0",
39
+ "@scripts/build": "2.8.0"
40
40
  },
41
41
  "sideEffects": false,
42
42
  "publishConfig": {
package/src/index.ts CHANGED
@@ -119,7 +119,7 @@ export const handleTemplateFile = async (
119
119
 
120
120
  generator.logger.debug(`inputData=${JSON.stringify(ans)}`, ans);
121
121
 
122
- const { packageName, packagePath, language } = ans;
122
+ const { packageName, packagePath, language, packageManager } = ans;
123
123
 
124
124
  const projectPath = getMWAProjectPath(
125
125
  packagePath as string,
@@ -146,6 +146,7 @@ export const handleTemplateFile = async (
146
146
  name: packageName || dirname,
147
147
  isMonorepoSubProject,
148
148
  modernVersion,
149
+ packageManager,
149
150
  },
150
151
  );
151
152
 
@@ -1,6 +1,6 @@
1
1
  import appTools from '@modern-js/app-tools';
2
2
 
3
- // https://modernjs.dev/docs/apis/app/config
3
+ // https://modernjs.dev/en/configure/app/usage
4
4
  module.exports = {
5
5
  runtime: {
6
6
  router: true,
@@ -1,6 +1,6 @@
1
1
  import appTools, { defineConfig } from '@modern-js/app-tools';
2
2
 
3
- // https://modernjs.dev/docs/apis/app/config
3
+ // https://modernjs.dev/en/configure/app/usage
4
4
  export default defineConfig({
5
5
  runtime: {
6
6
  router: true,