@ubean/devtools 0.6.8 → 0.6.9

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.d.ts CHANGED
@@ -411,8 +411,7 @@ interface ScanResultLike {
411
411
  name: string;
412
412
  relativePath: string;
413
413
  fullPath: string;
414
- isReuse: boolean;
415
- isMeta?: boolean;
414
+ pageKind?: 'component' | 'reuse' | 'meta';
416
415
  routable?: boolean;
417
416
  layout?: string | false;
418
417
  }>;
package/dist/index.js CHANGED
@@ -1604,7 +1604,7 @@ function buildDevToolsInfo(opts) {
1604
1604
  filePath: makeFilePath(r.fullPath, r.relativePath, routesPrefix)
1605
1605
  })) : [];
1606
1606
  const defaultLayoutName = scan?.layouts.find((l) => l.isDefault)?.name;
1607
- const pagesList = scan ? scan.pages.filter((p) => !p.isReuse && !p.isMeta && p.routable !== false).map((p) => ({
1607
+ const pagesList = scan ? scan.pages.filter((p) => (p.pageKind ?? "component") === "component").filter((p) => p.routable !== false).map((p) => ({
1608
1608
  path: p.route,
1609
1609
  name: p.name,
1610
1610
  filePath: makeFilePath(p.fullPath, p.relativePath, pagesPrefix),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubean/devtools",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "DevTools for the ubean framework — server middleware, RPC, and the iframe SPA client",
5
5
  "files": [
6
6
  "dist"