@storyshelf/runner-puppeteer 0.6.2 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storyshelf/runner-puppeteer",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "Puppeteer CaptureRunner for StoryShelf (Chromium via chrome-headless-shell, smaller image).",
5
5
  "keywords": [
6
6
  "puppeteer",
@@ -27,9 +27,6 @@
27
27
  "dist"
28
28
  ],
29
29
  "type": "module",
30
- "engines": {
31
- "node": ">=24"
32
- },
33
30
  "sideEffects": false,
34
31
  "types": "./dist/index.d.mts",
35
32
  "exports": {
@@ -37,11 +34,16 @@
37
34
  "source": "./src/index.ts",
38
35
  "default": "./dist/index.mjs"
39
36
  },
37
+ "./remote": {
38
+ "source": "./src/remote/index.ts",
39
+ "default": "./dist/remote/index.mjs"
40
+ },
40
41
  "./package.json": "./package.json"
41
42
  },
42
43
  "publishConfig": {
43
44
  "exports": {
44
45
  ".": "./dist/index.mjs",
46
+ "./remote": "./dist/remote/index.mjs",
45
47
  "./package.json": "./package.json"
46
48
  },
47
49
  "access": "public"
@@ -52,16 +54,18 @@
52
54
  "fmt": "oxfmt ./src",
53
55
  "lint": "oxlint --type-aware --type-check ./src",
54
56
  "test": "vitest run",
55
- "prepublishOnly": "nub run build"
57
+ "test:integration": "RUN_INTEGRATION=1 vitest run a11y.integration.test.ts settle.integration.test.ts remote.integration.test.ts",
58
+ "prepublishOnly": "nub run build",
59
+ "test:flake": "vitest run --repeats=20 --maxWorkers=1 --no-file-parallelism src/capture-runner.test.ts src/settle.test.ts src/screenshot.test.ts"
56
60
  },
57
61
  "dependencies": {
58
- "@storyshelf/core": "0.6.2",
62
+ "@storyshelf/core": "0.7.0",
59
63
  "puppeteer-core": "^24.0.0"
60
64
  },
61
65
  "devDependencies": {
62
- "@storyshelf/app": "0.6.2",
63
- "@storyshelf/db-sqlite": "0.6.2",
64
- "@storyshelf/storage-local": "0.6.2",
66
+ "@storyshelf/app": "0.7.0",
67
+ "@storyshelf/db-sqlite": "0.7.0",
68
+ "@storyshelf/storage-local": "0.7.0",
65
69
  "@types/node": "^26.0.0",
66
70
  "@vitest/coverage-v8": "^4.0.0",
67
71
  "adm-zip": "0.6.0",
@@ -72,6 +76,9 @@
72
76
  "typescript": "^7.0.2",
73
77
  "vitest": "^5.0.0"
74
78
  },
79
+ "engines": {
80
+ "node": ">=24"
81
+ },
75
82
  "jsr": {
76
83
  "runtimeCompat": {
77
84
  "node": true,