@orkestrel/browser 0.0.18 → 0.0.20

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,6 @@
1
1
  {
2
2
  "name": "@orkestrel/browser",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "Chrome DevTools Protocol browser automation with an environment-agnostic core. Part of the @orkestrel line.",
5
5
  "keywords": [
6
6
  "automation",
@@ -20,8 +20,12 @@
20
20
  "type": "git",
21
21
  "url": "git+https://github.com/orkestrel/browser.git"
22
22
  },
23
+ "bin": {
24
+ "browse": "dist/bin/main.js"
25
+ },
23
26
  "files": [
24
27
  "dist/src",
28
+ "dist/bin",
25
29
  "README.md"
26
30
  ],
27
31
  "type": "module",
@@ -49,6 +53,10 @@
49
53
  "default": "./dist/src/server/index.cjs"
50
54
  }
51
55
  },
56
+ "./browser": {
57
+ "types": "./dist/src/browser/index.d.ts",
58
+ "default": "./dist/src/browser/index.js"
59
+ },
52
60
  "./package.json": "./package.json"
53
61
  },
54
62
  "publishConfig": {
@@ -60,48 +68,63 @@
60
68
  "scaffold": "scaffold",
61
69
  "lint": "oxlint --config .oxlintrc.json --fix .",
62
70
  "check": "tsc --noEmit --project tsconfig.json && npm run check:src",
63
- "check:src": "npm run check:src:core && npm run check:src:server",
71
+ "check:src": "npm run check:src:core && npm run check:src:server && npm run check:src:browser && npm run check:src:bin",
64
72
  "check:src:core": "tsc --noEmit -p configs/src/tsconfig.core.json",
65
73
  "check:src:server": "tsc --noEmit -p configs/src/tsconfig.server.json",
74
+ "check:src:browser": "tsc --noEmit -p configs/src/tsconfig.browser.json",
75
+ "check:src:bin": "tsc --noEmit -p configs/src/tsconfig.bin.json",
66
76
  "format": "oxfmt --config .oxfmtrc.json --write .",
67
77
  "format:check": "oxfmt --config .oxfmtrc.json --check .",
68
78
  "lint:check": "oxlint --config .oxlintrc.json --deny-warnings .",
69
- "test": "npm run test:src && npm run test:policy && npm run test:config && npm run test:setup && npm run test:guides",
70
- "test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core --project src:server",
79
+ "test": "npm run test:src && npm run test:src:bin && npm run test:policy && npm run test:config && npm run test:setup && npm run test:setup:browser && npm run test:guides && npm run test:conformance",
80
+ "test:conformance": "vitest run --config vite.config.ts --no-cache --reporter=dot --project conformance",
81
+ "test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core --project src:server --project src:browser",
71
82
  "test:src:core": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core",
72
83
  "test:src:server": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:server",
84
+ "test:src:browser": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:browser",
85
+ "test:src:bin": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:bin",
73
86
  "test:policy": "vitest run --config vite.config.ts --no-cache --reporter=dot --project policy",
74
87
  "test:config": "vitest run --config vite.config.ts --no-cache --reporter=dot --project config",
75
88
  "test:guides": "node --experimental-strip-types tests/guides.test.ts",
76
89
  "build": "npm run clean && npm run build:src",
77
- "build:src": "npm run build:src:core && npm run build:src:server",
90
+ "build:src": "npm run build:src:core && npm run build:src:server && npm run build:src:browser && npm run build:src:bin",
78
91
  "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",
79
92
  "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",
93
+ "build:src:browser": "vite build --config configs/src/vite.browser.config.ts",
94
+ "build:src:bin": "vite build --config configs/src/vite.bin.config.ts",
80
95
  "prepack": "npm run build",
81
96
  "prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:distribution -- --mode release && npm run test:service",
82
97
  "test:distribution": "vitest run --config vite.config.ts --no-cache --reporter=dot --project distribution",
83
98
  "test:service": "vitest run --config vite.config.ts --no-cache --reporter=dot --project service",
84
99
  "test:probe": "vitest run --config vite.config.ts --no-cache --reporter=verbose --project probe",
85
100
  "test:bench": "vitest bench --config vite.config.ts --no-cache --project probe",
86
- "test:setup": "vitest run --config vite.config.ts --no-cache --reporter=dot --project setup"
101
+ "test:setup": "vitest run --config vite.config.ts --no-cache --reporter=dot --project setup",
102
+ "test:setup:browser": "vitest run --config vite.config.ts --no-cache --reporter=dot --project setup:browser"
87
103
  },
88
104
  "dependencies": {
89
- "@orkestrel/contract": "^0.0.18",
105
+ "@orkestrel/contract": "^0.0.19",
90
106
  "@orkestrel/emitter": "^0.0.11",
91
- "@orkestrel/html": "^0.0.11",
107
+ "@orkestrel/html": "^0.0.12",
108
+ "@orkestrel/markdown": "^0.0.17",
109
+ "@orkestrel/mcp": "^0.0.35",
110
+ "@orkestrel/router": "^0.0.16",
111
+ "@orkestrel/server": "^0.0.22",
112
+ "@orkestrel/tool": "^0.0.18",
92
113
  "@orkestrel/websocket": "^0.0.14"
93
114
  },
94
115
  "devDependencies": {
95
116
  "@microsoft/api-extractor": "^7.59.3",
96
- "@orkestrel/guide": "^0.0.20",
97
- "@orkestrel/probe": "^0.0.18",
98
- "@orkestrel/scaffold": "^0.0.79",
117
+ "@orkestrel/guide": "^0.0.22",
118
+ "@orkestrel/probe": "^0.0.19",
119
+ "@orkestrel/scaffold": "^0.0.82",
99
120
  "@orkestrel/test": "^0.0.24",
100
121
  "@types/node": "^26.6.3",
122
+ "@vitest/browser-playwright": "^4.1.11",
101
123
  "oxfmt": "^0.71.0",
102
124
  "oxlint": "^1.86.0",
125
+ "playwright": "^1.63.0",
103
126
  "typescript": "^6.0.3",
104
- "vite": "^8.3.1",
127
+ "vite": "^8.3.2",
105
128
  "vitest": "^4.1.11"
106
129
  },
107
130
  "engines": {