tailwind-styled-v4 5.0.40 → 5.0.411
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/analyzer.js +43 -16
- package/dist/analyzer.js.map +1 -1
- package/dist/analyzer.mjs +104 -72
- package/dist/analyzer.mjs.map +1 -1
- package/dist/animate.js +33 -7
- package/dist/animate.js.map +1 -1
- package/dist/animate.mjs +55 -22
- package/dist/animate.mjs.map +1 -1
- package/dist/atomic.js +39 -10
- package/dist/atomic.js.map +1 -1
- package/dist/atomic.mjs +56 -23
- package/dist/atomic.mjs.map +1 -1
- package/dist/cli.js +222 -38
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +321 -203
- package/dist/cli.mjs.map +1 -1
- package/dist/compiler.js +57 -14
- package/dist/compiler.js.map +1 -1
- package/dist/compiler.mjs +71 -28
- package/dist/compiler.mjs.map +1 -1
- package/dist/dashboard.js +0 -1
- package/dist/dashboard.js.map +1 -1
- package/dist/devtools.js +16 -2
- package/dist/devtools.js.map +1 -1
- package/dist/devtools.mjs +21 -2
- package/dist/devtools.mjs.map +1 -1
- package/dist/engine.js +141 -51
- package/dist/engine.js.map +1 -1
- package/dist/engine.mjs +238 -148
- package/dist/engine.mjs.map +1 -1
- package/dist/index.js +50 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +74 -29
- package/dist/index.mjs.map +1 -1
- package/dist/next.js +98 -37
- package/dist/next.js.map +1 -1
- package/dist/next.mjs +177 -115
- package/dist/next.mjs.map +1 -1
- package/dist/plugin-api.js +0 -1
- package/dist/plugin-api.js.map +1 -1
- package/dist/plugin-registry.js +6 -2
- package/dist/plugin-registry.js.map +1 -1
- package/dist/plugin-registry.mjs +9 -2
- package/dist/plugin-registry.mjs.map +1 -1
- package/dist/plugin.js +0 -1
- package/dist/plugin.js.map +1 -1
- package/dist/preset.js +0 -1
- package/dist/preset.js.map +1 -1
- package/dist/rspack.js +89 -6
- package/dist/rspack.js.map +1 -1
- package/dist/rspack.mjs +39 -18
- package/dist/rspack.mjs.map +1 -1
- package/dist/runtime-css.js +0 -1
- package/dist/runtime-css.js.map +1 -1
- package/dist/runtime.js +0 -1
- package/dist/runtime.js.map +1 -1
- package/dist/scanner.js +29 -11
- package/dist/scanner.js.map +1 -1
- package/dist/scanner.mjs +84 -61
- package/dist/scanner.mjs.map +1 -1
- package/dist/shared.js +91 -35
- package/dist/shared.js.map +1 -1
- package/dist/shared.mjs +122 -64
- package/dist/shared.mjs.map +1 -1
- package/dist/storybook-addon.js +0 -1
- package/dist/storybook-addon.js.map +1 -1
- package/dist/svelte.js +40 -8
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +57 -28
- package/dist/svelte.mjs.map +1 -1
- package/dist/syntax.js +7 -3
- package/dist/syntax.js.map +1 -1
- package/dist/syntax.mjs +30 -23
- package/dist/syntax.mjs.map +1 -1
- package/dist/testing.js +0 -1
- package/dist/testing.js.map +1 -1
- package/dist/theme.js +23 -5
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +41 -17
- package/dist/theme.mjs.map +1 -1
- package/dist/turbopackLoader.js +58 -14
- package/dist/turbopackLoader.js.map +1 -1
- package/dist/turbopackLoader.mjs +89 -45
- package/dist/turbopackLoader.mjs.map +1 -1
- package/dist/tw.js +224 -38
- package/dist/tw.js.map +1 -1
- package/dist/tw.mjs +321 -203
- package/dist/tw.mjs.map +1 -1
- package/dist/vite.js +132 -50
- package/dist/vite.js.map +1 -1
- package/dist/vite.mjs +226 -143
- package/dist/vite.mjs.map +1 -1
- package/dist/vue.js +40 -8
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +57 -28
- package/dist/vue.mjs.map +1 -1
- package/dist/webpackLoader.js +40 -10
- package/dist/webpackLoader.js.map +1 -1
- package/dist/webpackLoader.mjs +59 -27
- package/dist/webpackLoader.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vite.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
const __importMetaUrl = typeof __filename !== "undefined" ? require("node:url").pathToFileURL(__filename).href : "file://unknown";
|
|
2
1
|
/* tailwind-styled-v4 v5.0.4 | MIT | https://github.com/dictionar32/tailwind-styled-v4 */
|
|
3
2
|
"use strict";
|
|
4
3
|
var __create = Object.create;
|
|
@@ -32,6 +31,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
31
|
));
|
|
33
32
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
34
33
|
|
|
34
|
+
// node_modules/tsup/assets/cjs_shims.js
|
|
35
|
+
var getImportMetaUrl, importMetaUrl;
|
|
36
|
+
var init_cjs_shims = __esm({
|
|
37
|
+
"node_modules/tsup/assets/cjs_shims.js"() {
|
|
38
|
+
"use strict";
|
|
39
|
+
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.tagName.toUpperCase() === "SCRIPT" ? document.currentScript.src : new URL("main.js", document.baseURI).href;
|
|
40
|
+
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
|
|
35
44
|
// packages/domain/shared/src/trace.ts
|
|
36
45
|
function getHealthColor(status) {
|
|
37
46
|
switch (status) {
|
|
@@ -125,6 +134,7 @@ function getPipelinePercentages(metrics) {
|
|
|
125
134
|
var init_trace = __esm({
|
|
126
135
|
"packages/domain/shared/src/trace.ts"() {
|
|
127
136
|
"use strict";
|
|
137
|
+
init_cjs_shims();
|
|
128
138
|
}
|
|
129
139
|
});
|
|
130
140
|
|
|
@@ -140,6 +150,7 @@ var ERROR_CODES, ERROR_SUGGESTIONS;
|
|
|
140
150
|
var init_error_codes = __esm({
|
|
141
151
|
"packages/domain/shared/src/error-codes.ts"() {
|
|
142
152
|
"use strict";
|
|
153
|
+
init_cjs_shims();
|
|
143
154
|
ERROR_CODES = {
|
|
144
155
|
// E0xx — Native binding
|
|
145
156
|
NATIVE_NOT_FOUND: "E001",
|
|
@@ -207,6 +218,7 @@ function isTailwindV4() {
|
|
|
207
218
|
var init_compatibility = __esm({
|
|
208
219
|
"packages/domain/shared/src/compatibility.ts"() {
|
|
209
220
|
"use strict";
|
|
221
|
+
init_cjs_shims();
|
|
210
222
|
}
|
|
211
223
|
});
|
|
212
224
|
|
|
@@ -230,6 +242,7 @@ var import_zod, NativeScanFileSchema, NativeScanResultSchema, NativeClassUsageSc
|
|
|
230
242
|
var init_native_schemas = __esm({
|
|
231
243
|
"packages/domain/shared/src/native-schemas.ts"() {
|
|
232
244
|
"use strict";
|
|
245
|
+
init_cjs_shims();
|
|
233
246
|
import_zod = require("zod");
|
|
234
247
|
NativeScanFileSchema = import_zod.z.object({
|
|
235
248
|
file: import_zod.z.string().min(1, "file path cannot be empty"),
|
|
@@ -307,8 +320,8 @@ function getNodeModuleRef() {
|
|
|
307
320
|
}
|
|
308
321
|
}
|
|
309
322
|
function getCurrentFileUrl() {
|
|
310
|
-
if (
|
|
311
|
-
return
|
|
323
|
+
if (importMetaUrl) {
|
|
324
|
+
return importMetaUrl;
|
|
312
325
|
}
|
|
313
326
|
if (typeof __filename !== "undefined") {
|
|
314
327
|
return `file://${__filename.replace(/\\/g, "/")}`;
|
|
@@ -354,24 +367,24 @@ function getNodeFs() {
|
|
|
354
367
|
}
|
|
355
368
|
return _nodeFs;
|
|
356
369
|
}
|
|
357
|
-
function createEsmRequire(
|
|
370
|
+
function createEsmRequire(importMetaUrl2) {
|
|
358
371
|
if (isBrowser) throw new Error("require not available in browser");
|
|
359
372
|
if (typeof require === "function") return require;
|
|
360
373
|
const nodeRequire = getNodeModuleRef();
|
|
361
374
|
if (!nodeRequire) throw new Error("require not available");
|
|
362
|
-
return nodeRequire.createRequire(
|
|
375
|
+
return nodeRequire.createRequire(importMetaUrl2);
|
|
363
376
|
}
|
|
364
|
-
function getDirname(
|
|
377
|
+
function getDirname(importMetaUrl2) {
|
|
365
378
|
if (isBrowser) return "";
|
|
366
379
|
if (typeof __dirname !== "undefined") return __dirname;
|
|
367
380
|
const nodePath = getNodePath();
|
|
368
381
|
const nodeUrl = getNodeUrl();
|
|
369
|
-
return nodePath.dirname(nodeUrl.fileURLToPath(
|
|
382
|
+
return nodePath.dirname(nodeUrl.fileURLToPath(importMetaUrl2));
|
|
370
383
|
}
|
|
371
|
-
function getFilename(
|
|
384
|
+
function getFilename(importMetaUrl2) {
|
|
372
385
|
if (isBrowser) return "";
|
|
373
386
|
if (typeof __filename !== "undefined") return __filename;
|
|
374
|
-
return getNodeUrl().fileURLToPath(
|
|
387
|
+
return getNodeUrl().fileURLToPath(importMetaUrl2);
|
|
375
388
|
}
|
|
376
389
|
function resolveFromRoot(...segments) {
|
|
377
390
|
if (isBrowser) return segments.join("/");
|
|
@@ -391,22 +404,23 @@ function resolveFromRoot(...segments) {
|
|
|
391
404
|
}
|
|
392
405
|
return nodePath.resolve(process.cwd(), ...segments);
|
|
393
406
|
}
|
|
394
|
-
function tryRequire(moduleName,
|
|
407
|
+
function tryRequire(moduleName, importMetaUrl2) {
|
|
395
408
|
if (isBrowser) return null;
|
|
396
409
|
try {
|
|
397
|
-
return createEsmRequire(
|
|
410
|
+
return createEsmRequire(importMetaUrl2)(moduleName);
|
|
398
411
|
} catch {
|
|
399
412
|
}
|
|
400
413
|
return null;
|
|
401
414
|
}
|
|
402
|
-
function resolveNativeNodePath(
|
|
415
|
+
function resolveNativeNodePath(importMetaUrl2, ...relativeSegments) {
|
|
403
416
|
if (isBrowser) return relativeSegments.join("/");
|
|
404
|
-
return getNodePath().resolve(getDirname(
|
|
417
|
+
return getNodePath().resolve(getDirname(importMetaUrl2), ...relativeSegments);
|
|
405
418
|
}
|
|
406
419
|
var isBrowser, nodeModuleRef, _nodePath, _nodeUrl, _nodeFs;
|
|
407
420
|
var init_esmHelpers = __esm({
|
|
408
421
|
"packages/domain/shared/src/esmHelpers.ts"() {
|
|
409
422
|
"use strict";
|
|
423
|
+
init_cjs_shims();
|
|
410
424
|
isBrowser = typeof window !== "undefined" || typeof document !== "undefined";
|
|
411
425
|
nodeModuleRef = null;
|
|
412
426
|
_nodePath = null;
|
|
@@ -458,6 +472,7 @@ var RING_BUFFER_SIZE, TelemetryCollector, _globalCollector;
|
|
|
458
472
|
var init_telemetry = __esm({
|
|
459
473
|
"packages/domain/shared/src/telemetry.ts"() {
|
|
460
474
|
"use strict";
|
|
475
|
+
init_cjs_shims();
|
|
461
476
|
RING_BUFFER_SIZE = 100;
|
|
462
477
|
TelemetryCollector = class {
|
|
463
478
|
data = [];
|
|
@@ -560,6 +575,7 @@ var import_zod2, ScanCacheClassEntrySchema, ScanCacheSchema, TailwindContentItem
|
|
|
560
575
|
var init_configSchemas = __esm({
|
|
561
576
|
"packages/domain/shared/src/configSchemas.ts"() {
|
|
562
577
|
"use strict";
|
|
578
|
+
init_cjs_shims();
|
|
563
579
|
import_zod2 = require("zod");
|
|
564
580
|
ScanCacheClassEntrySchema = import_zod2.z.object({
|
|
565
581
|
name: import_zod2.z.string().min(1),
|
|
@@ -627,16 +643,16 @@ var init_configSchemas = __esm({
|
|
|
627
643
|
});
|
|
628
644
|
|
|
629
645
|
// packages/domain/shared/src/workerResolver.ts
|
|
630
|
-
function getDirnameFromUrl(
|
|
631
|
-
if (!
|
|
646
|
+
function getDirnameFromUrl(importMetaUrl2) {
|
|
647
|
+
if (!importMetaUrl2) return "";
|
|
632
648
|
if (isBrowser2) return "";
|
|
633
649
|
try {
|
|
634
650
|
const nodeUrl = require(NODE_URL);
|
|
635
651
|
const nodePath = require(NODE_PATH);
|
|
636
|
-
return nodePath.dirname(nodeUrl.fileURLToPath(
|
|
652
|
+
return nodePath.dirname(nodeUrl.fileURLToPath(importMetaUrl2));
|
|
637
653
|
} catch {
|
|
638
|
-
if (
|
|
639
|
-
const filePath =
|
|
654
|
+
if (importMetaUrl2.startsWith("file://")) {
|
|
655
|
+
const filePath = importMetaUrl2.slice(7);
|
|
640
656
|
const lastSlash = filePath.lastIndexOf("/");
|
|
641
657
|
return lastSlash >= 0 ? filePath.slice(0, lastSlash) : filePath;
|
|
642
658
|
}
|
|
@@ -667,12 +683,12 @@ function resolveWorkerPath(opts) {
|
|
|
667
683
|
}
|
|
668
684
|
const {
|
|
669
685
|
basename,
|
|
670
|
-
importMetaUrl,
|
|
686
|
+
importMetaUrl: importMetaUrl2,
|
|
671
687
|
extensions = [".cjs", ".js", ".mjs"],
|
|
672
688
|
subdirs = [".", "workers", "lib"],
|
|
673
689
|
required = true
|
|
674
690
|
} = opts;
|
|
675
|
-
const runtimeDir = getDirnameFromUrl(
|
|
691
|
+
const runtimeDir = getDirnameFromUrl(importMetaUrl2);
|
|
676
692
|
for (const subdir of subdirs) {
|
|
677
693
|
for (const ext of extensions) {
|
|
678
694
|
const candidate = resolvePath(runtimeDir, subdir, `${basename}${ext}`);
|
|
@@ -698,10 +714,10 @@ Ensure the package is built: npm run build`
|
|
|
698
714
|
}
|
|
699
715
|
return { path: "", extension: "", format: "cjs" };
|
|
700
716
|
}
|
|
701
|
-
function resolveLoaderPath(loaderBasename,
|
|
717
|
+
function resolveLoaderPath(loaderBasename, importMetaUrl2) {
|
|
702
718
|
return resolveWorkerPath({
|
|
703
719
|
basename: loaderBasename,
|
|
704
|
-
importMetaUrl,
|
|
720
|
+
importMetaUrl: importMetaUrl2,
|
|
705
721
|
extensions: [".cjs", ".js", ".mjs"],
|
|
706
722
|
subdirs: [".", "loaders", "lib"]
|
|
707
723
|
}).path;
|
|
@@ -710,6 +726,7 @@ var isBrowser2, NODE_URL, NODE_FS, NODE_PATH;
|
|
|
710
726
|
var init_workerResolver = __esm({
|
|
711
727
|
"packages/domain/shared/src/workerResolver.ts"() {
|
|
712
728
|
"use strict";
|
|
729
|
+
init_cjs_shims();
|
|
713
730
|
isBrowser2 = typeof window !== "undefined" || typeof document !== "undefined";
|
|
714
731
|
NODE_URL = typeof window === "undefined" || typeof document === "undefined" ? "node:url" : null;
|
|
715
732
|
NODE_FS = typeof window === "undefined" || typeof document === "undefined" ? "node:fs" : null;
|
|
@@ -876,10 +893,20 @@ function generateBarrelFile(exports2, dir, opts = {}) {
|
|
|
876
893
|
var init_codegen = __esm({
|
|
877
894
|
"packages/domain/shared/src/codegen.ts"() {
|
|
878
895
|
"use strict";
|
|
896
|
+
init_cjs_shims();
|
|
879
897
|
}
|
|
880
898
|
});
|
|
881
899
|
|
|
882
900
|
// packages/domain/shared/src/native-resolution.ts
|
|
901
|
+
function _safeCreateRequire() {
|
|
902
|
+
if (typeof import_meta !== "undefined" && importMetaUrl && !importMetaUrl.includes("unknown")) {
|
|
903
|
+
return (0, import_node_module.createRequire)(importMetaUrl);
|
|
904
|
+
}
|
|
905
|
+
if (typeof __filename !== "undefined") {
|
|
906
|
+
return (0, import_node_module.createRequire)(__filename);
|
|
907
|
+
}
|
|
908
|
+
return (0, import_node_module.createRequire)(new URL(`file://${process.cwd()}/`).href);
|
|
909
|
+
}
|
|
883
910
|
function platformKey() {
|
|
884
911
|
if (isBrowser3) return "browser";
|
|
885
912
|
return `${process.platform}-${process.arch}`;
|
|
@@ -975,17 +1002,17 @@ function formatNativeNotFoundError(result) {
|
|
|
975
1002
|
];
|
|
976
1003
|
return lines.join("\n");
|
|
977
1004
|
}
|
|
978
|
-
var import_node_module, fs, path, isBrowser3, _require, PLATFORM_MAP;
|
|
1005
|
+
var import_node_module, fs, path, import_meta, isBrowser3, _require, PLATFORM_MAP;
|
|
979
1006
|
var init_native_resolution = __esm({
|
|
980
1007
|
"packages/domain/shared/src/native-resolution.ts"() {
|
|
981
1008
|
"use strict";
|
|
1009
|
+
init_cjs_shims();
|
|
982
1010
|
import_node_module = require("module");
|
|
983
1011
|
fs = __toESM(require("fs"));
|
|
984
1012
|
path = __toESM(require("path"));
|
|
1013
|
+
import_meta = {};
|
|
985
1014
|
isBrowser3 = typeof window !== "undefined" || typeof document !== "undefined";
|
|
986
|
-
_require = (
|
|
987
|
-
typeof require !== "undefined" ? typeof __filename !== "undefined" ? `file://${__filename}` : "file://unknown" : __importMetaUrl
|
|
988
|
-
);
|
|
1015
|
+
_require = _safeCreateRequire();
|
|
989
1016
|
PLATFORM_MAP = {
|
|
990
1017
|
"linux-x64": ["@tailwind-styled/native-linux-x64-gnu", "@tailwind-styled/native-linux-x64"],
|
|
991
1018
|
"linux-arm64": ["@tailwind-styled/native-linux-arm64-gnu", "@tailwind-styled/native-linux-arm64"],
|
|
@@ -1032,6 +1059,7 @@ function createObservabilityClient(opts = {}) {
|
|
|
1032
1059
|
var init_observability = __esm({
|
|
1033
1060
|
"packages/domain/shared/src/observability.ts"() {
|
|
1034
1061
|
"use strict";
|
|
1062
|
+
init_cjs_shims();
|
|
1035
1063
|
}
|
|
1036
1064
|
});
|
|
1037
1065
|
|
|
@@ -1071,6 +1099,7 @@ function resetCacheStats() {
|
|
|
1071
1099
|
var init_cssGeneratorNative = __esm({
|
|
1072
1100
|
"packages/domain/compiler/src/compiler/cssGeneratorNative.ts"() {
|
|
1073
1101
|
"use strict";
|
|
1102
|
+
init_cjs_shims();
|
|
1074
1103
|
init_nativeBridge();
|
|
1075
1104
|
}
|
|
1076
1105
|
});
|
|
@@ -1215,6 +1244,7 @@ function twMergeRaw(classLists) {
|
|
|
1215
1244
|
var init_cssCompilationNative = __esm({
|
|
1216
1245
|
"packages/domain/compiler/src/compiler/cssCompilationNative.ts"() {
|
|
1217
1246
|
"use strict";
|
|
1247
|
+
init_cjs_shims();
|
|
1218
1248
|
init_nativeBridge();
|
|
1219
1249
|
}
|
|
1220
1250
|
});
|
|
@@ -1262,13 +1292,15 @@ async function generateRawCss(classes, cssEntryContent, root) {
|
|
|
1262
1292
|
const compiler = await Promise.resolve(tw.compile(input, { loadStylesheet }));
|
|
1263
1293
|
return compiler.build(classes);
|
|
1264
1294
|
}
|
|
1265
|
-
var import_node_module2, require2, MAX_CACHE_MEMORY, _twEngine, _twEngineError;
|
|
1295
|
+
var import_node_module2, import_meta2, require2, MAX_CACHE_MEMORY, _twEngine, _twEngineError;
|
|
1266
1296
|
var init_tailwindEngine = __esm({
|
|
1267
1297
|
"packages/domain/compiler/src/tailwindEngine.ts"() {
|
|
1268
1298
|
"use strict";
|
|
1299
|
+
init_cjs_shims();
|
|
1269
1300
|
import_node_module2 = require("module");
|
|
1301
|
+
import_meta2 = {};
|
|
1270
1302
|
require2 = (0, import_node_module2.createRequire)(
|
|
1271
|
-
typeof __filename !== "undefined" ? `file://${__filename}` :
|
|
1303
|
+
typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta2 !== "undefined" && importMetaUrl ? importMetaUrl : "file://unknown"
|
|
1272
1304
|
);
|
|
1273
1305
|
MAX_CACHE_MEMORY = 256 * 1024;
|
|
1274
1306
|
_twEngine = null;
|
|
@@ -1451,17 +1483,19 @@ function processTailwindCssWithTargets(css, targets) {
|
|
|
1451
1483
|
}
|
|
1452
1484
|
return result.css;
|
|
1453
1485
|
}
|
|
1454
|
-
var import_node_module3, require3, _cssCache, _cacheHits, _cacheMisses, MAX_CACHE_SIZE, MAX_CACHE_MEMORY2;
|
|
1486
|
+
var import_node_module3, import_meta3, require3, _cssCache, _cacheHits, _cacheMisses, MAX_CACHE_SIZE, MAX_CACHE_MEMORY2;
|
|
1455
1487
|
var init_tailwindEngine2 = __esm({
|
|
1456
1488
|
"packages/domain/compiler/src/compiler/tailwindEngine.ts"() {
|
|
1457
1489
|
"use strict";
|
|
1490
|
+
init_cjs_shims();
|
|
1458
1491
|
import_node_module3 = require("module");
|
|
1459
1492
|
init_nativeBridge();
|
|
1460
1493
|
init_cssGeneratorNative();
|
|
1461
1494
|
init_cssCompilationNative();
|
|
1462
1495
|
init_tailwindEngine();
|
|
1496
|
+
import_meta3 = {};
|
|
1463
1497
|
require3 = (0, import_node_module3.createRequire)(
|
|
1464
|
-
typeof __filename !== "undefined" ? `file://${__filename}` :
|
|
1498
|
+
typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta3 !== "undefined" && importMetaUrl ? importMetaUrl : "file://unknown"
|
|
1465
1499
|
);
|
|
1466
1500
|
_cssCache = /* @__PURE__ */ new Map();
|
|
1467
1501
|
_cacheHits = 0;
|
|
@@ -1540,6 +1574,7 @@ function atomicRegistrySize() {
|
|
|
1540
1574
|
var init_compilationNative = __esm({
|
|
1541
1575
|
"packages/domain/compiler/src/compiler/compilationNative.ts"() {
|
|
1542
1576
|
"use strict";
|
|
1577
|
+
init_cjs_shims();
|
|
1543
1578
|
init_nativeBridge();
|
|
1544
1579
|
}
|
|
1545
1580
|
});
|
|
@@ -1640,6 +1675,7 @@ function idRegistryImport(importedData) {
|
|
|
1640
1675
|
var init_idRegistryNative = __esm({
|
|
1641
1676
|
"packages/domain/compiler/src/compiler/idRegistryNative.ts"() {
|
|
1642
1677
|
"use strict";
|
|
1678
|
+
init_cjs_shims();
|
|
1643
1679
|
init_nativeBridge();
|
|
1644
1680
|
}
|
|
1645
1681
|
});
|
|
@@ -1782,6 +1818,7 @@ function scanFilesBatchNative(filesJson) {
|
|
|
1782
1818
|
var init_streamingNative = __esm({
|
|
1783
1819
|
"packages/domain/compiler/src/compiler/streamingNative.ts"() {
|
|
1784
1820
|
"use strict";
|
|
1821
|
+
init_cjs_shims();
|
|
1785
1822
|
init_nativeBridge();
|
|
1786
1823
|
}
|
|
1787
1824
|
});
|
|
@@ -1790,6 +1827,7 @@ var init_streamingNative = __esm({
|
|
|
1790
1827
|
var init_compiler = __esm({
|
|
1791
1828
|
"packages/domain/compiler/src/compiler/index.ts"() {
|
|
1792
1829
|
"use strict";
|
|
1830
|
+
init_cjs_shims();
|
|
1793
1831
|
init_cssGeneratorNative();
|
|
1794
1832
|
init_compilationNative();
|
|
1795
1833
|
init_cssCompilationNative();
|
|
@@ -1803,6 +1841,7 @@ var parseClasses, parseClass, extractAllClasses, extractClassesFromSource, astEx
|
|
|
1803
1841
|
var init_parser = __esm({
|
|
1804
1842
|
"packages/domain/compiler/src/parser/index.ts"() {
|
|
1805
1843
|
"use strict";
|
|
1844
|
+
init_cjs_shims();
|
|
1806
1845
|
init_nativeBridge();
|
|
1807
1846
|
parseClasses = (raw) => {
|
|
1808
1847
|
const native = getNativeBridge();
|
|
@@ -1982,6 +2021,7 @@ function resetMemoryStats() {
|
|
|
1982
2021
|
var init_analyzerNative = __esm({
|
|
1983
2022
|
"packages/domain/compiler/src/analyzer/analyzerNative.ts"() {
|
|
1984
2023
|
"use strict";
|
|
2024
|
+
init_cjs_shims();
|
|
1985
2025
|
init_nativeBridge();
|
|
1986
2026
|
}
|
|
1987
2027
|
});
|
|
@@ -2076,6 +2116,7 @@ function resolveSimpleVariants(configJson) {
|
|
|
2076
2116
|
var init_themeResolutionNative = __esm({
|
|
2077
2117
|
"packages/domain/compiler/src/analyzer/themeResolutionNative.ts"() {
|
|
2078
2118
|
"use strict";
|
|
2119
|
+
init_cjs_shims();
|
|
2079
2120
|
init_nativeBridge();
|
|
2080
2121
|
}
|
|
2081
2122
|
});
|
|
@@ -2124,6 +2165,7 @@ function generateSubComponentTypes(root, outputPath) {
|
|
|
2124
2165
|
var init_scannerNative = __esm({
|
|
2125
2166
|
"packages/domain/compiler/src/analyzer/scannerNative.ts"() {
|
|
2126
2167
|
"use strict";
|
|
2168
|
+
init_cjs_shims();
|
|
2127
2169
|
init_nativeBridge();
|
|
2128
2170
|
}
|
|
2129
2171
|
});
|
|
@@ -2132,6 +2174,7 @@ var init_scannerNative = __esm({
|
|
|
2132
2174
|
var init_analyzer = __esm({
|
|
2133
2175
|
"packages/domain/compiler/src/analyzer/index.ts"() {
|
|
2134
2176
|
"use strict";
|
|
2177
|
+
init_cjs_shims();
|
|
2135
2178
|
init_analyzerNative();
|
|
2136
2179
|
init_themeResolutionNative();
|
|
2137
2180
|
init_scannerNative();
|
|
@@ -2321,6 +2364,7 @@ function resetResolverPoolStats() {
|
|
|
2321
2364
|
var init_cacheNative = __esm({
|
|
2322
2365
|
"packages/domain/compiler/src/cache/cacheNative.ts"() {
|
|
2323
2366
|
"use strict";
|
|
2367
|
+
init_cjs_shims();
|
|
2324
2368
|
init_nativeBridge();
|
|
2325
2369
|
}
|
|
2326
2370
|
});
|
|
@@ -2329,6 +2373,7 @@ var init_cacheNative = __esm({
|
|
|
2329
2373
|
var init_cache = __esm({
|
|
2330
2374
|
"packages/domain/compiler/src/cache/index.ts"() {
|
|
2331
2375
|
"use strict";
|
|
2376
|
+
init_cjs_shims();
|
|
2332
2377
|
init_cacheNative();
|
|
2333
2378
|
}
|
|
2334
2379
|
});
|
|
@@ -2578,6 +2623,7 @@ function redisDiagnose() {
|
|
|
2578
2623
|
var init_redisNative = __esm({
|
|
2579
2624
|
"packages/domain/compiler/src/redis/redisNative.ts"() {
|
|
2580
2625
|
"use strict";
|
|
2626
|
+
init_cjs_shims();
|
|
2581
2627
|
init_nativeBridge();
|
|
2582
2628
|
}
|
|
2583
2629
|
});
|
|
@@ -2586,6 +2632,7 @@ var init_redisNative = __esm({
|
|
|
2586
2632
|
var init_redis = __esm({
|
|
2587
2633
|
"packages/domain/compiler/src/redis/index.ts"() {
|
|
2588
2634
|
"use strict";
|
|
2635
|
+
init_cjs_shims();
|
|
2589
2636
|
init_redisNative();
|
|
2590
2637
|
}
|
|
2591
2638
|
});
|
|
@@ -2725,6 +2772,7 @@ function getCompilerDiagnostics() {
|
|
|
2725
2772
|
var init_watchSystemNative = __esm({
|
|
2726
2773
|
"packages/domain/compiler/src/watch/watchSystemNative.ts"() {
|
|
2727
2774
|
"use strict";
|
|
2775
|
+
init_cjs_shims();
|
|
2728
2776
|
init_nativeBridge();
|
|
2729
2777
|
}
|
|
2730
2778
|
});
|
|
@@ -2733,6 +2781,7 @@ var init_watchSystemNative = __esm({
|
|
|
2733
2781
|
var init_watch = __esm({
|
|
2734
2782
|
"packages/domain/compiler/src/watch/index.ts"() {
|
|
2735
2783
|
"use strict";
|
|
2784
|
+
init_cjs_shims();
|
|
2736
2785
|
init_watchSystemNative();
|
|
2737
2786
|
}
|
|
2738
2787
|
});
|
|
@@ -2962,6 +3011,7 @@ __export(internal_exports, {
|
|
|
2962
3011
|
var init_internal = __esm({
|
|
2963
3012
|
"packages/domain/compiler/src/internal.ts"() {
|
|
2964
3013
|
"use strict";
|
|
3014
|
+
init_cjs_shims();
|
|
2965
3015
|
init_src2();
|
|
2966
3016
|
init_tailwindEngine2();
|
|
2967
3017
|
init_compiler();
|
|
@@ -3226,6 +3276,7 @@ var import_node_fs, import_node_path, SOURCE_EXTENSIONS, IGNORE_PATTERNS, _nativ
|
|
|
3226
3276
|
var init_staticStateExtractor = __esm({
|
|
3227
3277
|
"packages/domain/shared/src/staticStateExtractor.ts"() {
|
|
3228
3278
|
"use strict";
|
|
3279
|
+
init_cjs_shims();
|
|
3229
3280
|
import_node_fs = __toESM(require("fs"));
|
|
3230
3281
|
import_node_path = __toESM(require("path"));
|
|
3231
3282
|
SOURCE_EXTENSIONS = /* @__PURE__ */ new Set([".ts", ".tsx", ".js", ".jsx", ".mts", ".mjs"]);
|
|
@@ -3290,6 +3341,7 @@ var import_node_fs2, import_node_path2, LEVELS, _globalLogFile, _logFileInitiali
|
|
|
3290
3341
|
var init_logger = __esm({
|
|
3291
3342
|
"packages/domain/shared/src/logger.ts"() {
|
|
3292
3343
|
"use strict";
|
|
3344
|
+
init_cjs_shims();
|
|
3293
3345
|
import_node_fs2 = __toESM(require("fs"));
|
|
3294
3346
|
import_node_path2 = __toESM(require("path"));
|
|
3295
3347
|
LEVELS = { silent: 0, error: 1, warn: 2, info: 3, debug: 4 };
|
|
@@ -3473,10 +3525,10 @@ function resolveNativeBindingCandidates(options) {
|
|
|
3473
3525
|
}
|
|
3474
3526
|
return Array.from(new Set(candidates));
|
|
3475
3527
|
}
|
|
3476
|
-
function resolveRuntimeDir(dir,
|
|
3528
|
+
function resolveRuntimeDir(dir, importMetaUrl2) {
|
|
3477
3529
|
if (dir) return import_node_path3.default.resolve(dir);
|
|
3478
3530
|
try {
|
|
3479
|
-
return import_node_path3.default.dirname((0, import_node_url.fileURLToPath)(
|
|
3531
|
+
return import_node_path3.default.dirname((0, import_node_url.fileURLToPath)(importMetaUrl2));
|
|
3480
3532
|
} catch {
|
|
3481
3533
|
return process.cwd();
|
|
3482
3534
|
}
|
|
@@ -3494,6 +3546,7 @@ var import_node_crypto, import_node_fs3, import_node_path3, import_node_url, imp
|
|
|
3494
3546
|
var init_src = __esm({
|
|
3495
3547
|
"packages/domain/shared/src/index.ts"() {
|
|
3496
3548
|
"use strict";
|
|
3549
|
+
init_cjs_shims();
|
|
3497
3550
|
import_node_crypto = require("crypto");
|
|
3498
3551
|
import_node_fs3 = __toESM(require("fs"));
|
|
3499
3552
|
import_node_path3 = __toESM(require("path"));
|
|
@@ -3565,7 +3618,7 @@ var init_src = __esm({
|
|
|
3565
3618
|
}
|
|
3566
3619
|
};
|
|
3567
3620
|
_require2 = (0, import_node_module4.createRequire)(
|
|
3568
|
-
typeof __filename !== "undefined" ? `file://${__filename}` :
|
|
3621
|
+
typeof __filename !== "undefined" ? `file://${__filename}` : importMetaUrl ?? "file://unknown"
|
|
3569
3622
|
);
|
|
3570
3623
|
LRUCache = class {
|
|
3571
3624
|
capacity;
|
|
@@ -3616,6 +3669,7 @@ var _loadNative, log, NATIVE_UNAVAILABLE_MESSAGE, nativeBridge, bridgeLoadAttemp
|
|
|
3616
3669
|
var init_nativeBridge = __esm({
|
|
3617
3670
|
"packages/domain/compiler/src/nativeBridge.ts"() {
|
|
3618
3671
|
"use strict";
|
|
3672
|
+
init_cjs_shims();
|
|
3619
3673
|
init_src();
|
|
3620
3674
|
_loadNative = (path16) => require(path16);
|
|
3621
3675
|
log = (...args) => {
|
|
@@ -3643,7 +3697,7 @@ var init_nativeBridge = __esm({
|
|
|
3643
3697
|
}
|
|
3644
3698
|
bridgeLoadAttempted = true;
|
|
3645
3699
|
try {
|
|
3646
|
-
const runtimeDir = resolveRuntimeDir(void 0,
|
|
3700
|
+
const runtimeDir = resolveRuntimeDir(void 0, importMetaUrl);
|
|
3647
3701
|
const result = resolveNativeBinary(runtimeDir);
|
|
3648
3702
|
if (result.path && result.path.endsWith(".node")) {
|
|
3649
3703
|
try {
|
|
@@ -3759,6 +3813,7 @@ var import_node_fs4, import_node_path4, import_node_module5, _require3, transfor
|
|
|
3759
3813
|
var init_src2 = __esm({
|
|
3760
3814
|
"packages/domain/compiler/src/index.ts"() {
|
|
3761
3815
|
"use strict";
|
|
3816
|
+
init_cjs_shims();
|
|
3762
3817
|
import_node_fs4 = __toESM(require("fs"), 1);
|
|
3763
3818
|
import_node_path4 = __toESM(require("path"), 1);
|
|
3764
3819
|
import_node_module5 = require("module");
|
|
@@ -3770,7 +3825,7 @@ var init_src2 = __esm({
|
|
|
3770
3825
|
init_redis();
|
|
3771
3826
|
init_watch();
|
|
3772
3827
|
_require3 = (0, import_node_module5.createRequire)(
|
|
3773
|
-
typeof require !== "undefined" ? typeof __filename !== "undefined" ? `file://${__filename}` : "file://unknown" :
|
|
3828
|
+
typeof require !== "undefined" ? typeof __filename !== "undefined" ? `file://${__filename}` : "file://unknown" : importMetaUrl
|
|
3774
3829
|
);
|
|
3775
3830
|
transformSource = (source, opts) => {
|
|
3776
3831
|
const native = getNativeBridge();
|
|
@@ -4136,8 +4191,8 @@ function getDirname2() {
|
|
|
4136
4191
|
if (typeof __dirname !== "undefined") {
|
|
4137
4192
|
return __dirname;
|
|
4138
4193
|
}
|
|
4139
|
-
if (
|
|
4140
|
-
return
|
|
4194
|
+
if (typeof import_meta4 !== "undefined" && importMetaUrl) {
|
|
4195
|
+
return import_node_path5.default.dirname((0, import_node_url2.fileURLToPath)(importMetaUrl));
|
|
4141
4196
|
}
|
|
4142
4197
|
return process.cwd();
|
|
4143
4198
|
}
|
|
@@ -4342,13 +4397,15 @@ function hasNativeWatchBinding() {
|
|
|
4342
4397
|
return false;
|
|
4343
4398
|
}
|
|
4344
4399
|
}
|
|
4345
|
-
var import_node_path5, import_node_url2, log2, isValidScannerBinding, createScannerBridgeLoader, scannerBridgeLoader, scannerGetBinding, resetScannerBridgeCache;
|
|
4400
|
+
var import_node_path5, import_node_url2, import_meta4, log2, isValidScannerBinding, createScannerBridgeLoader, scannerBridgeLoader, scannerGetBinding, resetScannerBridgeCache;
|
|
4346
4401
|
var init_native_bridge = __esm({
|
|
4347
4402
|
"packages/domain/scanner/src/native-bridge.ts"() {
|
|
4348
4403
|
"use strict";
|
|
4349
|
-
|
|
4404
|
+
init_cjs_shims();
|
|
4405
|
+
import_node_path5 = __toESM(require("path"), 1);
|
|
4350
4406
|
import_node_url2 = require("url");
|
|
4351
4407
|
init_src();
|
|
4408
|
+
import_meta4 = {};
|
|
4352
4409
|
log2 = createDebugLogger("scanner:native");
|
|
4353
4410
|
isValidScannerBinding = (module2) => {
|
|
4354
4411
|
const candidate = module2;
|
|
@@ -4474,6 +4531,7 @@ var import_node_fs5, import_node_path6, STALE_THRESHOLD_MS;
|
|
|
4474
4531
|
var init_cache_native = __esm({
|
|
4475
4532
|
"packages/domain/scanner/src/cache-native.ts"() {
|
|
4476
4533
|
"use strict";
|
|
4534
|
+
init_cjs_shims();
|
|
4477
4535
|
import_node_fs5 = __toESM(require("fs"), 1);
|
|
4478
4536
|
import_node_path6 = __toESM(require("path"), 1);
|
|
4479
4537
|
init_native_bridge();
|
|
@@ -4542,6 +4600,7 @@ var import_node_worker_threads, import_node_path7, import_node_os, import_node_u
|
|
|
4542
4600
|
var init_parallel_scanner = __esm({
|
|
4543
4601
|
"packages/domain/scanner/src/parallel-scanner.ts"() {
|
|
4544
4602
|
"use strict";
|
|
4603
|
+
init_cjs_shims();
|
|
4545
4604
|
import_node_worker_threads = require("worker_threads");
|
|
4546
4605
|
import_node_path7 = __toESM(require("path"), 1);
|
|
4547
4606
|
import_node_os = require("os");
|
|
@@ -4564,7 +4623,7 @@ var init_parallel_scanner = __esm({
|
|
|
4564
4623
|
import_node_worker_threads.parentPort.postMessage(msg);
|
|
4565
4624
|
}
|
|
4566
4625
|
}
|
|
4567
|
-
_workerFilename = typeof __filename !== "undefined" ? __filename : (0, import_node_url3.fileURLToPath)(
|
|
4626
|
+
_workerFilename = typeof __filename !== "undefined" ? __filename : (0, import_node_url3.fileURLToPath)(importMetaUrl);
|
|
4568
4627
|
}
|
|
4569
4628
|
});
|
|
4570
4629
|
|
|
@@ -4573,6 +4632,7 @@ var import_zod3, formatIssuePath2, formatIssues, parseWithSchema, NonNegativeInt
|
|
|
4573
4632
|
var init_schemas = __esm({
|
|
4574
4633
|
"packages/domain/scanner/src/schemas.ts"() {
|
|
4575
4634
|
"use strict";
|
|
4635
|
+
init_cjs_shims();
|
|
4576
4636
|
import_zod3 = require("zod");
|
|
4577
4637
|
init_src();
|
|
4578
4638
|
formatIssuePath2 = (path16) => path16.length > 0 ? path16.map(
|
|
@@ -4656,8 +4716,8 @@ function getRuntimeDir() {
|
|
|
4656
4716
|
if (typeof __dirname !== "undefined" && __dirname.length > 0) {
|
|
4657
4717
|
return __dirname;
|
|
4658
4718
|
}
|
|
4659
|
-
if (
|
|
4660
|
-
return import_node_path8.default.dirname(
|
|
4719
|
+
if (typeof import_meta5 !== "undefined" && importMetaUrl) {
|
|
4720
|
+
return import_node_path8.default.dirname((0, import_node_url4.fileURLToPath)(importMetaUrl));
|
|
4661
4721
|
}
|
|
4662
4722
|
return process.cwd();
|
|
4663
4723
|
}
|
|
@@ -4666,8 +4726,8 @@ function resolveScannerWorkerModulePath() {
|
|
|
4666
4726
|
if (typeof __dirname !== "undefined" && __dirname.length > 0) {
|
|
4667
4727
|
return __dirname;
|
|
4668
4728
|
}
|
|
4669
|
-
if (
|
|
4670
|
-
return import_node_path8.default.dirname(
|
|
4729
|
+
if (typeof import_meta5 !== "undefined" && importMetaUrl) {
|
|
4730
|
+
return import_node_path8.default.dirname((0, import_node_url4.fileURLToPath)(importMetaUrl));
|
|
4671
4731
|
}
|
|
4672
4732
|
return process.cwd();
|
|
4673
4733
|
})();
|
|
@@ -4940,10 +5000,11 @@ async function scanWorkspaceAsync(rootDir, options = {}) {
|
|
|
4940
5000
|
return scanWorkspace2(rootDir, normalizedOptions);
|
|
4941
5001
|
}
|
|
4942
5002
|
}
|
|
4943
|
-
var import_node_fs6, import_node_module6, import_node_path8, import_node_url4, import_node_worker_threads2, log3, SCAN_WORKER_TIMEOUT_MS, createNativeParserLoader, nativeParserLoader, DEFAULT_EXTENSIONS, DEFAULT_IGNORES;
|
|
5003
|
+
var import_node_fs6, import_node_module6, import_node_path8, import_node_url4, import_node_worker_threads2, import_meta5, log3, SCAN_WORKER_TIMEOUT_MS, createNativeParserLoader, nativeParserLoader, DEFAULT_EXTENSIONS, DEFAULT_IGNORES;
|
|
4944
5004
|
var init_src3 = __esm({
|
|
4945
5005
|
"packages/domain/scanner/src/index.ts"() {
|
|
4946
5006
|
"use strict";
|
|
5007
|
+
init_cjs_shims();
|
|
4947
5008
|
import_node_fs6 = __toESM(require("fs"), 1);
|
|
4948
5009
|
import_node_module6 = require("module");
|
|
4949
5010
|
import_node_path8 = __toESM(require("path"), 1);
|
|
@@ -4956,6 +5017,7 @@ var init_src3 = __esm({
|
|
|
4956
5017
|
init_schemas();
|
|
4957
5018
|
init_schemas();
|
|
4958
5019
|
init_native_bridge();
|
|
5020
|
+
import_meta5 = {};
|
|
4959
5021
|
log3 = createLogger2("scanner");
|
|
4960
5022
|
SCAN_WORKER_TIMEOUT_MS = 12e4;
|
|
4961
5023
|
createNativeParserLoader = () => {
|
|
@@ -5045,19 +5107,21 @@ var init_src3 = __esm({
|
|
|
5045
5107
|
// packages/domain/engine/src/native-bridge.ts
|
|
5046
5108
|
function getDirname3() {
|
|
5047
5109
|
if (typeof __dirname !== "undefined") return __dirname;
|
|
5048
|
-
if (
|
|
5049
|
-
return
|
|
5110
|
+
if (typeof import_meta6 !== "undefined" && importMetaUrl) {
|
|
5111
|
+
return getDirname(importMetaUrl);
|
|
5050
5112
|
}
|
|
5051
5113
|
return process.cwd();
|
|
5052
5114
|
}
|
|
5053
5115
|
function getNativeEngineBinding() {
|
|
5054
5116
|
return engineBindingLoader.get();
|
|
5055
5117
|
}
|
|
5056
|
-
var log4, isValidEngineBinding, createEngineBindingLoader, engineBindingLoader;
|
|
5118
|
+
var import_meta6, log4, isValidEngineBinding, createEngineBindingLoader, engineBindingLoader;
|
|
5057
5119
|
var init_native_bridge2 = __esm({
|
|
5058
5120
|
"packages/domain/engine/src/native-bridge.ts"() {
|
|
5059
5121
|
"use strict";
|
|
5122
|
+
init_cjs_shims();
|
|
5060
5123
|
init_src();
|
|
5124
|
+
import_meta6 = {};
|
|
5061
5125
|
log4 = createDebugLogger("engine:native");
|
|
5062
5126
|
isValidEngineBinding = (module2) => {
|
|
5063
5127
|
const candidate = module2;
|
|
@@ -5141,25 +5205,34 @@ __export(vite_exports, {
|
|
|
5141
5205
|
tailwindStyledPlugin: () => tailwindStyledPlugin
|
|
5142
5206
|
});
|
|
5143
5207
|
module.exports = __toCommonJS(vite_exports);
|
|
5208
|
+
init_cjs_shims();
|
|
5144
5209
|
|
|
5145
5210
|
// packages/presentation/vite/src/plugin.ts
|
|
5211
|
+
init_cjs_shims();
|
|
5146
5212
|
var import_node_fs12 = __toESM(require("fs"), 1);
|
|
5147
5213
|
var import_node_path14 = __toESM(require("path"), 1);
|
|
5148
5214
|
init_src2();
|
|
5149
5215
|
|
|
5150
5216
|
// packages/domain/engine/src/index.ts
|
|
5217
|
+
init_cjs_shims();
|
|
5151
5218
|
var import_node_fs11 = __toESM(require("fs"), 1);
|
|
5152
5219
|
var import_node_path13 = __toESM(require("path"), 1);
|
|
5153
5220
|
var import_node_url6 = require("url");
|
|
5154
5221
|
|
|
5222
|
+
// packages/domain/analyzer/src/index.ts
|
|
5223
|
+
init_cjs_shims();
|
|
5224
|
+
|
|
5155
5225
|
// packages/domain/analyzer/src/analyzeWorkspace.ts
|
|
5226
|
+
init_cjs_shims();
|
|
5156
5227
|
var import_node_path10 = __toESM(require("path"), 1);
|
|
5157
5228
|
init_src3();
|
|
5158
5229
|
|
|
5159
5230
|
// packages/domain/analyzer/src/binding.ts
|
|
5231
|
+
init_cjs_shims();
|
|
5160
5232
|
init_src();
|
|
5161
5233
|
|
|
5162
5234
|
// packages/domain/analyzer/src/utils.ts
|
|
5235
|
+
init_cjs_shims();
|
|
5163
5236
|
var import_node_fs7 = __toESM(require("fs"), 1);
|
|
5164
5237
|
init_src();
|
|
5165
5238
|
var DEFAULT_TOP_LIMIT = 10;
|
|
@@ -5203,7 +5276,7 @@ var createAnalyzerBindingLoader = () => {
|
|
|
5203
5276
|
_state.bindingPromise = (async () => {
|
|
5204
5277
|
const runtimeDir = resolveRuntimeDir(
|
|
5205
5278
|
typeof __dirname === "string" ? __dirname : void 0,
|
|
5206
|
-
|
|
5279
|
+
importMetaUrl
|
|
5207
5280
|
);
|
|
5208
5281
|
const candidates = resolveNativeBindingCandidates({
|
|
5209
5282
|
runtimeDir,
|
|
@@ -5246,7 +5319,7 @@ async function requireNativeBinding() {
|
|
|
5246
5319
|
if (binding?.analyzeClasses) return binding;
|
|
5247
5320
|
const runtimeDir = resolveRuntimeDir(
|
|
5248
5321
|
typeof __dirname === "string" ? __dirname : void 0,
|
|
5249
|
-
|
|
5322
|
+
importMetaUrl
|
|
5250
5323
|
);
|
|
5251
5324
|
const candidates = resolveNativeBindingCandidates({
|
|
5252
5325
|
runtimeDir,
|
|
@@ -5273,6 +5346,7 @@ async function requireNativeBinding() {
|
|
|
5273
5346
|
}
|
|
5274
5347
|
|
|
5275
5348
|
// packages/domain/analyzer/src/schemas.ts
|
|
5349
|
+
init_cjs_shims();
|
|
5276
5350
|
init_src();
|
|
5277
5351
|
var import_zod4 = require("zod");
|
|
5278
5352
|
var formatIssuePath3 = (path16) => path16.length > 0 ? path16.map(
|
|
@@ -5375,6 +5449,7 @@ var parseAnalyzerOptions = (options) => parseWithSchema2(AnalyzerOptionsSchema,
|
|
|
5375
5449
|
var parseNativeReport = (report) => parseWithSchema2(NativeReportSchema, report, "Native analyzer report is invalid");
|
|
5376
5450
|
|
|
5377
5451
|
// packages/domain/analyzer/src/semantic.ts
|
|
5452
|
+
init_cjs_shims();
|
|
5378
5453
|
var import_node_fs8 = __toESM(require("fs"), 1);
|
|
5379
5454
|
var import_node_path9 = __toESM(require("path"), 1);
|
|
5380
5455
|
var import_node_url5 = require("url");
|
|
@@ -5761,6 +5836,7 @@ init_src3();
|
|
|
5761
5836
|
init_src();
|
|
5762
5837
|
|
|
5763
5838
|
// packages/domain/engine/src/incremental.ts
|
|
5839
|
+
init_cjs_shims();
|
|
5764
5840
|
var import_node_fs9 = __toESM(require("fs"), 1);
|
|
5765
5841
|
var import_node_path11 = __toESM(require("path"), 1);
|
|
5766
5842
|
init_src3();
|
|
@@ -5831,6 +5907,7 @@ function applyIncrementalChange(previous, filePath, type, scanner) {
|
|
|
5831
5907
|
}
|
|
5832
5908
|
|
|
5833
5909
|
// packages/domain/engine/src/metrics.ts
|
|
5910
|
+
init_cjs_shims();
|
|
5834
5911
|
var EngineMetricsCollector = class {
|
|
5835
5912
|
eventsReceived = 0;
|
|
5836
5913
|
eventsProcessed = 0;
|
|
@@ -5879,6 +5956,7 @@ var EngineMetricsCollector = class {
|
|
|
5879
5956
|
};
|
|
5880
5957
|
|
|
5881
5958
|
// packages/domain/engine/src/metricsWriter.ts
|
|
5959
|
+
init_cjs_shims();
|
|
5882
5960
|
var import_node_fs10 = __toESM(require("fs"), 1);
|
|
5883
5961
|
var import_node_path12 = __toESM(require("path"), 1);
|
|
5884
5962
|
var import_node_perf_hooks = require("perf_hooks");
|
|
@@ -5906,6 +5984,7 @@ function writeMetrics(metrics, cwd = process.cwd()) {
|
|
|
5906
5984
|
}
|
|
5907
5985
|
|
|
5908
5986
|
// packages/domain/engine/src/plugin-api.ts
|
|
5987
|
+
init_cjs_shims();
|
|
5909
5988
|
async function runBeforeScan(plugins, context) {
|
|
5910
5989
|
for (const plugin of plugins) {
|
|
5911
5990
|
await plugin.beforeScan?.(context);
|
|
@@ -5954,6 +6033,7 @@ async function runAfterWatch(plugins, context) {
|
|
|
5954
6033
|
}
|
|
5955
6034
|
|
|
5956
6035
|
// packages/domain/engine/src/schemas.ts
|
|
6036
|
+
init_cjs_shims();
|
|
5957
6037
|
var import_zod5 = require("zod");
|
|
5958
6038
|
var formatIssues3 = (error) => error.issues.map((issue) => {
|
|
5959
6039
|
const p = issue.path.length > 0 ? issue.path.join(".") : "<root>";
|
|
@@ -6010,6 +6090,7 @@ var parseEngineOptions = (options) => parseWithSchema3(EngineOptionsSchema, opti
|
|
|
6010
6090
|
var parseEngineWatchOptions = (options) => parseWithSchema3(EngineWatchOptionsSchema, options ?? {}, "engine watch options are invalid");
|
|
6011
6091
|
|
|
6012
6092
|
// packages/domain/engine/src/watch.ts
|
|
6093
|
+
init_cjs_shims();
|
|
6013
6094
|
var _native2 = null;
|
|
6014
6095
|
function getNativeWatcher() {
|
|
6015
6096
|
if (_native2 !== null) return _native2;
|
|
@@ -6476,6 +6557,7 @@ async function createEngine(rawOptions = {}) {
|
|
|
6476
6557
|
}
|
|
6477
6558
|
|
|
6478
6559
|
// packages/presentation/vite/src/schemas.ts
|
|
6560
|
+
init_cjs_shims();
|
|
6479
6561
|
var import_zod6 = require("zod");
|
|
6480
6562
|
init_src();
|
|
6481
6563
|
var formatIssuePath4 = (path16) => path16.length > 0 ? path16.map(
|