@endora-commerce/test-kit 0.100.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.
Files changed (39) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +108 -0
  3. package/dist/database/index.d.ts +17 -0
  4. package/dist/database/index.d.ts.map +1 -0
  5. package/dist/database/index.js +17 -0
  6. package/dist/database/index.js.map +1 -0
  7. package/dist/database/lease.d.ts +115 -0
  8. package/dist/database/lease.d.ts.map +1 -0
  9. package/dist/database/lease.js +204 -0
  10. package/dist/database/lease.js.map +1 -0
  11. package/dist/database/provision.d.ts +135 -0
  12. package/dist/database/provision.d.ts.map +1 -0
  13. package/dist/database/provision.js +457 -0
  14. package/dist/database/provision.js.map +1 -0
  15. package/dist/database/run-isolation.d.ts +356 -0
  16. package/dist/database/run-isolation.d.ts.map +1 -0
  17. package/dist/database/run-isolation.js +490 -0
  18. package/dist/database/run-isolation.js.map +1 -0
  19. package/dist/server/compose-test-server.d.ts +251 -0
  20. package/dist/server/compose-test-server.d.ts.map +1 -0
  21. package/dist/server/compose-test-server.js +359 -0
  22. package/dist/server/compose-test-server.js.map +1 -0
  23. package/dist/server/composition.d.ts +112 -0
  24. package/dist/server/composition.d.ts.map +1 -0
  25. package/dist/server/composition.js +32 -0
  26. package/dist/server/composition.js.map +1 -0
  27. package/dist/server/index.d.ts +13 -0
  28. package/dist/server/index.d.ts.map +1 -0
  29. package/dist/server/index.js +12 -0
  30. package/dist/server/index.js.map +1 -0
  31. package/dist/support/entity-index.d.ts +91 -0
  32. package/dist/support/entity-index.d.ts.map +1 -0
  33. package/dist/support/entity-index.js +56 -0
  34. package/dist/support/entity-index.js.map +1 -0
  35. package/dist/support/index.d.ts +134 -0
  36. package/dist/support/index.d.ts.map +1 -0
  37. package/dist/support/index.js +153 -0
  38. package/dist/support/index.js.map +1 -0
  39. package/package.json +66 -0
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@endora-commerce/test-kit",
3
+ "version": "0.100.0",
4
+ "type": "module",
5
+ "description": "Composes an Endora Commerce platform for a test, from a composition its caller supplies. The server seam, the per-invocation database lease and the module test-support contribution shape, none of which names a module package (feature 109).",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/endora-commerce/endora-commerce.git",
10
+ "directory": "packages/test-kit"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "exports": {
16
+ "./server": {
17
+ "types": "./dist/server/index.d.ts",
18
+ "default": "./dist/server/index.js"
19
+ },
20
+ "./database": {
21
+ "types": "./dist/database/index.d.ts",
22
+ "default": "./dist/database/index.js"
23
+ },
24
+ "./support": {
25
+ "types": "./dist/support/index.d.ts",
26
+ "default": "./dist/support/index.js"
27
+ },
28
+ "./package.json": "./package.json"
29
+ },
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "engines": {
34
+ "node": ">=22.18.0"
35
+ },
36
+ "peerDependencies": {
37
+ "@mikro-orm/core": "^6",
38
+ "@mikro-orm/postgresql": "^6",
39
+ "fastify": "^5",
40
+ "ioredis": "^5",
41
+ "pg": "^8",
42
+ "vitest": "^4.1.11",
43
+ "@endora-commerce/contracts": "0.100.0",
44
+ "@endora-commerce/platform": "0.100.0"
45
+ },
46
+ "devDependencies": {
47
+ "@mikro-orm/core": "^6.6.13",
48
+ "@mikro-orm/postgresql": "^6.6.13",
49
+ "@types/node": "^22.9.0",
50
+ "@types/pg": "^8.20.0",
51
+ "fastify": "^5.12.5",
52
+ "ioredis": "^5.10.1",
53
+ "pg": "^8.20.0",
54
+ "typescript": "^5.9.3",
55
+ "vitest": "^4.1.11",
56
+ "@endora-commerce/contracts": "0.100.0",
57
+ "@endora-commerce/platform": "0.100.0"
58
+ },
59
+ "scripts": {
60
+ "build": "tsc -p tsconfig.build.json",
61
+ "typecheck": "tsc -p tsconfig.json",
62
+ "lint": "eslint src test",
63
+ "test": "vitest run",
64
+ "test:services": "vitest run --config vitest.services.config.ts"
65
+ }
66
+ }