Skip to content

Commit

Permalink
fix: tsc not hoisting composite from shared config
Browse files Browse the repository at this point in the history
  • Loading branch information
sroussey committed Jan 18, 2025
1 parent ea5bd34 commit 089aa63
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/ai-provider/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
"exclude": ["**/*.test.ts", "dist"],
"compilerOptions": {
"composite": true,
"outDir": "./dist",
"baseUrl": "./src",
"rootDir": "./src",
Expand Down
1 change: 1 addition & 0 deletions packages/ai/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"files": ["src/index.ts", "src/worker.ts"],
"exclude": ["**/*.test.ts", "dist"],
"compilerOptions": {
"composite": true,
"outDir": "./dist",
"baseUrl": "./src",
"rootDir": "./src",
Expand Down
1 change: 1 addition & 0 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"files": ["src/index.ts"],
"exclude": ["**/*.test.ts", "dist"],
"compilerOptions": {
"composite": true,
"outDir": "./dist",
"baseUrl": "./src",
"rootDir": "./src",
Expand Down
4 changes: 3 additions & 1 deletion packages/storage/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
],
"exclude": ["**/*.test.ts", "dist"],
"compilerOptions": {
"composite": true,
"outDir": "./dist",
"baseUrl": "./src",
"rootDir": "./src",
"paths": {
"#/*": ["./src/*"],
"ellmers-core": ["../core/src"]
"ellmers-core": ["../core/src"],
"ellmers-ai": ["../ai/src"]
}
},
"references": [{ "path": "../core" }, { "path": "../ai" }]
Expand Down

0 comments on commit 089aa63

Please sign in to comment.