hazo_testing 0.3.0 → 0.4.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.
Files changed (2) hide show
  1. package/CHANGE_LOG.md +10 -0
  2. package/package.json +32 -13
package/CHANGE_LOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # hazo_testing changelog
2
2
 
3
+ ## 0.4.0 — 2026-08-04
4
+
5
+ ### Fixed
6
+
7
+ Dropped the `optional` flag on `react`, `vitest` in `peerDependenciesMeta`. They are
8
+ imported statically and this package cannot render without them, so marking
9
+ them optional understated a hard requirement. They stay a peer — the host controls the
10
+ version and a single instance must be shared.
11
+
12
+
3
13
  ## 0.3.0 — 2026-06-12
4
14
 
5
15
  ### Added — Permissioned user factory (FR-001)
package/package.json CHANGED
@@ -1,10 +1,35 @@
1
1
  {
2
2
  "name": "hazo_testing",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Shared test infrastructure for hazo apps: SQLite test DB, real-package wiring, auth factories, apiTestClient, fixtures, Jest + Vitest presets.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/pub12/hazo.git",
11
+ "directory": "hazo_testing"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/pub12/hazo/issues"
15
+ },
16
+ "homepage": "https://github.com/pub12/hazo/tree/main/hazo_testing#readme",
17
+ "license": "ISC",
18
+ "author": "Hazo Services",
19
+ "keywords": [
20
+ "testing",
21
+ "jest",
22
+ "vitest",
23
+ "sqlite",
24
+ "hazo",
25
+ "test-database",
26
+ "fixtures",
27
+ "factories",
28
+ "api-client"
29
+ ],
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
8
33
  "exports": {
9
34
  ".": {
10
35
  "types": "./dist/index.d.ts",
@@ -60,12 +85,12 @@
60
85
  "peerDependencies": {
61
86
  "@playwright/test": "^1.0.0",
62
87
  "@testing-library/react": "^16.0.0",
63
- "hazo_auth": "^10.0.0",
64
- "hazo_connect": "^3.5.1",
65
- "hazo_core": "^1.1.0",
66
- "hazo_jobs": "^0.12.0",
67
- "hazo_llm_api": "^2.1.0",
68
- "hazo_notify": "^6.1.3",
88
+ "hazo_auth": "^10.15.0",
89
+ "hazo_connect": "^4.0.0",
90
+ "hazo_core": "^2.0.0",
91
+ "hazo_jobs": "^0.17.0",
92
+ "hazo_llm_api": "^2.3.0",
93
+ "hazo_notify": "^6.1.5",
69
94
  "next": "^14.0.0 || ^16.0.0",
70
95
  "next-intl": "^4.0.0",
71
96
  "react": "^18.0.0 || ^19.0.0",
@@ -85,14 +110,8 @@
85
110
  "next-intl": {
86
111
  "optional": true
87
112
  },
88
- "react": {
89
- "optional": true
90
- },
91
113
  "react-dom": {
92
114
  "optional": true
93
- },
94
- "vitest": {
95
- "optional": true
96
115
  }
97
116
  },
98
117
  "devDependencies": {