@modern-js/tailwindcss-generator 0.0.0-nightly-20241011170641 → 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 +122 -125
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -1536,9 +1536,9 @@ var require_ejs = __commonJS({
|
|
|
1536
1536
|
}
|
|
1537
1537
|
});
|
|
1538
1538
|
|
|
1539
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1539
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js
|
|
1540
1540
|
var require_utils2 = __commonJS({
|
|
1541
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1541
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js"(exports) {
|
|
1542
1542
|
"use strict";
|
|
1543
1543
|
exports.__esModule = true;
|
|
1544
1544
|
exports.extend = extend;
|
|
@@ -1635,9 +1635,9 @@ var require_utils2 = __commonJS({
|
|
|
1635
1635
|
}
|
|
1636
1636
|
});
|
|
1637
1637
|
|
|
1638
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1638
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js
|
|
1639
1639
|
var require_exception = __commonJS({
|
|
1640
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1640
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js"(exports, module2) {
|
|
1641
1641
|
"use strict";
|
|
1642
1642
|
exports.__esModule = true;
|
|
1643
1643
|
var errorProps = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
|
|
@@ -1684,9 +1684,9 @@ var require_exception = __commonJS({
|
|
|
1684
1684
|
}
|
|
1685
1685
|
});
|
|
1686
1686
|
|
|
1687
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1687
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
|
|
1688
1688
|
var require_block_helper_missing = __commonJS({
|
|
1689
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1689
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js"(exports, module2) {
|
|
1690
1690
|
"use strict";
|
|
1691
1691
|
exports.__esModule = true;
|
|
1692
1692
|
var _utils = require_utils2();
|
|
@@ -1720,9 +1720,9 @@ var require_block_helper_missing = __commonJS({
|
|
|
1720
1720
|
}
|
|
1721
1721
|
});
|
|
1722
1722
|
|
|
1723
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1723
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
|
|
1724
1724
|
var require_each = __commonJS({
|
|
1725
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1725
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js"(exports, module2) {
|
|
1726
1726
|
"use strict";
|
|
1727
1727
|
exports.__esModule = true;
|
|
1728
1728
|
function _interopRequireDefault(obj) {
|
|
@@ -1768,9 +1768,9 @@ var require_each = __commonJS({
|
|
|
1768
1768
|
execIteration(i, i, i === context.length - 1);
|
|
1769
1769
|
}
|
|
1770
1770
|
}
|
|
1771
|
-
} else if (
|
|
1771
|
+
} else if (typeof Symbol === "function" && context[Symbol.iterator]) {
|
|
1772
1772
|
var newContext = [];
|
|
1773
|
-
var iterator = context[
|
|
1773
|
+
var iterator = context[Symbol.iterator]();
|
|
1774
1774
|
for (var it = iterator.next(); !it.done; it = iterator.next()) {
|
|
1775
1775
|
newContext.push(it.value);
|
|
1776
1776
|
}
|
|
@@ -1804,9 +1804,9 @@ var require_each = __commonJS({
|
|
|
1804
1804
|
}
|
|
1805
1805
|
});
|
|
1806
1806
|
|
|
1807
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1807
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
|
|
1808
1808
|
var require_helper_missing = __commonJS({
|
|
1809
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1809
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js"(exports, module2) {
|
|
1810
1810
|
"use strict";
|
|
1811
1811
|
exports.__esModule = true;
|
|
1812
1812
|
function _interopRequireDefault(obj) {
|
|
@@ -1827,9 +1827,9 @@ var require_helper_missing = __commonJS({
|
|
|
1827
1827
|
}
|
|
1828
1828
|
});
|
|
1829
1829
|
|
|
1830
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1830
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
|
|
1831
1831
|
var require_if = __commonJS({
|
|
1832
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1832
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js"(exports, module2) {
|
|
1833
1833
|
"use strict";
|
|
1834
1834
|
exports.__esModule = true;
|
|
1835
1835
|
function _interopRequireDefault(obj) {
|
|
@@ -1867,9 +1867,9 @@ var require_if = __commonJS({
|
|
|
1867
1867
|
}
|
|
1868
1868
|
});
|
|
1869
1869
|
|
|
1870
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1870
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
|
|
1871
1871
|
var require_log = __commonJS({
|
|
1872
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1872
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js"(exports, module2) {
|
|
1873
1873
|
"use strict";
|
|
1874
1874
|
exports.__esModule = true;
|
|
1875
1875
|
exports["default"] = function(instance) {
|
|
@@ -1892,9 +1892,9 @@ var require_log = __commonJS({
|
|
|
1892
1892
|
}
|
|
1893
1893
|
});
|
|
1894
1894
|
|
|
1895
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1895
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
|
|
1896
1896
|
var require_lookup = __commonJS({
|
|
1897
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1897
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js"(exports, module2) {
|
|
1898
1898
|
"use strict";
|
|
1899
1899
|
exports.__esModule = true;
|
|
1900
1900
|
exports["default"] = function(instance) {
|
|
@@ -1909,9 +1909,9 @@ var require_lookup = __commonJS({
|
|
|
1909
1909
|
}
|
|
1910
1910
|
});
|
|
1911
1911
|
|
|
1912
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1912
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
|
|
1913
1913
|
var require_with = __commonJS({
|
|
1914
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1914
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js"(exports, module2) {
|
|
1915
1915
|
"use strict";
|
|
1916
1916
|
exports.__esModule = true;
|
|
1917
1917
|
function _interopRequireDefault(obj) {
|
|
@@ -1948,9 +1948,9 @@ var require_with = __commonJS({
|
|
|
1948
1948
|
}
|
|
1949
1949
|
});
|
|
1950
1950
|
|
|
1951
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1951
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers.js
|
|
1952
1952
|
var require_helpers = __commonJS({
|
|
1953
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1953
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers.js"(exports) {
|
|
1954
1954
|
"use strict";
|
|
1955
1955
|
exports.__esModule = true;
|
|
1956
1956
|
exports.registerDefaultHelpers = registerDefaultHelpers;
|
|
@@ -1992,9 +1992,9 @@ var require_helpers = __commonJS({
|
|
|
1992
1992
|
}
|
|
1993
1993
|
});
|
|
1994
1994
|
|
|
1995
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1995
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
|
|
1996
1996
|
var require_inline = __commonJS({
|
|
1997
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
1997
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js"(exports, module2) {
|
|
1998
1998
|
"use strict";
|
|
1999
1999
|
exports.__esModule = true;
|
|
2000
2000
|
var _utils = require_utils2();
|
|
@@ -2019,9 +2019,9 @@ var require_inline = __commonJS({
|
|
|
2019
2019
|
}
|
|
2020
2020
|
});
|
|
2021
2021
|
|
|
2022
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2022
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators.js
|
|
2023
2023
|
var require_decorators = __commonJS({
|
|
2024
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2024
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators.js"(exports) {
|
|
2025
2025
|
"use strict";
|
|
2026
2026
|
exports.__esModule = true;
|
|
2027
2027
|
exports.registerDefaultDecorators = registerDefaultDecorators;
|
|
@@ -2036,9 +2036,9 @@ var require_decorators = __commonJS({
|
|
|
2036
2036
|
}
|
|
2037
2037
|
});
|
|
2038
2038
|
|
|
2039
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2039
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/logger.js
|
|
2040
2040
|
var require_logger = __commonJS({
|
|
2041
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2041
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/logger.js"(exports, module2) {
|
|
2042
2042
|
"use strict";
|
|
2043
2043
|
exports.__esModule = true;
|
|
2044
2044
|
var _utils = require_utils2();
|
|
@@ -2077,9 +2077,9 @@ var require_logger = __commonJS({
|
|
|
2077
2077
|
}
|
|
2078
2078
|
});
|
|
2079
2079
|
|
|
2080
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2080
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js
|
|
2081
2081
|
var require_create_new_lookup_object = __commonJS({
|
|
2082
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2082
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js"(exports) {
|
|
2083
2083
|
"use strict";
|
|
2084
2084
|
exports.__esModule = true;
|
|
2085
2085
|
exports.createNewLookupObject = createNewLookupObject;
|
|
@@ -2093,32 +2093,20 @@ var require_create_new_lookup_object = __commonJS({
|
|
|
2093
2093
|
}
|
|
2094
2094
|
});
|
|
2095
2095
|
|
|
2096
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2096
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
|
|
2097
2097
|
var require_proto_access = __commonJS({
|
|
2098
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2098
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js"(exports) {
|
|
2099
2099
|
"use strict";
|
|
2100
2100
|
exports.__esModule = true;
|
|
2101
2101
|
exports.createProtoAccessControl = createProtoAccessControl;
|
|
2102
2102
|
exports.resultIsAllowed = resultIsAllowed;
|
|
2103
2103
|
exports.resetLoggedProperties = resetLoggedProperties;
|
|
2104
|
-
function
|
|
2105
|
-
|
|
2106
|
-
return obj;
|
|
2107
|
-
} else {
|
|
2108
|
-
var newObj = {};
|
|
2109
|
-
if (obj != null) {
|
|
2110
|
-
for (var key in obj) {
|
|
2111
|
-
if (Object.prototype.hasOwnProperty.call(obj, key))
|
|
2112
|
-
newObj[key] = obj[key];
|
|
2113
|
-
}
|
|
2114
|
-
}
|
|
2115
|
-
newObj["default"] = obj;
|
|
2116
|
-
return newObj;
|
|
2117
|
-
}
|
|
2104
|
+
function _interopRequireDefault(obj) {
|
|
2105
|
+
return obj && obj.__esModule ? obj : { "default": obj };
|
|
2118
2106
|
}
|
|
2119
2107
|
var _createNewLookupObject = require_create_new_lookup_object();
|
|
2120
2108
|
var _logger = require_logger();
|
|
2121
|
-
var
|
|
2109
|
+
var _logger2 = _interopRequireDefault(_logger);
|
|
2122
2110
|
var loggedProperties = /* @__PURE__ */ Object.create(null);
|
|
2123
2111
|
function createProtoAccessControl(runtimeOptions) {
|
|
2124
2112
|
var defaultMethodWhiteList = /* @__PURE__ */ Object.create(null);
|
|
@@ -2159,7 +2147,7 @@ var require_proto_access = __commonJS({
|
|
|
2159
2147
|
function logUnexpecedPropertyAccessOnce(propertyName) {
|
|
2160
2148
|
if (loggedProperties[propertyName] !== true) {
|
|
2161
2149
|
loggedProperties[propertyName] = true;
|
|
2162
|
-
|
|
2150
|
+
_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');
|
|
2163
2151
|
}
|
|
2164
2152
|
}
|
|
2165
2153
|
function resetLoggedProperties() {
|
|
@@ -2170,9 +2158,9 @@ var require_proto_access = __commonJS({
|
|
|
2170
2158
|
}
|
|
2171
2159
|
});
|
|
2172
2160
|
|
|
2173
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2161
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/base.js
|
|
2174
2162
|
var require_base = __commonJS({
|
|
2175
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2163
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/base.js"(exports) {
|
|
2176
2164
|
"use strict";
|
|
2177
2165
|
exports.__esModule = true;
|
|
2178
2166
|
exports.HandlebarsEnvironment = HandlebarsEnvironment;
|
|
@@ -2187,7 +2175,7 @@ var require_base = __commonJS({
|
|
|
2187
2175
|
var _logger = require_logger();
|
|
2188
2176
|
var _logger2 = _interopRequireDefault(_logger);
|
|
2189
2177
|
var _internalProtoAccess = require_proto_access();
|
|
2190
|
-
var VERSION = "4.7.
|
|
2178
|
+
var VERSION = "4.7.8";
|
|
2191
2179
|
exports.VERSION = VERSION;
|
|
2192
2180
|
var COMPILER_REVISION = 8;
|
|
2193
2181
|
exports.COMPILER_REVISION = COMPILER_REVISION;
|
|
@@ -2271,9 +2259,9 @@ var require_base = __commonJS({
|
|
|
2271
2259
|
}
|
|
2272
2260
|
});
|
|
2273
2261
|
|
|
2274
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2262
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/safe-string.js
|
|
2275
2263
|
var require_safe_string = __commonJS({
|
|
2276
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2264
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/safe-string.js"(exports, module2) {
|
|
2277
2265
|
"use strict";
|
|
2278
2266
|
exports.__esModule = true;
|
|
2279
2267
|
function SafeString(string) {
|
|
@@ -2287,9 +2275,9 @@ var require_safe_string = __commonJS({
|
|
|
2287
2275
|
}
|
|
2288
2276
|
});
|
|
2289
2277
|
|
|
2290
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2278
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
|
|
2291
2279
|
var require_wrapHelper = __commonJS({
|
|
2292
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2280
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js"(exports) {
|
|
2293
2281
|
"use strict";
|
|
2294
2282
|
exports.__esModule = true;
|
|
2295
2283
|
exports.wrapHelper = wrapHelper;
|
|
@@ -2307,9 +2295,9 @@ var require_wrapHelper = __commonJS({
|
|
|
2307
2295
|
}
|
|
2308
2296
|
});
|
|
2309
2297
|
|
|
2310
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2298
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/runtime.js
|
|
2311
2299
|
var require_runtime = __commonJS({
|
|
2312
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2300
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/runtime.js"(exports) {
|
|
2313
2301
|
"use strict";
|
|
2314
2302
|
exports.__esModule = true;
|
|
2315
2303
|
exports.checkRevision = checkRevision;
|
|
@@ -2617,16 +2605,25 @@ var require_runtime = __commonJS({
|
|
|
2617
2605
|
}
|
|
2618
2606
|
});
|
|
2619
2607
|
|
|
2620
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2608
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
|
|
2621
2609
|
var require_no_conflict = __commonJS({
|
|
2622
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2610
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js"(exports, module2) {
|
|
2623
2611
|
"use strict";
|
|
2624
2612
|
exports.__esModule = true;
|
|
2625
2613
|
exports["default"] = function(Handlebars) {
|
|
2626
|
-
|
|
2614
|
+
(function() {
|
|
2615
|
+
if (typeof globalThis === "object")
|
|
2616
|
+
return;
|
|
2617
|
+
Object.prototype.__defineGetter__("__magic__", function() {
|
|
2618
|
+
return this;
|
|
2619
|
+
});
|
|
2620
|
+
__magic__.globalThis = __magic__;
|
|
2621
|
+
delete Object.prototype.__magic__;
|
|
2622
|
+
})();
|
|
2623
|
+
var $Handlebars = globalThis.Handlebars;
|
|
2627
2624
|
Handlebars.noConflict = function() {
|
|
2628
|
-
if (
|
|
2629
|
-
|
|
2625
|
+
if (globalThis.Handlebars === Handlebars) {
|
|
2626
|
+
globalThis.Handlebars = $Handlebars;
|
|
2630
2627
|
}
|
|
2631
2628
|
return Handlebars;
|
|
2632
2629
|
};
|
|
@@ -2635,9 +2632,9 @@ var require_no_conflict = __commonJS({
|
|
|
2635
2632
|
}
|
|
2636
2633
|
});
|
|
2637
2634
|
|
|
2638
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2635
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.runtime.js
|
|
2639
2636
|
var require_handlebars_runtime = __commonJS({
|
|
2640
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2637
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.runtime.js"(exports, module2) {
|
|
2641
2638
|
"use strict";
|
|
2642
2639
|
exports.__esModule = true;
|
|
2643
2640
|
function _interopRequireDefault(obj) {
|
|
@@ -2692,9 +2689,9 @@ var require_handlebars_runtime = __commonJS({
|
|
|
2692
2689
|
}
|
|
2693
2690
|
});
|
|
2694
2691
|
|
|
2695
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2692
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
|
|
2696
2693
|
var require_ast = __commonJS({
|
|
2697
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2694
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js"(exports, module2) {
|
|
2698
2695
|
"use strict";
|
|
2699
2696
|
exports.__esModule = true;
|
|
2700
2697
|
var AST = {
|
|
@@ -2721,9 +2718,9 @@ var require_ast = __commonJS({
|
|
|
2721
2718
|
}
|
|
2722
2719
|
});
|
|
2723
2720
|
|
|
2724
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2721
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
|
|
2725
2722
|
var require_parser = __commonJS({
|
|
2726
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
2723
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js"(exports, module2) {
|
|
2727
2724
|
"use strict";
|
|
2728
2725
|
exports.__esModule = true;
|
|
2729
2726
|
var handlebars2 = function() {
|
|
@@ -3428,7 +3425,7 @@ var require_parser = __commonJS({
|
|
|
3428
3425
|
break;
|
|
3429
3426
|
}
|
|
3430
3427
|
};
|
|
3431
|
-
lexer2.rules = [/^(?:[^\x00]*?(?=(\{\{)))/, /^(?:[^\x00]+)/, /^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/, /^(?:\{\{\{\{(?=[
|
|
3428
|
+
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\/.)|]))))/, /^(?:\[(\\\]|[^\]])*\])/, /^(?:.)/, /^(?:$)/];
|
|
3432
3429
|
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 } };
|
|
3433
3430
|
return lexer2;
|
|
3434
3431
|
}();
|
|
@@ -3445,9 +3442,9 @@ var require_parser = __commonJS({
|
|
|
3445
3442
|
}
|
|
3446
3443
|
});
|
|
3447
3444
|
|
|
3448
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3445
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
|
|
3449
3446
|
var require_visitor = __commonJS({
|
|
3450
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3447
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js"(exports, module2) {
|
|
3451
3448
|
"use strict";
|
|
3452
3449
|
exports.__esModule = true;
|
|
3453
3450
|
function _interopRequireDefault(obj) {
|
|
@@ -3566,9 +3563,9 @@ var require_visitor = __commonJS({
|
|
|
3566
3563
|
}
|
|
3567
3564
|
});
|
|
3568
3565
|
|
|
3569
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3566
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
|
|
3570
3567
|
var require_whitespace_control = __commonJS({
|
|
3571
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3568
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js"(exports, module2) {
|
|
3572
3569
|
"use strict";
|
|
3573
3570
|
exports.__esModule = true;
|
|
3574
3571
|
function _interopRequireDefault(obj) {
|
|
@@ -3717,9 +3714,9 @@ var require_whitespace_control = __commonJS({
|
|
|
3717
3714
|
}
|
|
3718
3715
|
});
|
|
3719
3716
|
|
|
3720
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3717
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
|
|
3721
3718
|
var require_helpers2 = __commonJS({
|
|
3722
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3719
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js"(exports) {
|
|
3723
3720
|
"use strict";
|
|
3724
3721
|
exports.__esModule = true;
|
|
3725
3722
|
exports.SourceLocation = SourceLocation;
|
|
@@ -3905,9 +3902,9 @@ var require_helpers2 = __commonJS({
|
|
|
3905
3902
|
}
|
|
3906
3903
|
});
|
|
3907
3904
|
|
|
3908
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3905
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
|
|
3909
3906
|
var require_base2 = __commonJS({
|
|
3910
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3907
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js"(exports) {
|
|
3911
3908
|
"use strict";
|
|
3912
3909
|
exports.__esModule = true;
|
|
3913
3910
|
exports.parseWithoutProcessing = parseWithoutProcessing;
|
|
@@ -3959,9 +3956,9 @@ var require_base2 = __commonJS({
|
|
|
3959
3956
|
}
|
|
3960
3957
|
});
|
|
3961
3958
|
|
|
3962
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3959
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
|
|
3963
3960
|
var require_compiler = __commonJS({
|
|
3964
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
3961
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js"(exports) {
|
|
3965
3962
|
"use strict";
|
|
3966
3963
|
exports.__esModule = true;
|
|
3967
3964
|
exports.Compiler = Compiler;
|
|
@@ -6141,9 +6138,9 @@ var require_source_map = __commonJS({
|
|
|
6141
6138
|
}
|
|
6142
6139
|
});
|
|
6143
6140
|
|
|
6144
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6141
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
|
|
6145
6142
|
var require_code_gen = __commonJS({
|
|
6146
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6143
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js"(exports, module2) {
|
|
6147
6144
|
"use strict";
|
|
6148
6145
|
exports.__esModule = true;
|
|
6149
6146
|
var _utils = require_utils2();
|
|
@@ -6277,9 +6274,9 @@ var require_code_gen = __commonJS({
|
|
|
6277
6274
|
}
|
|
6278
6275
|
});
|
|
6279
6276
|
|
|
6280
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6277
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
|
|
6281
6278
|
var require_javascript_compiler = __commonJS({
|
|
6282
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
6279
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js"(exports, module2) {
|
|
6283
6280
|
"use strict";
|
|
6284
6281
|
exports.__esModule = true;
|
|
6285
6282
|
function _interopRequireDefault(obj) {
|
|
@@ -6666,7 +6663,7 @@ var require_javascript_compiler = __commonJS({
|
|
|
6666
6663
|
resolvePath: function resolvePath(type, parts, i, falsy, strict) {
|
|
6667
6664
|
var _this2 = this;
|
|
6668
6665
|
if (this.options.strict || this.options.assumeObjects) {
|
|
6669
|
-
this.push(strictLookup(this.options.strict && strict, this, parts, type));
|
|
6666
|
+
this.push(strictLookup(this.options.strict && strict, this, parts, i, type));
|
|
6670
6667
|
return;
|
|
6671
6668
|
}
|
|
6672
6669
|
var len = parts.length;
|
|
@@ -7174,8 +7171,8 @@ var require_javascript_compiler = __commonJS({
|
|
|
7174
7171
|
JavaScriptCompiler.isValidJavaScriptVariableName = function(name) {
|
|
7175
7172
|
return !JavaScriptCompiler.RESERVED_WORDS[name] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(name);
|
|
7176
7173
|
};
|
|
7177
|
-
function strictLookup(requireTerminal, compiler, parts, type) {
|
|
7178
|
-
var stack = compiler.popStack(),
|
|
7174
|
+
function strictLookup(requireTerminal, compiler, parts, i, type) {
|
|
7175
|
+
var stack = compiler.popStack(), len = parts.length;
|
|
7179
7176
|
if (requireTerminal) {
|
|
7180
7177
|
len--;
|
|
7181
7178
|
}
|
|
@@ -7193,9 +7190,9 @@ var require_javascript_compiler = __commonJS({
|
|
|
7193
7190
|
}
|
|
7194
7191
|
});
|
|
7195
7192
|
|
|
7196
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
7193
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.js
|
|
7197
7194
|
var require_handlebars = __commonJS({
|
|
7198
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
7195
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.js"(exports, module2) {
|
|
7199
7196
|
"use strict";
|
|
7200
7197
|
exports.__esModule = true;
|
|
7201
7198
|
function _interopRequireDefault(obj) {
|
|
@@ -7240,9 +7237,9 @@ var require_handlebars = __commonJS({
|
|
|
7240
7237
|
}
|
|
7241
7238
|
});
|
|
7242
7239
|
|
|
7243
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
7240
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
|
|
7244
7241
|
var require_printer = __commonJS({
|
|
7245
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
7242
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js"(exports) {
|
|
7246
7243
|
"use strict";
|
|
7247
7244
|
exports.__esModule = true;
|
|
7248
7245
|
exports.print = print;
|
|
@@ -7386,9 +7383,9 @@ var require_printer = __commonJS({
|
|
|
7386
7383
|
}
|
|
7387
7384
|
});
|
|
7388
7385
|
|
|
7389
|
-
// ../../../../node_modules/.pnpm/handlebars@4.7.
|
|
7386
|
+
// ../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/lib/index.js
|
|
7390
7387
|
var require_lib = __commonJS({
|
|
7391
|
-
"../../../../node_modules/.pnpm/handlebars@4.7.
|
|
7388
|
+
"../../../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/lib/index.js"(exports, module2) {
|
|
7392
7389
|
"use strict";
|
|
7393
7390
|
var handlebars2 = require_handlebars()["default"];
|
|
7394
7391
|
var printer = require_printer();
|
|
@@ -7407,9 +7404,9 @@ var require_lib = __commonJS({
|
|
|
7407
7404
|
}
|
|
7408
7405
|
});
|
|
7409
7406
|
|
|
7410
|
-
// ../../../../node_modules/.pnpm/@modern-js+utils@2.60.
|
|
7407
|
+
// ../../../../node_modules/.pnpm/@modern-js+utils@2.60.2/node_modules/@modern-js/utils/dist/compiled/chalk/index.js
|
|
7411
7408
|
var require_chalk = __commonJS({
|
|
7412
|
-
"../../../../node_modules/.pnpm/@modern-js+utils@2.60.
|
|
7409
|
+
"../../../../node_modules/.pnpm/@modern-js+utils@2.60.2/node_modules/@modern-js/utils/dist/compiled/chalk/index.js"(exports, module2) {
|
|
7413
7410
|
"use strict";
|
|
7414
7411
|
(() => {
|
|
7415
7412
|
var e = { 44: (e2, t2, n2) => {
|
|
@@ -52665,12 +52662,12 @@ __export(src_exports, {
|
|
|
52665
52662
|
module.exports = __toCommonJS(src_exports);
|
|
52666
52663
|
var import_path7 = __toESM(require("path"));
|
|
52667
52664
|
|
|
52668
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.5.
|
|
52665
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
|
|
52669
52666
|
var import_path = __toESM(require("path"));
|
|
52670
52667
|
var import_utils = require("@modern-js/utils");
|
|
52671
52668
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
52672
52669
|
|
|
52673
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.5.
|
|
52670
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.5.2/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
|
|
52674
52671
|
var import_utils2 = require("@modern-js/utils");
|
|
52675
52672
|
async function fsExists(path7) {
|
|
52676
52673
|
try {
|
|
@@ -52681,13 +52678,13 @@ async function fsExists(path7) {
|
|
|
52681
52678
|
}
|
|
52682
52679
|
}
|
|
52683
52680
|
|
|
52684
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.5.
|
|
52681
|
+
// ../../../../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
|
|
52685
52682
|
var import_ejs = __toESM(require_ejs());
|
|
52686
52683
|
function renderString(template, fullData) {
|
|
52687
52684
|
return import_ejs.default.render(template, fullData) || "";
|
|
52688
52685
|
}
|
|
52689
52686
|
|
|
52690
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.5.
|
|
52687
|
+
// ../../../../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
|
|
52691
52688
|
var EjsAPI = class {
|
|
52692
52689
|
async renderTemplate(templateResource, target, parameters = {}) {
|
|
52693
52690
|
if (templateResource._type !== FS_RESOURCE) {
|
|
@@ -52719,7 +52716,7 @@ var EjsAPI = class {
|
|
|
52719
52716
|
}
|
|
52720
52717
|
};
|
|
52721
52718
|
|
|
52722
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.5.
|
|
52719
|
+
// ../../../../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
|
|
52723
52720
|
var import_path2 = __toESM(require("path"));
|
|
52724
52721
|
var import_utils4 = require("@modern-js/utils");
|
|
52725
52722
|
var FsAPI = class {
|
|
@@ -52746,7 +52743,7 @@ var FsAPI = class {
|
|
|
52746
52743
|
}
|
|
52747
52744
|
};
|
|
52748
52745
|
|
|
52749
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.5.
|
|
52746
|
+
// ../../../../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
|
|
52750
52747
|
var import_utils5 = require("@modern-js/utils");
|
|
52751
52748
|
async function canUseGit() {
|
|
52752
52749
|
try {
|
|
@@ -52821,7 +52818,7 @@ async function gitCommit(cwd, commitMessage) {
|
|
|
52821
52818
|
});
|
|
52822
52819
|
}
|
|
52823
52820
|
|
|
52824
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.5.
|
|
52821
|
+
// ../../../../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
|
|
52825
52822
|
var GitAPI = class {
|
|
52826
52823
|
async isInGitRepo(cwd = this.generatorCore.outputPath) {
|
|
52827
52824
|
const canUse = await canUseGit();
|
|
@@ -52871,7 +52868,7 @@ var GitAPI = class {
|
|
|
52871
52868
|
}
|
|
52872
52869
|
};
|
|
52873
52870
|
|
|
52874
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.5.
|
|
52871
|
+
// ../../../../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
|
|
52875
52872
|
var import_handlebars = __toESM(require_lib());
|
|
52876
52873
|
function renderString2(template, fullData, registers) {
|
|
52877
52874
|
const helpers = {
|
|
@@ -52885,7 +52882,7 @@ function renderString2(template, fullData, registers) {
|
|
|
52885
52882
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
52886
52883
|
}
|
|
52887
52884
|
|
|
52888
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.5.
|
|
52885
|
+
// ../../../../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
|
|
52889
52886
|
var HandlebarsAPI = class {
|
|
52890
52887
|
async registerHelp(helpers) {
|
|
52891
52888
|
this.registers.helpers = {
|
|
@@ -52933,7 +52930,7 @@ var HandlebarsAPI = class {
|
|
|
52933
52930
|
}
|
|
52934
52931
|
};
|
|
52935
52932
|
|
|
52936
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.
|
|
52933
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.2/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/env.js
|
|
52937
52934
|
var import_utils8 = require("@modern-js/utils");
|
|
52938
52935
|
async function canUseNvm() {
|
|
52939
52936
|
try {
|
|
@@ -52983,7 +52980,7 @@ async function canUsePnpm() {
|
|
|
52983
52980
|
}
|
|
52984
52981
|
}
|
|
52985
52982
|
|
|
52986
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.
|
|
52983
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.2/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
|
|
52987
52984
|
var import_utils9 = require("@modern-js/utils");
|
|
52988
52985
|
function execaWithStreamLog(command, args, options) {
|
|
52989
52986
|
const promise = (0, import_utils9.execa)(command, args, {
|
|
@@ -53079,7 +53076,7 @@ async function pnpmInstall({ cwd, registryUrl, ignoreScripts, useNvm }) {
|
|
|
53079
53076
|
throw new Error("please install pnpm first");
|
|
53080
53077
|
}
|
|
53081
53078
|
|
|
53082
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.
|
|
53079
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.5.2/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
|
|
53083
53080
|
var NpmAPI = class {
|
|
53084
53081
|
npmInstall({ cwd, registryUrl, ignoreScripts }) {
|
|
53085
53082
|
return npmInstall({
|
|
@@ -62663,10 +62660,10 @@ var Schema = (
|
|
|
62663
62660
|
}()
|
|
62664
62661
|
);
|
|
62665
62662
|
|
|
62666
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.
|
|
62663
|
+
// ../../../../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
|
|
62667
62664
|
var import_inquirer = __toESM(require_inquirer());
|
|
62668
62665
|
|
|
62669
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.
|
|
62666
|
+
// ../../../../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
|
|
62670
62667
|
var import_lodash = require("@modern-js/utils/lodash");
|
|
62671
62668
|
function validateSchema(schema) {
|
|
62672
62669
|
const { type, properties } = schema;
|
|
@@ -62758,7 +62755,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
|
62758
62755
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
62759
62756
|
}
|
|
62760
62757
|
|
|
62761
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.
|
|
62758
|
+
// ../../../../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
|
|
62762
62759
|
var compileRule = (rule, scope) => {
|
|
62763
62760
|
const state = Schema.compile(rule, {
|
|
62764
62761
|
$self: {},
|
|
@@ -62862,7 +62859,7 @@ async function prompt(schema, configValue = {}, validateMap, initValue) {
|
|
|
62862
62859
|
return answers;
|
|
62863
62860
|
}
|
|
62864
62861
|
|
|
62865
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.5.
|
|
62862
|
+
// ../../../../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
|
|
62866
62863
|
var CLIReader = class {
|
|
62867
62864
|
getAnswers() {
|
|
62868
62865
|
return this.answers;
|
|
@@ -62891,16 +62888,16 @@ var CLIReader = class {
|
|
|
62891
62888
|
}
|
|
62892
62889
|
};
|
|
62893
62890
|
|
|
62894
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
62891
|
+
// ../../../../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
|
|
62895
62892
|
var import_utils13 = require("@modern-js/utils");
|
|
62896
62893
|
var import_lodash5 = require("@modern-js/utils/lodash");
|
|
62897
62894
|
var import_comment_json = __toESM(require_src3());
|
|
62898
62895
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
62899
62896
|
|
|
62900
|
-
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.
|
|
62897
|
+
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
62901
62898
|
var import_lodash3 = require("@modern-js/utils/lodash");
|
|
62902
62899
|
|
|
62903
|
-
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.
|
|
62900
|
+
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/utils/index.js
|
|
62904
62901
|
var import_lodash2 = require("@modern-js/utils/lodash");
|
|
62905
62902
|
function getObjKeyMap(obj, prefix = "") {
|
|
62906
62903
|
const result = {};
|
|
@@ -62914,7 +62911,7 @@ function getObjKeyMap(obj, prefix = "") {
|
|
|
62914
62911
|
return result;
|
|
62915
62912
|
}
|
|
62916
62913
|
|
|
62917
|
-
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.
|
|
62914
|
+
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
62918
62915
|
var I18n = class {
|
|
62919
62916
|
format(msg, vars) {
|
|
62920
62917
|
return msg.replace(/\{(\w+)\}/g, (_match, capture) => Object.prototype.hasOwnProperty.call(vars, capture) ? vars[capture] : capture);
|
|
@@ -62960,10 +62957,10 @@ var I18n = class {
|
|
|
62960
62957
|
}
|
|
62961
62958
|
};
|
|
62962
62959
|
|
|
62963
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
62960
|
+
// ../../../../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
|
|
62964
62961
|
var EN_LOCALE = {
|
|
62965
62962
|
environment: {
|
|
62966
|
-
node_version: "
|
|
62963
|
+
node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
|
|
62967
62964
|
nvm_install: "please install nvm first",
|
|
62968
62965
|
yarn_pnpm_npm: "please install yarn or pnpm or npm first"
|
|
62969
62966
|
},
|
|
@@ -62987,10 +62984,10 @@ var EN_LOCALE = {
|
|
|
62987
62984
|
}
|
|
62988
62985
|
};
|
|
62989
62986
|
|
|
62990
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
62987
|
+
// ../../../../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
|
|
62991
62988
|
var ZH_LOCALE = {
|
|
62992
62989
|
environment: {
|
|
62993
|
-
node_version: "
|
|
62990
|
+
node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
|
|
62994
62991
|
nvm_install: "检测到环境中未安装 nvm,请先安装 nvm",
|
|
62995
62992
|
yarn_pnpm_npm: "检测到环境中未安装包管理工具,请先安装 yarn 或 pnpm 或 npm"
|
|
62996
62993
|
},
|
|
@@ -63014,14 +63011,14 @@ var ZH_LOCALE = {
|
|
|
63014
63011
|
}
|
|
63015
63012
|
};
|
|
63016
63013
|
|
|
63017
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
63014
|
+
// ../../../../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
|
|
63018
63015
|
var i18n = new I18n();
|
|
63019
63016
|
var localeKeys = i18n.init("zh", {
|
|
63020
63017
|
zh: ZH_LOCALE,
|
|
63021
63018
|
en: EN_LOCALE
|
|
63022
63019
|
});
|
|
63023
63020
|
|
|
63024
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
63021
|
+
// ../../../../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
|
|
63025
63022
|
var import_path4 = __toESM(require("path"));
|
|
63026
63023
|
var import_utils12 = require("@modern-js/utils");
|
|
63027
63024
|
var NODE_MAJOR_VERSION_MAP = {
|
|
@@ -63069,7 +63066,7 @@ async function checkUseNvm(cwd, logger) {
|
|
|
63069
63066
|
}
|
|
63070
63067
|
}
|
|
63071
63068
|
|
|
63072
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
63069
|
+
// ../../../../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
|
|
63073
63070
|
var import_lodash4 = require("@modern-js/utils/lodash");
|
|
63074
63071
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
|
63075
63072
|
for (const question of questions) {
|
|
@@ -63097,7 +63094,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
|
63097
63094
|
return questions;
|
|
63098
63095
|
}
|
|
63099
63096
|
|
|
63100
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.5.
|
|
63097
|
+
// ../../../../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
|
|
63101
63098
|
var AppAPI = class {
|
|
63102
63099
|
async checkEnvironment(nodeVersion) {
|
|
63103
63100
|
if (import_utils13.semver.lt(process.versions.node, nodeVersion || "16.20.2")) {
|
|
@@ -63329,11 +63326,11 @@ var AppAPI = class {
|
|
|
63329
63326
|
}
|
|
63330
63327
|
};
|
|
63331
63328
|
|
|
63332
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.5.
|
|
63329
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.5.2/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
|
|
63333
63330
|
var import_comment_json2 = __toESM(require_src3());
|
|
63334
63331
|
var declarationUpdate = __toESM(require_dist());
|
|
63335
63332
|
|
|
63336
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.5.
|
|
63333
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.5.2/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
|
|
63337
63334
|
async function editJson(generatorCore, resource, getNewJsonValue) {
|
|
63338
63335
|
const originJsonValue = await resource.value();
|
|
63339
63336
|
const newJsonString = await getNewJsonValue(originJsonValue.content);
|
|
@@ -63346,7 +63343,7 @@ async function editJson(generatorCore, resource, getNewJsonValue) {
|
|
|
63346
63343
|
return newJsonString;
|
|
63347
63344
|
}
|
|
63348
63345
|
|
|
63349
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.5.
|
|
63346
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.5.2/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
|
|
63350
63347
|
var JsonAPI = class {
|
|
63351
63348
|
async get(resource) {
|
|
63352
63349
|
const originJsonValue = await resource.value();
|
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.
|
|
31
|
-
"@modern-js/codesmith-api-json": "2.5.
|
|
29
|
+
"@modern-js/codesmith": "2.5.2",
|
|
30
|
+
"@modern-js/codesmith-api-app": "2.5.2",
|
|
31
|
+
"@modern-js/codesmith-api-json": "2.5.2",
|
|
32
32
|
"@types/jest": "^29",
|
|
33
33
|
"@types/node": "^14",
|
|
34
34
|
"jest": "^29",
|
|
35
35
|
"typescript": "^5",
|
|
36
|
-
"@modern-js/
|
|
37
|
-
"@modern-js/generator
|
|
38
|
-
"@modern-js/generator-
|
|
39
|
-
"@scripts/build": "0.0.0-nightly-
|
|
40
|
-
"@scripts/jest-config": "0.0.0-nightly-
|
|
36
|
+
"@modern-js/generator-utils": "0.0.0-nightly-20241012170701",
|
|
37
|
+
"@modern-js/dependence-generator": "0.0.0-nightly-20241012170701",
|
|
38
|
+
"@modern-js/generator-common": "0.0.0-nightly-20241012170701",
|
|
39
|
+
"@scripts/build": "0.0.0-nightly-20241012170701",
|
|
40
|
+
"@scripts/jest-config": "0.0.0-nightly-20241012170701"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|