@orkestrel/test 0.0.38 → 0.0.40

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 CHANGED
@@ -136,8 +136,8 @@ Object.keys(
136
136
  Object.keys(
137
137
  readInventory(root, ['src'], { extensions: ['.ts'], exclude: ['src/server', 'src/browser'] }),
138
138
  )
139
- // ['src/core/Production.ts', 'src/core/Teardown.ts', 'src/core/constants.ts', 'src/core/factories.ts', 'src/core/helpers.ts', 'src/core/index.ts',
140
- // 'src/core/types.ts', 'src/core/validators.ts', 'src/reporter/main.ts']
139
+ // ['src/bin/reporter.ts', 'src/core/Production.ts', 'src/core/Teardown.ts', 'src/core/constants.ts', 'src/core/factories.ts',
140
+ // 'src/core/helpers.ts', 'src/core/index.ts', 'src/core/types.ts', 'src/core/validators.ts']
141
141
  ```
142
142
 
143
143
  Keys are root-relative and `/`-separated whatever the host separator is. The suite gates that proof
@@ -220,7 +220,9 @@ Published as typed entry points per the `exports` field in `package.json`: `@ork
220
220
  host-independent core, `@orkestrel/test/browser` for the journey layer, `@orkestrel/test/server`
221
221
  for the Node helpers, and `@orkestrel/test/reporter` for the progress reporter Vitest loads by
222
222
  specifier. Core and server ship ESM and CommonJS. The browser face ships ESM only, because
223
- `vitest/browser` is an ES-only module, and the reporter entry ships ESM only.
223
+ `vitest/browser` is an ES-only module, and the reporter entry ships ESM only. The reporter entry
224
+ lives at `src/bin/reporter.ts` and builds to `dist/bin/reporter.js`; the specifier does not name
225
+ that path.
224
226
 
225
227
  Run a suite with the progress reporter by naming the entry and the file it appends to:
226
228
 
@@ -0,0 +1,6 @@
1
+ import { ProgressReporter } from "../src/server/index.js";
2
+ // src/bin/reporter.ts
3
+ var reporter_default = ProgressReporter;
4
+ export { reporter_default as default };
5
+
6
+ //# sourceMappingURL=reporter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reporter.js","names":[],"sources":["../../src/bin/reporter.ts"],"sourcesContent":["import { ProgressReporter } from '@src/server'\n\nexport default ProgressReporter\n"],"mappings":";;AAEA,IAAA,mBAAe"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orkestrel/test",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
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. Part of the @orkestrel line.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/orkestrel/test#readme",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "files": [
14
14
  "dist/src",
15
- "dist/reporter",
15
+ "dist/bin",
16
16
  "README.md"
17
17
  ],
18
18
  "type": "module",
@@ -46,13 +46,13 @@
46
46
  "default": "./dist/src/server/index.cjs"
47
47
  }
48
48
  },
49
+ "./package.json": "./package.json",
49
50
  "./reporter": {
50
51
  "import": {
51
- "types": "./dist/reporter/main.d.ts",
52
- "default": "./dist/reporter/main.js"
52
+ "types": "./dist/bin/reporter.d.ts",
53
+ "default": "./dist/bin/reporter.js"
53
54
  }
54
- },
55
- "./package.json": "./package.json"
55
+ }
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public"
@@ -65,13 +65,13 @@
65
65
  "lint": "oxlint --config .oxlintrc.json --fix .",
66
66
  "lint:check": "oxlint --config .oxlintrc.json --deny-warnings .",
67
67
  "check": "tsc --noEmit --project tsconfig.json && npm run check:src",
68
- "check:src": "npm run check:src:core && npm run check:src:browser && npm run check:src:server && npm run check:src:reporter",
68
+ "check:src": "npm run check:src:core && npm run check:src:browser && npm run check:src:server && npm run check:src:bin",
69
69
  "check:src:core": "tsc --noEmit -p configs/src/tsconfig.core.json",
70
70
  "check:src:browser": "tsc --noEmit -p configs/src/tsconfig.browser.json",
71
71
  "check:src:server": "tsc --noEmit -p configs/src/tsconfig.server.json",
72
- "check:src:reporter": "tsc --noEmit -p configs/src/tsconfig.reporter.json",
72
+ "check:src:bin": "tsc --noEmit -p configs/src/tsconfig.bin.json",
73
73
  "test": "npm run test:src && npm run test:policy && npm run test:config && npm run test:setup && npm run test:setup:browser && npm run test:guides",
74
- "test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core --project src:browser --project src:server --project src:reporter",
74
+ "test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core --project src:browser --project src:server --project src:bin",
75
75
  "test:src:core": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core",
76
76
  "test:src:browser": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:browser",
77
77
  "test:src:server": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:server",
@@ -80,33 +80,33 @@
80
80
  "test:guides": "node --experimental-strip-types tests/guides.test.ts",
81
81
  "test:probe": "vitest run --config vite.config.ts --no-cache --reporter=verbose --project probe",
82
82
  "build": "npm run clean && npm run build:src",
83
- "build:src": "npm run build:src:core && npm run build:src:browser && npm run build:src:server && npm run build:src:reporter",
83
+ "build:src": "npm run build:src:core && npm run build:src:browser && npm run build:src:server && npm run build:src:bin",
84
84
  "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",
85
85
  "build:src:browser": "vite build --config configs/src/vite.browser.config.ts",
86
86
  "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",
87
- "build:src:reporter": "vite build --config configs/src/vite.reporter.config.ts",
87
+ "build:src:bin": "vite build --config configs/src/vite.bin.config.ts",
88
88
  "prepack": "npm run build",
89
89
  "prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:distribution -- --mode release",
90
90
  "test:distribution": "vitest run --config vite.config.ts --no-cache --reporter=dot --project distribution",
91
- "test:bench": "vitest bench --config vite.config.ts --no-cache --project \"probe (bench)\" --mode benchmark",
91
+ "test:bench": "vitest bench --config vite.config.ts --no-cache --project \"probe (bench)\" --project bench:browser --mode benchmark",
92
92
  "test:setup": "vitest run --config vite.config.ts --no-cache --reporter=dot --project setup",
93
93
  "test:setup:browser": "vitest run --config vite.config.ts --no-cache --reporter=dot --project setup:browser",
94
- "test:src:reporter": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:reporter"
94
+ "test:src:bin": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:bin"
95
95
  },
96
96
  "dependencies": {
97
- "@orkestrel/contract": "^0.0.23"
97
+ "@orkestrel/contract": "^0.0.24"
98
98
  },
99
99
  "devDependencies": {
100
100
  "@microsoft/api-extractor": "^7.60.1",
101
101
  "@orkestrel/browser": "^0.0.33",
102
102
  "@orkestrel/guide": "^0.0.31",
103
103
  "@orkestrel/probe": "^0.0.30",
104
- "@orkestrel/scaffold": "^0.0.134",
104
+ "@orkestrel/scaffold": "^0.0.136",
105
105
  "@types/node": "^26.6.6",
106
106
  "@vitest/browser-playwright": "^5.1.0",
107
107
  "oxfmt": "^0.78.0",
108
108
  "oxlint": "^1.93.0",
109
- "playwright": "^1.65.0",
109
+ "playwright": "^1.65.1",
110
110
  "typescript": "^7.0.2",
111
111
  "vite": "^8.3.8",
112
112
  "vitest": "^5.1.0"
@@ -121,6 +121,6 @@
121
121
  }
122
122
  },
123
123
  "engines": {
124
- "node": ">=22.18.0"
124
+ "node": "^22.18.0 || >=24.4.0"
125
125
  }
126
126
  }
@@ -1,6 +0,0 @@
1
- import { ProgressReporter } from "../src/server/index.js";
2
- // src/reporter/main.ts
3
- var main_default = ProgressReporter;
4
- export { main_default as default };
5
-
6
- //# sourceMappingURL=main.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.js","names":[],"sources":["../../src/reporter/main.ts"],"sourcesContent":["import { ProgressReporter } from '@src/server'\n\nexport default ProgressReporter\n"],"mappings":";;AAEA,IAAA,eAAe"}
File without changes