drizzle-orm-test 0.2.2 โ†’ 0.2.4

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 +14 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -16,12 +16,14 @@
16
16
  </a>
17
17
  </p>
18
18
 
19
- Drop-in replacement for [`pgsql-test`](https://www.npmjs.com/package/pgsql-test) that enables Drizzle ORM to work seamlessly with context management and RLS (Row-Level Security) testing.
19
+ `drizzle-orm-test` is a Drizzle ORM-optimized version of [`pgsql-test`](https://www.npmjs.com/package/pgsql-test) designed to work work seamlessly with context management and RLS (Row-Level Security) testing. It provides instant, isolated PostgreSQL databases for testing with automatic transaction rollbacks, context switching, and clean seeding โ€” configured for local-first development environment. It's also great for GitHub Actions and CI/CD testing.
20
+
21
+ Explore a full working example (including GitHub Actions CI/CD) in the [`drizzle-test-suite`](https://github.com/launchql/drizzle-test-suite) repo.
20
22
 
21
23
  ## Install
22
24
 
23
25
  ```bash
24
- npm install drizzle-orm-test drizzle-orm pg
26
+ npm install drizzle-orm-test
25
27
  ```
26
28
 
27
29
  ## Features
@@ -34,6 +36,11 @@ npm install drizzle-orm-test drizzle-orm pg
34
36
  * ๐Ÿงช **Compatible with any async runner** โ€” works with `Jest`, `Mocha`, etc.
35
37
  * ๐Ÿงน **Auto teardown** โ€” no residue, no reboots, just clean exits
36
38
 
39
+ ### Tutorials
40
+
41
+ ๐Ÿ“š **[Learn how to test with Drizzle ORM โ†’](https://launchql.com/learn/drizzle-testing)**
42
+
43
+
37
44
  ## Usage
38
45
 
39
46
  ### Basic Example
@@ -396,9 +403,12 @@ Master the workflow for adding, organizing, and managing database changes with p
396
403
  Master end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation.
397
404
 
398
405
  5. โšก [Supabase Testing](https://launchql.com/learn/supabase)
399
- TypeScript-native testing for Supabase with modern workflows.
406
+ Use TypeScript-first tools to test Supabase projects with realistic RLS, policies, and auth contexts.
407
+
408
+ 6. ๐Ÿ’ง [Drizzle ORM Testing](https://launchql.com/learn/drizzle-testing)
409
+ Run full-stack tests with Drizzle ORM, including database setup, teardown, and RLS enforcement.
400
410
 
401
- 6. ๐Ÿ”ง [Troubleshooting](https://launchql.com/learn/troubleshooting)
411
+ 7. ๐Ÿ”ง [Troubleshooting](https://launchql.com/learn/troubleshooting)
402
412
  Common issues and solutions for pgpm, PostgreSQL, and testing.
403
413
 
404
414
  ## Related LaunchQL Tooling
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-orm-test",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "author": "Dan Lynch <pyramation@gmail.com>",
5
5
  "description": "Drop-in replacement for pgsql-test that enables Drizzle ORM to work seamlessly with context management and RLS testing",
6
6
  "main": "index.js",
@@ -50,11 +50,11 @@
50
50
  "drizzle-orm": "^0.44.7"
51
51
  },
52
52
  "dependencies": {
53
- "pgsql-test": "^2.14.4"
53
+ "pgsql-test": "^2.14.6"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "drizzle-orm": ">=0.30.0",
57
57
  "pg": "^8.16.0"
58
58
  },
59
- "gitHead": "3806a7a15b0b32d4248c2fc1337088e6ae7b6c56"
59
+ "gitHead": "4850ef84ce134d1bb43dc9132619a59257bd1157"
60
60
  }