@cerebruminc/yates 3.7.2-beta.dangerous.c4a2884 → 3.7.2-beta.dangerous.fa87362

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/CHANGELOG.md +20 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.8.1](https://github.com/cerebruminc/yates/compare/v3.8.0...v3.8.1) (2025-11-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * update prepublishOnly script to include generate step before build ([4f95180](https://github.com/cerebruminc/yates/commit/4f951800f756d26949bc646ab8b45c5b114f88df))
9
+
10
+ ## [3.8.0](https://github.com/cerebruminc/yates/compare/v3.7.2...v3.8.0) (2025-11-15)
11
+
12
+
13
+ ### Features
14
+
15
+ * add test for multiple Yates clients operating in the same DB ([b35e2ed](https://github.com/cerebruminc/yates/commit/b35e2ed154daa05c971e7b1ff17fa9b6807ac612))
16
+ * refactor internal to use a class with inner state for tracking database scope ([0d00e29](https://github.com/cerebruminc/yates/commit/0d00e2960ef444df435fd884b0b62511b965dc54))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * scope postgres roles to database ([239f804](https://github.com/cerebruminc/yates/commit/239f804de4f3b46c80c0d4596339f75d5e0d5dc1))
22
+
3
23
  ## [3.7.2](https://github.com/cerebruminc/yates/compare/v3.7.1...v3.7.2) (2025-11-14)
4
24
 
5
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerebruminc/yates",
3
- "version": "3.7.2-beta.dangerous.c4a2884",
3
+ "version": "3.7.2-beta.dangerous.fa87362",
4
4
  "description": "Role based access control for Prisma Apps",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -9,7 +9,7 @@
9
9
  "images"
10
10
  ],
11
11
  "scripts": {
12
- "generate": "prisma generate",
12
+ "generate": "prisma generate --schema prisma/primary/schema.prisma && prisma generate --schema prisma/secondary/schema.prisma",
13
13
  "build": "rimraf dist && tsc -p tsconfig.build.json",
14
14
  "test": "npm run lint",
15
15
  "lint": "biome check .",
@@ -17,8 +17,8 @@
17
17
  "test:types": "tsc --noEmit",
18
18
  "test:integration": "jest --runInBand test/integration",
19
19
  "test:compose:integration": "docker compose -f docker-compose.yml --profile with-sut up db sut --exit-code-from sut",
20
- "setup": "prisma generate -- schema prisma/schema.prisma && prisma migrate dev --schema prisma/schema.prisma && prisma generate --schema prisma/schema2.prisma && prisma migrate dev --schema prisma/schema2.prisma",
21
- "prepublishOnly": "npm run build"
20
+ "setup": "prisma generate --schema prisma/primary/schema.prisma && prisma migrate dev --schema prisma/primary/schema.prisma && prisma generate --schema prisma/secondary/schema.prisma && prisma migrate dev --schema prisma/secondary/schema.prisma",
21
+ "prepublishOnly": "npm run generate && npm run build"
22
22
  },
23
23
  "author": "Cerebrum <hello@cerebrum.com> (https://cerebrum.com)",
24
24
  "license": "MIT",