@durable-streams/server-conformance-tests 0.1.0 → 0.1.2
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 +21 -0
- package/dist/chunk-BCwAaXi7.cjs +31 -0
- package/dist/cli.cjs +223 -0
- package/dist/cli.d.cts +1 -0
- package/dist/index.cjs +3 -0
- package/dist/index.d.cts +10 -0
- package/dist/src-mPjxiipV.cjs +2333 -0
- package/dist/test-runner.cjs +9 -0
- package/dist/test-runner.d.cts +1 -0
- package/package.json +41 -18
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_src = require('./src-mPjxiipV.cjs');
|
|
3
|
+
|
|
4
|
+
//#region src/test-runner.ts
|
|
5
|
+
const baseUrl = process.env.CONFORMANCE_TEST_URL;
|
|
6
|
+
if (!baseUrl) throw new Error("CONFORMANCE_TEST_URL environment variable is required. Use the CLI: npx @durable-streams/server-conformance-tests --run <url>");
|
|
7
|
+
require_src.runConformanceTests({ baseUrl });
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/package.json
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@durable-streams/server-conformance-tests",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Conformance test suite for Durable Streams server implementations",
|
|
5
5
|
"author": "Durable Stream contributors",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/durable-streams/durable-streams.git",
|
|
10
|
+
"directory": "packages/server-conformance-tests"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/durable-streams/durable-streams/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"durable-streams",
|
|
17
|
+
"conformance",
|
|
18
|
+
"testing",
|
|
19
|
+
"typescript"
|
|
20
|
+
],
|
|
7
21
|
"type": "module",
|
|
8
|
-
"main": "./dist/index.
|
|
22
|
+
"main": "./dist/index.cjs",
|
|
23
|
+
"module": "./dist/index.js",
|
|
9
24
|
"types": "./dist/index.d.ts",
|
|
10
25
|
"bin": {
|
|
11
26
|
"durable-streams-server-conformance": "./dist/cli.js",
|
|
@@ -13,31 +28,39 @@
|
|
|
13
28
|
},
|
|
14
29
|
"exports": {
|
|
15
30
|
".": {
|
|
16
|
-
"import":
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"default": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/index.d.cts",
|
|
37
|
+
"default": "./dist/index.cjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"./package.json": "./package.json"
|
|
24
41
|
},
|
|
42
|
+
"sideEffects": false,
|
|
43
|
+
"files": [
|
|
44
|
+
"dist",
|
|
45
|
+
"src",
|
|
46
|
+
"bin"
|
|
47
|
+
],
|
|
25
48
|
"dependencies": {
|
|
26
|
-
"@durable-streams/client": "workspace:*",
|
|
27
49
|
"fast-check": "^4.4.0",
|
|
28
|
-
"vitest": "^3.2.4"
|
|
50
|
+
"vitest": "^3.2.4",
|
|
51
|
+
"@durable-streams/client": "0.1.2"
|
|
29
52
|
},
|
|
30
53
|
"devDependencies": {
|
|
31
54
|
"tsdown": "^0.9.0",
|
|
32
55
|
"tsx": "^4.19.2",
|
|
33
56
|
"typescript": "^5.0.0"
|
|
34
57
|
},
|
|
35
|
-
"files": [
|
|
36
|
-
"dist",
|
|
37
|
-
"src",
|
|
38
|
-
"bin"
|
|
39
|
-
],
|
|
40
58
|
"engines": {
|
|
41
59
|
"node": ">=18.0.0"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"build": "tsdown",
|
|
63
|
+
"dev": "tsdown --watch",
|
|
64
|
+
"typecheck": "tsc --noEmit"
|
|
42
65
|
}
|
|
43
|
-
}
|
|
66
|
+
}
|