@mizchi/vlmkit-capture 0.8.1 → 0.9.0
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/README.md +1 -1
- package/dist/capture-config.d.mts +1 -1
- package/dist/capture-config.mjs +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Playwright / Crater capture infrastructure for VRT — viewport discovery,
|
|
4
4
|
multi-route capture, prescanner integration.
|
|
5
5
|
|
|
6
|
-
Part of the [`
|
|
6
|
+
Part of the [`vlmkit`](https://github.com/mizchi/vrt) monorepo.
|
|
7
7
|
|
|
8
8
|
## Install
|
|
9
9
|
|
|
@@ -17,7 +17,7 @@ interface CaptureRouteSet {
|
|
|
17
17
|
declare const DEFAULT_CAPTURE_BASE_URL = "http://127.0.0.1:4174";
|
|
18
18
|
/**
|
|
19
19
|
* Built-in fallback used when no config or env override is provided.
|
|
20
|
-
* Kept for
|
|
20
|
+
* Kept for vlmkit's own development workflow; external projects should
|
|
21
21
|
* supply their own routes via `vrt.config.json`.
|
|
22
22
|
*/
|
|
23
23
|
declare const DEFAULT_CAPTURE_ROUTES: CaptureRoute[];
|
package/dist/capture-config.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
2
2
|
import { dirname, isAbsolute, resolve } from "node:path";
|
|
3
3
|
//#region src/capture-config.ts
|
|
4
4
|
/**
|
|
5
|
-
* Capture configuration loader for `
|
|
5
|
+
* Capture configuration loader for `vlmkit workflow init|capture`.
|
|
6
6
|
*
|
|
7
7
|
* Allows external projects to drive `e2e/vrt-capture.spec.ts` without
|
|
8
8
|
* editing the spec by sourcing routes from `vrt.config.json` (or any
|
|
@@ -11,7 +11,7 @@ import { dirname, isAbsolute, resolve } from "node:path";
|
|
|
11
11
|
const DEFAULT_CAPTURE_BASE_URL = "http://127.0.0.1:4174";
|
|
12
12
|
/**
|
|
13
13
|
* Built-in fallback used when no config or env override is provided.
|
|
14
|
-
* Kept for
|
|
14
|
+
* Kept for vlmkit's own development workflow; external projects should
|
|
15
15
|
* supply their own routes via `vrt.config.json`.
|
|
16
16
|
*/
|
|
17
17
|
const DEFAULT_CAPTURE_ROUTES = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mizchi/vlmkit-capture",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Playwright + Crater capture infrastructure for VRT — viewport discovery, multi-route capture, prescanner.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "mizchi",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"playwright": "^1.61.1",
|
|
40
40
|
"pngjs": "^7.0.0",
|
|
41
41
|
"ws": "^8.20.0",
|
|
42
|
-
"@mizchi/vlmkit-core": "0.
|
|
42
|
+
"@mizchi/vlmkit-core": "0.9.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "pnpm --dir ../.. exec tsdown --config tsdown.packages.config.ts --filter @mizchi/vlmkit-capture",
|