@relate/contrib-web 0.0.0-stage → 0.1.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/LICENSE +201 -0
- package/README.md +242 -2
- package/conformance/example-site/blank.html +2 -0
- package/conformance/example-site/broken.html +35 -0
- package/conformance/example-site/index.html +35 -0
- package/conformance/example-site/notes.html +35 -0
- package/conformance/example-site/page-1.html +35 -0
- package/conformance/example-site/page-2.html +35 -0
- package/conformance/example-site/public/descriptor-b.json +16 -0
- package/conformance/example-site/public/descriptor-broken.json +16 -0
- package/conformance/example-site/public/descriptor-mismatch.json +16 -0
- package/conformance/example-site/public/descriptor.json +16 -0
- package/conformance/example-site/public/graph-b.json +14408 -0
- package/conformance/example-site/public/graph.json +10808 -0
- package/conformance/example-site/rel-page.ts +147 -0
- package/conformance/example-site/vite.config.ts +23 -0
- package/conformance/make-example.ts +22 -0
- package/conformance/run.ts +152 -0
- package/conformance/scenarios.ts +285 -0
- package/package.json +81 -3
package/package.json
CHANGED
|
@@ -1,6 +1,84 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relate/contrib-web",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Hosts an embedded graph database in a web page: a worker client, graph loading, fault containment and navigation profiles.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/relatedb/relate-contrib.git",
|
|
9
|
+
"directory": "packages/web"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/relatedb/relate-contrib/tree/main/packages/web#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/relatedb/relate-contrib/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"relate",
|
|
17
|
+
"relatedb",
|
|
18
|
+
"graph",
|
|
19
|
+
"wasm",
|
|
20
|
+
"webassembly",
|
|
21
|
+
"worker",
|
|
22
|
+
"opencypher"
|
|
23
|
+
],
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"type": "module",
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"conformance"
|
|
32
|
+
],
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"default": "./dist/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./validate": {
|
|
39
|
+
"types": "./dist/validate.d.ts",
|
|
40
|
+
"default": "./dist/validate.js"
|
|
41
|
+
},
|
|
42
|
+
"./build": {
|
|
43
|
+
"types": "./dist/build/index.d.ts",
|
|
44
|
+
"default": "./dist/build/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./worker": {
|
|
47
|
+
"types": "./dist/worker/worker.d.ts",
|
|
48
|
+
"default": "./dist/worker/worker.js"
|
|
49
|
+
},
|
|
50
|
+
"./conformance": {
|
|
51
|
+
"types": "./dist/conformance/run.d.ts",
|
|
52
|
+
"default": "./dist/conformance/run.js"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"@relate/relate-wasm": ">=1.2.0 <1.3.0"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@playwright/test": "^1.64.1",
|
|
60
|
+
"@types/node": "^26.6.6",
|
|
61
|
+
"ajv": "^8.20.0",
|
|
62
|
+
"tsx": "^4.23.15",
|
|
63
|
+
"typescript": "^7.0.2",
|
|
64
|
+
"vite": "^8.3.5",
|
|
65
|
+
"vitest": "^5.0.5"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "tsc -p tsconfig.json && tsc -p tsconfig.conformance.json",
|
|
69
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
70
|
+
"test:unit": "vitest run --reporter=default --reporter=json --outputFile.json=reports/vitest.json",
|
|
71
|
+
"test:browsers": "playwright test --grep-invert \"@conformance|@perf\"",
|
|
72
|
+
"test:perf": "REL_REPORT=reports/perf.json playwright test --grep @perf",
|
|
73
|
+
"test:conformance": "REL_REPORT=reports/conformance.json playwright test --grep @conformance",
|
|
74
|
+
"test:package": "vitest run --config vitest.package.config.ts --reporter=default --reporter=json --outputFile.json=reports/package.json",
|
|
75
|
+
"test:trace": "tsx tests/trace/check-trace.ts",
|
|
76
|
+
"test:application": "vitest run --config vitest.application.config.ts --reporter=default --reporter=json --outputFile.json=reports/application-vitest.json",
|
|
77
|
+
"test:application-browsers": "playwright test --config playwright.application.config.ts",
|
|
78
|
+
"test:application-trace": "tsx tests/application/trace/check-trace-application.ts",
|
|
79
|
+
"test:catalog": "vitest run --config vitest.catalog.config.ts --reporter=default --reporter=json --outputFile.json=reports/catalog-vitest.json",
|
|
80
|
+
"test:catalog-browsers": "playwright test --config playwright.catalog.config.ts --grep-invert @engine-wal",
|
|
81
|
+
"test:catalog-known": "REL_REPORT=reports/catalog-known.json playwright test --config playwright.catalog.config.ts --grep @engine-wal",
|
|
82
|
+
"test:catalog-trace": "tsx tests/catalog/trace/check-trace-catalog.ts"
|
|
83
|
+
}
|
|
6
84
|
}
|