@modern-js/ssg-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 +205 -227
- package/package.json +11 -11
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
@@ -44651,9 +44651,9 @@ var require_src2 = __commonJS({
|
|
44651
44651
|
}
|
44652
44652
|
});
|
44653
44653
|
|
44654
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
44654
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
|
44655
44655
|
var require_env = __commonJS({
|
44656
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
44656
|
+
"../../../../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) {
|
44657
44657
|
"use strict";
|
44658
44658
|
Object.defineProperty(exports, "__esModule", {
|
44659
44659
|
value: true
|
@@ -44715,9 +44715,9 @@ var require_env = __commonJS({
|
|
44715
44715
|
}
|
44716
44716
|
});
|
44717
44717
|
|
44718
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
44718
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
|
44719
44719
|
var require_install = __commonJS({
|
44720
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
44720
|
+
"../../../../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) {
|
44721
44721
|
"use strict";
|
44722
44722
|
Object.defineProperty(exports, "__esModule", {
|
44723
44723
|
value: true
|
@@ -44869,9 +44869,9 @@ var require_install = __commonJS({
|
|
44869
44869
|
}
|
44870
44870
|
});
|
44871
44871
|
|
44872
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
44872
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
|
44873
44873
|
var require_utils = __commonJS({
|
44874
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
44874
|
+
"../../../../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) {
|
44875
44875
|
"use strict";
|
44876
44876
|
Object.defineProperty(exports, "__esModule", {
|
44877
44877
|
value: true
|
@@ -44935,9 +44935,9 @@ var require_utils = __commonJS({
|
|
44935
44935
|
}
|
44936
44936
|
});
|
44937
44937
|
|
44938
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
44938
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
|
44939
44939
|
var require_node = __commonJS({
|
44940
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
44940
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
|
44941
44941
|
"use strict";
|
44942
44942
|
Object.defineProperty(exports, "__esModule", {
|
44943
44943
|
value: true
|
@@ -45012,9 +45012,9 @@ var require_node = __commonJS({
|
|
45012
45012
|
}
|
45013
45013
|
});
|
45014
45014
|
|
45015
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
45015
|
+
// ../../../../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
|
45016
45016
|
var require_utils2 = __commonJS({
|
45017
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
45017
|
+
"../../../../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) {
|
45018
45018
|
"use strict";
|
45019
45019
|
Object.defineProperty(exports, "__esModule", {
|
45020
45020
|
value: true
|
@@ -45089,9 +45089,9 @@ var require_utils2 = __commonJS({
|
|
45089
45089
|
}
|
45090
45090
|
});
|
45091
45091
|
|
45092
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
45092
|
+
// ../../../../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
|
45093
45093
|
var require_node2 = __commonJS({
|
45094
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
45094
|
+
"../../../../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) {
|
45095
45095
|
"use strict";
|
45096
45096
|
Object.defineProperty(exports, "__esModule", {
|
45097
45097
|
value: true
|
@@ -45170,9 +45170,9 @@ var require_node2 = __commonJS({
|
|
45170
45170
|
}
|
45171
45171
|
});
|
45172
45172
|
|
45173
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45173
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
|
45174
45174
|
var require_constants2 = __commonJS({
|
45175
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45175
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
|
45176
45176
|
"use strict";
|
45177
45177
|
Object.defineProperty(exports, "__esModule", {
|
45178
45178
|
value: true
|
@@ -45193,9 +45193,9 @@ var require_constants2 = __commonJS({
|
|
45193
45193
|
}
|
45194
45194
|
});
|
45195
45195
|
|
45196
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45196
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
|
45197
45197
|
var require_logger2 = __commonJS({
|
45198
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45198
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
|
45199
45199
|
"use strict";
|
45200
45200
|
Object.defineProperty(exports, "__esModule", {
|
45201
45201
|
value: true
|
@@ -45263,9 +45263,9 @@ var require_logger2 = __commonJS({
|
|
45263
45263
|
}
|
45264
45264
|
});
|
45265
45265
|
|
45266
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45266
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
|
45267
45267
|
var require_constants3 = __commonJS({
|
45268
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45268
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
|
45269
45269
|
"use strict";
|
45270
45270
|
Object.defineProperty(exports, "__esModule", {
|
45271
45271
|
value: true
|
@@ -45276,9 +45276,9 @@ var require_constants3 = __commonJS({
|
|
45276
45276
|
}
|
45277
45277
|
});
|
45278
45278
|
|
45279
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45279
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
|
45280
45280
|
var require_FsResource = __commonJS({
|
45281
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45281
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
|
45282
45282
|
"use strict";
|
45283
45283
|
Object.defineProperty(exports, "__esModule", {
|
45284
45284
|
value: true
|
@@ -45329,9 +45329,9 @@ var require_FsResource = __commonJS({
|
|
45329
45329
|
}
|
45330
45330
|
});
|
45331
45331
|
|
45332
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45332
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
|
45333
45333
|
var require_FsMaterial = __commonJS({
|
45334
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45334
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
|
45335
45335
|
"use strict";
|
45336
45336
|
Object.defineProperty(exports, "__esModule", {
|
45337
45337
|
value: true
|
@@ -45383,9 +45383,9 @@ var require_FsMaterial = __commonJS({
|
|
45383
45383
|
}
|
45384
45384
|
});
|
45385
45385
|
|
45386
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45386
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
|
45387
45387
|
var require_nodeRequire = __commonJS({
|
45388
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45388
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
|
45389
45389
|
"use strict";
|
45390
45390
|
Object.defineProperty(exports, "__esModule", {
|
45391
45391
|
value: true
|
@@ -45410,9 +45410,9 @@ var require_nodeRequire = __commonJS({
|
|
45410
45410
|
}
|
45411
45411
|
});
|
45412
45412
|
|
45413
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45413
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
|
45414
45414
|
var require_fsExists = __commonJS({
|
45415
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45415
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
|
45416
45416
|
"use strict";
|
45417
45417
|
Object.defineProperty(exports, "__esModule", {
|
45418
45418
|
value: true
|
@@ -45432,9 +45432,9 @@ var require_fsExists = __commonJS({
|
|
45432
45432
|
}
|
45433
45433
|
});
|
45434
45434
|
|
45435
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45435
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
|
45436
45436
|
var require_getGeneratorDir = __commonJS({
|
45437
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45437
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
|
45438
45438
|
"use strict";
|
45439
45439
|
Object.defineProperty(exports, "__esModule", {
|
45440
45440
|
value: true
|
@@ -45468,9 +45468,9 @@ var require_getGeneratorDir = __commonJS({
|
|
45468
45468
|
}
|
45469
45469
|
});
|
45470
45470
|
|
45471
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45471
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
|
45472
45472
|
var require_generator = __commonJS({
|
45473
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45473
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
|
45474
45474
|
"use strict";
|
45475
45475
|
Object.defineProperty(exports, "__esModule", {
|
45476
45476
|
value: true
|
@@ -45718,9 +45718,9 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
|
|
45718
45718
|
}
|
45719
45719
|
});
|
45720
45720
|
|
45721
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45721
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
|
45722
45722
|
var require_packageManager = __commonJS({
|
45723
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45723
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
|
45724
45724
|
"use strict";
|
45725
45725
|
Object.defineProperty(exports, "__esModule", {
|
45726
45726
|
value: true
|
@@ -45798,9 +45798,9 @@ var require_packageManager = __commonJS({
|
|
45798
45798
|
}
|
45799
45799
|
});
|
45800
45800
|
|
45801
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45801
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
|
45802
45802
|
var require_timeoutPromise = __commonJS({
|
45803
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
45803
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
|
45804
45804
|
"use strict";
|
45805
45805
|
Object.defineProperty(exports, "__esModule", {
|
45806
45806
|
value: true
|
@@ -53626,9 +53626,9 @@ var require_tar = __commonJS({
|
|
53626
53626
|
}
|
53627
53627
|
});
|
53628
53628
|
|
53629
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53629
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js
|
53630
53630
|
var require_constants5 = __commonJS({
|
53631
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53631
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
|
53632
53632
|
"use strict";
|
53633
53633
|
Object.defineProperty(exports, "__esModule", {
|
53634
53634
|
value: true
|
@@ -53641,9 +53641,9 @@ var require_constants5 = __commonJS({
|
|
53641
53641
|
}
|
53642
53642
|
});
|
53643
53643
|
|
53644
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53644
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
|
53645
53645
|
var require_getNpmTarballUrl = __commonJS({
|
53646
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53646
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
|
53647
53647
|
"use strict";
|
53648
53648
|
Object.defineProperty(exports, "__esModule", {
|
53649
53649
|
value: true
|
@@ -53677,9 +53677,9 @@ var require_getNpmTarballUrl = __commonJS({
|
|
53677
53677
|
}
|
53678
53678
|
});
|
53679
53679
|
|
53680
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53680
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
|
53681
53681
|
var require_getNpmVersion = __commonJS({
|
53682
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53682
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
|
53683
53683
|
"use strict";
|
53684
53684
|
Object.defineProperty(exports, "__esModule", {
|
53685
53685
|
value: true
|
@@ -53715,9 +53715,9 @@ var require_getNpmVersion = __commonJS({
|
|
53715
53715
|
}
|
53716
53716
|
});
|
53717
53717
|
|
53718
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53718
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
|
53719
53719
|
var require_downloadPackage = __commonJS({
|
53720
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53720
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
|
53721
53721
|
"use strict";
|
53722
53722
|
Object.defineProperty(exports, "__esModule", {
|
53723
53723
|
value: true
|
@@ -53819,9 +53819,9 @@ var require_downloadPackage = __commonJS({
|
|
53819
53819
|
}
|
53820
53820
|
});
|
53821
53821
|
|
53822
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53822
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
|
53823
53823
|
var require_getPackageInfo = __commonJS({
|
53824
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53824
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
|
53825
53825
|
"use strict";
|
53826
53826
|
Object.defineProperty(exports, "__esModule", {
|
53827
53827
|
value: true
|
@@ -53853,9 +53853,9 @@ var require_getPackageInfo = __commonJS({
|
|
53853
53853
|
}
|
53854
53854
|
});
|
53855
53855
|
|
53856
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53856
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
|
53857
53857
|
var require_utils4 = __commonJS({
|
53858
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53858
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
|
53859
53859
|
"use strict";
|
53860
53860
|
Object.defineProperty(exports, "__esModule", {
|
53861
53861
|
value: true
|
@@ -53931,9 +53931,9 @@ var require_utils4 = __commonJS({
|
|
53931
53931
|
}
|
53932
53932
|
});
|
53933
53933
|
|
53934
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53934
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
|
53935
53935
|
var require_materials = __commonJS({
|
53936
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53936
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
|
53937
53937
|
"use strict";
|
53938
53938
|
Object.defineProperty(exports, "__esModule", {
|
53939
53939
|
value: true
|
@@ -53991,9 +53991,9 @@ var require_materials = __commonJS({
|
|
53991
53991
|
}
|
53992
53992
|
});
|
53993
53993
|
|
53994
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53994
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
|
53995
53995
|
var require_codesmith = __commonJS({
|
53996
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
53996
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
|
53997
53997
|
"use strict";
|
53998
53998
|
Object.defineProperty(exports, "__esModule", {
|
53999
53999
|
value: true
|
@@ -54069,9 +54069,9 @@ var require_codesmith = __commonJS({
|
|
54069
54069
|
}
|
54070
54070
|
});
|
54071
54071
|
|
54072
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
54072
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js
|
54073
54073
|
var require_node3 = __commonJS({
|
54074
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
54074
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
|
54075
54075
|
"use strict";
|
54076
54076
|
Object.defineProperty(exports, "__esModule", {
|
54077
54077
|
value: true
|
@@ -60025,9 +60025,9 @@ var require_lib = __commonJS({
|
|
60025
60025
|
}
|
60026
60026
|
});
|
60027
60027
|
|
60028
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
60028
|
+
// ../../../../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
|
60029
60029
|
var require_renderString = __commonJS({
|
60030
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
60030
|
+
"../../../../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) {
|
60031
60031
|
"use strict";
|
60032
60032
|
Object.defineProperty(exports, "__esModule", {
|
60033
60033
|
value: true
|
@@ -60076,9 +60076,9 @@ var require_renderString = __commonJS({
|
|
60076
60076
|
}
|
60077
60077
|
});
|
60078
60078
|
|
60079
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
60079
|
+
// ../../../../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
|
60080
60080
|
var require_utils6 = __commonJS({
|
60081
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
60081
|
+
"../../../../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) {
|
60082
60082
|
"use strict";
|
60083
60083
|
Object.defineProperty(exports, "__esModule", {
|
60084
60084
|
value: true
|
@@ -60093,9 +60093,9 @@ var require_utils6 = __commonJS({
|
|
60093
60093
|
}
|
60094
60094
|
});
|
60095
60095
|
|
60096
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
60096
|
+
// ../../../../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
|
60097
60097
|
var require_node4 = __commonJS({
|
60098
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
60098
|
+
"../../../../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) {
|
60099
60099
|
"use strict";
|
60100
60100
|
Object.defineProperty(exports, "__esModule", {
|
60101
60101
|
value: true
|
@@ -60109,6 +60109,27 @@ var require_node4 = __commonJS({
|
|
60109
60109
|
});
|
60110
60110
|
var _codesmith = require_node3();
|
60111
60111
|
var _utils = require_utils6();
|
60112
|
+
function ownKeys(object, enumerableOnly) {
|
60113
|
+
var keys = Object.keys(object);
|
60114
|
+
if (Object.getOwnPropertySymbols) {
|
60115
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
60116
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
60117
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
60118
|
+
})), keys.push.apply(keys, symbols);
|
60119
|
+
}
|
60120
|
+
return keys;
|
60121
|
+
}
|
60122
|
+
function _objectSpread(target) {
|
60123
|
+
for (var i = 1; i < arguments.length; i++) {
|
60124
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
60125
|
+
i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
60126
|
+
_defineProperty(target, key, source[key]);
|
60127
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
60128
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
60129
|
+
});
|
60130
|
+
}
|
60131
|
+
return target;
|
60132
|
+
}
|
60112
60133
|
function _defineProperty(obj, key, value) {
|
60113
60134
|
if (key in obj) {
|
60114
60135
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
@@ -60127,6 +60148,16 @@ var require_node4 = __commonJS({
|
|
60127
60148
|
partials: {}
|
60128
60149
|
};
|
60129
60150
|
}
|
60151
|
+
registerHelp(helpers) {
|
60152
|
+
return __async(this, null, function* () {
|
60153
|
+
this.registers.helpers = _objectSpread(_objectSpread({}, this.registers.helpers), helpers);
|
60154
|
+
});
|
60155
|
+
}
|
60156
|
+
registerPartials(partials) {
|
60157
|
+
return __async(this, null, function* () {
|
60158
|
+
this.registers.partials = _objectSpread(_objectSpread({}, this.registers.partials), partials);
|
60159
|
+
});
|
60160
|
+
}
|
60130
60161
|
renderTemplate(_0, _1) {
|
60131
60162
|
return __async(this, arguments, function* (templateResource, target, parameters = {}) {
|
60132
60163
|
if (templateResource._type !== _codesmith.FS_RESOURCE) {
|
@@ -60868,9 +60899,9 @@ var require_ejs = __commonJS({
|
|
60868
60899
|
}
|
60869
60900
|
});
|
60870
60901
|
|
60871
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
60902
|
+
// ../../../../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
|
60872
60903
|
var require_renderString2 = __commonJS({
|
60873
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
60904
|
+
"../../../../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) {
|
60874
60905
|
"use strict";
|
60875
60906
|
Object.defineProperty(exports, "__esModule", {
|
60876
60907
|
value: true
|
@@ -60886,9 +60917,9 @@ var require_renderString2 = __commonJS({
|
|
60886
60917
|
}
|
60887
60918
|
});
|
60888
60919
|
|
60889
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
60920
|
+
// ../../../../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
|
60890
60921
|
var require_utils8 = __commonJS({
|
60891
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
60922
|
+
"../../../../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) {
|
60892
60923
|
"use strict";
|
60893
60924
|
Object.defineProperty(exports, "__esModule", {
|
60894
60925
|
value: true
|
@@ -60903,9 +60934,9 @@ var require_utils8 = __commonJS({
|
|
60903
60934
|
}
|
60904
60935
|
});
|
60905
60936
|
|
60906
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
60937
|
+
// ../../../../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
|
60907
60938
|
var require_node5 = __commonJS({
|
60908
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
60939
|
+
"../../../../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) {
|
60909
60940
|
"use strict";
|
60910
60941
|
Object.defineProperty(exports, "__esModule", {
|
60911
60942
|
value: true
|
@@ -60963,9 +60994,9 @@ var require_node5 = __commonJS({
|
|
60963
60994
|
}
|
60964
60995
|
});
|
60965
60996
|
|
60966
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
60997
|
+
// ../../../../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
|
60967
60998
|
var require_constant = __commonJS({
|
60968
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
60999
|
+
"../../../../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) {
|
60969
61000
|
"use strict";
|
60970
61001
|
Object.defineProperty(exports, "__esModule", {
|
60971
61002
|
value: true
|
@@ -60976,9 +61007,9 @@ var require_constant = __commonJS({
|
|
60976
61007
|
}
|
60977
61008
|
});
|
60978
61009
|
|
60979
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
61010
|
+
// ../../../../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
|
60980
61011
|
var require_node6 = __commonJS({
|
60981
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
61012
|
+
"../../../../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) {
|
60982
61013
|
"use strict";
|
60983
61014
|
Object.defineProperty(exports, "__esModule", {
|
60984
61015
|
value: true
|
@@ -102337,9 +102368,9 @@ var require_inquirer = __commonJS({
|
|
102337
102368
|
}
|
102338
102369
|
});
|
102339
102370
|
|
102340
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
102371
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
|
102341
102372
|
var require_transform = __commonJS({
|
102342
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
102373
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
|
102343
102374
|
"use strict";
|
102344
102375
|
Object.defineProperty(exports, "__esModule", {
|
102345
102376
|
value: true
|
@@ -102508,9 +102539,9 @@ var require_transform = __commonJS({
|
|
102508
102539
|
}
|
102509
102540
|
});
|
102510
102541
|
|
102511
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
102542
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
|
102512
102543
|
var require_prompt2 = __commonJS({
|
102513
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
102544
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
|
102514
102545
|
"use strict";
|
102515
102546
|
Object.defineProperty(exports, "__esModule", {
|
102516
102547
|
value: true
|
@@ -102648,9 +102679,9 @@ var require_prompt2 = __commonJS({
|
|
102648
102679
|
}
|
102649
102680
|
});
|
102650
102681
|
|
102651
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
102682
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
|
102652
102683
|
var require_inquirer2 = __commonJS({
|
102653
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
102684
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
|
102654
102685
|
"use strict";
|
102655
102686
|
Object.defineProperty(exports, "__esModule", {
|
102656
102687
|
value: true
|
@@ -102722,9 +102753,9 @@ var require_inquirer2 = __commonJS({
|
|
102722
102753
|
}
|
102723
102754
|
});
|
102724
102755
|
|
102725
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
102756
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
|
102726
102757
|
var require_node7 = __commonJS({
|
102727
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
102758
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
|
102728
102759
|
"use strict";
|
102729
102760
|
Object.defineProperty(exports, "__esModule", {
|
102730
102761
|
value: true
|
@@ -105537,9 +105568,9 @@ var require_node8 = __commonJS({
|
|
105537
105568
|
}
|
105538
105569
|
});
|
105539
105570
|
|
105540
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105571
|
+
// ../../../../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
|
105541
105572
|
var require_zh = __commonJS({
|
105542
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105573
|
+
"../../../../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) {
|
105543
105574
|
"use strict";
|
105544
105575
|
Object.defineProperty(exports, "__esModule", {
|
105545
105576
|
value: true
|
@@ -105574,9 +105605,9 @@ var require_zh = __commonJS({
|
|
105574
105605
|
}
|
105575
105606
|
});
|
105576
105607
|
|
105577
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105608
|
+
// ../../../../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
|
105578
105609
|
var require_en = __commonJS({
|
105579
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105610
|
+
"../../../../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) {
|
105580
105611
|
"use strict";
|
105581
105612
|
Object.defineProperty(exports, "__esModule", {
|
105582
105613
|
value: true
|
@@ -105611,9 +105642,9 @@ var require_en = __commonJS({
|
|
105611
105642
|
}
|
105612
105643
|
});
|
105613
105644
|
|
105614
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105645
|
+
// ../../../../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
|
105615
105646
|
var require_locale = __commonJS({
|
105616
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105647
|
+
"../../../../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) {
|
105617
105648
|
"use strict";
|
105618
105649
|
Object.defineProperty(exports, "__esModule", {
|
105619
105650
|
value: true
|
@@ -105638,9 +105669,9 @@ var require_locale = __commonJS({
|
|
105638
105669
|
}
|
105639
105670
|
});
|
105640
105671
|
|
105641
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105672
|
+
// ../../../../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
|
105642
105673
|
var require_transform2 = __commonJS({
|
105643
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105674
|
+
"../../../../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) {
|
105644
105675
|
"use strict";
|
105645
105676
|
Object.defineProperty(exports, "__esModule", {
|
105646
105677
|
value: true
|
@@ -105675,9 +105706,9 @@ var require_transform2 = __commonJS({
|
|
105675
105706
|
}
|
105676
105707
|
});
|
105677
105708
|
|
105678
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105709
|
+
// ../../../../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
|
105679
105710
|
var require_checkUseNvm = __commonJS({
|
105680
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105711
|
+
"../../../../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) {
|
105681
105712
|
"use strict";
|
105682
105713
|
Object.defineProperty(exports, "__esModule", {
|
105683
105714
|
value: true
|
@@ -105740,9 +105771,9 @@ var require_checkUseNvm = __commonJS({
|
|
105740
105771
|
}
|
105741
105772
|
});
|
105742
105773
|
|
105743
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105774
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
|
105744
105775
|
var require_node9 = __commonJS({
|
105745
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
105776
|
+
"../../../../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) {
|
105746
105777
|
"use strict";
|
105747
105778
|
Object.defineProperty(exports, "__esModule", {
|
105748
105779
|
value: true
|
@@ -105796,13 +105827,13 @@ var require_node9 = __commonJS({
|
|
105796
105827
|
var AppAPI2 = class {
|
105797
105828
|
constructor(generatorContext, generatorCore) {
|
105798
105829
|
_defineProperty(this, "i18n", _locale.i18n);
|
105799
|
-
_defineProperty(this, "generatorCore", void 0);
|
105800
|
-
_defineProperty(this, "generatorContext", void 0);
|
105801
105830
|
_defineProperty(this, "npmApi", void 0);
|
105802
105831
|
_defineProperty(this, "gitApi", void 0);
|
105803
105832
|
_defineProperty(this, "handlebarsAPI", void 0);
|
105804
105833
|
_defineProperty(this, "ejsAPI", void 0);
|
105805
105834
|
_defineProperty(this, "fsAPI", void 0);
|
105835
|
+
_defineProperty(this, "generatorCore", void 0);
|
105836
|
+
_defineProperty(this, "generatorContext", void 0);
|
105806
105837
|
this.generatorCore = generatorCore;
|
105807
105838
|
this.generatorContext = generatorContext;
|
105808
105839
|
this.npmApi = new _codesmithApiNpm.NpmAPI(generatorCore);
|
@@ -105862,6 +105893,7 @@ var require_node9 = __commonJS({
|
|
105862
105893
|
yield intallPromise;
|
105863
105894
|
this.generatorCore.logger.info(_locale.i18n.t(_locale.localeKeys.install.success));
|
105864
105895
|
} catch (e) {
|
105896
|
+
this.generatorCore.logger.warn(e);
|
105865
105897
|
this.generatorCore.logger.warn(_locale.i18n.t(_locale.localeKeys.install.failed, {
|
105866
105898
|
command: command || `${packageManager} install`
|
105867
105899
|
}));
|
@@ -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_path4 = __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_path4 = __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 path3 = __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 path3 = __toESM2(require("path"));
|
138521
|
+
var getTargetDir = (from, baseDir, targetBaseDir) => {
|
138522
|
+
const relativePath = path3.relative(baseDir, from);
|
138523
|
+
return path3.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
|
|
@@ -138733,7 +138711,7 @@ var ZH_LOCALE = {
|
|
138733
138711
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
138734
138712
|
proxy: "启用「全局代理」",
|
138735
138713
|
swc: "启用「SWC 编译」",
|
138736
|
-
rspack: "启用「
|
138714
|
+
rspack: "启用「Rspack 构建」(实验性)"
|
138737
138715
|
},
|
138738
138716
|
element: {
|
138739
138717
|
self: "创建工程元素",
|
@@ -138787,7 +138765,7 @@ var ZH_LOCALE = {
|
|
138787
138765
|
buildTools: {
|
138788
138766
|
self: "请选择构建工具",
|
138789
138767
|
webpack: "webpack",
|
138790
|
-
rspack: "
|
138768
|
+
rspack: "Rspack (实验性)"
|
138791
138769
|
}
|
138792
138770
|
};
|
138793
138771
|
|
@@ -138830,7 +138808,7 @@ var EN_LOCALE = {
|
|
138830
138808
|
polyfill: "Enable UA-based Polyfill Feature",
|
138831
138809
|
proxy: "Enable Global Proxy",
|
138832
138810
|
swc: "Enable SWC Compile",
|
138833
|
-
rspack: "Enable
|
138811
|
+
rspack: "Enable Rspack Build (experimental)"
|
138834
138812
|
},
|
138835
138813
|
element: {
|
138836
138814
|
self: "Create project element",
|
@@ -138884,7 +138862,7 @@ var EN_LOCALE = {
|
|
138884
138862
|
buildTools: {
|
138885
138863
|
self: "Build Tools",
|
138886
138864
|
webpack: "webpack",
|
138887
|
-
rspack: "
|
138865
|
+
rspack: "Rspack (experimental)"
|
138888
138866
|
}
|
138889
138867
|
};
|
138890
138868
|
|
@@ -138895,7 +138873,7 @@ var localeKeys = i18n.init("zh", { zh: ZH_LOCALE, en: EN_LOCALE });
|
|
138895
138873
|
// ../../generator-common/dist/esm-node/common/solution.js
|
138896
138874
|
var DependenceGenerator = "@modern-js/dependence-generator";
|
138897
138875
|
|
138898
|
-
// ../../generator-utils/dist/esm/utils/
|
138876
|
+
// ../../generator-utils/dist/esm/utils/fsExist.js
|
138899
138877
|
var import_utils2 = __toESM(require_dist2());
|
138900
138878
|
function fileExist(filePath) {
|
138901
138879
|
return __async(this, null, function* () {
|
package/package.json
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
"name": "@modern-js/ssg-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,18 +20,18 @@
|
|
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/dependence-generator": "3.0.
|
30
|
-
"@modern-js/plugin-i18n": "2.
|
31
|
-
"@modern-js/generator-common": "3.0.
|
32
|
-
"@modern-js/generator-utils": "3.0.
|
33
|
-
"@scripts/build": "2.
|
34
|
-
"@scripts/jest-config": "2.
|
29
|
+
"@modern-js/dependence-generator": "3.0.10",
|
30
|
+
"@modern-js/plugin-i18n": "2.8.0",
|
31
|
+
"@modern-js/generator-common": "3.0.10",
|
32
|
+
"@modern-js/generator-utils": "3.0.10",
|
33
|
+
"@scripts/build": "2.8.0",
|
34
|
+
"@scripts/jest-config": "2.8.0"
|
35
35
|
},
|
36
36
|
"sideEffects": false,
|
37
37
|
"publishConfig": {
|