@nestjs-transactional/outbox-typeorm 1.0.0-alpha.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 (30) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +347 -0
  3. package/dist/entity/event-publication-archive.entity.d.ts +24 -0
  4. package/dist/entity/event-publication-archive.entity.js +84 -0
  5. package/dist/entity/event-publication-archive.entity.js.map +1 -0
  6. package/dist/entity/event-publication.entity.d.ts +33 -0
  7. package/dist/entity/event-publication.entity.js +98 -0
  8. package/dist/entity/event-publication.entity.js.map +1 -0
  9. package/dist/index.d.ts +9 -0
  10. package/dist/index.js +25 -0
  11. package/dist/index.js.map +1 -0
  12. package/dist/migrations/1700000000000-create-event-publication.d.ts +18 -0
  13. package/dist/migrations/1700000000000-create-event-publication.js +26 -0
  14. package/dist/migrations/1700000000000-create-event-publication.js.map +1 -0
  15. package/dist/module/outbox-typeorm.module.d.ts +272 -0
  16. package/dist/module/outbox-typeorm.module.js +335 -0
  17. package/dist/module/outbox-typeorm.module.js.map +1 -0
  18. package/dist/repository/typeorm-event-publication.repository.d.ts +50 -0
  19. package/dist/repository/typeorm-event-publication.repository.js +237 -0
  20. package/dist/repository/typeorm-event-publication.repository.js.map +1 -0
  21. package/dist/schema/event-publication-schema.d.ts +30 -0
  22. package/dist/schema/event-publication-schema.js +124 -0
  23. package/dist/schema/event-publication-schema.js.map +1 -0
  24. package/dist/schema/schema-initialization-options.d.ts +24 -0
  25. package/dist/schema/schema-initialization-options.js +10 -0
  26. package/dist/schema/schema-initialization-options.js.map +1 -0
  27. package/dist/schema/schema-initializer.d.ts +31 -0
  28. package/dist/schema/schema-initializer.js +72 -0
  29. package/dist/schema/schema-initializer.js.map +1 -0
  30. package/package.json +86 -0
package/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "@nestjs-transactional/outbox-typeorm",
3
+ "version": "1.0.0-alpha.0",
4
+ "description": "TypeORM persistence backend for @nestjs-transactional/outbox — event_publication table, FOR UPDATE SKIP LOCKED worker safety",
5
+ "license": "MIT",
6
+ "author": "Igor Golovanov",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/igorgolovanov/nestjs-transactional.git",
10
+ "directory": "packages/outbox-typeorm"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/igorgolovanov/nestjs-transactional/issues"
14
+ },
15
+ "homepage": "https://github.com/igorgolovanov/nestjs-transactional/tree/main/packages/outbox-typeorm#readme",
16
+ "keywords": [
17
+ "nestjs",
18
+ "typeorm",
19
+ "outbox",
20
+ "event-publication-registry",
21
+ "spring-modulith",
22
+ "transactional-outbox"
23
+ ],
24
+ "engines": {
25
+ "node": ">=22.11.0"
26
+ },
27
+ "main": "dist/index.js",
28
+ "types": "dist/index.d.ts",
29
+ "files": [
30
+ "dist/**/*.js",
31
+ "dist/**/*.d.ts",
32
+ "dist/**/*.js.map",
33
+ "!dist/**/*.spec.*"
34
+ ],
35
+ "exports": {
36
+ ".": {
37
+ "types": "./dist/index.d.ts",
38
+ "default": "./dist/index.js"
39
+ }
40
+ },
41
+ "publishConfig": {
42
+ "access": "public",
43
+ "provenance": true
44
+ },
45
+ "peerDependencies": {
46
+ "@nestjs/common": "^10.0.0 || ^11.0.0",
47
+ "@nestjs/core": "^10.0.0 || ^11.0.0",
48
+ "@nestjs/typeorm": "^10.0.0 || ^11.0.0",
49
+ "reflect-metadata": "^0.1.13 || ^0.2.0",
50
+ "rxjs": "^7.0.0",
51
+ "typeorm": "^0.3.25",
52
+ "@nestjs-transactional/core": "^1.0.0-alpha.0",
53
+ "@nestjs-transactional/outbox": "^1.0.0-alpha.0",
54
+ "@nestjs-transactional/typeorm": "^1.0.0-alpha.0"
55
+ },
56
+ "devDependencies": {
57
+ "@nestjs/common": "^11.0.0",
58
+ "@nestjs/core": "^11.0.0",
59
+ "@nestjs/cqrs": "^11.0.0",
60
+ "@nestjs/testing": "^11.0.0",
61
+ "@nestjs/typeorm": "^11.0.0",
62
+ "@testcontainers/postgresql": "^10.13.0",
63
+ "@types/jest": "^29.5.14",
64
+ "jest": "^29.7.0",
65
+ "reflect-metadata": "^0.2.2",
66
+ "rxjs": "^7.8.1",
67
+ "testcontainers": "^10.13.0",
68
+ "ts-jest": "^29.2.5",
69
+ "typeorm": "^0.3.25",
70
+ "typescript": "^5.5.4",
71
+ "@nestjs-transactional/core": "1.0.0-alpha.0",
72
+ "@nestjs-transactional/cqrs": "1.0.0-alpha.0",
73
+ "@nestjs-transactional/outbox": "1.0.0-alpha.0",
74
+ "@nestjs-transactional/typeorm": "1.0.0-alpha.0"
75
+ },
76
+ "scripts": {
77
+ "build": "tsc -p tsconfig.build.json",
78
+ "clean": "rimraf dist *.tsbuildinfo coverage",
79
+ "test": "jest",
80
+ "test:watch": "jest --watch",
81
+ "test:cov": "jest --coverage",
82
+ "test:integration": "jest --config jest.integration.config.js",
83
+ "type-check": "tsc --noEmit",
84
+ "lint": "eslint \"src/**/*.ts\""
85
+ }
86
+ }