gateproof 0.1.0 → 0.2.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 (62) hide show
  1. package/README.md +277 -7
  2. package/dist/act.d.ts +2 -0
  3. package/dist/act.d.ts.map +1 -1
  4. package/dist/act.js +1 -1
  5. package/dist/act.js.map +1 -1
  6. package/dist/action-executors.d.ts +10 -0
  7. package/dist/action-executors.d.ts.map +1 -1
  8. package/dist/action-executors.js +14 -3
  9. package/dist/action-executors.js.map +1 -1
  10. package/dist/assert.d.ts +2 -2
  11. package/dist/assert.d.ts.map +1 -1
  12. package/dist/assert.js +1 -1
  13. package/dist/assert.js.map +1 -1
  14. package/dist/cloudflare/cli-stream.d.ts.map +1 -1
  15. package/dist/cloudflare/cli-stream.js +7 -3
  16. package/dist/cloudflare/cli-stream.js.map +1 -1
  17. package/dist/constants.d.ts +11 -0
  18. package/dist/constants.d.ts.map +1 -0
  19. package/dist/constants.js +11 -0
  20. package/dist/constants.js.map +1 -0
  21. package/dist/http-backend.d.ts +23 -0
  22. package/dist/http-backend.d.ts.map +1 -0
  23. package/dist/http-backend.js +124 -0
  24. package/dist/http-backend.js.map +1 -0
  25. package/dist/index.d.ts +20 -0
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +97 -49
  28. package/dist/index.js.map +1 -1
  29. package/dist/observe.d.ts.map +1 -1
  30. package/dist/observe.js +4 -3
  31. package/dist/observe.js.map +1 -1
  32. package/dist/prd/define-prd.d.ts +7 -0
  33. package/dist/prd/define-prd.d.ts.map +1 -0
  34. package/dist/prd/define-prd.js +8 -0
  35. package/dist/prd/define-prd.js.map +1 -0
  36. package/dist/prd/index.d.ts +5 -0
  37. package/dist/prd/index.d.ts.map +1 -0
  38. package/dist/prd/index.js +4 -0
  39. package/dist/prd/index.js.map +1 -0
  40. package/dist/prd/runner.d.ts +22 -0
  41. package/dist/prd/runner.d.ts.map +1 -0
  42. package/dist/prd/runner.js +221 -0
  43. package/dist/prd/runner.js.map +1 -0
  44. package/dist/prd/scope-check.d.ts +28 -0
  45. package/dist/prd/scope-check.d.ts.map +1 -0
  46. package/dist/prd/scope-check.js +135 -0
  47. package/dist/prd/scope-check.js.map +1 -0
  48. package/dist/prd/types.d.ts +21 -0
  49. package/dist/prd/types.d.ts.map +1 -0
  50. package/dist/prd/types.js +2 -0
  51. package/dist/prd/types.js.map +1 -0
  52. package/dist/report.d.ts +67 -0
  53. package/dist/report.d.ts.map +1 -0
  54. package/dist/report.js +51 -0
  55. package/dist/report.js.map +1 -0
  56. package/dist/utils.d.ts.map +1 -1
  57. package/dist/utils.js +3 -2
  58. package/dist/utils.js.map +1 -1
  59. package/dist/validation.d.ts.map +1 -1
  60. package/dist/validation.js +7 -3
  61. package/dist/validation.js.map +1 -1
  62. package/package.json +11 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gateproof",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "E2E testing harness. Observe logs, run actions, assert results.",
6
6
  "main": "./dist/index.js",
@@ -13,6 +13,10 @@
13
13
  "./cloudflare": {
14
14
  "types": "./dist/cloudflare/index.d.ts",
15
15
  "import": "./dist/cloudflare/index.js"
16
+ },
17
+ "./prd": {
18
+ "types": "./dist/prd/index.d.ts",
19
+ "import": "./dist/prd/index.js"
16
20
  }
17
21
  },
18
22
  "files": [
@@ -24,6 +28,7 @@
24
28
  "build": "bun run build:tsc",
25
29
  "build:tsc": "tsc -p tsconfig.build.json",
26
30
  "typecheck": "tsc --noEmit",
31
+ "prd:validate": "bun run scripts/prd-validate.ts",
27
32
  "test": "bun test",
28
33
  "test:demo": "bun test test/demo.test.ts",
29
34
  "test:production": "bun test test/demo.production.test.ts",
@@ -32,9 +37,12 @@
32
37
  "pattern:cloudflare": "bun run patterns/cloudflare/*.ts",
33
38
  "gate:production": "bun run gates/production/smoke.gate.ts",
34
39
  "gate:local": "bun run gates/local/demo.gate.ts",
35
- "gate:all": "bun run gates/production/smoke.gate.ts && bun run gates/local/demo.gate.ts",
40
+ "gate:framework": "bun run gates/framework/integrity.gate.ts",
41
+ "gate:demo": "bun run gates/demo/development.gate.ts",
42
+ "gate:dev": "bun run gate:framework && bun run gate:demo && bun run gate:local",
43
+ "gate:all": "bun run gate:dev && bun run gate:production",
36
44
  "demo:gate": "bun run gate:production",
37
- "prepush": "bun run typecheck && bun test --exclude test/demo.production.test.ts",
45
+ "prepush": "bun run typecheck && bun run prd:validate && bun test",
38
46
  "prepublishOnly": "bun run build && bun test"
39
47
  },
40
48
  "keywords": [