@modern-js/repo-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 +2 -2
- package/dist/index.js +220 -242
- 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/
|
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/
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|
}));
|
@@ -135008,7 +135040,7 @@ var require_compiled2 = __commonJS({
|
|
135008
135040
|
semver: () => import_semver.default,
|
135009
135041
|
signale: () => import_signale.default,
|
135010
135042
|
slash: () => import_slash.default,
|
135011
|
-
stripAnsi: () =>
|
135043
|
+
stripAnsi: () => import_strip_ansi.default,
|
135012
135044
|
upath: () => import_upath.default,
|
135013
135045
|
urlJoin: () => import_url_join.default,
|
135014
135046
|
yaml: () => import_js_yaml.default
|
@@ -135038,7 +135070,7 @@ var require_compiled2 = __commonJS({
|
|
135038
135070
|
var import_fast_glob = __toESM2(require_fast_glob2());
|
135039
135071
|
var import_filesize = __toESM2(require_filesize2());
|
135040
135072
|
var import_gzip_size = __toESM2(require_gzip_size2());
|
135041
|
-
var
|
135073
|
+
var import_strip_ansi = __toESM2(require_strip_ansi3());
|
135042
135074
|
var import_dotenv_expand = __toESM2(require_dotenv_expand2());
|
135043
135075
|
var import_browserslist = __toESM2(require_browserslist2());
|
135044
135076
|
var import_recursive_readdir = __toESM2(require_recursive_readdir2());
|
@@ -135644,9 +135676,9 @@ var require_findExists2 = __commonJS({
|
|
135644
135676
|
}
|
135645
135677
|
});
|
135646
135678
|
|
135647
|
-
// ../../../toolkit/utils/dist/is/
|
135648
|
-
var
|
135649
|
-
"../../../toolkit/utils/dist/is/
|
135679
|
+
// ../../../toolkit/utils/dist/is/nodeEnv.js
|
135680
|
+
var require_nodeEnv2 = __commonJS({
|
135681
|
+
"../../../toolkit/utils/dist/is/nodeEnv.js"(exports, module2) {
|
135650
135682
|
var __defProp2 = Object.defineProperty;
|
135651
135683
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
135652
135684
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
@@ -135664,15 +135696,15 @@ var require_node_env2 = __commonJS({
|
|
135664
135696
|
return to;
|
135665
135697
|
};
|
135666
135698
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
135667
|
-
var
|
135668
|
-
__export2(
|
135699
|
+
var nodeEnv_exports = {};
|
135700
|
+
__export2(nodeEnv_exports, {
|
135669
135701
|
getNodeEnv: () => getNodeEnv,
|
135670
135702
|
isDev: () => isDev,
|
135671
135703
|
isProd: () => isProd,
|
135672
135704
|
isProdProfile: () => isProdProfile,
|
135673
135705
|
isTest: () => isTest
|
135674
135706
|
});
|
135675
|
-
module2.exports = __toCommonJS2(
|
135707
|
+
module2.exports = __toCommonJS2(nodeEnv_exports);
|
135676
135708
|
var getNodeEnv = () => process.env.NODE_ENV || "development";
|
135677
135709
|
var isDev = () => getNodeEnv() === "development";
|
135678
135710
|
var isProd = () => getNodeEnv() === "production";
|
@@ -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
|
});
|
@@ -135817,8 +135851,8 @@ var require_is2 = __commonJS({
|
|
135817
135851
|
var import_fs = __toESM2(require("fs"));
|
135818
135852
|
var import_path10 = __toESM2(require("path"));
|
135819
135853
|
var import_debug = require_debug5();
|
135820
|
-
var
|
135821
|
-
__reExport(is_exports,
|
135854
|
+
var import_nodeEnv = require_nodeEnv2();
|
135855
|
+
__reExport(is_exports, require_nodeEnv2(), module2.exports);
|
135822
135856
|
__reExport(is_exports, require_platform2(), module2.exports);
|
135823
135857
|
__reExport(is_exports, require_type2(), module2.exports);
|
135824
135858
|
var debug2 = (0, import_debug.createDebugger)("judge-depExists");
|
@@ -135862,11 +135896,17 @@ var require_is2 = __commonJS({
|
|
135862
135896
|
}
|
135863
135897
|
return false;
|
135864
135898
|
};
|
135865
|
-
var isFastRefresh = () => (0,
|
135899
|
+
var isFastRefresh = () => (0, import_nodeEnv.isDev)() && process.env.FAST_REFRESH !== "false";
|
135866
135900
|
var isRouterV5 = (config) => {
|
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
|
|
@@ -136769,7 +136809,7 @@ var require_monorepo2 = __commonJS({
|
|
136769
136809
|
});
|
136770
136810
|
|
136771
136811
|
// ../../../toolkit/utils/dist/nodeEnv.js
|
136772
|
-
var
|
136812
|
+
var require_nodeEnv3 = __commonJS({
|
136773
136813
|
"../../../toolkit/utils/dist/nodeEnv.js"(exports, module2) {
|
136774
136814
|
var __defProp2 = Object.defineProperty;
|
136775
136815
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
@@ -136907,7 +136947,7 @@ var require_getPackageManager2 = __commonJS({
|
|
136907
136947
|
var import_os = __toESM2(require("os"));
|
136908
136948
|
var import_path10 = __toESM2(require("path"));
|
136909
136949
|
var import_compiled = require_compiled2();
|
136910
|
-
var import_nodeEnv =
|
136950
|
+
var import_nodeEnv = require_nodeEnv3();
|
136911
136951
|
var MAX_TIMES = 5;
|
136912
136952
|
function getPackageManager2() {
|
136913
136953
|
return __async2(this, arguments, function* (cwd = process.cwd()) {
|
@@ -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}`)
|
@@ -137753,114 +137791,6 @@ var require_getServerConfig2 = __commonJS({
|
|
137753
137791
|
}
|
137754
137792
|
});
|
137755
137793
|
|
137756
|
-
// ../../../toolkit/utils/dist/storage.js
|
137757
|
-
var require_storage2 = __commonJS({
|
137758
|
-
"../../../toolkit/utils/dist/storage.js"(exports, module2) {
|
137759
|
-
var __create2 = Object.create;
|
137760
|
-
var __defProp2 = Object.defineProperty;
|
137761
|
-
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
137762
|
-
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
137763
|
-
var __getProtoOf2 = Object.getPrototypeOf;
|
137764
|
-
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
137765
|
-
var __export2 = (target, all) => {
|
137766
|
-
for (var name in all)
|
137767
|
-
__defProp2(target, name, { get: all[name], enumerable: true });
|
137768
|
-
};
|
137769
|
-
var __copyProps2 = (to, from, except, desc) => {
|
137770
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
137771
|
-
for (let key of __getOwnPropNames2(from))
|
137772
|
-
if (!__hasOwnProp2.call(to, key) && key !== except)
|
137773
|
-
__defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
137774
|
-
}
|
137775
|
-
return to;
|
137776
|
-
};
|
137777
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
|
137778
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
137779
|
-
// file that has been converted to a CommonJS file using a Babel-
|
137780
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
137781
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
137782
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
137783
|
-
mod
|
137784
|
-
));
|
137785
|
-
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
137786
|
-
var storage_exports = {};
|
137787
|
-
__export2(storage_exports, {
|
137788
|
-
createStorage: () => createStorage
|
137789
|
-
});
|
137790
|
-
module2.exports = __toCommonJS2(storage_exports);
|
137791
|
-
var ah = __toESM2(require("async_hooks"));
|
137792
|
-
var createStorage = () => {
|
137793
|
-
let storage;
|
137794
|
-
if (typeof ah.AsyncLocalStorage !== "undefined") {
|
137795
|
-
storage = new ah.AsyncLocalStorage();
|
137796
|
-
}
|
137797
|
-
const run = (context, cb) => {
|
137798
|
-
if (!storage) {
|
137799
|
-
throw new Error(`Unable to use async_hook, please confirm the node version >= 12.17
|
137800
|
-
`);
|
137801
|
-
}
|
137802
|
-
return new Promise((resolve, reject) => {
|
137803
|
-
storage.run(context, () => {
|
137804
|
-
try {
|
137805
|
-
return resolve(cb());
|
137806
|
-
} catch (error) {
|
137807
|
-
return reject(error);
|
137808
|
-
}
|
137809
|
-
});
|
137810
|
-
});
|
137811
|
-
};
|
137812
|
-
const useContext = () => {
|
137813
|
-
if (!storage) {
|
137814
|
-
throw new Error(`Unable to use async_hook, please confirm the node version >= 12.17
|
137815
|
-
`);
|
137816
|
-
}
|
137817
|
-
const context = storage.getStore();
|
137818
|
-
if (!context) {
|
137819
|
-
throw new Error(
|
137820
|
-
`Can't call useContext out of scope, make sure @modern-js/utils is a single version in node_modules`
|
137821
|
-
);
|
137822
|
-
}
|
137823
|
-
return context;
|
137824
|
-
};
|
137825
|
-
return {
|
137826
|
-
run,
|
137827
|
-
useContext
|
137828
|
-
};
|
137829
|
-
};
|
137830
|
-
}
|
137831
|
-
});
|
137832
|
-
|
137833
|
-
// ../../../toolkit/utils/dist/ssr.js
|
137834
|
-
var require_ssr2 = __commonJS({
|
137835
|
-
"../../../toolkit/utils/dist/ssr.js"(exports, module2) {
|
137836
|
-
var __defProp2 = Object.defineProperty;
|
137837
|
-
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
137838
|
-
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
137839
|
-
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
137840
|
-
var __export2 = (target, all) => {
|
137841
|
-
for (var name in all)
|
137842
|
-
__defProp2(target, name, { get: all[name], enumerable: true });
|
137843
|
-
};
|
137844
|
-
var __copyProps2 = (to, from, except, desc) => {
|
137845
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
137846
|
-
for (let key of __getOwnPropNames2(from))
|
137847
|
-
if (!__hasOwnProp2.call(to, key) && key !== except)
|
137848
|
-
__defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
137849
|
-
}
|
137850
|
-
return to;
|
137851
|
-
};
|
137852
|
-
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
137853
|
-
var ssr_exports = {};
|
137854
|
-
__export2(ssr_exports, {
|
137855
|
-
run: () => run,
|
137856
|
-
useHeaders: () => useHeaders
|
137857
|
-
});
|
137858
|
-
module2.exports = __toCommonJS2(ssr_exports);
|
137859
|
-
var import_storage = require_storage2();
|
137860
|
-
var { run, useContext: useHeaders } = (0, import_storage.createStorage)();
|
137861
|
-
}
|
137862
|
-
});
|
137863
|
-
|
137864
137794
|
// ../../../toolkit/utils/dist/tryResolve.js
|
137865
137795
|
var require_tryResolve2 = __commonJS({
|
137866
137796
|
"../../../toolkit/utils/dist/tryResolve.js"(exports, module2) {
|
@@ -137964,7 +137894,8 @@ var require_analyzeProject2 = __commonJS({
|
|
137964
137894
|
};
|
137965
137895
|
var analyzeProject_exports = {};
|
137966
137896
|
__export2(analyzeProject_exports, {
|
137967
|
-
isApiOnly: () => isApiOnly
|
137897
|
+
isApiOnly: () => isApiOnly,
|
137898
|
+
isWebOnly: () => isWebOnly
|
137968
137899
|
});
|
137969
137900
|
module2.exports = __toCommonJS2(analyzeProject_exports);
|
137970
137901
|
var path9 = __toESM2(require("path"));
|
@@ -137975,6 +137906,10 @@ var require_analyzeProject2 = __commonJS({
|
|
137975
137906
|
const options = (0, import_compiled.minimist)(process.argv.slice(2));
|
137976
137907
|
return !existSrc || Boolean(options["api-only"]);
|
137977
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
|
+
});
|
137978
137913
|
}
|
137979
137914
|
});
|
137980
137915
|
|
@@ -138393,9 +138328,9 @@ var require_routes = __commonJS({
|
|
138393
138328
|
}
|
138394
138329
|
});
|
138395
138330
|
|
138396
|
-
// ../../../toolkit/utils/dist/
|
138397
|
-
var
|
138398
|
-
"../../../toolkit/utils/dist/
|
138331
|
+
// ../../../toolkit/utils/dist/testUtils.js
|
138332
|
+
var require_testUtils = __commonJS({
|
138333
|
+
"../../../toolkit/utils/dist/testUtils.js"(exports, module2) {
|
138399
138334
|
var __defProp2 = Object.defineProperty;
|
138400
138335
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
138401
138336
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
@@ -138413,11 +138348,11 @@ var require_test_utils = __commonJS({
|
|
138413
138348
|
return to;
|
138414
138349
|
};
|
138415
138350
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
138416
|
-
var
|
138417
|
-
__export2(
|
138351
|
+
var testUtils_exports = {};
|
138352
|
+
__export2(testUtils_exports, {
|
138418
138353
|
initSnapshotSerializer: () => initSnapshotSerializer
|
138419
138354
|
});
|
138420
|
-
module2.exports = __toCommonJS2(
|
138355
|
+
module2.exports = __toCommonJS2(testUtils_exports);
|
138421
138356
|
var initSnapshotSerializer = (root) => {
|
138422
138357
|
expect.addSnapshotSerializer({
|
138423
138358
|
test: (val) => typeof val === "string" && (val.includes("modern.js") || val.includes("node_modules") || val.includes(root)),
|
@@ -138547,6 +138482,49 @@ var require_react = __commonJS({
|
|
138547
138482
|
}
|
138548
138483
|
});
|
138549
138484
|
|
138485
|
+
// ../../../toolkit/utils/dist/getTargetDir.js
|
138486
|
+
var require_getTargetDir = __commonJS({
|
138487
|
+
"../../../toolkit/utils/dist/getTargetDir.js"(exports, module2) {
|
138488
|
+
var __create2 = Object.create;
|
138489
|
+
var __defProp2 = Object.defineProperty;
|
138490
|
+
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
138491
|
+
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
138492
|
+
var __getProtoOf2 = Object.getPrototypeOf;
|
138493
|
+
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
138494
|
+
var __export2 = (target, all) => {
|
138495
|
+
for (var name in all)
|
138496
|
+
__defProp2(target, name, { get: all[name], enumerable: true });
|
138497
|
+
};
|
138498
|
+
var __copyProps2 = (to, from, except, desc) => {
|
138499
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
138500
|
+
for (let key of __getOwnPropNames2(from))
|
138501
|
+
if (!__hasOwnProp2.call(to, key) && key !== except)
|
138502
|
+
__defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
138503
|
+
}
|
138504
|
+
return to;
|
138505
|
+
};
|
138506
|
+
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
|
138507
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
138508
|
+
// file that has been converted to a CommonJS file using a Babel-
|
138509
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
138510
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
138511
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
138512
|
+
mod
|
138513
|
+
));
|
138514
|
+
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
138515
|
+
var getTargetDir_exports = {};
|
138516
|
+
__export2(getTargetDir_exports, {
|
138517
|
+
getTargetDir: () => getTargetDir
|
138518
|
+
});
|
138519
|
+
module2.exports = __toCommonJS2(getTargetDir_exports);
|
138520
|
+
var path9 = __toESM2(require("path"));
|
138521
|
+
var getTargetDir = (from, baseDir, targetBaseDir) => {
|
138522
|
+
const relativePath = path9.relative(baseDir, from);
|
138523
|
+
return path9.resolve(targetBaseDir, relativePath);
|
138524
|
+
};
|
138525
|
+
}
|
138526
|
+
});
|
138527
|
+
|
138550
138528
|
// ../../../toolkit/utils/dist/index.js
|
138551
138529
|
var require_dist2 = __commonJS({
|
138552
138530
|
"../../../toolkit/utils/dist/index.js"(exports, module2) {
|
@@ -138596,20 +138574,20 @@ var require_dist2 = __commonJS({
|
|
138596
138574
|
__reExport(src_exports2, require_alias2(), module2.exports);
|
138597
138575
|
__reExport(src_exports2, require_import2(), module2.exports);
|
138598
138576
|
__reExport(src_exports2, require_watch2(), module2.exports);
|
138599
|
-
__reExport(src_exports2,
|
138577
|
+
__reExport(src_exports2, require_nodeEnv3(), module2.exports);
|
138600
138578
|
__reExport(src_exports2, require_wait2(), module2.exports);
|
138601
138579
|
__reExport(src_exports2, require_emptyDir2(), module2.exports);
|
138602
138580
|
__reExport(src_exports2, require_getServerConfig2(), module2.exports);
|
138603
|
-
__reExport(src_exports2, require_ssr2(), module2.exports);
|
138604
138581
|
__reExport(src_exports2, require_tryResolve2(), module2.exports);
|
138605
138582
|
__reExport(src_exports2, require_analyzeProject2(), module2.exports);
|
138606
138583
|
__reExport(src_exports2, require_chainId2(), module2.exports);
|
138607
138584
|
__reExport(src_exports2, require_version2(), module2.exports);
|
138608
138585
|
__reExport(src_exports2, require_plugin(), module2.exports);
|
138609
138586
|
__reExport(src_exports2, require_routes(), module2.exports);
|
138610
|
-
__reExport(src_exports2,
|
138587
|
+
__reExport(src_exports2, require_testUtils(), module2.exports);
|
138611
138588
|
__reExport(src_exports2, require_getCoreJsVersion(), module2.exports);
|
138612
138589
|
__reExport(src_exports2, require_react(), module2.exports);
|
138590
|
+
__reExport(src_exports2, require_getTargetDir(), module2.exports);
|
138613
138591
|
}
|
138614
138592
|
});
|
138615
138593
|
|
@@ -139468,9 +139446,9 @@ var require_dist3 = __commonJS({
|
|
139468
139446
|
}
|
139469
139447
|
});
|
139470
139448
|
|
139471
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
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
|
139472
139450
|
var require_utils12 = __commonJS({
|
139473
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
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) {
|
139474
139452
|
"use strict";
|
139475
139453
|
Object.defineProperty(exports, "__esModule", {
|
139476
139454
|
value: true
|
@@ -139492,9 +139470,9 @@ var require_utils12 = __commonJS({
|
|
139492
139470
|
}
|
139493
139471
|
});
|
139494
139472
|
|
139495
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
139473
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js
|
139496
139474
|
var require_node10 = __commonJS({
|
139497
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
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) {
|
139498
139476
|
"use strict";
|
139499
139477
|
Object.defineProperty(exports, "__esModule", {
|
139500
139478
|
value: true
|
@@ -139722,7 +139700,7 @@ var ZH_LOCALE = {
|
|
139722
139700
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
139723
139701
|
proxy: "启用「全局代理」",
|
139724
139702
|
swc: "启用「SWC 编译」",
|
139725
|
-
rspack: "启用「
|
139703
|
+
rspack: "启用「Rspack 构建」(实验性)"
|
139726
139704
|
},
|
139727
139705
|
element: {
|
139728
139706
|
self: "创建工程元素",
|
@@ -139776,7 +139754,7 @@ var ZH_LOCALE = {
|
|
139776
139754
|
buildTools: {
|
139777
139755
|
self: "请选择构建工具",
|
139778
139756
|
webpack: "webpack",
|
139779
|
-
rspack: "
|
139757
|
+
rspack: "Rspack (实验性)"
|
139780
139758
|
}
|
139781
139759
|
};
|
139782
139760
|
|
@@ -139819,7 +139797,7 @@ var EN_LOCALE = {
|
|
139819
139797
|
polyfill: "Enable UA-based Polyfill Feature",
|
139820
139798
|
proxy: "Enable Global Proxy",
|
139821
139799
|
swc: "Enable SWC Compile",
|
139822
|
-
rspack: "Enable
|
139800
|
+
rspack: "Enable Rspack Build (experimental)"
|
139823
139801
|
},
|
139824
139802
|
element: {
|
139825
139803
|
self: "Create project element",
|
@@ -139873,7 +139851,7 @@ var EN_LOCALE = {
|
|
139873
139851
|
buildTools: {
|
139874
139852
|
self: "Build Tools",
|
139875
139853
|
webpack: "webpack",
|
139876
|
-
rspack: "
|
139854
|
+
rspack: "Rspack (experimental)"
|
139877
139855
|
}
|
139878
139856
|
};
|
139879
139857
|
|
@@ -140074,7 +140052,7 @@ var getLanguageSchema = (_extra = {}) => {
|
|
140074
140052
|
};
|
140075
140053
|
};
|
140076
140054
|
|
140077
|
-
// ../../generator-common/dist/esm-node/common/
|
140055
|
+
// ../../generator-common/dist/esm-node/common/packageManager.js
|
140078
140056
|
var PackageManager = /* @__PURE__ */ ((PackageManager2) => {
|
140079
140057
|
PackageManager2["Pnpm"] = "pnpm";
|
140080
140058
|
PackageManager2["Yarn"] = "yarn";
|
@@ -140118,7 +140096,7 @@ var getPackageManagerSchema = (extra = {}) => {
|
|
140118
140096
|
};
|
140119
140097
|
};
|
140120
140098
|
|
140121
|
-
// ../../generator-common/dist/esm-node/common/
|
140099
|
+
// ../../generator-common/dist/esm-node/common/packageName.js
|
140122
140100
|
var getPackageNameSchema = (extra = {}) => {
|
140123
140101
|
return {
|
140124
140102
|
type: "string",
|
@@ -140142,7 +140120,7 @@ var getPackageNameSchema = (extra = {}) => {
|
|
140142
140120
|
};
|
140143
140121
|
};
|
140144
140122
|
|
140145
|
-
// ../../generator-common/dist/esm-node/common/
|
140123
|
+
// ../../generator-common/dist/esm-node/common/packagePath.js
|
140146
140124
|
var PackagePathRegex = new RegExp(
|
140147
140125
|
"^[a-z0-9]*[-_/]?([a-z0-9]*[-_]?[a-z0-9]*)*[-_/]?[a-z0-9-_]+$"
|
140148
140126
|
);
|
@@ -140702,7 +140680,7 @@ var import_codesmith7 = __toESM(require_node3());
|
|
140702
140680
|
var import_path2 = __toESM(require("path"));
|
140703
140681
|
var import_utils3 = __toESM(require_dist2());
|
140704
140682
|
|
140705
|
-
// ../../generator-utils/dist/esm/utils/
|
140683
|
+
// ../../generator-utils/dist/esm/utils/stripAnsi.js
|
140706
140684
|
function ansiRegex2({ onlyFirst = false } = {}) {
|
140707
140685
|
const pattern = [
|
140708
140686
|
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
|
@@ -142701,14 +142679,14 @@ function getGeneratorPath(generator, distTag) {
|
|
142701
142679
|
var import_lodash6 = __toESM(require_lodash2());
|
142702
142680
|
var import_codesmith2 = __toESM(require_node3());
|
142703
142681
|
|
142704
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
142682
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/index.js
|
142705
142683
|
var import_lodash5 = __toESM(require_lodash3());
|
142706
142684
|
|
142707
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
142685
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/prompt.js
|
142708
142686
|
init_esm6();
|
142709
142687
|
var import_inquirer = __toESM(require_inquirer());
|
142710
142688
|
|
142711
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
142689
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/transform.js
|
142712
142690
|
var import_lodash4 = __toESM(require_lodash3());
|
142713
142691
|
init_esm4();
|
142714
142692
|
var _excluded = ["type", "title", "default", "enum", "x-validate"];
|
@@ -142869,7 +142847,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
142869
142847
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
142870
142848
|
}
|
142871
142849
|
|
142872
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
142850
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/prompt.js
|
142873
142851
|
function ownKeys3(object, enumerableOnly) {
|
142874
142852
|
var keys = Object.keys(object);
|
142875
142853
|
if (Object.getOwnPropertySymbols) {
|
@@ -142994,7 +142972,7 @@ function prompt(_0) {
|
|
142994
142972
|
});
|
142995
142973
|
}
|
142996
142974
|
|
142997
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
142975
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/inquirer.js
|
142998
142976
|
function ownKeys4(object, enumerableOnly) {
|
142999
142977
|
var keys = Object.keys(object);
|
143000
142978
|
if (Object.getOwnPropertySymbols) {
|
@@ -143057,7 +143035,7 @@ var CLIReader = class {
|
|
143057
143035
|
}
|
143058
143036
|
};
|
143059
143037
|
|
143060
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
143038
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/modern/index.js
|
143061
143039
|
init_esm4();
|
143062
143040
|
function _defineProperty10(obj, key, value) {
|
143063
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/
|
6
|
-
"repository": "
|
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.
|
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.
|
24
|
-
"@modern-js/codesmith-api-app": "2.0.
|
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/
|
30
|
-
"@modern-js/generator-utils": "3.0.
|
31
|
-
"@modern-js/module-generator": "3.0.
|
32
|
-
"@modern-js/monorepo-generator": "3.0.
|
33
|
-
"@modern-js/mwa-generator": "3.0.
|
34
|
-
"@modern-js/utils": "2.
|
35
|
-
"@modern-js/generator-
|
36
|
-
"@modern-js/generator
|
37
|
-
"@scripts/build": "2.
|
38
|
-
"@scripts/jest-config": "2.
|
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": {
|