@orkestrel/test 0.0.5 → 0.0.7

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@orkestrel/test",
3
- "version": "0.0.5",
4
- "description": "The test helpers the Orkestrel fleet repeats — a call recorder, a real delay, JSON and async collectors, and an owned scratch directory with a source-file walker. Zero runtime dependencies. Part of the @orkestrel line.",
3
+ "version": "0.0.7",
4
+ "description": "The test helpers the Orkestrel fleet repeats — a call recorder, a real delay, JSON and async collectors, an owned scratch directory with a source-file walker, and a browser journey layer that drives real interfaces by role and accessible name. Zero runtime dependencies. Part of the @orkestrel line.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/orkestrel/test#readme",
7
7
  "bugs": "https://github.com/orkestrel/test/issues",
@@ -29,6 +29,12 @@
29
29
  "default": "./dist/src/core/index.cjs"
30
30
  }
31
31
  },
32
+ "./browser": {
33
+ "import": {
34
+ "types": "./dist/src/browser/index.d.ts",
35
+ "default": "./dist/src/browser/index.js"
36
+ }
37
+ },
32
38
  "./server": {
33
39
  "import": {
34
40
  "types": "./dist/src/server/index.d.ts",
@@ -52,33 +58,41 @@
52
58
  "lint": "oxlint --config .oxlintrc.json --fix .",
53
59
  "lint:check": "oxlint --config .oxlintrc.json --deny-warnings .",
54
60
  "check": "tsc --noEmit --project tsconfig.json && npm run check:src",
55
- "check:src": "npm run check:src:core && npm run check:src:server",
61
+ "check:src": "npm run check:src:core && npm run check:src:browser && npm run check:src:server",
56
62
  "check:src:core": "tsc --noEmit -p configs/src/tsconfig.core.json",
63
+ "check:src:browser": "tsc --noEmit -p configs/src/tsconfig.browser.json",
57
64
  "check:src:server": "tsc --noEmit -p configs/src/tsconfig.server.json",
58
65
  "test": "npm run test:src && npm run test:policy && npm run test:config && npm run test:guides",
59
- "test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core --project src:server",
66
+ "test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core --project src:browser --project src:server",
60
67
  "test:src:core": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core",
68
+ "test:src:browser": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:browser",
61
69
  "test:src:server": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:server",
62
70
  "test:policy": "vitest run --config vite.config.ts --no-cache --reporter=dot --project policy",
63
71
  "test:config": "vitest run --config vite.config.ts --no-cache --reporter=dot --project config",
64
72
  "test:guides": "vitest run --config vite.config.ts --no-cache --reporter=dot --project guides",
65
73
  "test:probe": "vitest run --config vite.config.ts --no-cache --reporter=verbose --project probe",
66
74
  "build": "npm run clean && npm run build:src",
67
- "build:src": "npm run build:src:core && npm run build:src:server",
75
+ "build:src": "npm run build:src:core && npm run build:src:browser && npm run build:src:server",
68
76
  "build:src:core": "vite build --config configs/src/vite.core.config.ts && npm run copy dist/src/core/index.d.ts dist/src/core/index.d.cts",
77
+ "build:src:browser": "vite build --config configs/src/vite.browser.config.ts",
69
78
  "build:src:server": "vite build --config configs/src/vite.server.config.ts && npm run copy dist/src/server/index.d.ts dist/src/server/index.d.cts",
70
79
  "prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test"
71
80
  },
72
81
  "devDependencies": {
73
82
  "@microsoft/api-extractor": "^7.58.12",
74
- "@orkestrel/guide": "^0.0.10",
75
- "@orkestrel/scaffold": "^0.0.30",
83
+ "@orkestrel/guide": "^0.0.12",
84
+ "@orkestrel/scaffold": "^0.0.41",
76
85
  "@types/node": "^26.2.0",
77
- "oxfmt": "^0.62.0",
78
- "oxlint": "^1.77.0",
86
+ "@vitest/browser-playwright": "^4.1.11",
87
+ "oxfmt": "^0.64.0",
88
+ "oxlint": "^1.79.0",
89
+ "playwright": "^1.62.1",
79
90
  "typescript": "^6.0.3",
80
- "vite": "~8.2.0",
91
+ "vite": "~8.2.1",
81
92
  "vite-plugin-dts": "^5.0.3",
93
+ "vitest": "^4.1.11"
94
+ },
95
+ "peerDependencies": {
82
96
  "vitest": "^4.1.10"
83
97
  },
84
98
  "engines": {