@saasicat/persistence-testing 0.27.0 → 1.0.0-rc.1

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
+ 3cc958a7edaf66125690f779f6808fab5dac7ffdf3a50fbf18f4342d7b4fe490
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
- import { PersistenceCapabilities, TransactionRunner, SubscriptionRepository, PlanVersionRepository, PromoCodeRepository, PromoCodeRedemptionRepository, MfaPort, AuditPort, AuditQueryPort, SubscriptionContractRepository, TenantSubscriptionWritePort, BundleRepository, PlanRepository, PromoSubscriptionLookup } from '@saasicat/types';
1
+ import { PersistenceCapabilities, TransactionRunner, SubscriptionRepository, PlanVersionRepository, PromoCodeRepository, PromoCodeRedemptionRepository, MfaPort, AuditPort, AuditQueryPort, SubscriptionContractRepository, TenantSubscriptionWritePort, BundleRepository, PlanRepository, PromoSubscriptionLookup } from '@saasicat/core';
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
@@ -1,8 +1,8 @@
1
- import { PersistenceCapabilities, TransactionRunner, SubscriptionRepository, PlanVersionRepository, PromoCodeRepository, PromoCodeRedemptionRepository, MfaPort, AuditPort, AuditQueryPort, SubscriptionContractRepository, TenantSubscriptionWritePort, BundleRepository, PlanRepository, PromoSubscriptionLookup } from '@saasicat/types';
1
+ import { PersistenceCapabilities, TransactionRunner, SubscriptionRepository, PlanVersionRepository, PromoCodeRepository, PromoCodeRedemptionRepository, MfaPort, AuditPort, AuditQueryPort, SubscriptionContractRepository, TenantSubscriptionWritePort, BundleRepository, PlanRepository, PromoSubscriptionLookup } from '@saasicat/core';
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.1",
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/core": "^1.0.0-rc.1"
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
  }