Skip to content

Commit

Permalink
fix: small config fixes for cross package
Browse files Browse the repository at this point in the history
  • Loading branch information
sroussey committed Jan 19, 2025
1 parent 089aa63 commit e3b23c2
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
6 changes: 4 additions & 2 deletions examples/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"ellmers-ai-provider": ["../../packages/ai-provider/src"],
"ellmers-storage": ["../../packages/storage/src"],
"ellmers-task": ["../../packages/task/src"],
"ellmers-test": ["../../packages/test/src"]
"ellmers-test": ["../../packages/test/src"],
"ellmers-ai": ["../../packages/ai/src"]
}
},
"include": ["src"],
Expand All @@ -33,6 +34,7 @@
{ "path": "../../packages/task" },
{ "path": "../../packages/ai-provider" },
{ "path": "../../packages/storage" },
{ "path": "../../packages/test" }
{ "path": "../../packages/test" },
{ "path": "../../packages/ai" }
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
TextStreamer,
} from "@huggingface/transformers";
import { ElVector } from "ellmers-core";

import { getGlobalModelRepository } from "ellmers-ai";
import type {
JobQueueLlmTask,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ import {
import { ensureIndexedDbTable } from "./IndexedDbTable";
import { makeFingerprint } from "../../../util/Misc";

// IndexedDbKVRepository is a key-value store that uses IndexedDB as the backend for
// simple browser-based examples with no server-side component. It does not support di

/**
* A key-value repository implementation using IndexedDB for browser-based storage.
* This class provides a simple persistent storage solution for web applications
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import {
} from "ellmers-core";
import { makeFingerprint } from "../../../util/Misc";

// InMemoryKVRepository is a simple in-memory key-value store that can be used for testing or as a cache

/**
* A generic in-memory key-value repository implementation.
* Provides a simple, non-persistent storage solution suitable for testing and caching scenarios.
Expand Down
1 change: 1 addition & 0 deletions packages/test/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
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true,
Expand Down

0 comments on commit e3b23c2

Please sign in to comment.