Skip to content

Commit 77b6c21

Browse files
[dev] [tofikwest] tofik/update-db-version (#1960)
* chore: update @trycompai/db package version to 1.3.20 * chore: update @trycompai/db package version to 1.3.20 --------- Co-authored-by: Tofik Hasanov <[email protected]>
1 parent 31da681 commit 77b6c21

File tree

7 files changed

+41
-18
lines changed

7 files changed

+41
-18
lines changed

apps/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@react-email/components": "^0.0.41",
2727
"@trigger.dev/build": "4.0.6",
2828
"@trigger.dev/sdk": "4.0.6",
29-
"@trycompai/db": "^1.3.20-canary.0",
29+
"@trycompai/db": "^1.3.20",
3030
"@trycompai/email": "workspace:*",
3131
"@upstash/vector": "^1.2.2",
3232
"adm-zip": "^0.5.16",

apps/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@tiptap/extension-table-row": "^3.4.4",
5757
"@trigger.dev/react-hooks": "4.0.6",
5858
"@trigger.dev/sdk": "4.0.6",
59-
"@trycompai/db": "^1.3.20-canary.0",
59+
"@trycompai/db": "^1.3.20",
6060
"@trycompai/email": "workspace:*",
6161
"@types/canvas-confetti": "^1.9.0",
6262
"@types/react-syntax-highlighter": "^15.5.13",

apps/app/src/trigger/tasks/onboarding/onboard-organization-helpers.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -850,11 +850,12 @@ export async function createVendors(
850850
triggeredCount: vendorsForRiskAssessment.length,
851851
});
852852

853-
await triggerVendorRiskAssessmentsViaApi({
854-
organizationId,
855-
vendors: vendorsForRiskAssessment,
856-
withResearch: true,
857-
});
853+
// TODO: Un-comment this when UI part is ready
854+
// await triggerVendorRiskAssessmentsViaApi({
855+
// organizationId,
856+
// vendors: vendorsForRiskAssessment,
857+
// withResearch: true,
858+
// });
858859

859860
// Trigger background research for each vendor (best-effort)
860861
await triggerVendorResearch(createdVendors);

apps/portal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@react-email/render": "^1.1.2",
1111
"@t3-oss/env-nextjs": "^0.13.8",
1212
"@trycompai/analytics": "workspace:*",
13-
"@trycompai/db": "1.3.19",
13+
"@trycompai/db": "1.3.20",
1414
"@trycompai/email": "workspace:*",
1515
"@trycompai/kv": "workspace:*",
1616
"@trycompai/ui": "workspace:*",

bun.lock

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
"@tiptap/extension-table-row": "^3.4.4",
210210
"@trigger.dev/react-hooks": "4.0.6",
211211
"@trigger.dev/sdk": "4.0.6",
212-
"@trycompai/db": "^1.3.20-canary.0",
212+
"@trycompai/db": "^1.3.20",
213213
"@trycompai/email": "workspace:*",
214214
"@types/canvas-confetti": "^1.9.0",
215215
"@types/react-syntax-highlighter": "^15.5.13",
@@ -317,7 +317,7 @@
317317
"@react-email/render": "^1.1.2",
318318
"@t3-oss/env-nextjs": "^0.13.8",
319319
"@trycompai/analytics": "workspace:*",
320-
"@trycompai/db": "1.3.19",
320+
"@trycompai/db": "1.3.20",
321321
"@trycompai/email": "workspace:*",
322322
"@trycompai/kv": "workspace:*",
323323
"@trycompai/ui": "workspace:*",
@@ -368,7 +368,7 @@
368368
},
369369
"packages/db": {
370370
"name": "@trycompai/db",
371-
"version": "1.3.20-canary.0",
371+
"version": "1.3.20",
372372
"bin": {
373373
"comp-prisma-postinstall": "./dist/postinstall.js",
374374
},
@@ -5835,8 +5835,6 @@
58355835

58365836
"@comp/app/resend": ["[email protected]", "", { "dependencies": { "@react-email/render": "1.1.2" } }, "sha512-R8eBOFQDO6dzRTDmaMEdpqrkmgSjPpVXt4nGfWsZdYOet0kqra0xgbvTES6HmCriZEXbmGk3e0DiGIaLFTFSHA=="],
58375837

5838-
"@comp/portal/@trycompai/db": ["@trycompai/[email protected]", "", { "dependencies": { "@prisma/client": "^6.13.0", "dotenv": "^16.4.5", "zod": "^4.1.12" }, "bin": { "comp-prisma-postinstall": "dist/postinstall.js" } }, "sha512-Q9Zjp6gcTq3DvIEEYDE5BDcbxySPRz9olAU6OPHdTen3DVT304T1fHe3V3c3jxUHpEGXC5AsE0cHSh5UZ5uoiw=="],
5839-
58405838
"@comp/portal/zod": ["[email protected]", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="],
58415839

58425840
"@cspotcode/source-map-support/@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ=="],
@@ -7047,10 +7045,6 @@
70477045

70487046
"@comp/app/resend/@react-email/render": ["@react-email/[email protected]", "", { "dependencies": { "html-to-text": "^9.0.5", "prettier": "^3.5.3", "react-promise-suspense": "^0.3.4" }, "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-RnRehYN3v9gVlNMehHPHhyp2RQo7+pSkHDtXPvg3s0GbzM9SQMW4Qrf8GRNvtpLC4gsI+Wt0VatNRUFqjvevbw=="],
70497047

7050-
"@comp/portal/@trycompai/db/dotenv": ["[email protected]", "", {}, "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow=="],
7051-
7052-
"@comp/portal/@trycompai/db/zod": ["[email protected]", "", {}, "sha512-0wZ1IRqGGhMP76gLqz8EyfBXKk0J2qo2+H3fi4mcUP/KtTocoX08nmIAHl1Z2kJIZbZee8KOpBCSNPRgauucjw=="],
7053-
70547048
"@dub/embed-react/vite/esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.20.2", "@esbuild/android-arm": "0.20.2", "@esbuild/android-arm64": "0.20.2", "@esbuild/android-x64": "0.20.2", "@esbuild/darwin-arm64": "0.20.2", "@esbuild/darwin-x64": "0.20.2", "@esbuild/freebsd-arm64": "0.20.2", "@esbuild/freebsd-x64": "0.20.2", "@esbuild/linux-arm": "0.20.2", "@esbuild/linux-arm64": "0.20.2", "@esbuild/linux-ia32": "0.20.2", "@esbuild/linux-loong64": "0.20.2", "@esbuild/linux-mips64el": "0.20.2", "@esbuild/linux-ppc64": "0.20.2", "@esbuild/linux-riscv64": "0.20.2", "@esbuild/linux-s390x": "0.20.2", "@esbuild/linux-x64": "0.20.2", "@esbuild/netbsd-x64": "0.20.2", "@esbuild/openbsd-x64": "0.20.2", "@esbuild/sunos-x64": "0.20.2", "@esbuild/win32-arm64": "0.20.2", "@esbuild/win32-ia32": "0.20.2", "@esbuild/win32-x64": "0.20.2" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g=="],
70557049

70567050
"@eslint/config-array/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg=="],

packages/db/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# @trycompai/db
2+
3+
Database package for Comp AI.
4+
5+
## What’s included
6+
7+
- Prisma schema: `dist/schema.prisma`
8+
- Built output: `dist/`
9+
- Postinstall helper binary: `comp-prisma-postinstall`
10+
11+
## Install
12+
13+
```bash
14+
bun add @trycompai/db
15+
```
16+
17+
## Usage
18+
19+
```ts
20+
import { db } from '@trycompai/db';
21+
```
22+
23+
## Notes
24+
25+
- Publishing runs a build automatically via `prepublishOnly`.
26+
- See `INTEGRATION_GUIDE.md` for integration details.
27+
28+

packages/db/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@trycompai/db",
33
"description": "Database package with Prisma client and schema for Comp AI",
4-
"version": "1.3.20-canary.0",
4+
"version": "1.3.20",
55
"dependencies": {
66
"@prisma/client": "^6.13.0",
77
"dotenv": "^16.4.5",

0 commit comments

Comments
 (0)