pgpm 0.2.17 → 0.2.18
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/LICENSE +1 -1
- package/README.md +33 -33
- package/package.json +12 -12
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2025 Dan Lynch <pyramation@gmail.com>
|
|
4
|
-
Copyright (c) 2025
|
|
4
|
+
Copyright (c) 2025 Constructive <developers@constructive.io>
|
|
5
5
|
Copyright (c) 2020-present, Interweb, Inc.
|
|
6
6
|
|
|
7
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
package/README.md
CHANGED
|
@@ -342,71 +342,71 @@ Most commands support these global options:
|
|
|
342
342
|
|
|
343
343
|
## Education and Tutorials
|
|
344
344
|
|
|
345
|
-
1. 🚀 [Quickstart: Getting Up and Running](https://
|
|
345
|
+
1. 🚀 [Quickstart: Getting Up and Running](https://constructive.io/learn/quickstart)
|
|
346
346
|
Get started with modular databases in minutes. Install prerequisites and deploy your first module.
|
|
347
347
|
|
|
348
|
-
2. 📦 [Modular PostgreSQL Development with Database Packages](https://
|
|
348
|
+
2. 📦 [Modular PostgreSQL Development with Database Packages](https://constructive.io/learn/modular-postgres)
|
|
349
349
|
Learn to organize PostgreSQL projects with pgpm workspaces and reusable database modules.
|
|
350
350
|
|
|
351
|
-
3. ✏️ [Authoring Database Changes](https://
|
|
351
|
+
3. ✏️ [Authoring Database Changes](https://constructive.io/learn/authoring-database-changes)
|
|
352
352
|
Master the workflow for adding, organizing, and managing database changes with pgpm.
|
|
353
353
|
|
|
354
|
-
4. 🧪 [End-to-End PostgreSQL Testing with TypeScript](https://
|
|
354
|
+
4. 🧪 [End-to-End PostgreSQL Testing with TypeScript](https://constructive.io/learn/e2e-postgres-testing)
|
|
355
355
|
Master end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation.
|
|
356
356
|
|
|
357
|
-
5. ⚡ [Supabase Testing](https://
|
|
357
|
+
5. ⚡ [Supabase Testing](https://constructive.io/learn/supabase)
|
|
358
358
|
Use TypeScript-first tools to test Supabase projects with realistic RLS, policies, and auth contexts.
|
|
359
359
|
|
|
360
|
-
6. 💧 [Drizzle ORM Testing](https://
|
|
360
|
+
6. 💧 [Drizzle ORM Testing](https://constructive.io/learn/drizzle-testing)
|
|
361
361
|
Run full-stack tests with Drizzle ORM, including database setup, teardown, and RLS enforcement.
|
|
362
362
|
|
|
363
|
-
7. 🔧 [Troubleshooting](https://
|
|
363
|
+
7. 🔧 [Troubleshooting](https://constructive.io/learn/troubleshooting)
|
|
364
364
|
Common issues and solutions for pgpm, PostgreSQL, and testing.
|
|
365
365
|
|
|
366
|
-
## Related
|
|
366
|
+
## Related Constructive Tooling
|
|
367
367
|
|
|
368
368
|
### 🧪 Testing
|
|
369
369
|
|
|
370
|
-
* [
|
|
371
|
-
* [
|
|
372
|
-
* [
|
|
373
|
-
* [
|
|
370
|
+
* [pgsql-test](https://github.com/constructive-io/constructive/tree/main/packages/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.
|
|
371
|
+
* [supabase-test](https://github.com/constructive-io/constructive/tree/main/packages/supabase-test): **🧪 Supabase-native test harness** preconfigured for the local Supabase stack—per-test rollbacks, JWT/role context helpers, and CI/GitHub Actions ready.
|
|
372
|
+
* [graphile-test](https://github.com/constructive-io/constructive/tree/main/packages/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
|
|
373
|
+
* [pg-query-context](https://github.com/constructive-io/constructive/tree/main/packages/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.
|
|
374
374
|
|
|
375
375
|
### 🧠 Parsing & AST
|
|
376
376
|
|
|
377
|
-
* [
|
|
378
|
-
* [
|
|
379
|
-
* [
|
|
380
|
-
* [@pgsql/enums](https://
|
|
381
|
-
* [@pgsql/types](https://
|
|
382
|
-
* [@pgsql/utils](https://
|
|
383
|
-
* [
|
|
377
|
+
* [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): **🔄 SQL conversion engine** that interprets and converts PostgreSQL syntax.
|
|
378
|
+
* [libpg-query-node](https://www.npmjs.com/package/libpg-query): **🌉 Node.js bindings** for `libpg_query`, converting SQL into parse trees.
|
|
379
|
+
* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): **📦 Protobuf parser** for parsing PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
|
|
380
|
+
* [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): **🏷️ TypeScript enums** for PostgreSQL AST for safe and ergonomic parsing logic.
|
|
381
|
+
* [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): **📝 Type definitions** for PostgreSQL AST nodes in TypeScript.
|
|
382
|
+
* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): **🛠️ AST utilities** for constructing and transforming PostgreSQL syntax trees.
|
|
383
|
+
* [pg-ast](https://www.npmjs.com/package/pg-ast): **🔍 Low-level AST tools** and transformations for Postgres query structures.
|
|
384
384
|
|
|
385
385
|
### 🚀 API & Dev Tools
|
|
386
386
|
|
|
387
|
-
* [launchql/server](https://github.com/
|
|
388
|
-
* [launchql/explorer](https://github.com/
|
|
387
|
+
* [launchql/server](https://github.com/constructive-io/constructive/tree/main/packages/server): **⚡ Express-based API server** powered by PostGraphile to expose a secure, scalable GraphQL API over your Postgres database.
|
|
388
|
+
* [launchql/explorer](https://github.com/constructive-io/constructive/tree/main/packages/explorer): **🔎 Visual API explorer** with GraphiQL for browsing across all databases and schemas—useful for debugging, documentation, and API prototyping.
|
|
389
389
|
|
|
390
390
|
### 🔁 Streaming & Uploads
|
|
391
391
|
|
|
392
|
-
* [launchql/s3-streamer](https://github.com/
|
|
393
|
-
* [launchql/etag-hash](https://github.com/
|
|
394
|
-
* [launchql/etag-stream](https://github.com/
|
|
395
|
-
* [launchql/uuid-hash](https://github.com/
|
|
396
|
-
* [launchql/uuid-stream](https://github.com/
|
|
397
|
-
* [launchql/upload-names](https://github.com/
|
|
392
|
+
* [launchql/s3-streamer](https://github.com/constructive-io/constructive/tree/main/packages/s3-streamer): **📤 Direct S3 streaming** for large files with support for metadata injection and content validation.
|
|
393
|
+
* [launchql/etag-hash](https://github.com/constructive-io/constructive/tree/main/packages/etag-hash): **🏷️ S3-compatible ETags** created by streaming and hashing file uploads in chunks.
|
|
394
|
+
* [launchql/etag-stream](https://github.com/constructive-io/constructive/tree/main/packages/etag-stream): **🔄 ETag computation** via Node stream transformer during upload or transfer.
|
|
395
|
+
* [launchql/uuid-hash](https://github.com/constructive-io/constructive/tree/main/packages/uuid-hash): **🆔 Deterministic UUIDs** generated from hashed content, great for deduplication and asset referencing.
|
|
396
|
+
* [launchql/uuid-stream](https://github.com/constructive-io/constructive/tree/main/packages/uuid-stream): **🌊 Streaming UUID generation** based on piped file content—ideal for upload pipelines.
|
|
397
|
+
* [launchql/upload-names](https://github.com/constructive-io/constructive/tree/main/packages/upload-names): **📂 Collision-resistant filenames** utility for structured and unique file names for uploads.
|
|
398
398
|
|
|
399
399
|
### 🧰 CLI & Codegen
|
|
400
400
|
|
|
401
|
-
* [pgpm](https://github.com/
|
|
402
|
-
* [@launchql/cli](https://github.com/
|
|
403
|
-
* [launchql/launchql-gen](https://github.com/
|
|
404
|
-
* [@launchql/query-builder](https://github.com/
|
|
405
|
-
* [@launchql/query](https://github.com/
|
|
401
|
+
* [pgpm](https://github.com/constructive-io/constructive/tree/main/packages/pgpm): **🖥️ PostgreSQL Package Manager** for modular Postgres development. Works with database workspaces, scaffolding, migrations, seeding, and installing database packages.
|
|
402
|
+
* [@launchql/cli](https://github.com/constructive-io/constructive/tree/main/packages/cli): **🖥️ Command-line toolkit** for managing LaunchQL projects—supports database scaffolding, migrations, seeding, code generation, and automation.
|
|
403
|
+
* [launchql/launchql-gen](https://github.com/constructive-io/constructive/tree/main/packages/launchql-gen): **✨ Auto-generated GraphQL** mutations and queries dynamically built from introspected schema data.
|
|
404
|
+
* [@launchql/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.
|
|
405
|
+
* [@launchql/query](https://github.com/constructive-io/constructive/tree/main/packages/query): **🧩 Fluent GraphQL builder** for PostGraphile schemas. ⚡ Schema-aware via introspection, 🧩 composable and ergonomic for building deeply nested queries.
|
|
406
406
|
|
|
407
407
|
## Credits
|
|
408
408
|
|
|
409
|
-
🛠 Built by
|
|
409
|
+
🛠 Built by Constructive — if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/constructive-io)
|
|
410
410
|
|
|
411
411
|
|
|
412
412
|
## Disclaimer
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pgpm",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.18",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "PostgreSQL Package Manager - Database migration and package management CLI",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"module": "esm/index.js",
|
|
8
8
|
"types": "index.d.ts",
|
|
9
|
-
"homepage": "https://github.com/
|
|
9
|
+
"homepage": "https://github.com/constructive-io/constructive",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/
|
|
20
|
+
"url": "https://github.com/constructive-io/constructive"
|
|
21
21
|
},
|
|
22
22
|
"bugs": {
|
|
23
|
-
"url": "https://github.com/
|
|
23
|
+
"url": "https://github.com/constructive-io/constructive/issues"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"clean": "makage clean",
|
|
@@ -44,16 +44,16 @@
|
|
|
44
44
|
"ts-node": "^10.9.2"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@launchql/core": "^2.17.
|
|
48
|
-
"@launchql/env": "^2.5.
|
|
49
|
-
"@launchql/logger": "^1.1.
|
|
50
|
-
"@launchql/templatizer": "^2.5.
|
|
51
|
-
"@launchql/types": "^2.8.
|
|
47
|
+
"@launchql/core": "^2.17.7",
|
|
48
|
+
"@launchql/env": "^2.5.7",
|
|
49
|
+
"@launchql/logger": "^1.1.13",
|
|
50
|
+
"@launchql/templatizer": "^2.5.8",
|
|
51
|
+
"@launchql/types": "^2.8.7",
|
|
52
52
|
"inquirerer": "^2.1.8",
|
|
53
53
|
"js-yaml": "^4.1.0",
|
|
54
54
|
"minimist": "^1.2.8",
|
|
55
|
-
"pg-cache": "^1.4.
|
|
56
|
-
"pg-env": "^1.1.
|
|
55
|
+
"pg-cache": "^1.4.9",
|
|
56
|
+
"pg-env": "^1.1.8",
|
|
57
57
|
"shelljs": "^0.10.0",
|
|
58
58
|
"yanse": "^0.1.5"
|
|
59
59
|
},
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"pg",
|
|
70
70
|
"pgsql"
|
|
71
71
|
],
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "5a0d7c7502624bd42a214f983fd7ab957e1fb3e3"
|
|
73
73
|
}
|