Skip to content

Commit 85454a3

Browse files
committed
chore: fixing more config
1 parent 74725d1 commit 85454a3

10 files changed

Lines changed: 25 additions & 11 deletions

File tree

packages/sdk/akamai-base/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"declarationMap": true, // enables importers to jump to source
1616
"resolveJsonModule": true,
1717
"stripInternal": true,
18-
"moduleResolution": "nodenext",
18+
"moduleResolution": "bundler",
1919
"types": ["jest", "node"],
2020
"skipLibCheck": true
2121
},

packages/sdk/cloudflare/example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"miniflare": "^2.5.0",
1616
"ts-jest": "^28.0.3",
1717
"tsup": "^8.5.1",
18-
"typescript": "5.1.6",
18+
"typescript": "6.0.3",
1919
"wrangler": "3.114.17"
2020
},
2121
"scripts": {

packages/sdk/react/examples/hello-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"devDependencies": {
1818
"@playwright/test": "^1.49.1",
1919
"@types/node": "^16.18.18",
20-
"@types/react": "^18.0.28",
21-
"@types/react-dom": "^18.0.11",
20+
"@types/react": "^19.0.0",
21+
"@types/react-dom": "^19.0.0",
2222
"@vitejs/plugin-react": "^6",
2323
"typescript": "^5.0.0",
2424
"vite": "^8.0.16"

packages/sdk/server-ai/examples/features/create-agent-graph/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"compilerOptions": {
33
"target": "ES2022",
44
"module": "ESNext",
5-
"moduleResolution": "node16",
5+
"moduleResolution": "bundler",
66
"esModuleInterop": true,
77
"allowSyntheticDefaultImports": true,
88
"strict": true,
9+
"rootDir": "src",
10+
"outDir": "dist",
911
"skipLibCheck": true,
1012
"forceConsistentCasingInFileNames": true
1113
},

packages/sdk/server-ai/examples/features/create-agent/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"compilerOptions": {
33
"target": "ES2022",
44
"module": "ESNext",
5-
"moduleResolution": "node16",
5+
"moduleResolution": "bundler",
66
"esModuleInterop": true,
77
"allowSyntheticDefaultImports": true,
88
"strict": true,
9+
"rootDir": "src",
10+
"outDir": "dist",
911
"skipLibCheck": true,
1012
"forceConsistentCasingInFileNames": true
1113
},

packages/sdk/server-ai/examples/features/create-judge/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"compilerOptions": {
33
"target": "ES2022",
44
"module": "ESNext",
5-
"moduleResolution": "node16",
5+
"moduleResolution": "bundler",
66
"esModuleInterop": true,
77
"allowSyntheticDefaultImports": true,
88
"strict": true,
9+
"rootDir": "src",
10+
"outDir": "dist",
911
"skipLibCheck": true,
1012
"forceConsistentCasingInFileNames": true
1113
},

packages/sdk/server-ai/examples/features/create-model/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"compilerOptions": {
33
"target": "ES2022",
44
"module": "ESNext",
5-
"moduleResolution": "node16",
5+
"moduleResolution": "bundler",
66
"esModuleInterop": true,
77
"allowSyntheticDefaultImports": true,
88
"strict": true,
9+
"rootDir": "src",
10+
"outDir": "dist",
911
"skipLibCheck": true,
1012
"forceConsistentCasingInFileNames": true
1113
},

packages/sdk/server-ai/examples/getting-started/bedrock/converse/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"compilerOptions": {
33
"target": "ES2022",
44
"module": "ESNext",
5-
"moduleResolution": "node16",
5+
"moduleResolution": "bundler",
66
"esModuleInterop": true,
77
"allowSyntheticDefaultImports": true,
88
"strict": true,
9+
"rootDir": "src",
10+
"outDir": "dist",
911
"skipLibCheck": true,
1012
"forceConsistentCasingInFileNames": true
1113
},

packages/sdk/server-ai/examples/getting-started/openai/chat-completions/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"compilerOptions": {
33
"target": "ES2022",
44
"module": "ESNext",
5-
"moduleResolution": "node16",
5+
"moduleResolution": "bundler",
66
"esModuleInterop": true,
77
"allowSyntheticDefaultImports": true,
88
"strict": true,
9+
"rootDir": "src",
10+
"outDir": "dist",
911
"skipLibCheck": true,
1012
"forceConsistentCasingInFileNames": true
1113
},

packages/sdk/server-ai/examples/getting-started/vercel-ai/generate-text/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"compilerOptions": {
33
"target": "ES2022",
44
"module": "ESNext",
5-
"moduleResolution": "node16",
5+
"moduleResolution": "bundler",
66
"esModuleInterop": true,
77
"allowSyntheticDefaultImports": true,
88
"strict": true,
9+
"rootDir": "src",
10+
"outDir": "dist",
911
"skipLibCheck": true,
1012
"forceConsistentCasingInFileNames": true
1113
},

0 commit comments

Comments
 (0)