Skip to content

Commit 658cffb

Browse files
committed
fix
1 parent b158406 commit 658cffb

File tree

5 files changed

+34
-4
lines changed

5 files changed

+34
-4
lines changed

examples/ai-core/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
{
4141
"path": "../../packages/cohere"
4242
},
43+
{
44+
"path": "../../packages/deepgram"
45+
},
4346
{
4447
"path": "../../packages/deepinfra"
4548
},

packages/deepgram/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"CHANGELOG.md"
1212
],
1313
"scripts": {
14-
"build": "tsup",
15-
"build:watch": "tsup --watch",
14+
"build": "tsup --tsconfig tsconfig.build.json",
15+
"build:watch": "tsup --tsconfig tsconfig.build.json --watch",
1616
"clean": "rm -rf dist",
1717
"lint": "eslint \"./**/*.ts*\"",
1818
"type-check": "tsc --noEmit",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
// Disable project configuration for tsup builds
5+
"composite": false
6+
}
7+
}

packages/deepgram/tsconfig.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
{
22
"extends": "./node_modules/@vercel/ai-tsconfig/ts-library.json",
3-
"include": ["."],
4-
"exclude": ["*/dist", "dist", "build", "node_modules"]
3+
"compilerOptions": {
4+
"composite": true,
5+
"rootDir": "src",
6+
"outDir": "dist"
7+
},
8+
"exclude": [
9+
"dist",
10+
"build",
11+
"node_modules",
12+
"tsup.config.ts"
13+
],
14+
"references": [
15+
{
16+
"path": "../provider"
17+
},
18+
{
19+
"path": "../provider-utils"
20+
}
21+
]
522
}

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@
8484
{
8585
"path": "packages/vue"
8686
},
87+
{
88+
"path": "packages/deepgram"
89+
},
8790
{
8891
"path": "packages/xai"
8992
}

0 commit comments

Comments
 (0)