@relaybus/postgres 0.0.0-stage → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,160 @@
1
1
  {
2
2
  "name": "@relaybus/postgres",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0",
4
+ "description": "PostgreSQL event store for relaybus: transactional outbox with SKIP LOCKED leasing, for pg, Prisma, TypeORM, Knex, Kysely and Drizzle.",
5
+ "license": "MIT",
6
+ "author": "Berkcan Şavur <berkcansavur@gmail.com>",
7
+ "homepage": "https://github.com/berkcansavur/relaybus#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/berkcansavur/relaybus.git",
11
+ "directory": "packages/postgres"
12
+ },
13
+ "bugs": "https://github.com/berkcansavur/relaybus/issues",
14
+ "keywords": [
15
+ "event-bus",
16
+ "outbox",
17
+ "pg",
18
+ "postgres",
19
+ "postgresql",
20
+ "relaybus",
21
+ "skip-locked"
22
+ ],
23
+ "type": "module",
24
+ "sideEffects": false,
25
+ "main": "./dist/index.cjs",
26
+ "module": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "import": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.js"
33
+ },
34
+ "require": {
35
+ "types": "./dist/index.d.cts",
36
+ "default": "./dist/index.cjs"
37
+ }
38
+ },
39
+ "./kysely": {
40
+ "import": {
41
+ "types": "./dist/kysely.d.ts",
42
+ "default": "./dist/kysely.js"
43
+ },
44
+ "require": {
45
+ "types": "./dist/kysely.d.cts",
46
+ "default": "./dist/kysely.cjs"
47
+ }
48
+ },
49
+ "./knex": {
50
+ "import": {
51
+ "types": "./dist/knex.d.ts",
52
+ "default": "./dist/knex.js"
53
+ },
54
+ "require": {
55
+ "types": "./dist/knex.d.cts",
56
+ "default": "./dist/knex.cjs"
57
+ }
58
+ },
59
+ "./typeorm": {
60
+ "import": {
61
+ "types": "./dist/typeorm.d.ts",
62
+ "default": "./dist/typeorm.js"
63
+ },
64
+ "require": {
65
+ "types": "./dist/typeorm.d.cts",
66
+ "default": "./dist/typeorm.cjs"
67
+ }
68
+ },
69
+ "./drizzle": {
70
+ "import": {
71
+ "types": "./dist/drizzle.d.ts",
72
+ "default": "./dist/drizzle.js"
73
+ },
74
+ "require": {
75
+ "types": "./dist/drizzle.d.cts",
76
+ "default": "./dist/drizzle.cjs"
77
+ }
78
+ },
79
+ "./prisma": {
80
+ "import": {
81
+ "types": "./dist/prisma.d.ts",
82
+ "default": "./dist/prisma.js"
83
+ },
84
+ "require": {
85
+ "types": "./dist/prisma.d.cts",
86
+ "default": "./dist/prisma.cjs"
87
+ }
88
+ },
89
+ "./package.json": "./package.json"
90
+ },
91
+ "files": [
92
+ "dist",
93
+ "README.md",
94
+ "LICENSE"
95
+ ],
96
+ "engines": {
97
+ "node": ">=22.12.0"
98
+ },
99
+ "publishConfig": {
100
+ "access": "public",
101
+ "provenance": true
102
+ },
103
+ "peerDependencies": {
104
+ "pg": "^8.11.0",
105
+ "kysely": ">=0.27.0",
106
+ "knex": ">=3.0.0",
107
+ "typeorm": ">=0.3.0",
108
+ "drizzle-orm": ">=0.36.0",
109
+ "@relaybus/core": "^0.1.0"
110
+ },
111
+ "devDependencies": {
112
+ "pg": "8.23.1",
113
+ "@types/pg": "8.23.1",
114
+ "@testcontainers/postgresql": "12.2.1",
115
+ "testcontainers": "12.2.1",
116
+ "kysely": "0.29.7",
117
+ "knex": "3.3.0",
118
+ "typeorm": "1.1.2",
119
+ "drizzle-orm": "0.45.4",
120
+ "@relaybus/core": "0.1.0",
121
+ "@relaybus/testing": "0.1.0"
122
+ },
123
+ "typesVersions": {
124
+ "*": {
125
+ "kysely": [
126
+ "dist/kysely.d.ts"
127
+ ],
128
+ "knex": [
129
+ "dist/knex.d.ts"
130
+ ],
131
+ "typeorm": [
132
+ "dist/typeorm.d.ts"
133
+ ],
134
+ "drizzle": [
135
+ "dist/drizzle.d.ts"
136
+ ],
137
+ "prisma": [
138
+ "dist/prisma.d.ts"
139
+ ]
140
+ }
141
+ },
142
+ "peerDependenciesMeta": {
143
+ "kysely": {
144
+ "optional": true
145
+ },
146
+ "knex": {
147
+ "optional": true
148
+ },
149
+ "typeorm": {
150
+ "optional": true
151
+ },
152
+ "drizzle-orm": {
153
+ "optional": true
154
+ }
155
+ },
156
+ "scripts": {
157
+ "build": "tsup",
158
+ "typecheck": "tsc -p tsconfig.build.json --noEmit"
159
+ }
6
160
  }