pgsql-test 2.11.8 → 2.11.10

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.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -18,6 +18,8 @@
18
18
 
19
19
  `pgsql-test` gives you instant, isolated PostgreSQL databases for each test — with automatic transaction rollbacks, context switching, and clean seeding. Forget flaky tests and brittle environments. Write real SQL. Get real coverage. Stay fast.
20
20
 
21
+ If you're writing tests for Supabase, check out [`supabase-test`](https://www.npmjs.com/package/supabase-test) for Supabase-optimized defaults.
22
+
21
23
  ## Install
22
24
 
23
25
  ```sh
@@ -515,6 +517,7 @@ const { conn, db, teardown } = await getConnections({
515
517
  ### 🧪 Testing
516
518
 
517
519
  * [launchql/pgsql-test](https://github.com/launchql/launchql/tree/main/packages/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.
520
+ * [launchql/supabase-test](https://github.com/launchql/launchql/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.
518
521
  * [launchql/graphile-test](https://github.com/launchql/launchql/tree/main/packages/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
519
522
  * [launchql/pg-query-context](https://github.com/launchql/launchql/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.
520
523
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgsql-test",
3
- "version": "2.11.8",
3
+ "version": "2.11.10",
4
4
  "author": "Dan Lynch <pyramation@gmail.com>",
5
5
  "description": "pgsql-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution",
6
6
  "main": "index.js",
@@ -60,14 +60,14 @@
60
60
  "@types/pg-copy-streams": "^1.2.5"
61
61
  },
62
62
  "dependencies": {
63
- "@launchql/core": "^2.11.6",
64
- "@launchql/env": "^2.4.2",
65
- "@launchql/server-utils": "^2.4.2",
66
- "@launchql/types": "^2.6.1",
63
+ "@launchql/core": "^2.11.7",
64
+ "@launchql/env": "^2.4.3",
65
+ "@launchql/server-utils": "^2.4.3",
66
+ "@launchql/types": "^2.6.2",
67
67
  "pg": "^8.16.0",
68
- "pg-cache": "^1.3.3",
68
+ "pg-cache": "^1.3.4",
69
69
  "pg-copy-streams": "^6.0.6",
70
70
  "pg-env": "^1.1.0"
71
71
  },
72
- "gitHead": "1323cb5f03aefde0f6e3b070ec90082fb04dbbd4"
72
+ "gitHead": "870ab4d6b6b501ac6bdda660d44a0581e2145ad4"
73
73
  }