@postgrestools/cli-aarch64-apple-darwin 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.
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@postgrestools/cli-aarch64-apple-darwin",
3
+ "version": "0.2.0",
4
+ "license": "MIT or Apache-2.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/supabase-community/postgres_lsp.git",
8
+ "directory": "packages/@postgrestools/postgrestools"
9
+ },
10
+ "engines": {
11
+ "node": ">=20"
12
+ },
13
+ "os": [
14
+ "darwin"
15
+ ],
16
+ "cpu": [
17
+ "arm64"
18
+ ]
19
+ }
package/postgrestools ADDED
Binary file
package/schema.json ADDED
@@ -0,0 +1,428 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Configuration",
4
+ "description": "The configuration that is contained inside the configuration file.",
5
+ "type": "object",
6
+ "properties": {
7
+ "$schema": {
8
+ "description": "A field for the [JSON schema](https://json-schema.org/) specification",
9
+ "type": [
10
+ "string",
11
+ "null"
12
+ ]
13
+ },
14
+ "db": {
15
+ "description": "The configuration of the database connection",
16
+ "anyOf": [
17
+ {
18
+ "$ref": "#/definitions/DatabaseConfiguration"
19
+ },
20
+ {
21
+ "type": "null"
22
+ }
23
+ ]
24
+ },
25
+ "files": {
26
+ "description": "The configuration of the filesystem",
27
+ "anyOf": [
28
+ {
29
+ "$ref": "#/definitions/FilesConfiguration"
30
+ },
31
+ {
32
+ "type": "null"
33
+ }
34
+ ]
35
+ },
36
+ "linter": {
37
+ "description": "The configuration for the linter",
38
+ "anyOf": [
39
+ {
40
+ "$ref": "#/definitions/LinterConfiguration"
41
+ },
42
+ {
43
+ "type": "null"
44
+ }
45
+ ]
46
+ },
47
+ "migrations": {
48
+ "description": "Configure migrations",
49
+ "anyOf": [
50
+ {
51
+ "$ref": "#/definitions/MigrationsConfiguration"
52
+ },
53
+ {
54
+ "type": "null"
55
+ }
56
+ ]
57
+ },
58
+ "vcs": {
59
+ "description": "The configuration of the VCS integration",
60
+ "anyOf": [
61
+ {
62
+ "$ref": "#/definitions/VcsConfiguration"
63
+ },
64
+ {
65
+ "type": "null"
66
+ }
67
+ ]
68
+ }
69
+ },
70
+ "additionalProperties": false,
71
+ "definitions": {
72
+ "DatabaseConfiguration": {
73
+ "description": "The configuration of the database connection.",
74
+ "type": "object",
75
+ "properties": {
76
+ "connTimeoutSecs": {
77
+ "description": "The connection timeout in seconds.",
78
+ "type": [
79
+ "integer",
80
+ "null"
81
+ ],
82
+ "format": "uint16",
83
+ "minimum": 0.0
84
+ },
85
+ "database": {
86
+ "description": "The name of the database.",
87
+ "type": [
88
+ "string",
89
+ "null"
90
+ ]
91
+ },
92
+ "host": {
93
+ "description": "The host of the database.",
94
+ "type": [
95
+ "string",
96
+ "null"
97
+ ]
98
+ },
99
+ "password": {
100
+ "description": "The password to connect to the database.",
101
+ "type": [
102
+ "string",
103
+ "null"
104
+ ]
105
+ },
106
+ "port": {
107
+ "description": "The port of the database.",
108
+ "type": [
109
+ "integer",
110
+ "null"
111
+ ],
112
+ "format": "uint16",
113
+ "minimum": 0.0
114
+ },
115
+ "username": {
116
+ "description": "The username to connect to the database.",
117
+ "type": [
118
+ "string",
119
+ "null"
120
+ ]
121
+ }
122
+ },
123
+ "additionalProperties": false
124
+ },
125
+ "FilesConfiguration": {
126
+ "description": "The configuration of the filesystem",
127
+ "type": "object",
128
+ "properties": {
129
+ "ignore": {
130
+ "description": "A list of Unix shell style patterns. Will ignore files/folders that will match these patterns.",
131
+ "anyOf": [
132
+ {
133
+ "$ref": "#/definitions/StringSet"
134
+ },
135
+ {
136
+ "type": "null"
137
+ }
138
+ ]
139
+ },
140
+ "include": {
141
+ "description": "A list of Unix shell style patterns. Will handle only those files/folders that will match these patterns.",
142
+ "anyOf": [
143
+ {
144
+ "$ref": "#/definitions/StringSet"
145
+ },
146
+ {
147
+ "type": "null"
148
+ }
149
+ ]
150
+ },
151
+ "maxSize": {
152
+ "description": "The maximum allowed size for source code files in bytes. Files above this limit will be ignored for performance reasons. Defaults to 1 MiB",
153
+ "type": [
154
+ "integer",
155
+ "null"
156
+ ],
157
+ "format": "uint64",
158
+ "minimum": 1.0
159
+ }
160
+ },
161
+ "additionalProperties": false
162
+ },
163
+ "LinterConfiguration": {
164
+ "type": "object",
165
+ "properties": {
166
+ "enabled": {
167
+ "description": "if `false`, it disables the feature and the linter won't be executed. `true` by default",
168
+ "type": [
169
+ "boolean",
170
+ "null"
171
+ ]
172
+ },
173
+ "ignore": {
174
+ "description": "A list of Unix shell style patterns. The formatter will ignore files/folders that will match these patterns.",
175
+ "anyOf": [
176
+ {
177
+ "$ref": "#/definitions/StringSet"
178
+ },
179
+ {
180
+ "type": "null"
181
+ }
182
+ ]
183
+ },
184
+ "include": {
185
+ "description": "A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns.",
186
+ "anyOf": [
187
+ {
188
+ "$ref": "#/definitions/StringSet"
189
+ },
190
+ {
191
+ "type": "null"
192
+ }
193
+ ]
194
+ },
195
+ "rules": {
196
+ "description": "List of rules",
197
+ "anyOf": [
198
+ {
199
+ "$ref": "#/definitions/Rules"
200
+ },
201
+ {
202
+ "type": "null"
203
+ }
204
+ ]
205
+ }
206
+ },
207
+ "additionalProperties": false
208
+ },
209
+ "MigrationsConfiguration": {
210
+ "description": "The configuration of the filesystem",
211
+ "type": "object",
212
+ "properties": {
213
+ "after": {
214
+ "description": "Ignore any migrations before this timestamp",
215
+ "type": [
216
+ "integer",
217
+ "null"
218
+ ],
219
+ "format": "uint64",
220
+ "minimum": 0.0
221
+ },
222
+ "migrationsDir": {
223
+ "description": "The directory where the migration files are stored",
224
+ "type": [
225
+ "string",
226
+ "null"
227
+ ]
228
+ }
229
+ },
230
+ "additionalProperties": false
231
+ },
232
+ "RuleConfiguration": {
233
+ "anyOf": [
234
+ {
235
+ "$ref": "#/definitions/RulePlainConfiguration"
236
+ },
237
+ {
238
+ "$ref": "#/definitions/RuleWithNoOptions"
239
+ }
240
+ ]
241
+ },
242
+ "RulePlainConfiguration": {
243
+ "type": "string",
244
+ "enum": [
245
+ "warn",
246
+ "error",
247
+ "info",
248
+ "off"
249
+ ]
250
+ },
251
+ "RuleWithNoOptions": {
252
+ "type": "object",
253
+ "required": [
254
+ "level"
255
+ ],
256
+ "properties": {
257
+ "level": {
258
+ "description": "The severity of the emitted diagnostics by the rule",
259
+ "allOf": [
260
+ {
261
+ "$ref": "#/definitions/RulePlainConfiguration"
262
+ }
263
+ ]
264
+ }
265
+ },
266
+ "additionalProperties": false
267
+ },
268
+ "Rules": {
269
+ "type": "object",
270
+ "properties": {
271
+ "all": {
272
+ "description": "It enables ALL rules. The rules that belong to `nursery` won't be enabled.",
273
+ "type": [
274
+ "boolean",
275
+ "null"
276
+ ]
277
+ },
278
+ "recommended": {
279
+ "description": "It enables the lint rules recommended by PgLT. `true` by default.",
280
+ "type": [
281
+ "boolean",
282
+ "null"
283
+ ]
284
+ },
285
+ "safety": {
286
+ "anyOf": [
287
+ {
288
+ "$ref": "#/definitions/Safety"
289
+ },
290
+ {
291
+ "type": "null"
292
+ }
293
+ ]
294
+ }
295
+ },
296
+ "additionalProperties": false
297
+ },
298
+ "Safety": {
299
+ "description": "A list of rules that belong to this group",
300
+ "type": "object",
301
+ "properties": {
302
+ "addingRequiredField": {
303
+ "description": "Adding a new column that is NOT NULL and has no default value to an existing table effectively makes it required.",
304
+ "anyOf": [
305
+ {
306
+ "$ref": "#/definitions/RuleConfiguration"
307
+ },
308
+ {
309
+ "type": "null"
310
+ }
311
+ ]
312
+ },
313
+ "all": {
314
+ "description": "It enables ALL rules for this group.",
315
+ "type": [
316
+ "boolean",
317
+ "null"
318
+ ]
319
+ },
320
+ "banDropColumn": {
321
+ "description": "Dropping a column may break existing clients.",
322
+ "anyOf": [
323
+ {
324
+ "$ref": "#/definitions/RuleConfiguration"
325
+ },
326
+ {
327
+ "type": "null"
328
+ }
329
+ ]
330
+ },
331
+ "banDropNotNull": {
332
+ "description": "Dropping a NOT NULL constraint may break existing clients.",
333
+ "anyOf": [
334
+ {
335
+ "$ref": "#/definitions/RuleConfiguration"
336
+ },
337
+ {
338
+ "type": "null"
339
+ }
340
+ ]
341
+ },
342
+ "banDropTable": {
343
+ "description": "Dropping a table may break existing clients.",
344
+ "anyOf": [
345
+ {
346
+ "$ref": "#/definitions/RuleConfiguration"
347
+ },
348
+ {
349
+ "type": "null"
350
+ }
351
+ ]
352
+ },
353
+ "recommended": {
354
+ "description": "It enables the recommended rules for this group",
355
+ "type": [
356
+ "boolean",
357
+ "null"
358
+ ]
359
+ }
360
+ },
361
+ "additionalProperties": false
362
+ },
363
+ "StringSet": {
364
+ "type": "array",
365
+ "items": {
366
+ "type": "string"
367
+ },
368
+ "uniqueItems": true
369
+ },
370
+ "VcsClientKind": {
371
+ "oneOf": [
372
+ {
373
+ "description": "Integration with the git client as VCS",
374
+ "type": "string",
375
+ "enum": [
376
+ "git"
377
+ ]
378
+ }
379
+ ]
380
+ },
381
+ "VcsConfiguration": {
382
+ "description": "Set of properties to integrate with a VCS software.",
383
+ "type": "object",
384
+ "properties": {
385
+ "clientKind": {
386
+ "description": "The kind of client.",
387
+ "anyOf": [
388
+ {
389
+ "$ref": "#/definitions/VcsClientKind"
390
+ },
391
+ {
392
+ "type": "null"
393
+ }
394
+ ]
395
+ },
396
+ "defaultBranch": {
397
+ "description": "The main branch of the project",
398
+ "type": [
399
+ "string",
400
+ "null"
401
+ ]
402
+ },
403
+ "enabled": {
404
+ "description": "Whether we should integrate itself with the VCS client",
405
+ "type": [
406
+ "boolean",
407
+ "null"
408
+ ]
409
+ },
410
+ "root": {
411
+ "description": "The folder where we should check for VCS files. By default, we will use the same folder where `postgrestools.jsonc` was found.\n\nIf we can't find the configuration, it will attempt to use the current working directory. If no current working directory can't be found, we won't use the VCS integration, and a diagnostic will be emitted",
412
+ "type": [
413
+ "string",
414
+ "null"
415
+ ]
416
+ },
417
+ "useIgnoreFile": {
418
+ "description": "Whether we should use the VCS ignore file. When [true], we will ignore the files specified in the ignore file.",
419
+ "type": [
420
+ "boolean",
421
+ "null"
422
+ ]
423
+ }
424
+ },
425
+ "additionalProperties": false
426
+ }
427
+ }
428
+ }