@modern-js/ssg-generator 0.0.0-nightly-20241010170724 → 0.0.0-nightly-20241012170701
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/dist/index.js +119 -122
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -758,9 +758,9 @@ var require_ejs = __commonJS({
|
|
|
758
758
|
}
|
|
759
759
|
});
|
|
760
760
|
|
|
761
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
761
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js
|
|
762
762
|
var require_utils2 = __commonJS({
|
|
763
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
763
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js"(exports) {
|
|
764
764
|
"use strict";
|
|
765
765
|
exports.__esModule = true;
|
|
766
766
|
exports.extend = extend;
|
|
@@ -857,9 +857,9 @@ var require_utils2 = __commonJS({
|
|
|
857
857
|
}
|
|
858
858
|
});
|
|
859
859
|
|
|
860
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
860
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js
|
|
861
861
|
var require_exception = __commonJS({
|
|
862
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
862
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js"(exports, module2) {
|
|
863
863
|
"use strict";
|
|
864
864
|
exports.__esModule = true;
|
|
865
865
|
var errorProps = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
|
|
@@ -906,9 +906,9 @@ var require_exception = __commonJS({
|
|
|
906
906
|
}
|
|
907
907
|
});
|
|
908
908
|
|
|
909
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
909
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
|
|
910
910
|
var require_block_helper_missing = __commonJS({
|
|
911
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
911
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js"(exports, module2) {
|
|
912
912
|
"use strict";
|
|
913
913
|
exports.__esModule = true;
|
|
914
914
|
var _utils = require_utils2();
|
|
@@ -942,9 +942,9 @@ var require_block_helper_missing = __commonJS({
|
|
|
942
942
|
}
|
|
943
943
|
});
|
|
944
944
|
|
|
945
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
945
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
|
|
946
946
|
var require_each = __commonJS({
|
|
947
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
947
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js"(exports, module2) {
|
|
948
948
|
"use strict";
|
|
949
949
|
exports.__esModule = true;
|
|
950
950
|
function _interopRequireDefault(obj) {
|
|
@@ -990,9 +990,9 @@ var require_each = __commonJS({
|
|
|
990
990
|
execIteration(i, i, i === context.length - 1);
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
|
-
} else if (
|
|
993
|
+
} else if (typeof Symbol === "function" && context[Symbol.iterator]) {
|
|
994
994
|
var newContext = [];
|
|
995
|
-
var iterator = context[
|
|
995
|
+
var iterator = context[Symbol.iterator]();
|
|
996
996
|
for (var it = iterator.next(); !it.done; it = iterator.next()) {
|
|
997
997
|
newContext.push(it.value);
|
|
998
998
|
}
|
|
@@ -1026,9 +1026,9 @@ var require_each = __commonJS({
|
|
|
1026
1026
|
}
|
|
1027
1027
|
});
|
|
1028
1028
|
|
|
1029
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1029
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
|
|
1030
1030
|
var require_helper_missing = __commonJS({
|
|
1031
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1031
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js"(exports, module2) {
|
|
1032
1032
|
"use strict";
|
|
1033
1033
|
exports.__esModule = true;
|
|
1034
1034
|
function _interopRequireDefault(obj) {
|
|
@@ -1049,9 +1049,9 @@ var require_helper_missing = __commonJS({
|
|
|
1049
1049
|
}
|
|
1050
1050
|
});
|
|
1051
1051
|
|
|
1052
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1052
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
|
|
1053
1053
|
var require_if = __commonJS({
|
|
1054
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1054
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js"(exports, module2) {
|
|
1055
1055
|
"use strict";
|
|
1056
1056
|
exports.__esModule = true;
|
|
1057
1057
|
function _interopRequireDefault(obj) {
|
|
@@ -1089,9 +1089,9 @@ var require_if = __commonJS({
|
|
|
1089
1089
|
}
|
|
1090
1090
|
});
|
|
1091
1091
|
|
|
1092
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1092
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
|
|
1093
1093
|
var require_log = __commonJS({
|
|
1094
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1094
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js"(exports, module2) {
|
|
1095
1095
|
"use strict";
|
|
1096
1096
|
exports.__esModule = true;
|
|
1097
1097
|
exports["default"] = function(instance) {
|
|
@@ -1114,9 +1114,9 @@ var require_log = __commonJS({
|
|
|
1114
1114
|
}
|
|
1115
1115
|
});
|
|
1116
1116
|
|
|
1117
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1117
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
|
|
1118
1118
|
var require_lookup = __commonJS({
|
|
1119
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1119
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js"(exports, module2) {
|
|
1120
1120
|
"use strict";
|
|
1121
1121
|
exports.__esModule = true;
|
|
1122
1122
|
exports["default"] = function(instance) {
|
|
@@ -1131,9 +1131,9 @@ var require_lookup = __commonJS({
|
|
|
1131
1131
|
}
|
|
1132
1132
|
});
|
|
1133
1133
|
|
|
1134
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1134
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
|
|
1135
1135
|
var require_with = __commonJS({
|
|
1136
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1136
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js"(exports, module2) {
|
|
1137
1137
|
"use strict";
|
|
1138
1138
|
exports.__esModule = true;
|
|
1139
1139
|
function _interopRequireDefault(obj) {
|
|
@@ -1170,9 +1170,9 @@ var require_with = __commonJS({
|
|
|
1170
1170
|
}
|
|
1171
1171
|
});
|
|
1172
1172
|
|
|
1173
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1173
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers.js
|
|
1174
1174
|
var require_helpers = __commonJS({
|
|
1175
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1175
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers.js"(exports) {
|
|
1176
1176
|
"use strict";
|
|
1177
1177
|
exports.__esModule = true;
|
|
1178
1178
|
exports.registerDefaultHelpers = registerDefaultHelpers;
|
|
@@ -1214,9 +1214,9 @@ var require_helpers = __commonJS({
|
|
|
1214
1214
|
}
|
|
1215
1215
|
});
|
|
1216
1216
|
|
|
1217
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1217
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
|
|
1218
1218
|
var require_inline = __commonJS({
|
|
1219
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1219
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js"(exports, module2) {
|
|
1220
1220
|
"use strict";
|
|
1221
1221
|
exports.__esModule = true;
|
|
1222
1222
|
var _utils = require_utils2();
|
|
@@ -1241,9 +1241,9 @@ var require_inline = __commonJS({
|
|
|
1241
1241
|
}
|
|
1242
1242
|
});
|
|
1243
1243
|
|
|
1244
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1244
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators.js
|
|
1245
1245
|
var require_decorators = __commonJS({
|
|
1246
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1246
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators.js"(exports) {
|
|
1247
1247
|
"use strict";
|
|
1248
1248
|
exports.__esModule = true;
|
|
1249
1249
|
exports.registerDefaultDecorators = registerDefaultDecorators;
|
|
@@ -1258,9 +1258,9 @@ var require_decorators = __commonJS({
|
|
|
1258
1258
|
}
|
|
1259
1259
|
});
|
|
1260
1260
|
|
|
1261
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1261
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/logger.js
|
|
1262
1262
|
var require_logger = __commonJS({
|
|
1263
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1263
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/logger.js"(exports, module2) {
|
|
1264
1264
|
"use strict";
|
|
1265
1265
|
exports.__esModule = true;
|
|
1266
1266
|
var _utils = require_utils2();
|
|
@@ -1299,9 +1299,9 @@ var require_logger = __commonJS({
|
|
|
1299
1299
|
}
|
|
1300
1300
|
});
|
|
1301
1301
|
|
|
1302
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1302
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js
|
|
1303
1303
|
var require_create_new_lookup_object = __commonJS({
|
|
1304
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1304
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js"(exports) {
|
|
1305
1305
|
"use strict";
|
|
1306
1306
|
exports.__esModule = true;
|
|
1307
1307
|
exports.createNewLookupObject = createNewLookupObject;
|
|
@@ -1315,32 +1315,20 @@ var require_create_new_lookup_object = __commonJS({
|
|
|
1315
1315
|
}
|
|
1316
1316
|
});
|
|
1317
1317
|
|
|
1318
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1318
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
|
|
1319
1319
|
var require_proto_access = __commonJS({
|
|
1320
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1320
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js"(exports) {
|
|
1321
1321
|
"use strict";
|
|
1322
1322
|
exports.__esModule = true;
|
|
1323
1323
|
exports.createProtoAccessControl = createProtoAccessControl;
|
|
1324
1324
|
exports.resultIsAllowed = resultIsAllowed;
|
|
1325
1325
|
exports.resetLoggedProperties = resetLoggedProperties;
|
|
1326
|
-
function
|
|
1327
|
-
|
|
1328
|
-
return obj;
|
|
1329
|
-
} else {
|
|
1330
|
-
var newObj = {};
|
|
1331
|
-
if (obj != null) {
|
|
1332
|
-
for (var key in obj) {
|
|
1333
|
-
if (Object.prototype.hasOwnProperty.call(obj, key))
|
|
1334
|
-
newObj[key] = obj[key];
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
newObj["default"] = obj;
|
|
1338
|
-
return newObj;
|
|
1339
|
-
}
|
|
1326
|
+
function _interopRequireDefault(obj) {
|
|
1327
|
+
return obj && obj.__esModule ? obj : { "default": obj };
|
|
1340
1328
|
}
|
|
1341
1329
|
var _createNewLookupObject = require_create_new_lookup_object();
|
|
1342
1330
|
var _logger = require_logger();
|
|
1343
|
-
var
|
|
1331
|
+
var _logger2 = _interopRequireDefault(_logger);
|
|
1344
1332
|
var loggedProperties = /* @__PURE__ */ Object.create(null);
|
|
1345
1333
|
function createProtoAccessControl(runtimeOptions) {
|
|
1346
1334
|
var defaultMethodWhiteList = /* @__PURE__ */ Object.create(null);
|
|
@@ -1381,7 +1369,7 @@ var require_proto_access = __commonJS({
|
|
|
1381
1369
|
function logUnexpecedPropertyAccessOnce(propertyName) {
|
|
1382
1370
|
if (loggedProperties[propertyName] !== true) {
|
|
1383
1371
|
loggedProperties[propertyName] = true;
|
|
1384
|
-
|
|
1372
|
+
_logger2["default"].log("error", 'Handlebars: Access has been denied to resolve the property "' + propertyName + '" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details');
|
|
1385
1373
|
}
|
|
1386
1374
|
}
|
|
1387
1375
|
function resetLoggedProperties() {
|
|
@@ -1392,9 +1380,9 @@ var require_proto_access = __commonJS({
|
|
|
1392
1380
|
}
|
|
1393
1381
|
});
|
|
1394
1382
|
|
|
1395
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1383
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/base.js
|
|
1396
1384
|
var require_base = __commonJS({
|
|
1397
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1385
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/base.js"(exports) {
|
|
1398
1386
|
"use strict";
|
|
1399
1387
|
exports.__esModule = true;
|
|
1400
1388
|
exports.HandlebarsEnvironment = HandlebarsEnvironment;
|
|
@@ -1409,7 +1397,7 @@ var require_base = __commonJS({
|
|
|
1409
1397
|
var _logger = require_logger();
|
|
1410
1398
|
var _logger2 = _interopRequireDefault(_logger);
|
|
1411
1399
|
var _internalProtoAccess = require_proto_access();
|
|
1412
|
-
var VERSION = "4.7.
|
|
1400
|
+
var VERSION = "4.7.8";
|
|
1413
1401
|
exports.VERSION = VERSION;
|
|
1414
1402
|
var COMPILER_REVISION = 8;
|
|
1415
1403
|
exports.COMPILER_REVISION = COMPILER_REVISION;
|
|
@@ -1493,9 +1481,9 @@ var require_base = __commonJS({
|
|
|
1493
1481
|
}
|
|
1494
1482
|
});
|
|
1495
1483
|
|
|
1496
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1484
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/safe-string.js
|
|
1497
1485
|
var require_safe_string = __commonJS({
|
|
1498
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1486
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/safe-string.js"(exports, module2) {
|
|
1499
1487
|
"use strict";
|
|
1500
1488
|
exports.__esModule = true;
|
|
1501
1489
|
function SafeString(string) {
|
|
@@ -1509,9 +1497,9 @@ var require_safe_string = __commonJS({
|
|
|
1509
1497
|
}
|
|
1510
1498
|
});
|
|
1511
1499
|
|
|
1512
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1500
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
|
|
1513
1501
|
var require_wrapHelper = __commonJS({
|
|
1514
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1502
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js"(exports) {
|
|
1515
1503
|
"use strict";
|
|
1516
1504
|
exports.__esModule = true;
|
|
1517
1505
|
exports.wrapHelper = wrapHelper;
|
|
@@ -1529,9 +1517,9 @@ var require_wrapHelper = __commonJS({
|
|
|
1529
1517
|
}
|
|
1530
1518
|
});
|
|
1531
1519
|
|
|
1532
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1520
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/runtime.js
|
|
1533
1521
|
var require_runtime = __commonJS({
|
|
1534
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1522
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/runtime.js"(exports) {
|
|
1535
1523
|
"use strict";
|
|
1536
1524
|
exports.__esModule = true;
|
|
1537
1525
|
exports.checkRevision = checkRevision;
|
|
@@ -1839,16 +1827,25 @@ var require_runtime = __commonJS({
|
|
|
1839
1827
|
}
|
|
1840
1828
|
});
|
|
1841
1829
|
|
|
1842
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1830
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
|
|
1843
1831
|
var require_no_conflict = __commonJS({
|
|
1844
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1832
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js"(exports, module2) {
|
|
1845
1833
|
"use strict";
|
|
1846
1834
|
exports.__esModule = true;
|
|
1847
1835
|
exports["default"] = function(Handlebars) {
|
|
1848
|
-
|
|
1836
|
+
(function() {
|
|
1837
|
+
if (typeof globalThis === "object")
|
|
1838
|
+
return;
|
|
1839
|
+
Object.prototype.__defineGetter__("__magic__", function() {
|
|
1840
|
+
return this;
|
|
1841
|
+
});
|
|
1842
|
+
__magic__.globalThis = __magic__;
|
|
1843
|
+
delete Object.prototype.__magic__;
|
|
1844
|
+
})();
|
|
1845
|
+
var $Handlebars = globalThis.Handlebars;
|
|
1849
1846
|
Handlebars.noConflict = function() {
|
|
1850
|
-
if (
|
|
1851
|
-
|
|
1847
|
+
if (globalThis.Handlebars === Handlebars) {
|
|
1848
|
+
globalThis.Handlebars = $Handlebars;
|
|
1852
1849
|
}
|
|
1853
1850
|
return Handlebars;
|
|
1854
1851
|
};
|
|
@@ -1857,9 +1854,9 @@ var require_no_conflict = __commonJS({
|
|
|
1857
1854
|
}
|
|
1858
1855
|
});
|
|
1859
1856
|
|
|
1860
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1857
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.runtime.js
|
|
1861
1858
|
var require_handlebars_runtime = __commonJS({
|
|
1862
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1859
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.runtime.js"(exports, module2) {
|
|
1863
1860
|
"use strict";
|
|
1864
1861
|
exports.__esModule = true;
|
|
1865
1862
|
function _interopRequireDefault(obj) {
|
|
@@ -1914,9 +1911,9 @@ var require_handlebars_runtime = __commonJS({
|
|
|
1914
1911
|
}
|
|
1915
1912
|
});
|
|
1916
1913
|
|
|
1917
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1914
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
|
|
1918
1915
|
var require_ast = __commonJS({
|
|
1919
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1916
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js"(exports, module2) {
|
|
1920
1917
|
"use strict";
|
|
1921
1918
|
exports.__esModule = true;
|
|
1922
1919
|
var AST = {
|
|
@@ -1943,9 +1940,9 @@ var require_ast = __commonJS({
|
|
|
1943
1940
|
}
|
|
1944
1941
|
});
|
|
1945
1942
|
|
|
1946
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1943
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
|
|
1947
1944
|
var require_parser = __commonJS({
|
|
1948
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1945
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js"(exports, module2) {
|
|
1949
1946
|
"use strict";
|
|
1950
1947
|
exports.__esModule = true;
|
|
1951
1948
|
var handlebars2 = function() {
|
|
@@ -2650,7 +2647,7 @@ var require_parser = __commonJS({
|
|
|
2650
2647
|
break;
|
|
2651
2648
|
}
|
|
2652
2649
|
};
|
|
2653
|
-
lexer2.rules = [/^(?:[^\x00]*?(?=(\{\{)))/, /^(?:[^\x00]+)/, /^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/, /^(?:\{\{\{\{(?=[
|
|
2650
|
+
lexer2.rules = [/^(?:[^\x00]*?(?=(\{\{)))/, /^(?:[^\x00]+)/, /^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/, /^(?:\{\{\{\{(?=[^/]))/, /^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/, /^(?:[^\x00]+?(?=(\{\{\{\{)))/, /^(?:[\s\S]*?--(~)?\}\})/, /^(?:\()/, /^(?:\))/, /^(?:\{\{\{\{)/, /^(?:\}\}\}\})/, /^(?:\{\{(~)?>)/, /^(?:\{\{(~)?#>)/, /^(?:\{\{(~)?#\*?)/, /^(?:\{\{(~)?\/)/, /^(?:\{\{(~)?\^\s*(~)?\}\})/, /^(?:\{\{(~)?\s*else\s*(~)?\}\})/, /^(?:\{\{(~)?\^)/, /^(?:\{\{(~)?\s*else\b)/, /^(?:\{\{(~)?\{)/, /^(?:\{\{(~)?&)/, /^(?:\{\{(~)?!--)/, /^(?:\{\{(~)?![\s\S]*?\}\})/, /^(?:\{\{(~)?\*?)/, /^(?:=)/, /^(?:\.\.)/, /^(?:\.(?=([=~}\s\/.)|])))/, /^(?:[\/.])/, /^(?:\s+)/, /^(?:\}(~)?\}\})/, /^(?:(~)?\}\})/, /^(?:"(\\["]|[^"])*")/, /^(?:'(\\[']|[^'])*')/, /^(?:@)/, /^(?:true(?=([~}\s)])))/, /^(?:false(?=([~}\s)])))/, /^(?:undefined(?=([~}\s)])))/, /^(?:null(?=([~}\s)])))/, /^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/, /^(?:as\s+\|)/, /^(?:\|)/, /^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/, /^(?:\[(\\\]|[^\]])*\])/, /^(?:.)/, /^(?:$)/];
|
|
2654
2651
|
lexer2.conditions = { "mu": { "rules": [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44], "inclusive": false }, "emu": { "rules": [2], "inclusive": false }, "com": { "rules": [6], "inclusive": false }, "raw": { "rules": [3, 4, 5], "inclusive": false }, "INITIAL": { "rules": [0, 1, 44], "inclusive": true } };
|
|
2655
2652
|
return lexer2;
|
|
2656
2653
|
}();
|
|
@@ -2667,9 +2664,9 @@ var require_parser = __commonJS({
|
|
|
2667
2664
|
}
|
|
2668
2665
|
});
|
|
2669
2666
|
|
|
2670
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2667
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
|
|
2671
2668
|
var require_visitor = __commonJS({
|
|
2672
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2669
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js"(exports, module2) {
|
|
2673
2670
|
"use strict";
|
|
2674
2671
|
exports.__esModule = true;
|
|
2675
2672
|
function _interopRequireDefault(obj) {
|
|
@@ -2788,9 +2785,9 @@ var require_visitor = __commonJS({
|
|
|
2788
2785
|
}
|
|
2789
2786
|
});
|
|
2790
2787
|
|
|
2791
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2788
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
|
|
2792
2789
|
var require_whitespace_control = __commonJS({
|
|
2793
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2790
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js"(exports, module2) {
|
|
2794
2791
|
"use strict";
|
|
2795
2792
|
exports.__esModule = true;
|
|
2796
2793
|
function _interopRequireDefault(obj) {
|
|
@@ -2939,9 +2936,9 @@ var require_whitespace_control = __commonJS({
|
|
|
2939
2936
|
}
|
|
2940
2937
|
});
|
|
2941
2938
|
|
|
2942
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2939
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
|
|
2943
2940
|
var require_helpers2 = __commonJS({
|
|
2944
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2941
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js"(exports) {
|
|
2945
2942
|
"use strict";
|
|
2946
2943
|
exports.__esModule = true;
|
|
2947
2944
|
exports.SourceLocation = SourceLocation;
|
|
@@ -3127,9 +3124,9 @@ var require_helpers2 = __commonJS({
|
|
|
3127
3124
|
}
|
|
3128
3125
|
});
|
|
3129
3126
|
|
|
3130
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3127
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
|
|
3131
3128
|
var require_base2 = __commonJS({
|
|
3132
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3129
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js"(exports) {
|
|
3133
3130
|
"use strict";
|
|
3134
3131
|
exports.__esModule = true;
|
|
3135
3132
|
exports.parseWithoutProcessing = parseWithoutProcessing;
|
|
@@ -3181,9 +3178,9 @@ var require_base2 = __commonJS({
|
|
|
3181
3178
|
}
|
|
3182
3179
|
});
|
|
3183
3180
|
|
|
3184
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3181
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
|
|
3185
3182
|
var require_compiler = __commonJS({
|
|
3186
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3183
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js"(exports) {
|
|
3187
3184
|
"use strict";
|
|
3188
3185
|
exports.__esModule = true;
|
|
3189
3186
|
exports.Compiler = Compiler;
|
|
@@ -5363,9 +5360,9 @@ var require_source_map = __commonJS({
|
|
|
5363
5360
|
}
|
|
5364
5361
|
});
|
|
5365
5362
|
|
|
5366
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
5363
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
|
|
5367
5364
|
var require_code_gen = __commonJS({
|
|
5368
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
5365
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js"(exports, module2) {
|
|
5369
5366
|
"use strict";
|
|
5370
5367
|
exports.__esModule = true;
|
|
5371
5368
|
var _utils = require_utils2();
|
|
@@ -5499,9 +5496,9 @@ var require_code_gen = __commonJS({
|
|
|
5499
5496
|
}
|
|
5500
5497
|
});
|
|
5501
5498
|
|
|
5502
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
5499
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
|
|
5503
5500
|
var require_javascript_compiler = __commonJS({
|
|
5504
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
5501
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js"(exports, module2) {
|
|
5505
5502
|
"use strict";
|
|
5506
5503
|
exports.__esModule = true;
|
|
5507
5504
|
function _interopRequireDefault(obj) {
|
|
@@ -5888,7 +5885,7 @@ var require_javascript_compiler = __commonJS({
|
|
|
5888
5885
|
resolvePath: function resolvePath(type, parts, i, falsy, strict) {
|
|
5889
5886
|
var _this2 = this;
|
|
5890
5887
|
if (this.options.strict || this.options.assumeObjects) {
|
|
5891
|
-
this.push(strictLookup(this.options.strict && strict, this, parts, type));
|
|
5888
|
+
this.push(strictLookup(this.options.strict && strict, this, parts, i, type));
|
|
5892
5889
|
return;
|
|
5893
5890
|
}
|
|
5894
5891
|
var len = parts.length;
|
|
@@ -6396,8 +6393,8 @@ var require_javascript_compiler = __commonJS({
|
|
|
6396
6393
|
JavaScriptCompiler.isValidJavaScriptVariableName = function(name) {
|
|
6397
6394
|
return !JavaScriptCompiler.RESERVED_WORDS[name] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(name);
|
|
6398
6395
|
};
|
|
6399
|
-
function strictLookup(requireTerminal, compiler, parts, type) {
|
|
6400
|
-
var stack = compiler.popStack(),
|
|
6396
|
+
function strictLookup(requireTerminal, compiler, parts, i, type) {
|
|
6397
|
+
var stack = compiler.popStack(), len = parts.length;
|
|
6401
6398
|
if (requireTerminal) {
|
|
6402
6399
|
len--;
|
|
6403
6400
|
}
|
|
@@ -6415,9 +6412,9 @@ var require_javascript_compiler = __commonJS({
|
|
|
6415
6412
|
}
|
|
6416
6413
|
});
|
|
6417
6414
|
|
|
6418
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6415
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.js
|
|
6419
6416
|
var require_handlebars = __commonJS({
|
|
6420
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6417
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.js"(exports, module2) {
|
|
6421
6418
|
"use strict";
|
|
6422
6419
|
exports.__esModule = true;
|
|
6423
6420
|
function _interopRequireDefault(obj) {
|
|
@@ -6462,9 +6459,9 @@ var require_handlebars = __commonJS({
|
|
|
6462
6459
|
}
|
|
6463
6460
|
});
|
|
6464
6461
|
|
|
6465
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6462
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
|
|
6466
6463
|
var require_printer = __commonJS({
|
|
6467
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6464
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js"(exports) {
|
|
6468
6465
|
"use strict";
|
|
6469
6466
|
exports.__esModule = true;
|
|
6470
6467
|
exports.print = print;
|
|
@@ -6608,9 +6605,9 @@ var require_printer = __commonJS({
|
|
|
6608
6605
|
}
|
|
6609
6606
|
});
|
|
6610
6607
|
|
|
6611
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6608
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/lib/index.js
|
|
6612
6609
|
var require_lib = __commonJS({
|
|
6613
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6610
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/lib/index.js"(exports, module2) {
|
|
6614
6611
|
"use strict";
|
|
6615
6612
|
var handlebars2 = require_handlebars()["default"];
|
|
6616
6613
|
var printer = require_printer();
|
|
@@ -6629,9 +6626,9 @@ var require_lib = __commonJS({
|
|
|
6629
6626
|
}
|
|
6630
6627
|
});
|
|
6631
6628
|
|
|
6632
|
-
// ../../../../node_modules/.pnpm/@modern-js+utils@2.60.
|
|
6629
|
+
// ../../../../node_modules/.pnpm/@modern-js+utils@2.60.2/node_modules/@modern-js/utils/dist/compiled/chalk/index.js
|
|
6633
6630
|
var require_chalk = __commonJS({
|
|
6634
|
-
"../../../../node_modules/.pnpm/@modern-js+utils@2.60.
|
|
6631
|
+
"../../../../node_modules/.pnpm/@modern-js+utils@2.60.2/node_modules/@modern-js/utils/dist/compiled/chalk/index.js"(exports, module2) {
|
|
6635
6632
|
"use strict";
|
|
6636
6633
|
(() => {
|
|
6637
6634
|
var e = { 44: (e2, t2, n2) => {
|
|
@@ -51030,12 +51027,12 @@ __export(src_exports, {
|
|
|
51030
51027
|
});
|
|
51031
51028
|
module.exports = __toCommonJS(src_exports);
|
|
51032
51029
|
|
|
51033
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.5.
|
|
51030
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
|
|
51034
51031
|
var import_path = __toESM(require("path"));
|
|
51035
51032
|
var import_utils = require("@modern-js/utils");
|
|
51036
51033
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
51037
51034
|
|
|
51038
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.5.
|
|
51035
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
|
|
51039
51036
|
var import_utils2 = require("@modern-js/utils");
|
|
51040
51037
|
async function fsExists(path6) {
|
|
51041
51038
|
try {
|
|
@@ -51046,13 +51043,13 @@ async function fsExists(path6) {
|
|
|
51046
51043
|
}
|
|
51047
51044
|
}
|
|
51048
51045
|
|
|
51049
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.5.
|
|
51046
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.5.2_@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
|
|
51050
51047
|
var import_ejs = __toESM(require_ejs());
|
|
51051
51048
|
function renderString(template, fullData) {
|
|
51052
51049
|
return import_ejs.default.render(template, fullData) || "";
|
|
51053
51050
|
}
|
|
51054
51051
|
|
|
51055
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.5.
|
|
51052
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.5.2_@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
|
|
51056
51053
|
var EjsAPI = class {
|
|
51057
51054
|
async renderTemplate(templateResource, target, parameters = {}) {
|
|
51058
51055
|
if (templateResource._type !== FS_RESOURCE) {
|
|
@@ -51084,7 +51081,7 @@ var EjsAPI = class {
|
|
|
51084
51081
|
}
|
|
51085
51082
|
};
|
|
51086
51083
|
|
|
51087
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.5.
|
|
51084
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.5.2_@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
|
|
51088
51085
|
var import_path2 = __toESM(require("path"));
|
|
51089
51086
|
var import_utils4 = require("@modern-js/utils");
|
|
51090
51087
|
var FsAPI = class {
|
|
@@ -51111,7 +51108,7 @@ var FsAPI = class {
|
|
|
51111
51108
|
}
|
|
51112
51109
|
};
|
|
51113
51110
|
|
|
51114
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.5.
|
|
51111
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.5.2_@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
|
|
51115
51112
|
var import_utils5 = require("@modern-js/utils");
|
|
51116
51113
|
async function canUseGit() {
|
|
51117
51114
|
try {
|
|
@@ -51186,7 +51183,7 @@ async function gitCommit(cwd, commitMessage) {
|
|
|
51186
51183
|
});
|
|
51187
51184
|
}
|
|
51188
51185
|
|
|
51189
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.5.
|
|
51186
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.5.2_@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
|
|
51190
51187
|
var GitAPI = class {
|
|
51191
51188
|
async isInGitRepo(cwd = this.generatorCore.outputPath) {
|
|
51192
51189
|
const canUse = await canUseGit();
|
|
@@ -51236,7 +51233,7 @@ var GitAPI = class {
|
|
|
51236
51233
|
}
|
|
51237
51234
|
};
|
|
51238
51235
|
|
|
51239
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.5.
|
|
51236
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.5.2_@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
|
|
51240
51237
|
var import_handlebars = __toESM(require_lib());
|
|
51241
51238
|
function renderString2(template, fullData, registers) {
|
|
51242
51239
|
const helpers = {
|
|
@@ -51250,7 +51247,7 @@ function renderString2(template, fullData, registers) {
|
|
|
51250
51247
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
51251
51248
|
}
|
|
51252
51249
|
|
|
51253
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.5.
|
|
51250
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.5.2_@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
|
|
51254
51251
|
var HandlebarsAPI = class {
|
|
51255
51252
|
async registerHelp(helpers) {
|
|
51256
51253
|
this.registers.helpers = {
|
|
@@ -51298,7 +51295,7 @@ var HandlebarsAPI = class {
|
|
|
51298
51295
|
}
|
|
51299
51296
|
};
|
|
51300
51297
|
|
|
51301
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.
|
|
51298
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.2/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/env.js
|
|
51302
51299
|
var import_utils8 = require("@modern-js/utils");
|
|
51303
51300
|
async function canUseNvm() {
|
|
51304
51301
|
try {
|
|
@@ -51348,7 +51345,7 @@ async function canUsePnpm() {
|
|
|
51348
51345
|
}
|
|
51349
51346
|
}
|
|
51350
51347
|
|
|
51351
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.
|
|
51348
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.2/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
|
|
51352
51349
|
var import_utils9 = require("@modern-js/utils");
|
|
51353
51350
|
function execaWithStreamLog(command, args, options) {
|
|
51354
51351
|
const promise = (0, import_utils9.execa)(command, args, {
|
|
@@ -51444,7 +51441,7 @@ async function pnpmInstall({ cwd, registryUrl, ignoreScripts, useNvm }) {
|
|
|
51444
51441
|
throw new Error("please install pnpm first");
|
|
51445
51442
|
}
|
|
51446
51443
|
|
|
51447
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.
|
|
51444
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.2/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
|
|
51448
51445
|
var NpmAPI = class {
|
|
51449
51446
|
npmInstall({ cwd, registryUrl, ignoreScripts }) {
|
|
51450
51447
|
return npmInstall({
|
|
@@ -61028,10 +61025,10 @@ var Schema = (
|
|
|
61028
61025
|
}()
|
|
61029
61026
|
);
|
|
61030
61027
|
|
|
61031
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.
|
|
61028
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
|
61032
61029
|
var import_inquirer = __toESM(require_inquirer());
|
|
61033
61030
|
|
|
61034
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.
|
|
61031
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
|
|
61035
61032
|
var import_lodash = require("@modern-js/utils/lodash");
|
|
61036
61033
|
function validateSchema(schema) {
|
|
61037
61034
|
const { type, properties } = schema;
|
|
@@ -61123,7 +61120,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
|
61123
61120
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
61124
61121
|
}
|
|
61125
61122
|
|
|
61126
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.
|
|
61123
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
|
61127
61124
|
var compileRule = (rule, scope) => {
|
|
61128
61125
|
const state = Schema.compile(rule, {
|
|
61129
61126
|
$self: {},
|
|
@@ -61227,7 +61224,7 @@ async function prompt(schema, configValue = {}, validateMap, initValue) {
|
|
|
61227
61224
|
return answers;
|
|
61228
61225
|
}
|
|
61229
61226
|
|
|
61230
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.
|
|
61227
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
|
|
61231
61228
|
var CLIReader = class {
|
|
61232
61229
|
getAnswers() {
|
|
61233
61230
|
return this.answers;
|
|
@@ -61256,16 +61253,16 @@ var CLIReader = class {
|
|
|
61256
61253
|
}
|
|
61257
61254
|
};
|
|
61258
61255
|
|
|
61259
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
61256
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
|
61260
61257
|
var import_utils13 = require("@modern-js/utils");
|
|
61261
61258
|
var import_lodash5 = require("@modern-js/utils/lodash");
|
|
61262
61259
|
var import_comment_json = __toESM(require_src2());
|
|
61263
61260
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
61264
61261
|
|
|
61265
|
-
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.
|
|
61262
|
+
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
61266
61263
|
var import_lodash3 = require("@modern-js/utils/lodash");
|
|
61267
61264
|
|
|
61268
|
-
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.
|
|
61265
|
+
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/utils/index.js
|
|
61269
61266
|
var import_lodash2 = require("@modern-js/utils/lodash");
|
|
61270
61267
|
function getObjKeyMap(obj, prefix = "") {
|
|
61271
61268
|
const result = {};
|
|
@@ -61279,7 +61276,7 @@ function getObjKeyMap(obj, prefix = "") {
|
|
|
61279
61276
|
return result;
|
|
61280
61277
|
}
|
|
61281
61278
|
|
|
61282
|
-
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.
|
|
61279
|
+
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
61283
61280
|
var I18n = class {
|
|
61284
61281
|
format(msg, vars) {
|
|
61285
61282
|
return msg.replace(/\{(\w+)\}/g, (_match, capture) => Object.prototype.hasOwnProperty.call(vars, capture) ? vars[capture] : capture);
|
|
@@ -61325,10 +61322,10 @@ var I18n = class {
|
|
|
61325
61322
|
}
|
|
61326
61323
|
};
|
|
61327
61324
|
|
|
61328
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
61325
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
|
|
61329
61326
|
var EN_LOCALE = {
|
|
61330
61327
|
environment: {
|
|
61331
|
-
node_version: "
|
|
61328
|
+
node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
|
|
61332
61329
|
nvm_install: "please install nvm first",
|
|
61333
61330
|
yarn_pnpm_npm: "please install yarn or pnpm or npm first"
|
|
61334
61331
|
},
|
|
@@ -61352,10 +61349,10 @@ var EN_LOCALE = {
|
|
|
61352
61349
|
}
|
|
61353
61350
|
};
|
|
61354
61351
|
|
|
61355
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
61352
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
|
|
61356
61353
|
var ZH_LOCALE = {
|
|
61357
61354
|
environment: {
|
|
61358
|
-
node_version: "
|
|
61355
|
+
node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
|
|
61359
61356
|
nvm_install: "检测到环境中未安装 nvm,请先安装 nvm",
|
|
61360
61357
|
yarn_pnpm_npm: "检测到环境中未安装包管理工具,请先安装 yarn 或 pnpm 或 npm"
|
|
61361
61358
|
},
|
|
@@ -61379,14 +61376,14 @@ var ZH_LOCALE = {
|
|
|
61379
61376
|
}
|
|
61380
61377
|
};
|
|
61381
61378
|
|
|
61382
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
61379
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
|
|
61383
61380
|
var i18n = new I18n();
|
|
61384
61381
|
var localeKeys = i18n.init("zh", {
|
|
61385
61382
|
zh: ZH_LOCALE,
|
|
61386
61383
|
en: EN_LOCALE
|
|
61387
61384
|
});
|
|
61388
61385
|
|
|
61389
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
61386
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
|
|
61390
61387
|
var import_path4 = __toESM(require("path"));
|
|
61391
61388
|
var import_utils12 = require("@modern-js/utils");
|
|
61392
61389
|
var NODE_MAJOR_VERSION_MAP = {
|
|
@@ -61434,7 +61431,7 @@ async function checkUseNvm(cwd, logger) {
|
|
|
61434
61431
|
}
|
|
61435
61432
|
}
|
|
61436
61433
|
|
|
61437
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
61434
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
|
|
61438
61435
|
var import_lodash4 = require("@modern-js/utils/lodash");
|
|
61439
61436
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
|
61440
61437
|
for (const question of questions) {
|
|
@@ -61462,7 +61459,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
|
61462
61459
|
return questions;
|
|
61463
61460
|
}
|
|
61464
61461
|
|
|
61465
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
61462
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.2_@modern-js+codesmith@2.5.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
|
61466
61463
|
var AppAPI = class {
|
|
61467
61464
|
async checkEnvironment(nodeVersion) {
|
|
61468
61465
|
if (import_utils13.semver.lt(process.versions.node, nodeVersion || "16.20.2")) {
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-nightly-
|
|
18
|
+
"version": "0.0.0-nightly-20241012170701",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
"/dist/index.js"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@modern-js/utils": "0.0.0-nightly-
|
|
26
|
+
"@modern-js/utils": "0.0.0-nightly-20241012170701"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@modern-js/codesmith": "2.5.
|
|
30
|
-
"@modern-js/codesmith-api-app": "2.5.
|
|
29
|
+
"@modern-js/codesmith": "2.5.2",
|
|
30
|
+
"@modern-js/codesmith-api-app": "2.5.2",
|
|
31
31
|
"@types/jest": "^29",
|
|
32
32
|
"@types/node": "^14",
|
|
33
33
|
"jest": "^29",
|
|
34
34
|
"typescript": "^5",
|
|
35
|
-
"@modern-js/
|
|
36
|
-
"@modern-js/generator
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@modern-js/plugin-i18n": "0.0.0-nightly-
|
|
40
|
-
"@scripts/
|
|
35
|
+
"@modern-js/generator-common": "0.0.0-nightly-20241012170701",
|
|
36
|
+
"@modern-js/dependence-generator": "0.0.0-nightly-20241012170701",
|
|
37
|
+
"@scripts/build": "0.0.0-nightly-20241012170701",
|
|
38
|
+
"@modern-js/generator-utils": "0.0.0-nightly-20241012170701",
|
|
39
|
+
"@modern-js/plugin-i18n": "0.0.0-nightly-20241012170701",
|
|
40
|
+
"@scripts/jest-config": "0.0.0-nightly-20241012170701"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|