@hyperframes/inspector 0.8.152 → 0.8.154
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/live.js +19 -11
- package/dist/service.js +24 -12
- package/dist/types/core/src/projectFolders.d.ts +2 -0
- package/package.json +3 -3
package/dist/live.js
CHANGED
|
@@ -242,6 +242,24 @@ function sourceDependencies(text) {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
// ../core/src/projectFolders.ts
|
|
246
|
+
var PREVIEW_IGNORED_DIRS = /* @__PURE__ */ new Set([
|
|
247
|
+
".cache",
|
|
248
|
+
".git",
|
|
249
|
+
".hyperframes",
|
|
250
|
+
".next",
|
|
251
|
+
".thumbnails",
|
|
252
|
+
".transcode-cache",
|
|
253
|
+
".vite",
|
|
254
|
+
".waveform-cache",
|
|
255
|
+
"build",
|
|
256
|
+
"coverage",
|
|
257
|
+
"dist",
|
|
258
|
+
"node_modules",
|
|
259
|
+
"outputs",
|
|
260
|
+
"renders"
|
|
261
|
+
]);
|
|
262
|
+
|
|
245
263
|
// src/sources.ts
|
|
246
264
|
var starts = (text) => [0, ...[...text.matchAll(/\n/g)].map((m) => m.index + 1)];
|
|
247
265
|
function position(lines, offset2) {
|
|
@@ -263,17 +281,7 @@ function occurrences(text, needle) {
|
|
|
263
281
|
}
|
|
264
282
|
return hits;
|
|
265
283
|
}
|
|
266
|
-
var excluded = /* @__PURE__ */ new Set([
|
|
267
|
-
"node_modules",
|
|
268
|
-
".git",
|
|
269
|
-
".hyperframes",
|
|
270
|
-
".agents",
|
|
271
|
-
".claude",
|
|
272
|
-
"evidence",
|
|
273
|
-
"outputs",
|
|
274
|
-
"renders",
|
|
275
|
-
"snapshots"
|
|
276
|
-
]);
|
|
284
|
+
var excluded = /* @__PURE__ */ new Set([...PREVIEW_IGNORED_DIRS, ".agents", ".claude", "evidence", "snapshots"]);
|
|
277
285
|
function sourceFiles(project) {
|
|
278
286
|
const files = [];
|
|
279
287
|
function visit(dir) {
|