@orkestrel/capture 0.0.0-stage → 0.0.1

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,139 @@
1
1
  {
2
- "name": "@orkestrel/capture",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
2
+ "name": "@orkestrel/capture",
3
+ "version": "0.0.1",
4
+ "description": "Evidence protocol, integrity engine, and runner that stamp browser journey frames with source provenance and classify their freshness.",
5
+ "keywords": [
6
+ "browser",
7
+ "capture",
8
+ "freshness",
9
+ "journey",
10
+ "provenance",
11
+ "screenshots",
12
+ "vitest"
13
+ ],
14
+ "homepage": "https://github.com/orkestrel/capture#readme",
15
+ "bugs": "https://github.com/orkestrel/capture/issues",
16
+ "license": "MIT",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/orkestrel/capture.git"
20
+ },
21
+ "bin": {
22
+ "capture": "dist/bin/main.js"
23
+ },
24
+ "files": [
25
+ "dist/src",
26
+ "dist/bin",
27
+ "README.md"
28
+ ],
29
+ "type": "module",
30
+ "sideEffects": [
31
+ "./src/bin/main.ts",
32
+ "./dist/bin/main.js"
33
+ ],
34
+ "main": "./dist/src/core/index.cjs",
35
+ "module": "./dist/src/core/index.js",
36
+ "exports": {
37
+ ".": {
38
+ "import": {
39
+ "types": "./dist/src/core/index.d.ts",
40
+ "default": "./dist/src/core/index.js"
41
+ },
42
+ "require": {
43
+ "types": "./dist/src/core/index.d.cts",
44
+ "default": "./dist/src/core/index.cjs"
45
+ }
46
+ },
47
+ "./server": {
48
+ "import": {
49
+ "types": "./dist/src/server/index.d.ts",
50
+ "default": "./dist/src/server/index.js"
51
+ },
52
+ "require": {
53
+ "types": "./dist/src/server/index.d.cts",
54
+ "default": "./dist/src/server/index.cjs"
55
+ }
56
+ },
57
+ "./package.json": "./package.json"
58
+ },
59
+ "publishConfig": {
60
+ "access": "public"
61
+ },
62
+ "scripts": {
63
+ "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
64
+ "copy": "node -e \"const fs=require('node:fs'),p=require('node:path'),a=process.argv[1],b=process.argv[2];fs.mkdirSync(p.dirname(b),{recursive:true});fs.cpSync(a,b,{force:true});console.log('Copied: '+a+' to '+b)\"",
65
+ "format": "oxfmt --config .oxfmtrc.json --write .",
66
+ "format:check": "oxfmt --config .oxfmtrc.json --check .",
67
+ "lint": "oxlint --config .oxlintrc.json --fix .",
68
+ "lint:check": "oxlint --config .oxlintrc.json --deny-warnings .",
69
+ "check": "tsc --noEmit --project tsconfig.json && npm run check:src",
70
+ "check:src": "npm run check:src:core && npm run check:src:server && npm run check:src:bin",
71
+ "check:src:core": "tsc --noEmit -p configs/src/tsconfig.core.json",
72
+ "check:src:server": "tsc --noEmit -p configs/src/tsconfig.server.json",
73
+ "check:src:bin": "tsc --noEmit -p configs/src/tsconfig.bin.json",
74
+ "test": "npm run test:src && npm run test:policy && npm run test:config && npm run test:setup && npm run test:guides && npm run test:integration",
75
+ "test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core --project src:server --project src:bin",
76
+ "test:src:core": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core",
77
+ "test:src:server": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:server",
78
+ "test:src:bin": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:bin",
79
+ "test:policy": "vitest run --config vite.config.ts --no-cache --reporter=dot --project policy",
80
+ "test:config": "vitest run --config vite.config.ts --no-cache --reporter=dot --project config",
81
+ "test:probe": "vitest run --config vite.config.ts --no-cache --reporter=verbose --project probe",
82
+ "test:bench": "vitest bench --config vite.config.ts --no-cache --project probe",
83
+ "test:integration": "vitest run --config vite.config.ts --no-cache --reporter=dot --project integration",
84
+ "test:distribution": "vitest run --config vite.config.ts --no-cache --reporter=dot --project distribution",
85
+ "test:setup": "vitest run --config vite.config.ts --no-cache --reporter=dot --project setup",
86
+ "test:guides": "node --experimental-strip-types tests/guides.test.ts",
87
+ "build": "npm run clean && npm run build:src",
88
+ "build:src": "npm run build:src:core && npm run build:src:server && npm run build:src:bin",
89
+ "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",
90
+ "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",
91
+ "build:src:bin": "vite build --config configs/src/vite.bin.config.ts",
92
+ "prepack": "npm run build",
93
+ "prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:distribution -- --mode release"
94
+ },
95
+ "dependencies": {
96
+ "@orkestrel/contract": "^0.0.19",
97
+ "@orkestrel/process": "^0.0.15",
98
+ "@orkestrel/timeout": "^0.0.13"
99
+ },
100
+ "devDependencies": {
101
+ "@microsoft/api-extractor": "^7.59.4",
102
+ "@orkestrel/guide": "^0.0.25",
103
+ "@orkestrel/probe": "^0.0.24",
104
+ "@orkestrel/scaffold": "^0.0.108",
105
+ "@orkestrel/test": "^0.0.29",
106
+ "@types/node": "^24.19.2",
107
+ "@vitest/browser-playwright": "^4.1.12",
108
+ "oxfmt": "^0.74.0",
109
+ "oxlint": "^1.89.0",
110
+ "playwright": "^1.61.0",
111
+ "typescript": "^6.0.3",
112
+ "vite": "^8.3.5",
113
+ "vitest": "^4.1.12"
114
+ },
115
+ "peerDependencies": {
116
+ "@vitest/browser-playwright": "^4.1.12 || ^5.0.5",
117
+ "playwright": "^1.61.0",
118
+ "vite": "^8.3.5",
119
+ "vitest": "^4.1.12 || ^5.0.5"
120
+ },
121
+ "peerDependenciesMeta": {
122
+ "@vitest/browser-playwright": {
123
+ "optional": true
124
+ },
125
+ "playwright": {
126
+ "optional": true
127
+ }
128
+ },
129
+ "devEngines": {
130
+ "packageManager": {
131
+ "name": "npm",
132
+ "version": ">=11.6.0",
133
+ "onFail": "error"
134
+ }
135
+ },
136
+ "engines": {
137
+ "node": ">=22.18.0"
138
+ }
139
+ }