@saasicat/persistence-testing 0.27.0 → 1.0.0-rc.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/README.md CHANGED
@@ -59,7 +59,7 @@ persistenceAdapterContract({
59
59
  Run the file with `node --test` and a disposable database. The kit tests
60
60
  **resolved port instances** (DI-free); seeding is adapter-owned because
61
61
  fixture writes are schema-specific. See
62
- `@saasicat/adapter-prisma/tests-integration/` for the reference harness.
62
+ `@saasicat/adapter-prisma/tests/integration/` for the reference harness.
63
63
 
64
64
  In-memory fakes must not be used to "verify" an adapter — they cannot
65
65
  emulate lock semantics (declare `pessimisticLocking: false` and the lock
@@ -0,0 +1 @@
1
+ 8b528b27b9690c97579ec77dccdae07461dbbcefe9f18bf4770e056835b0e75b
package/dist/index.d.cts CHANGED
@@ -2,7 +2,7 @@ import { PersistenceCapabilities, TransactionRunner, SubscriptionRepository, Pla
2
2
 
3
3
  /**
4
4
  * Port instances under test. Required members define the minimum an adapter
5
- * must ship to call itself a SaaSicat persistence adapter; optional members
5
+ * must ship to call itself a SaaSiCat persistence adapter; optional members
6
6
  * activate additional scenario groups (absent → the group reports as
7
7
  * skipped, never silently).
8
8
  */
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { PersistenceCapabilities, TransactionRunner, SubscriptionRepository, Pla
2
2
 
3
3
  /**
4
4
  * Port instances under test. Required members define the minimum an adapter
5
- * must ship to call itself a SaaSicat persistence adapter; optional members
5
+ * must ship to call itself a SaaSiCat persistence adapter; optional members
6
6
  * activate additional scenario groups (absent → the group reports as
7
7
  * skipped, never silently).
8
8
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasicat/persistence-testing",
3
- "version": "0.27.0",
4
- "description": "Contract test kit for SaaSicat persistence adapters: one node:test suite that every adapter (Prisma, Drizzle, ...) must pass against a real database — locks, transaction rollback, atomic promo claims, tenant isolation, audit/MFA roundtrips.",
3
+ "version": "1.0.0-rc.0",
4
+ "description": "Contract test kit for SaaSiCat persistence adapters: one node:test suite that every adapter (Prisma, Drizzle, ...) must pass against a real database — locks, transaction rollback, atomic promo claims, tenant isolation, audit/MFA roundtrips.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@saasicat/types": "^0.27.0"
25
+ "@saasicat/types": "^1.0.0-rc.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^25.6.0",
@@ -35,7 +35,7 @@
35
35
  "repository": {
36
36
  "type": "git",
37
37
  "url": "https://github.com/uelker70/saasicat.git",
38
- "directory": "packages/saas-platform-persistence-testing"
38
+ "directory": "packages/persistence-testing"
39
39
  },
40
40
  "bugs": {
41
41
  "url": "https://github.com/uelker70/saasicat/issues"
@@ -46,6 +46,6 @@
46
46
  "scripts": {
47
47
  "build": "node ../../scripts/build-and-prune.mjs tsup",
48
48
  "pretest": "pnpm run build",
49
- "test": "node --test tests/**/*.test.js"
49
+ "test": "node --test 'tests/*.test.js'"
50
50
  }
51
51
  }