@absolutejs/search 0.2.1 → 0.3.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.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@absolutejs/search",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
- "description": "Provider-neutral web search, grounded evidence, and replaceable search adapters",
5
+ "description": "Provider-neutral web search and safe web reading: search adapters, grounded evidence, page and site readers",
6
6
  "license": "BSL-1.1",
7
7
  "author": "Alex Kahn",
8
8
  "repository": {
@@ -30,6 +30,14 @@
30
30
  "types": "./dist/brave.d.ts",
31
31
  "default": "./dist/brave.js"
32
32
  },
33
+ "./web": {
34
+ "types": "./dist/web/index.d.ts",
35
+ "default": "./dist/web/index.js"
36
+ },
37
+ "./web/playwright": {
38
+ "types": "./dist/web/playwright.d.ts",
39
+ "default": "./dist/web/playwright.js"
40
+ },
33
41
  "./manifest": {
34
42
  "types": "./dist/manifest.d.ts",
35
43
  "default": "./dist/manifest.js"
@@ -37,7 +45,7 @@
37
45
  "./manifest.json": "./dist/manifest.json"
38
46
  },
39
47
  "scripts": {
40
- "build": "bun build src/index.ts src/brave.ts src/manifest.ts --outdir dist --target bun --external @sinclair/typebox && tsc --emitDeclarationOnly && absolute-manifest emit",
48
+ "build": "bun build src/index.ts src/brave.ts src/manifest.ts src/web/index.ts src/web/playwright.ts --outdir dist --root src --target bun --external @sinclair/typebox --external @sinclair/typebox/value --external linkedom --external @absolutejs/egress --external playwright-core && tsc --emitDeclarationOnly && absolute-manifest emit",
41
49
  "test": "bun test",
42
50
  "typecheck": "tsc --noEmit",
43
51
  "check:package": "absolute-changelog check",
@@ -46,13 +54,24 @@
46
54
  "devDependencies": {
47
55
  "@types/bun": "^1.3.11",
48
56
  "typescript": "5.9.3",
49
- "@absolutejs/changelog": "^0.6.0"
57
+ "@absolutejs/changelog": "^0.6.0",
58
+ "playwright-core": "1.60.0"
50
59
  },
51
60
  "dependencies": {
61
+ "@absolutejs/egress": "^0.3.3",
52
62
  "@absolutejs/manifest": "^0.9.0",
53
- "@sinclair/typebox": "^0.34.0"
63
+ "@sinclair/typebox": "^0.34.0",
64
+ "linkedom": "0.18.13"
54
65
  },
55
66
  "absolutejs": {
56
67
  "manifestContract": 2
68
+ },
69
+ "peerDependencies": {
70
+ "playwright-core": "^1.60.0"
71
+ },
72
+ "peerDependenciesMeta": {
73
+ "playwright-core": {
74
+ "optional": true
75
+ }
57
76
  }
58
77
  }