launchframe 0.1.10 → 0.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "launchframe",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Point Launchframe at SaaS sites you admire and get back a drop-in shadcn/ui design system (tokens, Tailwind theme, CSS variables, AI handoff) you can build your own UI on top of.",
5
5
  "license": "MIT",
6
6
  "author": "Evan Gruhlkey",
@@ -33,6 +33,7 @@ import { chromium, type Browser } from "playwright";
33
33
  import { harvestTokens } from "./browser-extract.js";
34
34
  import { crawlLayout } from "./dom-crawler.js";
35
35
  import { emitAll } from "./emit.js";
36
+ import { emitMirror } from "./mirror-emit.js";
36
37
  import { emitPageReference } from "./reference-dump.js";
37
38
  import { synthesize } from "./synthesize.js";
38
39
  import type { ExtractionRun, RawTokens, SiteCapture, SiteLayout } from "./types.js";
@@ -214,7 +215,7 @@ async function captureOne(
214
215
  });
215
216
  const page = await ctx.newPage();
216
217
  try {
217
- const response = await page.goto(url, { waitUntil: "networkidle", timeout: 30_000 });
218
+ const response = await page.goto(url, { waitUntil: "load", timeout: 60_000 });
218
219
  if (!response || response.status() >= 400) {
219
220
  throw new Error(`HTTP ${response?.status() ?? "unknown"}`);
220
221
  }