@modern-js/mwa-generator 3.0.9 → 3.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
|
@@ -44663,9 +44663,9 @@ var require_src2 = __commonJS({
|
|
|
44663
44663
|
}
|
|
44664
44664
|
});
|
|
44665
44665
|
|
|
44666
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44666
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
|
|
44667
44667
|
var require_env = __commonJS({
|
|
44668
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44668
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js"(exports) {
|
|
44669
44669
|
"use strict";
|
|
44670
44670
|
Object.defineProperty(exports, "__esModule", {
|
|
44671
44671
|
value: true
|
|
@@ -44727,9 +44727,9 @@ var require_env = __commonJS({
|
|
|
44727
44727
|
}
|
|
44728
44728
|
});
|
|
44729
44729
|
|
|
44730
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44730
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
|
|
44731
44731
|
var require_install = __commonJS({
|
|
44732
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44732
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js"(exports) {
|
|
44733
44733
|
"use strict";
|
|
44734
44734
|
Object.defineProperty(exports, "__esModule", {
|
|
44735
44735
|
value: true
|
|
@@ -44881,9 +44881,9 @@ var require_install = __commonJS({
|
|
|
44881
44881
|
}
|
|
44882
44882
|
});
|
|
44883
44883
|
|
|
44884
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44884
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
|
|
44885
44885
|
var require_utils = __commonJS({
|
|
44886
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44886
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js"(exports) {
|
|
44887
44887
|
"use strict";
|
|
44888
44888
|
Object.defineProperty(exports, "__esModule", {
|
|
44889
44889
|
value: true
|
|
@@ -44947,9 +44947,9 @@ var require_utils = __commonJS({
|
|
|
44947
44947
|
}
|
|
44948
44948
|
});
|
|
44949
44949
|
|
|
44950
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44950
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
|
|
44951
44951
|
var require_node = __commonJS({
|
|
44952
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.
|
|
44952
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
|
|
44953
44953
|
"use strict";
|
|
44954
44954
|
Object.defineProperty(exports, "__esModule", {
|
|
44955
44955
|
value: true
|
|
@@ -45024,9 +45024,9 @@ var require_node = __commonJS({
|
|
|
45024
45024
|
}
|
|
45025
45025
|
});
|
|
45026
45026
|
|
|
45027
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
|
45027
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js
|
|
45028
45028
|
var require_utils2 = __commonJS({
|
|
45029
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
|
45029
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js"(exports) {
|
|
45030
45030
|
"use strict";
|
|
45031
45031
|
Object.defineProperty(exports, "__esModule", {
|
|
45032
45032
|
value: true
|
|
@@ -45101,9 +45101,9 @@ var require_utils2 = __commonJS({
|
|
|
45101
45101
|
}
|
|
45102
45102
|
});
|
|
45103
45103
|
|
|
45104
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
|
45104
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js
|
|
45105
45105
|
var require_node2 = __commonJS({
|
|
45106
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.
|
|
45106
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js"(exports) {
|
|
45107
45107
|
"use strict";
|
|
45108
45108
|
Object.defineProperty(exports, "__esModule", {
|
|
45109
45109
|
value: true
|
|
@@ -45182,9 +45182,9 @@ var require_node2 = __commonJS({
|
|
|
45182
45182
|
}
|
|
45183
45183
|
});
|
|
45184
45184
|
|
|
45185
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45185
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
|
|
45186
45186
|
var require_constants2 = __commonJS({
|
|
45187
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45187
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
|
|
45188
45188
|
"use strict";
|
|
45189
45189
|
Object.defineProperty(exports, "__esModule", {
|
|
45190
45190
|
value: true
|
|
@@ -45205,9 +45205,9 @@ var require_constants2 = __commonJS({
|
|
|
45205
45205
|
}
|
|
45206
45206
|
});
|
|
45207
45207
|
|
|
45208
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45208
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
|
|
45209
45209
|
var require_logger2 = __commonJS({
|
|
45210
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45210
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
|
|
45211
45211
|
"use strict";
|
|
45212
45212
|
Object.defineProperty(exports, "__esModule", {
|
|
45213
45213
|
value: true
|
|
@@ -45275,9 +45275,9 @@ var require_logger2 = __commonJS({
|
|
|
45275
45275
|
}
|
|
45276
45276
|
});
|
|
45277
45277
|
|
|
45278
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45278
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
|
|
45279
45279
|
var require_constants3 = __commonJS({
|
|
45280
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45280
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
|
|
45281
45281
|
"use strict";
|
|
45282
45282
|
Object.defineProperty(exports, "__esModule", {
|
|
45283
45283
|
value: true
|
|
@@ -45288,9 +45288,9 @@ var require_constants3 = __commonJS({
|
|
|
45288
45288
|
}
|
|
45289
45289
|
});
|
|
45290
45290
|
|
|
45291
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45291
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
|
|
45292
45292
|
var require_FsResource = __commonJS({
|
|
45293
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45293
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
|
|
45294
45294
|
"use strict";
|
|
45295
45295
|
Object.defineProperty(exports, "__esModule", {
|
|
45296
45296
|
value: true
|
|
@@ -45341,9 +45341,9 @@ var require_FsResource = __commonJS({
|
|
|
45341
45341
|
}
|
|
45342
45342
|
});
|
|
45343
45343
|
|
|
45344
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45344
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
|
|
45345
45345
|
var require_FsMaterial = __commonJS({
|
|
45346
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45346
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
|
|
45347
45347
|
"use strict";
|
|
45348
45348
|
Object.defineProperty(exports, "__esModule", {
|
|
45349
45349
|
value: true
|
|
@@ -45395,9 +45395,9 @@ var require_FsMaterial = __commonJS({
|
|
|
45395
45395
|
}
|
|
45396
45396
|
});
|
|
45397
45397
|
|
|
45398
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45398
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
|
|
45399
45399
|
var require_nodeRequire = __commonJS({
|
|
45400
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45400
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
|
|
45401
45401
|
"use strict";
|
|
45402
45402
|
Object.defineProperty(exports, "__esModule", {
|
|
45403
45403
|
value: true
|
|
@@ -45422,9 +45422,9 @@ var require_nodeRequire = __commonJS({
|
|
|
45422
45422
|
}
|
|
45423
45423
|
});
|
|
45424
45424
|
|
|
45425
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45425
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
|
|
45426
45426
|
var require_fsExists = __commonJS({
|
|
45427
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45427
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
|
|
45428
45428
|
"use strict";
|
|
45429
45429
|
Object.defineProperty(exports, "__esModule", {
|
|
45430
45430
|
value: true
|
|
@@ -45444,9 +45444,9 @@ var require_fsExists = __commonJS({
|
|
|
45444
45444
|
}
|
|
45445
45445
|
});
|
|
45446
45446
|
|
|
45447
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45447
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
|
|
45448
45448
|
var require_getGeneratorDir = __commonJS({
|
|
45449
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45449
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
|
|
45450
45450
|
"use strict";
|
|
45451
45451
|
Object.defineProperty(exports, "__esModule", {
|
|
45452
45452
|
value: true
|
|
@@ -45480,9 +45480,9 @@ var require_getGeneratorDir = __commonJS({
|
|
|
45480
45480
|
}
|
|
45481
45481
|
});
|
|
45482
45482
|
|
|
45483
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45483
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
|
|
45484
45484
|
var require_generator = __commonJS({
|
|
45485
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45485
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
|
|
45486
45486
|
"use strict";
|
|
45487
45487
|
Object.defineProperty(exports, "__esModule", {
|
|
45488
45488
|
value: true
|
|
@@ -45730,9 +45730,9 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
|
|
|
45730
45730
|
}
|
|
45731
45731
|
});
|
|
45732
45732
|
|
|
45733
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45733
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
|
|
45734
45734
|
var require_packageManager = __commonJS({
|
|
45735
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45735
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
|
|
45736
45736
|
"use strict";
|
|
45737
45737
|
Object.defineProperty(exports, "__esModule", {
|
|
45738
45738
|
value: true
|
|
@@ -45810,9 +45810,9 @@ var require_packageManager = __commonJS({
|
|
|
45810
45810
|
}
|
|
45811
45811
|
});
|
|
45812
45812
|
|
|
45813
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45813
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
|
|
45814
45814
|
var require_timeoutPromise = __commonJS({
|
|
45815
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
45815
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
|
|
45816
45816
|
"use strict";
|
|
45817
45817
|
Object.defineProperty(exports, "__esModule", {
|
|
45818
45818
|
value: true
|
|
@@ -53638,9 +53638,9 @@ var require_tar = __commonJS({
|
|
|
53638
53638
|
}
|
|
53639
53639
|
});
|
|
53640
53640
|
|
|
53641
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53641
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js
|
|
53642
53642
|
var require_constants5 = __commonJS({
|
|
53643
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53643
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
|
|
53644
53644
|
"use strict";
|
|
53645
53645
|
Object.defineProperty(exports, "__esModule", {
|
|
53646
53646
|
value: true
|
|
@@ -53653,9 +53653,9 @@ var require_constants5 = __commonJS({
|
|
|
53653
53653
|
}
|
|
53654
53654
|
});
|
|
53655
53655
|
|
|
53656
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53656
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
|
|
53657
53657
|
var require_getNpmTarballUrl = __commonJS({
|
|
53658
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53658
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
|
|
53659
53659
|
"use strict";
|
|
53660
53660
|
Object.defineProperty(exports, "__esModule", {
|
|
53661
53661
|
value: true
|
|
@@ -53689,9 +53689,9 @@ var require_getNpmTarballUrl = __commonJS({
|
|
|
53689
53689
|
}
|
|
53690
53690
|
});
|
|
53691
53691
|
|
|
53692
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53692
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
|
|
53693
53693
|
var require_getNpmVersion = __commonJS({
|
|
53694
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53694
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
|
|
53695
53695
|
"use strict";
|
|
53696
53696
|
Object.defineProperty(exports, "__esModule", {
|
|
53697
53697
|
value: true
|
|
@@ -53727,9 +53727,9 @@ var require_getNpmVersion = __commonJS({
|
|
|
53727
53727
|
}
|
|
53728
53728
|
});
|
|
53729
53729
|
|
|
53730
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53730
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
|
|
53731
53731
|
var require_downloadPackage = __commonJS({
|
|
53732
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53732
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
|
|
53733
53733
|
"use strict";
|
|
53734
53734
|
Object.defineProperty(exports, "__esModule", {
|
|
53735
53735
|
value: true
|
|
@@ -53831,9 +53831,9 @@ var require_downloadPackage = __commonJS({
|
|
|
53831
53831
|
}
|
|
53832
53832
|
});
|
|
53833
53833
|
|
|
53834
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53834
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
|
|
53835
53835
|
var require_getPackageInfo = __commonJS({
|
|
53836
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53836
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
|
|
53837
53837
|
"use strict";
|
|
53838
53838
|
Object.defineProperty(exports, "__esModule", {
|
|
53839
53839
|
value: true
|
|
@@ -53865,9 +53865,9 @@ var require_getPackageInfo = __commonJS({
|
|
|
53865
53865
|
}
|
|
53866
53866
|
});
|
|
53867
53867
|
|
|
53868
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53868
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
|
|
53869
53869
|
var require_utils4 = __commonJS({
|
|
53870
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53870
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
|
|
53871
53871
|
"use strict";
|
|
53872
53872
|
Object.defineProperty(exports, "__esModule", {
|
|
53873
53873
|
value: true
|
|
@@ -53943,9 +53943,9 @@ var require_utils4 = __commonJS({
|
|
|
53943
53943
|
}
|
|
53944
53944
|
});
|
|
53945
53945
|
|
|
53946
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53946
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
|
|
53947
53947
|
var require_materials = __commonJS({
|
|
53948
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
53948
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
|
|
53949
53949
|
"use strict";
|
|
53950
53950
|
Object.defineProperty(exports, "__esModule", {
|
|
53951
53951
|
value: true
|
|
@@ -54003,9 +54003,9 @@ var require_materials = __commonJS({
|
|
|
54003
54003
|
}
|
|
54004
54004
|
});
|
|
54005
54005
|
|
|
54006
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
54006
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
|
|
54007
54007
|
var require_codesmith = __commonJS({
|
|
54008
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
54008
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
|
|
54009
54009
|
"use strict";
|
|
54010
54010
|
Object.defineProperty(exports, "__esModule", {
|
|
54011
54011
|
value: true
|
|
@@ -54081,9 +54081,9 @@ var require_codesmith = __commonJS({
|
|
|
54081
54081
|
}
|
|
54082
54082
|
});
|
|
54083
54083
|
|
|
54084
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
54084
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js
|
|
54085
54085
|
var require_node3 = __commonJS({
|
|
54086
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.
|
|
54086
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
|
|
54087
54087
|
"use strict";
|
|
54088
54088
|
Object.defineProperty(exports, "__esModule", {
|
|
54089
54089
|
value: true
|
|
@@ -60037,9 +60037,9 @@ var require_lib = __commonJS({
|
|
|
60037
60037
|
}
|
|
60038
60038
|
});
|
|
60039
60039
|
|
|
60040
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60040
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js
|
|
60041
60041
|
var require_renderString = __commonJS({
|
|
60042
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60042
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js"(exports) {
|
|
60043
60043
|
"use strict";
|
|
60044
60044
|
Object.defineProperty(exports, "__esModule", {
|
|
60045
60045
|
value: true
|
|
@@ -60088,9 +60088,9 @@ var require_renderString = __commonJS({
|
|
|
60088
60088
|
}
|
|
60089
60089
|
});
|
|
60090
60090
|
|
|
60091
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60091
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js
|
|
60092
60092
|
var require_utils6 = __commonJS({
|
|
60093
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60093
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js"(exports) {
|
|
60094
60094
|
"use strict";
|
|
60095
60095
|
Object.defineProperty(exports, "__esModule", {
|
|
60096
60096
|
value: true
|
|
@@ -60105,9 +60105,9 @@ var require_utils6 = __commonJS({
|
|
|
60105
60105
|
}
|
|
60106
60106
|
});
|
|
60107
60107
|
|
|
60108
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60108
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js
|
|
60109
60109
|
var require_node4 = __commonJS({
|
|
60110
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.
|
|
60110
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js"(exports) {
|
|
60111
60111
|
"use strict";
|
|
60112
60112
|
Object.defineProperty(exports, "__esModule", {
|
|
60113
60113
|
value: true
|
|
@@ -60121,6 +60121,27 @@ var require_node4 = __commonJS({
|
|
|
60121
60121
|
});
|
|
60122
60122
|
var _codesmith = require_node3();
|
|
60123
60123
|
var _utils = require_utils6();
|
|
60124
|
+
function ownKeys(object, enumerableOnly) {
|
|
60125
|
+
var keys = Object.keys(object);
|
|
60126
|
+
if (Object.getOwnPropertySymbols) {
|
|
60127
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
60128
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
60129
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
60130
|
+
})), keys.push.apply(keys, symbols);
|
|
60131
|
+
}
|
|
60132
|
+
return keys;
|
|
60133
|
+
}
|
|
60134
|
+
function _objectSpread(target) {
|
|
60135
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
60136
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
60137
|
+
i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
|
60138
|
+
_defineProperty(target, key, source[key]);
|
|
60139
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
60140
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
60141
|
+
});
|
|
60142
|
+
}
|
|
60143
|
+
return target;
|
|
60144
|
+
}
|
|
60124
60145
|
function _defineProperty(obj, key, value) {
|
|
60125
60146
|
if (key in obj) {
|
|
60126
60147
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
@@ -60139,6 +60160,16 @@ var require_node4 = __commonJS({
|
|
|
60139
60160
|
partials: {}
|
|
60140
60161
|
};
|
|
60141
60162
|
}
|
|
60163
|
+
registerHelp(helpers) {
|
|
60164
|
+
return __async(this, null, function* () {
|
|
60165
|
+
this.registers.helpers = _objectSpread(_objectSpread({}, this.registers.helpers), helpers);
|
|
60166
|
+
});
|
|
60167
|
+
}
|
|
60168
|
+
registerPartials(partials) {
|
|
60169
|
+
return __async(this, null, function* () {
|
|
60170
|
+
this.registers.partials = _objectSpread(_objectSpread({}, this.registers.partials), partials);
|
|
60171
|
+
});
|
|
60172
|
+
}
|
|
60142
60173
|
renderTemplate(_0, _1) {
|
|
60143
60174
|
return __async(this, arguments, function* (templateResource, target, parameters = {}) {
|
|
60144
60175
|
if (templateResource._type !== _codesmith.FS_RESOURCE) {
|
|
@@ -60880,9 +60911,9 @@ var require_ejs = __commonJS({
|
|
|
60880
60911
|
}
|
|
60881
60912
|
});
|
|
60882
60913
|
|
|
60883
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60914
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js
|
|
60884
60915
|
var require_renderString2 = __commonJS({
|
|
60885
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60916
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js"(exports) {
|
|
60886
60917
|
"use strict";
|
|
60887
60918
|
Object.defineProperty(exports, "__esModule", {
|
|
60888
60919
|
value: true
|
|
@@ -60898,9 +60929,9 @@ var require_renderString2 = __commonJS({
|
|
|
60898
60929
|
}
|
|
60899
60930
|
});
|
|
60900
60931
|
|
|
60901
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60932
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js
|
|
60902
60933
|
var require_utils8 = __commonJS({
|
|
60903
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60934
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js"(exports) {
|
|
60904
60935
|
"use strict";
|
|
60905
60936
|
Object.defineProperty(exports, "__esModule", {
|
|
60906
60937
|
value: true
|
|
@@ -60915,9 +60946,9 @@ var require_utils8 = __commonJS({
|
|
|
60915
60946
|
}
|
|
60916
60947
|
});
|
|
60917
60948
|
|
|
60918
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60949
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js
|
|
60919
60950
|
var require_node5 = __commonJS({
|
|
60920
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.
|
|
60951
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js"(exports) {
|
|
60921
60952
|
"use strict";
|
|
60922
60953
|
Object.defineProperty(exports, "__esModule", {
|
|
60923
60954
|
value: true
|
|
@@ -60975,9 +61006,9 @@ var require_node5 = __commonJS({
|
|
|
60975
61006
|
}
|
|
60976
61007
|
});
|
|
60977
61008
|
|
|
60978
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
|
61009
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js
|
|
60979
61010
|
var require_constant = __commonJS({
|
|
60980
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
|
61011
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js"(exports) {
|
|
60981
61012
|
"use strict";
|
|
60982
61013
|
Object.defineProperty(exports, "__esModule", {
|
|
60983
61014
|
value: true
|
|
@@ -60988,9 +61019,9 @@ var require_constant = __commonJS({
|
|
|
60988
61019
|
}
|
|
60989
61020
|
});
|
|
60990
61021
|
|
|
60991
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
|
61022
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js
|
|
60992
61023
|
var require_node6 = __commonJS({
|
|
60993
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.
|
|
61024
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js"(exports) {
|
|
60994
61025
|
"use strict";
|
|
60995
61026
|
Object.defineProperty(exports, "__esModule", {
|
|
60996
61027
|
value: true
|
|
@@ -102349,9 +102380,9 @@ var require_inquirer = __commonJS({
|
|
|
102349
102380
|
}
|
|
102350
102381
|
});
|
|
102351
102382
|
|
|
102352
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102383
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
|
|
102353
102384
|
var require_transform = __commonJS({
|
|
102354
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102385
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
|
|
102355
102386
|
"use strict";
|
|
102356
102387
|
Object.defineProperty(exports, "__esModule", {
|
|
102357
102388
|
value: true
|
|
@@ -102520,9 +102551,9 @@ var require_transform = __commonJS({
|
|
|
102520
102551
|
}
|
|
102521
102552
|
});
|
|
102522
102553
|
|
|
102523
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102554
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
|
|
102524
102555
|
var require_prompt2 = __commonJS({
|
|
102525
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102556
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
|
|
102526
102557
|
"use strict";
|
|
102527
102558
|
Object.defineProperty(exports, "__esModule", {
|
|
102528
102559
|
value: true
|
|
@@ -102660,9 +102691,9 @@ var require_prompt2 = __commonJS({
|
|
|
102660
102691
|
}
|
|
102661
102692
|
});
|
|
102662
102693
|
|
|
102663
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102694
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
|
|
102664
102695
|
var require_inquirer2 = __commonJS({
|
|
102665
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102696
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
|
|
102666
102697
|
"use strict";
|
|
102667
102698
|
Object.defineProperty(exports, "__esModule", {
|
|
102668
102699
|
value: true
|
|
@@ -102734,9 +102765,9 @@ var require_inquirer2 = __commonJS({
|
|
|
102734
102765
|
}
|
|
102735
102766
|
});
|
|
102736
102767
|
|
|
102737
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102768
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
|
|
102738
102769
|
var require_node7 = __commonJS({
|
|
102739
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102770
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
|
|
102740
102771
|
"use strict";
|
|
102741
102772
|
Object.defineProperty(exports, "__esModule", {
|
|
102742
102773
|
value: true
|
|
@@ -105549,9 +105580,9 @@ var require_node8 = __commonJS({
|
|
|
105549
105580
|
}
|
|
105550
105581
|
});
|
|
105551
105582
|
|
|
105552
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105583
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
|
|
105553
105584
|
var require_zh = __commonJS({
|
|
105554
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105585
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
|
|
105555
105586
|
"use strict";
|
|
105556
105587
|
Object.defineProperty(exports, "__esModule", {
|
|
105557
105588
|
value: true
|
|
@@ -105586,9 +105617,9 @@ var require_zh = __commonJS({
|
|
|
105586
105617
|
}
|
|
105587
105618
|
});
|
|
105588
105619
|
|
|
105589
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105620
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
|
|
105590
105621
|
var require_en = __commonJS({
|
|
105591
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105622
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
|
|
105592
105623
|
"use strict";
|
|
105593
105624
|
Object.defineProperty(exports, "__esModule", {
|
|
105594
105625
|
value: true
|
|
@@ -105623,9 +105654,9 @@ var require_en = __commonJS({
|
|
|
105623
105654
|
}
|
|
105624
105655
|
});
|
|
105625
105656
|
|
|
105626
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105657
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
|
|
105627
105658
|
var require_locale = __commonJS({
|
|
105628
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105659
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
|
|
105629
105660
|
"use strict";
|
|
105630
105661
|
Object.defineProperty(exports, "__esModule", {
|
|
105631
105662
|
value: true
|
|
@@ -105650,9 +105681,9 @@ var require_locale = __commonJS({
|
|
|
105650
105681
|
}
|
|
105651
105682
|
});
|
|
105652
105683
|
|
|
105653
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105684
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
|
|
105654
105685
|
var require_transform2 = __commonJS({
|
|
105655
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105686
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
|
|
105656
105687
|
"use strict";
|
|
105657
105688
|
Object.defineProperty(exports, "__esModule", {
|
|
105658
105689
|
value: true
|
|
@@ -105687,9 +105718,9 @@ var require_transform2 = __commonJS({
|
|
|
105687
105718
|
}
|
|
105688
105719
|
});
|
|
105689
105720
|
|
|
105690
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105721
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
|
|
105691
105722
|
var require_checkUseNvm = __commonJS({
|
|
105692
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105723
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
|
|
105693
105724
|
"use strict";
|
|
105694
105725
|
Object.defineProperty(exports, "__esModule", {
|
|
105695
105726
|
value: true
|
|
@@ -105752,9 +105783,9 @@ var require_checkUseNvm = __commonJS({
|
|
|
105752
105783
|
}
|
|
105753
105784
|
});
|
|
105754
105785
|
|
|
105755
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105786
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
|
|
105756
105787
|
var require_node9 = __commonJS({
|
|
105757
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105788
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
|
|
105758
105789
|
"use strict";
|
|
105759
105790
|
Object.defineProperty(exports, "__esModule", {
|
|
105760
105791
|
value: true
|
|
@@ -105808,13 +105839,13 @@ var require_node9 = __commonJS({
|
|
|
105808
105839
|
var AppAPI2 = class {
|
|
105809
105840
|
constructor(generatorContext, generatorCore) {
|
|
105810
105841
|
_defineProperty(this, "i18n", _locale.i18n);
|
|
105811
|
-
_defineProperty(this, "generatorCore", void 0);
|
|
105812
|
-
_defineProperty(this, "generatorContext", void 0);
|
|
105813
105842
|
_defineProperty(this, "npmApi", void 0);
|
|
105814
105843
|
_defineProperty(this, "gitApi", void 0);
|
|
105815
105844
|
_defineProperty(this, "handlebarsAPI", void 0);
|
|
105816
105845
|
_defineProperty(this, "ejsAPI", void 0);
|
|
105817
105846
|
_defineProperty(this, "fsAPI", void 0);
|
|
105847
|
+
_defineProperty(this, "generatorCore", void 0);
|
|
105848
|
+
_defineProperty(this, "generatorContext", void 0);
|
|
105818
105849
|
this.generatorCore = generatorCore;
|
|
105819
105850
|
this.generatorContext = generatorContext;
|
|
105820
105851
|
this.npmApi = new _codesmithApiNpm.NpmAPI(generatorCore);
|
|
@@ -105874,6 +105905,7 @@ var require_node9 = __commonJS({
|
|
|
105874
105905
|
yield intallPromise;
|
|
105875
105906
|
this.generatorCore.logger.info(_locale.i18n.t(_locale.localeKeys.install.success));
|
|
105876
105907
|
} catch (e) {
|
|
105908
|
+
this.generatorCore.logger.warn(e);
|
|
105877
105909
|
this.generatorCore.logger.warn(_locale.i18n.t(_locale.localeKeys.install.failed, {
|
|
105878
105910
|
command: command || `${packageManager} install`
|
|
105879
105911
|
}));
|
|
@@ -106905,9 +106937,9 @@ var require_dist2 = __commonJS({
|
|
|
106905
106937
|
}
|
|
106906
106938
|
});
|
|
106907
106939
|
|
|
106908
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
|
106940
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js
|
|
106909
106941
|
var require_utils12 = __commonJS({
|
|
106910
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
|
106942
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js"(exports) {
|
|
106911
106943
|
"use strict";
|
|
106912
106944
|
Object.defineProperty(exports, "__esModule", {
|
|
106913
106945
|
value: true
|
|
@@ -106929,9 +106961,9 @@ var require_utils12 = __commonJS({
|
|
|
106929
106961
|
}
|
|
106930
106962
|
});
|
|
106931
106963
|
|
|
106932
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
|
106964
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js
|
|
106933
106965
|
var require_node10 = __commonJS({
|
|
106934
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.
|
|
106966
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js"(exports) {
|
|
106935
106967
|
"use strict";
|
|
106936
106968
|
Object.defineProperty(exports, "__esModule", {
|
|
106937
106969
|
value: true
|
|
@@ -136812,8 +136844,10 @@ var require_is2 = __commonJS({
|
|
|
136812
136844
|
isEmpty: () => isEmpty2,
|
|
136813
136845
|
isFastRefresh: () => isFastRefresh,
|
|
136814
136846
|
isRouterV5: () => isRouterV5,
|
|
136847
|
+
isSSGEntry: () => isSSGEntry,
|
|
136815
136848
|
isSSR: () => isSSR,
|
|
136816
136849
|
isServiceWorker: () => isServiceWorker,
|
|
136850
|
+
isSingleEntry: () => isSingleEntry,
|
|
136817
136851
|
isTypescript: () => isTypescript,
|
|
136818
136852
|
isUseSSRBundle: () => isUseSSRBundle
|
|
136819
136853
|
});
|
|
@@ -136871,6 +136905,12 @@ var require_is2 = __commonJS({
|
|
|
136871
136905
|
var _a2, _b, _c;
|
|
136872
136906
|
return typeof ((_a2 = config.runtime) == null ? void 0 : _a2.router) !== "boolean" && ((_c = (_b = config == null ? void 0 : config.runtime) == null ? void 0 : _b.router) == null ? void 0 : _c.mode) === "react-router-5";
|
|
136873
136907
|
};
|
|
136908
|
+
var isSSGEntry = (config, entryName, entrypoints) => {
|
|
136909
|
+
const ssgConfig = config.output.ssg;
|
|
136910
|
+
const useSSG = isSingleEntry(entrypoints) ? Boolean(ssgConfig) : ssgConfig === true || typeof (ssgConfig == null ? void 0 : ssgConfig[0]) === "function" || Boolean(ssgConfig == null ? void 0 : ssgConfig[entryName]);
|
|
136911
|
+
return useSSG;
|
|
136912
|
+
};
|
|
136913
|
+
var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
|
|
136874
136914
|
}
|
|
136875
136915
|
});
|
|
136876
136916
|
|
|
@@ -138322,14 +138362,12 @@ var require_prettyInstructions2 = __commonJS({
|
|
|
138322
138362
|
__export2(prettyInstructions_exports, {
|
|
138323
138363
|
getAddressUrls: () => getAddressUrls,
|
|
138324
138364
|
getIpv4Interfaces: () => getIpv4Interfaces,
|
|
138325
|
-
isSingleEntry: () => isSingleEntry,
|
|
138326
138365
|
prettyInstructions: () => prettyInstructions
|
|
138327
138366
|
});
|
|
138328
138367
|
module2.exports = __toCommonJS2(prettyInstructions_exports);
|
|
138329
138368
|
var import_os = __toESM2(require("os"));
|
|
138330
138369
|
var import_compiled = require_compiled2();
|
|
138331
138370
|
var import_is = require_is2();
|
|
138332
|
-
var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
|
|
138333
138371
|
var normalizeUrl = (url) => url.replace(/([^:]\/)\/+/g, "$1");
|
|
138334
138372
|
var getIpv4Interfaces = () => {
|
|
138335
138373
|
const interfaces = import_os.default.networkInterfaces();
|
|
@@ -138368,7 +138406,7 @@ var require_prettyInstructions2 = __commonJS({
|
|
|
138368
138406
|
);
|
|
138369
138407
|
const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
|
|
138370
138408
|
let message = "App running at:\n\n";
|
|
138371
|
-
if (isSingleEntry(entrypoints) || apiOnly) {
|
|
138409
|
+
if ((0, import_is.isSingleEntry)(entrypoints) || apiOnly) {
|
|
138372
138410
|
message += urls.map(
|
|
138373
138411
|
({ type, url }) => ` ${import_compiled.chalk.bold(`> ${type.padEnd(10)}`)}${import_compiled.chalk.cyanBright(
|
|
138374
138412
|
normalizeUrl(`${url}/${routes[0].urlPath}`)
|
|
@@ -138860,7 +138898,8 @@ var require_analyzeProject2 = __commonJS({
|
|
|
138860
138898
|
};
|
|
138861
138899
|
var analyzeProject_exports = {};
|
|
138862
138900
|
__export2(analyzeProject_exports, {
|
|
138863
|
-
isApiOnly: () => isApiOnly
|
|
138901
|
+
isApiOnly: () => isApiOnly,
|
|
138902
|
+
isWebOnly: () => isWebOnly
|
|
138864
138903
|
});
|
|
138865
138904
|
module2.exports = __toCommonJS2(analyzeProject_exports);
|
|
138866
138905
|
var path3 = __toESM2(require("path"));
|
|
@@ -138871,6 +138910,10 @@ var require_analyzeProject2 = __commonJS({
|
|
|
138871
138910
|
const options = (0, import_compiled.minimist)(process.argv.slice(2));
|
|
138872
138911
|
return !existSrc || Boolean(options["api-only"]);
|
|
138873
138912
|
});
|
|
138913
|
+
var isWebOnly = () => __async2(void 0, null, function* () {
|
|
138914
|
+
const options = (0, import_compiled.minimist)(process.argv.slice(2));
|
|
138915
|
+
return Boolean(options["web-only"]);
|
|
138916
|
+
});
|
|
138874
138917
|
}
|
|
138875
138918
|
});
|
|
138876
138919
|
|
|
@@ -139670,7 +139713,7 @@ var ZH_LOCALE = {
|
|
|
139670
139713
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
|
139671
139714
|
proxy: "启用「全局代理」",
|
|
139672
139715
|
swc: "启用「SWC 编译」",
|
|
139673
|
-
rspack: "启用「
|
|
139716
|
+
rspack: "启用「Rspack 构建」(实验性)"
|
|
139674
139717
|
},
|
|
139675
139718
|
element: {
|
|
139676
139719
|
self: "创建工程元素",
|
|
@@ -139724,7 +139767,7 @@ var ZH_LOCALE = {
|
|
|
139724
139767
|
buildTools: {
|
|
139725
139768
|
self: "请选择构建工具",
|
|
139726
139769
|
webpack: "webpack",
|
|
139727
|
-
rspack: "
|
|
139770
|
+
rspack: "Rspack (实验性)"
|
|
139728
139771
|
}
|
|
139729
139772
|
};
|
|
139730
139773
|
|
|
@@ -139767,7 +139810,7 @@ var EN_LOCALE = {
|
|
|
139767
139810
|
polyfill: "Enable UA-based Polyfill Feature",
|
|
139768
139811
|
proxy: "Enable Global Proxy",
|
|
139769
139812
|
swc: "Enable SWC Compile",
|
|
139770
|
-
rspack: "Enable
|
|
139813
|
+
rspack: "Enable Rspack Build (experimental)"
|
|
139771
139814
|
},
|
|
139772
139815
|
element: {
|
|
139773
139816
|
self: "Create project element",
|
|
@@ -139821,7 +139864,7 @@ var EN_LOCALE = {
|
|
|
139821
139864
|
buildTools: {
|
|
139822
139865
|
self: "Build Tools",
|
|
139823
139866
|
webpack: "webpack",
|
|
139824
|
-
rspack: "
|
|
139867
|
+
rspack: "Rspack (experimental)"
|
|
139825
139868
|
}
|
|
139826
139869
|
};
|
|
139827
139870
|
|
|
@@ -140242,7 +140285,7 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
|
|
|
140242
140285
|
context.config.distTag
|
|
140243
140286
|
);
|
|
140244
140287
|
generator.logger.debug(`inputData=${JSON.stringify(ans)}`, ans);
|
|
140245
|
-
const { packageName, packagePath, language } = ans;
|
|
140288
|
+
const { packageName, packagePath, language, packageManager } = ans;
|
|
140246
140289
|
const projectPath = getMWAProjectPath(
|
|
140247
140290
|
packagePath,
|
|
140248
140291
|
isMonorepoSubProject,
|
|
@@ -140261,7 +140304,8 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
|
|
|
140261
140304
|
{
|
|
140262
140305
|
name: packageName || dirname,
|
|
140263
140306
|
isMonorepoSubProject,
|
|
140264
|
-
modernVersion
|
|
140307
|
+
modernVersion,
|
|
140308
|
+
packageManager
|
|
140265
140309
|
}
|
|
140266
140310
|
);
|
|
140267
140311
|
if (language === Language.TS) {
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"name": "@modern-js/mwa-generator",
|
|
3
3
|
"description": "A Progressive React Framework for modern web development.",
|
|
4
4
|
"homepage": "https://modernjs.dev",
|
|
5
|
-
"bugs": "https://github.com/
|
|
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,23 +20,23 @@
|
|
|
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.
|
|
25
|
-
"@modern-js/codesmith-api-json": "2.0.
|
|
23
|
+
"@modern-js/codesmith": "2.0.5",
|
|
24
|
+
"@modern-js/codesmith-api-app": "2.0.5",
|
|
25
|
+
"@modern-js/codesmith-api-json": "2.0.5",
|
|
26
26
|
"@types/jest": "^27",
|
|
27
27
|
"@types/node": "^14",
|
|
28
28
|
"jest": "^27",
|
|
29
29
|
"typescript": "^4",
|
|
30
|
-
"@modern-js/base-generator": "3.0.
|
|
31
|
-
"@modern-js/
|
|
32
|
-
"@modern-js/generator
|
|
33
|
-
"@modern-js/
|
|
34
|
-
"@modern-js/
|
|
35
|
-
"@modern-js/plugin-i18n": "2.
|
|
36
|
-
"@modern-js/
|
|
37
|
-
"@modern-js/generator
|
|
38
|
-
"@scripts/
|
|
39
|
-
"@scripts/
|
|
30
|
+
"@modern-js/base-generator": "3.0.10",
|
|
31
|
+
"@modern-js/generator-utils": "3.0.10",
|
|
32
|
+
"@modern-js/packages-generator": "3.0.10",
|
|
33
|
+
"@modern-js/rspack-generator": "3.0.10",
|
|
34
|
+
"@modern-js/generator-common": "3.0.10",
|
|
35
|
+
"@modern-js/plugin-i18n": "2.8.0",
|
|
36
|
+
"@modern-js/dependence-generator": "3.0.10",
|
|
37
|
+
"@modern-js/entry-generator": "3.0.10",
|
|
38
|
+
"@scripts/jest-config": "2.8.0",
|
|
39
|
+
"@scripts/build": "2.8.0"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"publishConfig": {
|
package/src/index.ts
CHANGED
|
@@ -119,7 +119,7 @@ export const handleTemplateFile = async (
|
|
|
119
119
|
|
|
120
120
|
generator.logger.debug(`inputData=${JSON.stringify(ans)}`, ans);
|
|
121
121
|
|
|
122
|
-
const { packageName, packagePath, language } = ans;
|
|
122
|
+
const { packageName, packagePath, language, packageManager } = ans;
|
|
123
123
|
|
|
124
124
|
const projectPath = getMWAProjectPath(
|
|
125
125
|
packagePath as string,
|
|
@@ -146,6 +146,7 @@ export const handleTemplateFile = async (
|
|
|
146
146
|
name: packageName || dirname,
|
|
147
147
|
isMonorepoSubProject,
|
|
148
148
|
modernVersion,
|
|
149
|
+
packageManager,
|
|
149
150
|
},
|
|
150
151
|
);
|
|
151
152
|
|