pg-codegen 2.15.5 → 2.15.7
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/README.md +17 -17
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -126,10 +126,10 @@ Common issues and solutions for pgpm, PostgreSQL, and testing.
|
|
|
126
126
|
|
|
127
127
|
### 🧪 Testing
|
|
128
128
|
|
|
129
|
-
* [pgsql-test](https://github.com/constructive-io/constructive/tree/main/
|
|
130
|
-
* [supabase-test](https://github.com/constructive-io/constructive/tree/main/
|
|
131
|
-
* [graphile-test](https://github.com/constructive-io/constructive/tree/main/
|
|
132
|
-
* [pg-query-context](https://github.com/constructive-io/constructive/tree/main/
|
|
129
|
+
* [pgsql-test](https://github.com/constructive-io/constructive/tree/main/postgres/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.
|
|
130
|
+
* [supabase-test](https://github.com/constructive-io/constructive/tree/main/postgres/supabase-test): **🧪 Supabase-native test harness** preconfigured for the local Supabase stack—per-test rollbacks, JWT/role context helpers, and CI/GitHub Actions ready.
|
|
131
|
+
* [graphile-test](https://github.com/constructive-io/constructive/tree/main/graphile/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
|
|
132
|
+
* [pg-query-context](https://github.com/constructive-io/constructive/tree/main/postgres/pg-query-context): **🔒 Session context injection** to add session-local context (e.g., `SET LOCAL`) into queries—ideal for setting `role`, `jwt.claims`, and other session settings.
|
|
133
133
|
|
|
134
134
|
### 🧠 Parsing & AST
|
|
135
135
|
|
|
@@ -143,25 +143,25 @@ Common issues and solutions for pgpm, PostgreSQL, and testing.
|
|
|
143
143
|
|
|
144
144
|
### 🚀 API & Dev Tools
|
|
145
145
|
|
|
146
|
-
* [
|
|
147
|
-
* [
|
|
146
|
+
* [@constructive-io/graphql-server](https://github.com/constructive-io/constructive/tree/main/graphql/server): **⚡ Express-based API server** powered by PostGraphile to expose a secure, scalable GraphQL API over your Postgres database.
|
|
147
|
+
* [@constructive-io/graphql-explorer](https://github.com/constructive-io/constructive/tree/main/graphql/explorer): **🔎 Visual API explorer** with GraphiQL for browsing across all databases and schemas—useful for debugging, documentation, and API prototyping.
|
|
148
148
|
|
|
149
149
|
### 🔁 Streaming & Uploads
|
|
150
150
|
|
|
151
|
-
* [etag-hash](https://github.com/constructive-io/constructive/tree/main/
|
|
152
|
-
* [etag-stream](https://github.com/constructive-io/constructive/tree/main/
|
|
153
|
-
* [uuid-hash](https://github.com/constructive-io/constructive/tree/main/
|
|
154
|
-
* [uuid-stream](https://github.com/constructive-io/constructive/tree/main/
|
|
155
|
-
* [
|
|
156
|
-
* [
|
|
151
|
+
* [etag-hash](https://github.com/constructive-io/constructive/tree/main/streaming/etag-hash): **🏷️ S3-compatible ETags** created by streaming and hashing file uploads in chunks.
|
|
152
|
+
* [etag-stream](https://github.com/constructive-io/constructive/tree/main/streaming/etag-stream): **🔄 ETag computation** via Node stream transformer during upload or transfer.
|
|
153
|
+
* [uuid-hash](https://github.com/constructive-io/constructive/tree/main/streaming/uuid-hash): **🆔 Deterministic UUIDs** generated from hashed content, great for deduplication and asset referencing.
|
|
154
|
+
* [uuid-stream](https://github.com/constructive-io/constructive/tree/main/streaming/uuid-stream): **🌊 Streaming UUID generation** based on piped file content—ideal for upload pipelines.
|
|
155
|
+
* [@constructive-io/s3-streamer](https://github.com/constructive-io/constructive/tree/main/streaming/s3-streamer): **📤 Direct S3 streaming** for large files with support for metadata injection and content validation.
|
|
156
|
+
* [@constructive-io/upload-names](https://github.com/constructive-io/constructive/tree/main/streaming/upload-names): **📂 Collision-resistant filenames** utility for structured and unique file names for uploads.
|
|
157
157
|
|
|
158
158
|
### 🧰 CLI & Codegen
|
|
159
159
|
|
|
160
|
-
* [pgpm](https://github.com/constructive-io/constructive/tree/main/
|
|
161
|
-
* [@
|
|
162
|
-
* [
|
|
163
|
-
* [@
|
|
164
|
-
* [@
|
|
160
|
+
* [pgpm](https://github.com/constructive-io/constructive/tree/main/pgpm/pgpm): **🖥️ PostgreSQL Package Manager** for modular Postgres development. Works with database workspaces, scaffolding, migrations, seeding, and installing database packages.
|
|
161
|
+
* [@constructive-io/cli](https://github.com/constructive-io/constructive/tree/main/packages/cli): **🖥️ Command-line toolkit** for managing Constructive projects—supports database scaffolding, migrations, seeding, code generation, and automation.
|
|
162
|
+
* [@constructive-io/graphql-codegen](https://github.com/constructive-io/constructive/tree/main/graphql/codegen): **✨ GraphQL code generation** (types, operations, SDK) from schema/endpoint introspection.
|
|
163
|
+
* [@constructive-io/query-builder](https://github.com/constructive-io/constructive/tree/main/packages/query-builder): **🏗️ SQL constructor** providing a robust TypeScript-based query builder for dynamic generation of `SELECT`, `INSERT`, `UPDATE`, `DELETE`, and stored procedure calls—supports advanced SQL features like `JOIN`, `GROUP BY`, and schema-qualified queries.
|
|
164
|
+
* [@constructive-io/graphql-query](https://github.com/constructive-io/constructive/tree/main/graphql/query): **🧩 Fluent GraphQL builder** for PostGraphile schemas. ⚡ Schema-aware via introspection, 🧩 composable and ergonomic for building deeply nested queries.
|
|
165
165
|
|
|
166
166
|
## Credits
|
|
167
167
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pg-codegen",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.7",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PostgreSQL Codegen",
|
|
6
6
|
"main": "index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"build:dev": "makage build --dev",
|
|
28
28
|
"dev": "ts-node ./src/index.ts",
|
|
29
29
|
"lint": "eslint . --fix",
|
|
30
|
-
"test": "jest",
|
|
30
|
+
"test": "jest --passWithNoTests",
|
|
31
31
|
"test:watch": "jest --watch"
|
|
32
32
|
},
|
|
33
33
|
"keywords": [
|
|
@@ -35,24 +35,24 @@
|
|
|
35
35
|
"PostgreSQL",
|
|
36
36
|
"typescript",
|
|
37
37
|
"pg",
|
|
38
|
-
"
|
|
38
|
+
"constructive",
|
|
39
39
|
"generator"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@babel/generator": "^7.26.3",
|
|
43
43
|
"@babel/types": "^7.26.3",
|
|
44
|
-
"@pgpmjs/logger": "^1.3.
|
|
45
|
-
"@pgpmjs/server-utils": "^2.8.
|
|
46
|
-
"@pgpmjs/types": "^2.12.
|
|
44
|
+
"@pgpmjs/logger": "^1.3.5",
|
|
45
|
+
"@pgpmjs/server-utils": "^2.8.7",
|
|
46
|
+
"@pgpmjs/types": "^2.12.5",
|
|
47
47
|
"pg": "^8.16.3",
|
|
48
|
-
"pg-cache": "^1.6.
|
|
49
|
-
"pg-env": "^1.2.
|
|
50
|
-
"pgsql-test": "^2.17.
|
|
48
|
+
"pg-cache": "^1.6.7",
|
|
49
|
+
"pg-env": "^1.2.4",
|
|
50
|
+
"pgsql-test": "^2.17.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/babel__generator": "^7.6.8",
|
|
54
54
|
"@types/pg": "^8.16.0",
|
|
55
|
-
"makage": "^0.1.
|
|
55
|
+
"makage": "^0.1.9"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "e45ec95404e48d0c0542da882a3baea0cd6de1c7"
|
|
58
58
|
}
|