@jterrazz/test 15.1.0 → 15.2.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,10 +1,12 @@
1
1
  {
2
2
  "name": "@jterrazz/test",
3
- "version": "15.1.0",
4
- "description": "Declarative testing framework for HTTP APIs, CLIs, and background jobs — one entry point, real infrastructure, golden-file assertions, plus an oxlint convention plugin.",
3
+ "version": "15.2.0",
4
+ "description": "Declarative testing framework for HTTP APIs, CLIs, background jobs, websites, mobile apps and rendered components — one entry point, real infrastructure and a real browser, golden-file assertions, plus an oxlint convention plugin.",
5
5
  "keywords": [
6
6
  "api-testing",
7
+ "browser-mode",
7
8
  "cli-testing",
9
+ "component-testing",
8
10
  "e2e",
9
11
  "golden-files",
10
12
  "hexagonal",
@@ -14,7 +16,8 @@
14
16
  "test-framework",
15
17
  "testcontainers",
16
18
  "testing",
17
- "vitest"
19
+ "vitest",
20
+ "website-testing"
18
21
  ],
19
22
  "license": "MIT",
20
23
  "author": "Jean-Baptiste Terrazzoni <contact@jterrazz.com>",
@@ -34,6 +37,7 @@
34
37
  "exports": {
35
38
  ".": {
36
39
  "types": "./dist/index.d.ts",
40
+ "browser": "./dist/browser/index.js",
37
41
  "import": "./dist/index.js"
38
42
  },
39
43
  "./vitest": {
@@ -74,29 +78,57 @@
74
78
  },
75
79
  "devDependencies": {
76
80
  "@hono/node-server": "^2.0.8",
77
- "@jterrazz/typescript": "^10.0.0",
81
+ "@jterrazz/typescript": "^10.2.1",
78
82
  "@types/better-sqlite3": "^7.6.13",
79
83
  "@types/node": "^26.1.1",
80
84
  "@types/pg": "^8.20.0",
85
+ "@types/react": "^19.3.0",
86
+ "@types/react-dom": "^19.3.0",
87
+ "@vitest/browser-playwright": "^4.1.10",
81
88
  "hono": "^4.12.30",
82
89
  "playwright": "^1.49.0",
90
+ "react": "^19.3.0",
91
+ "react-dom": "^19.3.0",
92
+ "react-router": "^8.4.0",
83
93
  "tsdown": "^0.22.7",
94
+ "vite": "^8.1.4",
84
95
  "vitest": "^4.1.10",
96
+ "vitest-browser-react": "^2.3.0",
85
97
  "webdriverio": "^9.30.0"
86
98
  },
87
99
  "peerDependencies": {
100
+ "@vitest/browser-playwright": "*",
88
101
  "appium": "^3.0.0",
89
102
  "playwright": "^1.49.0",
90
- "vitest": "^4.1.10",
103
+ "react": "^18 || ^19",
104
+ "react-dom": "^18 || ^19",
105
+ "vite": "^6.4.0 || ^7 || ^8",
106
+ "vitest": "^4.1.10 || ^5",
107
+ "vitest-browser-react": "^2.3.0",
91
108
  "webdriverio": "^9.30.0"
92
109
  },
93
110
  "peerDependenciesMeta": {
111
+ "@vitest/browser-playwright": {
112
+ "optional": true
113
+ },
94
114
  "appium": {
95
115
  "optional": true
96
116
  },
97
117
  "playwright": {
98
118
  "optional": true
99
119
  },
120
+ "react": {
121
+ "optional": true
122
+ },
123
+ "react-dom": {
124
+ "optional": true
125
+ },
126
+ "vite": {
127
+ "optional": true
128
+ },
129
+ "vitest-browser-react": {
130
+ "optional": true
131
+ },
100
132
  "webdriverio": {
101
133
  "optional": true
102
134
  }