postgraphile 5.0.0-beta.9 → 5.0.0-rc.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/CHANGELOG.md +2298 -4
- package/README.md +5 -11
- package/dist/cli.d.ts +2 -3
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +13 -12
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -8
- package/dist/index.js.map +1 -1
- package/dist/plugins/PgV4BehaviorPlugin.d.ts +3 -0
- package/dist/plugins/PgV4BehaviorPlugin.d.ts.map +1 -1
- package/dist/plugins/PgV4BehaviorPlugin.js +52 -51
- package/dist/plugins/PgV4BehaviorPlugin.js.map +1 -1
- package/dist/plugins/PgV4InflectionPlugin.d.ts +3 -0
- package/dist/plugins/PgV4InflectionPlugin.d.ts.map +1 -1
- package/dist/plugins/PgV4InflectionPlugin.js +17 -4
- package/dist/plugins/PgV4InflectionPlugin.js.map +1 -1
- package/dist/plugins/PgV4SimpleSubscriptionsPlugin.d.ts +2 -0
- package/dist/plugins/PgV4SimpleSubscriptionsPlugin.d.ts.map +1 -0
- package/dist/plugins/PgV4SimpleSubscriptionsPlugin.js +87 -0
- package/dist/plugins/PgV4SimpleSubscriptionsPlugin.js.map +1 -0
- package/dist/plugins/PgV4SmartTagsPlugin.d.ts +6 -0
- package/dist/plugins/PgV4SmartTagsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgV4SmartTagsPlugin.js +37 -14
- package/dist/plugins/PgV4SmartTagsPlugin.js.map +1 -1
- package/dist/presets/amber.d.ts +1 -3
- package/dist/presets/amber.d.ts.map +1 -1
- package/dist/presets/amber.js +2 -4
- package/dist/presets/amber.js.map +1 -1
- package/dist/presets/lazy-jwt.d.ts +8 -1
- package/dist/presets/lazy-jwt.d.ts.map +1 -1
- package/dist/presets/lazy-jwt.js +18 -11
- package/dist/presets/lazy-jwt.js.map +1 -1
- package/dist/presets/relay.d.ts +8 -4
- package/dist/presets/relay.d.ts.map +1 -1
- package/dist/presets/relay.js +101 -96
- package/dist/presets/relay.js.map +1 -1
- package/dist/presets/v4.d.ts +29 -5
- package/dist/presets/v4.d.ts.map +1 -1
- package/dist/presets/v4.js +166 -38
- package/dist/presets/v4.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/fwd/@dataplan/pg/pg-sql2/index.d.ts +1 -0
- package/fwd/@dataplan/pg/pg-sql2/index.js +1 -0
- package/fwd/grafast/mermaid/index.d.ts +1 -0
- package/fwd/grafast/mermaid/index.js +1 -0
- package/fwd/grafserv/envelop/index.d.ts +1 -0
- package/fwd/grafserv/envelop/index.js +1 -0
- package/fwd/grafserv/hono/v4/index.d.ts +1 -0
- package/fwd/grafserv/hono/v4/index.js +1 -0
- package/fwd/grafserv/koa/v3/index.d.ts +1 -0
- package/fwd/grafserv/koa/v3/index.js +1 -0
- package/fwd/grafserv/lambda/v1/index.d.ts +1 -0
- package/fwd/grafserv/lambda/v1/index.js +1 -0
- package/fwd/grafserv/ruru/static/index.d.ts +1 -0
- package/fwd/grafserv/ruru/static/index.js +1 -0
- package/fwd/grafserv/whatwg-node__server/v4/index.d.ts +1 -0
- package/fwd/grafserv/whatwg-node__server/v4/index.js +1 -0
- package/fwd/graphile-build-pg/@dataplan/pg/adaptors/pg/index.d.ts +1 -0
- package/fwd/graphile-build-pg/@dataplan/pg/adaptors/pg/index.js +1 -0
- package/fwd/graphile-build-pg/@dataplan/pg/index.d.ts +1 -0
- package/fwd/graphile-build-pg/@dataplan/pg/index.js +1 -0
- package/fwd/graphile-build-pg/@dataplan/pg/pg-sql2/index.d.ts +1 -0
- package/fwd/graphile-build-pg/@dataplan/pg/pg-sql2/index.js +1 -0
- package/fwd/graphile-build-pg/pg-sql2/index.d.ts +1 -0
- package/fwd/graphile-build-pg/pg-sql2/index.js +1 -0
- package/package.json +110 -48
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postgraphile",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-rc.2",
|
|
4
4
|
"description": "Automatic, high performance, and highly customizable GraphQL API for PostgreSQL",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -60,6 +60,11 @@
|
|
|
60
60
|
"node": "./fwd/@dataplan/pg/adaptors/pg/index.js",
|
|
61
61
|
"default": "./fwd/@dataplan/pg/adaptors/pg/index.js"
|
|
62
62
|
},
|
|
63
|
+
"./@dataplan/pg/pg-sql2": {
|
|
64
|
+
"types": "./fwd/@dataplan/pg/pg-sql2/index.d.ts",
|
|
65
|
+
"node": "./fwd/@dataplan/pg/pg-sql2/index.js",
|
|
66
|
+
"default": "./fwd/@dataplan/pg/pg-sql2/index.js"
|
|
67
|
+
},
|
|
63
68
|
"./grafast": {
|
|
64
69
|
"types": "./fwd/grafast/index.d.ts",
|
|
65
70
|
"node": "./fwd/grafast/index.js",
|
|
@@ -70,6 +75,11 @@
|
|
|
70
75
|
"node": "./fwd/grafast/envelop/index.js",
|
|
71
76
|
"default": "./fwd/grafast/envelop/index.js"
|
|
72
77
|
},
|
|
78
|
+
"./grafast/mermaid": {
|
|
79
|
+
"types": "./fwd/grafast/mermaid/index.d.ts",
|
|
80
|
+
"node": "./fwd/grafast/mermaid/index.js",
|
|
81
|
+
"default": "./fwd/grafast/mermaid/index.js"
|
|
82
|
+
},
|
|
73
83
|
"./grafast/graphql": {
|
|
74
84
|
"types": "./fwd/grafast/graphql/index.d.ts",
|
|
75
85
|
"node": "./fwd/grafast/graphql/index.js",
|
|
@@ -80,6 +90,11 @@
|
|
|
80
90
|
"node": "./fwd/grafserv/index.js",
|
|
81
91
|
"default": "./fwd/grafserv/index.js"
|
|
82
92
|
},
|
|
93
|
+
"./grafserv/envelop": {
|
|
94
|
+
"types": "./fwd/grafserv/envelop/index.d.ts",
|
|
95
|
+
"node": "./fwd/grafserv/envelop/index.js",
|
|
96
|
+
"default": "./fwd/grafserv/envelop/index.js"
|
|
97
|
+
},
|
|
83
98
|
"./grafserv/node": {
|
|
84
99
|
"types": "./fwd/grafserv/node/index.d.ts",
|
|
85
100
|
"node": "./fwd/grafserv/node/index.js",
|
|
@@ -90,11 +105,21 @@
|
|
|
90
105
|
"node": "./fwd/grafserv/express/v4/index.js",
|
|
91
106
|
"default": "./fwd/grafserv/express/v4/index.js"
|
|
92
107
|
},
|
|
108
|
+
"./grafserv/lambda/v1": {
|
|
109
|
+
"types": "./fwd/grafserv/lambda/v1/index.d.ts",
|
|
110
|
+
"node": "./fwd/grafserv/lambda/v1/index.js",
|
|
111
|
+
"default": "./fwd/grafserv/lambda/v1/index.js"
|
|
112
|
+
},
|
|
93
113
|
"./grafserv/koa/v2": {
|
|
94
114
|
"types": "./fwd/grafserv/koa/v2/index.d.ts",
|
|
95
115
|
"node": "./fwd/grafserv/koa/v2/index.js",
|
|
96
116
|
"default": "./fwd/grafserv/koa/v2/index.js"
|
|
97
117
|
},
|
|
118
|
+
"./grafserv/koa/v3": {
|
|
119
|
+
"types": "./fwd/grafserv/koa/v3/index.d.ts",
|
|
120
|
+
"node": "./fwd/grafserv/koa/v3/index.js",
|
|
121
|
+
"default": "./fwd/grafserv/koa/v3/index.js"
|
|
122
|
+
},
|
|
98
123
|
"./grafserv/fastify/v4": {
|
|
99
124
|
"types": "./fwd/grafserv/fastify/v4/index.d.ts",
|
|
100
125
|
"node": "./fwd/grafserv/fastify/v4/index.js",
|
|
@@ -105,6 +130,16 @@
|
|
|
105
130
|
"node": "./fwd/grafserv/h3/v1/index.js",
|
|
106
131
|
"default": "./fwd/grafserv/h3/v1/index.js"
|
|
107
132
|
},
|
|
133
|
+
"./grafserv/hono/v4": {
|
|
134
|
+
"types": "./fwd/grafserv/hono/v4/index.d.ts",
|
|
135
|
+
"node": "./fwd/grafserv/hono/v4/index.js",
|
|
136
|
+
"default": "./fwd/grafserv/hono/v4/index.js"
|
|
137
|
+
},
|
|
138
|
+
"./grafserv/whatwg-node__server/v4": {
|
|
139
|
+
"types": "./fwd/grafserv/whatwg-node__server/v4/index.d.ts",
|
|
140
|
+
"node": "./fwd/grafserv/whatwg-node__server/v4/index.js",
|
|
141
|
+
"default": "./fwd/grafserv/whatwg-node__server/v4/index.js"
|
|
142
|
+
},
|
|
108
143
|
"./grafserv/ruru": {
|
|
109
144
|
"types": "./fwd/grafserv/ruru/index.d.ts",
|
|
110
145
|
"node": "./fwd/grafserv/ruru/index.js",
|
|
@@ -115,6 +150,11 @@
|
|
|
115
150
|
"node": "./fwd/grafserv/ruru/server/index.js",
|
|
116
151
|
"default": "./fwd/grafserv/ruru/server/index.js"
|
|
117
152
|
},
|
|
153
|
+
"./grafserv/ruru/static": {
|
|
154
|
+
"types": "./fwd/grafserv/ruru/static/index.d.ts",
|
|
155
|
+
"node": "./fwd/grafserv/ruru/static/index.js",
|
|
156
|
+
"default": "./fwd/grafserv/ruru/static/index.js"
|
|
157
|
+
},
|
|
118
158
|
"./grafserv/ruru/cli": {
|
|
119
159
|
"types": "./fwd/grafserv/ruru/cli/index.d.ts",
|
|
120
160
|
"node": "./fwd/grafserv/ruru/cli/index.js",
|
|
@@ -130,11 +170,31 @@
|
|
|
130
170
|
"node": "./fwd/graphile-build-pg/index.js",
|
|
131
171
|
"default": "./fwd/graphile-build-pg/index.js"
|
|
132
172
|
},
|
|
173
|
+
"./graphile-build-pg/@dataplan/pg": {
|
|
174
|
+
"types": "./fwd/graphile-build-pg/@dataplan/pg/index.d.ts",
|
|
175
|
+
"node": "./fwd/graphile-build-pg/@dataplan/pg/index.js",
|
|
176
|
+
"default": "./fwd/graphile-build-pg/@dataplan/pg/index.js"
|
|
177
|
+
},
|
|
178
|
+
"./graphile-build-pg/@dataplan/pg/adaptors/pg": {
|
|
179
|
+
"types": "./fwd/graphile-build-pg/@dataplan/pg/adaptors/pg/index.d.ts",
|
|
180
|
+
"node": "./fwd/graphile-build-pg/@dataplan/pg/adaptors/pg/index.js",
|
|
181
|
+
"default": "./fwd/graphile-build-pg/@dataplan/pg/adaptors/pg/index.js"
|
|
182
|
+
},
|
|
183
|
+
"./graphile-build-pg/@dataplan/pg/pg-sql2": {
|
|
184
|
+
"types": "./fwd/graphile-build-pg/@dataplan/pg/pg-sql2/index.d.ts",
|
|
185
|
+
"node": "./fwd/graphile-build-pg/@dataplan/pg/pg-sql2/index.js",
|
|
186
|
+
"default": "./fwd/graphile-build-pg/@dataplan/pg/pg-sql2/index.js"
|
|
187
|
+
},
|
|
133
188
|
"./graphile-build-pg/pg-introspection": {
|
|
134
189
|
"types": "./fwd/graphile-build-pg/pg-introspection/index.d.ts",
|
|
135
190
|
"node": "./fwd/graphile-build-pg/pg-introspection/index.js",
|
|
136
191
|
"default": "./fwd/graphile-build-pg/pg-introspection/index.js"
|
|
137
192
|
},
|
|
193
|
+
"./graphile-build-pg/pg-sql2": {
|
|
194
|
+
"types": "./fwd/graphile-build-pg/pg-sql2/index.d.ts",
|
|
195
|
+
"node": "./fwd/graphile-build-pg/pg-sql2/index.js",
|
|
196
|
+
"default": "./fwd/graphile-build-pg/pg-sql2/index.js"
|
|
197
|
+
},
|
|
138
198
|
"./pg-sql2": {
|
|
139
199
|
"types": "./fwd/pg-sql2/index.d.ts",
|
|
140
200
|
"node": "./fwd/pg-sql2/index.js",
|
|
@@ -153,16 +213,18 @@
|
|
|
153
213
|
},
|
|
154
214
|
"bin": "./dist/cli-run.js",
|
|
155
215
|
"scripts": {
|
|
156
|
-
"test": "yarn test:
|
|
157
|
-
"test:
|
|
158
|
-
"test:
|
|
159
|
-
"test:
|
|
160
|
-
"test:
|
|
216
|
+
"test": "yarn test:jest && UPDATE_SNAPSHOTS=\"\" yarn test:schema-exports && UPDATE_SNAPSHOTS=\"\" yarn test:operations-exports",
|
|
217
|
+
"test:jest": "jest",
|
|
218
|
+
"test:schema-exports": "node scripts/test-schema-exports.mjs",
|
|
219
|
+
"test:operations-exports": "yarn test:operations-exports:typeDefs",
|
|
220
|
+
"//test:operations-exports": "yarn test:operations-exports:typeDefs && yarn test:operations-exports:graphql-js",
|
|
221
|
+
"test:operations-exports:typeDefs": "EXPORT_SCHEMA=typeDefs jest __tests__/queries __tests__/mutations",
|
|
222
|
+
"test:operations-exports:graphql-js": "EXPORT_SCHEMA=graphql-js jest __tests__/queries __tests__/mutations",
|
|
161
223
|
"prepack": "tsc -b tsconfig.build.json"
|
|
162
224
|
},
|
|
163
225
|
"repository": {
|
|
164
226
|
"type": "git",
|
|
165
|
-
"url": "git+https://github.com/graphile/
|
|
227
|
+
"url": "git+https://github.com/graphile/crystal.git"
|
|
166
228
|
},
|
|
167
229
|
"keywords": [
|
|
168
230
|
"graphile",
|
|
@@ -181,44 +243,44 @@
|
|
|
181
243
|
"author": "Benjie Gillam <code@benjiegillam.com>",
|
|
182
244
|
"license": "MIT",
|
|
183
245
|
"bugs": {
|
|
184
|
-
"url": "https://github.com/graphile/
|
|
246
|
+
"url": "https://github.com/graphile/crystal/issues"
|
|
185
247
|
},
|
|
186
248
|
"homepage": "https://graphile.org/graphile-engine/",
|
|
187
249
|
"dependencies": {
|
|
188
|
-
"@dataplan/json": "0.0
|
|
189
|
-
"@dataplan/pg": "0.0
|
|
190
|
-
"@graphile/lru": "^5.0.0-
|
|
191
|
-
"@types/node": "^
|
|
192
|
-
"@types/pg": "^8.
|
|
193
|
-
"debug": "^4.3
|
|
194
|
-
"grafast": "^0.0
|
|
195
|
-
"grafserv": "^0.0
|
|
196
|
-
"graphile-build": "5.0.0-
|
|
197
|
-
"graphile-build-pg": "5.0.0-
|
|
198
|
-
"graphile-config": "^0.0
|
|
199
|
-
"graphile-utils": "^5.0.0-
|
|
200
|
-
"graphql": "^16.
|
|
250
|
+
"@dataplan/json": "^1.0.0-rc.2",
|
|
251
|
+
"@dataplan/pg": "^1.0.0-rc.2",
|
|
252
|
+
"@graphile/lru": "^5.0.0-rc.2",
|
|
253
|
+
"@types/node": "^22.19.1",
|
|
254
|
+
"@types/pg": "^8.15.6",
|
|
255
|
+
"debug": "^4.4.3",
|
|
256
|
+
"grafast": "^1.0.0-rc.2",
|
|
257
|
+
"grafserv": "^1.0.0-rc.2",
|
|
258
|
+
"graphile-build": "^5.0.0-rc.2",
|
|
259
|
+
"graphile-build-pg": "^5.0.0-rc.2",
|
|
260
|
+
"graphile-config": "^1.0.0-rc.2",
|
|
261
|
+
"graphile-utils": "^5.0.0-rc.2",
|
|
262
|
+
"graphql": "^16.9.0",
|
|
201
263
|
"iterall": "^1.3.0",
|
|
202
264
|
"jsonwebtoken": "^9.0.2",
|
|
203
|
-
"pg": "^8.
|
|
204
|
-
"pg-sql2": "^5.0.0-
|
|
205
|
-
"tamedevil": "^0.
|
|
206
|
-
"tslib": "^2.
|
|
207
|
-
"ws": "^8.
|
|
265
|
+
"pg": "^8.16.3",
|
|
266
|
+
"pg-sql2": "^5.0.0-rc.2",
|
|
267
|
+
"tamedevil": "^0.1.0-rc.2",
|
|
268
|
+
"tslib": "^2.8.1",
|
|
269
|
+
"ws": "^8.18.3"
|
|
208
270
|
},
|
|
209
271
|
"peerDependencies": {
|
|
210
|
-
"@dataplan/json": "0.0
|
|
211
|
-
"@dataplan/pg": "0.0
|
|
212
|
-
"@envelop/core": "^
|
|
213
|
-
"grafast": "^0.0
|
|
214
|
-
"grafserv": "^0.0
|
|
215
|
-
"graphile-build": "5.0.0-
|
|
216
|
-
"graphile-build-pg": "5.0.0-
|
|
217
|
-
"graphile-config": "^0.0
|
|
218
|
-
"graphql": "^16.
|
|
272
|
+
"@dataplan/json": "^1.0.0-rc.2",
|
|
273
|
+
"@dataplan/pg": "^1.0.0-rc.2",
|
|
274
|
+
"@envelop/core": "^5.0.0",
|
|
275
|
+
"grafast": "^1.0.0-rc.2",
|
|
276
|
+
"grafserv": "^1.0.0-rc.2",
|
|
277
|
+
"graphile-build": "^5.0.0-rc.2",
|
|
278
|
+
"graphile-build-pg": "^5.0.0-rc.2",
|
|
279
|
+
"graphile-config": "^1.0.0-rc.2",
|
|
280
|
+
"graphql": "^16.9.0",
|
|
219
281
|
"pg": "^8.7.1",
|
|
220
|
-
"pg-sql2": "^5.0.0-
|
|
221
|
-
"tamedevil": "^0.
|
|
282
|
+
"pg-sql2": "^5.0.0-rc.2",
|
|
283
|
+
"tamedevil": "^0.1.0-rc.2"
|
|
222
284
|
},
|
|
223
285
|
"peerDependenciesMeta": {
|
|
224
286
|
"@envelop/core": {
|
|
@@ -234,16 +296,16 @@
|
|
|
234
296
|
"index.js"
|
|
235
297
|
],
|
|
236
298
|
"devDependencies": {
|
|
237
|
-
"@types/debug": "^4.1.
|
|
238
|
-
"@types/express": "^4.17.
|
|
239
|
-
"@types/jest": "^
|
|
240
|
-
"@types/jsonwebtoken": "^9.0.
|
|
241
|
-
"@types/nodemon": "1.
|
|
242
|
-
"graphile": "^5.0.0-
|
|
243
|
-
"graphile-export": "^0.0.2
|
|
244
|
-
"jest": "^
|
|
245
|
-
"nodemon": "^3.
|
|
246
|
-
"ts-node": "^10.9.
|
|
247
|
-
"typescript": "^5.
|
|
299
|
+
"@types/debug": "^4.1.12",
|
|
300
|
+
"@types/express": "^4.17.25",
|
|
301
|
+
"@types/jest": "^30.0.0",
|
|
302
|
+
"@types/jsonwebtoken": "^9.0.10",
|
|
303
|
+
"@types/nodemon": "^3.1.1",
|
|
304
|
+
"graphile": "^5.0.0-rc.2",
|
|
305
|
+
"graphile-export": "^1.0.0-rc.2",
|
|
306
|
+
"jest": "^30.2.0",
|
|
307
|
+
"nodemon": "^3.1.11",
|
|
308
|
+
"ts-node": "^10.9.2",
|
|
309
|
+
"typescript": "^5.9.3"
|
|
248
310
|
}
|
|
249
311
|
}
|