Skip to content

Commit

Permalink
fix: make the adapters depend on non-workspace Kurt version
Browse files Browse the repository at this point in the history
Prior to this commit, the adapter libraries were depending on a workspace version of Kurt. This is
unfit for publishing, because downstream users of the libraries won't have Kurt in their workspace.

We need to depend on fixed versions of Kurt and then use pnpm overrides to make it use the workspace
version of Kurt in local development.

This commit does that fix.
  • Loading branch information
jemc committed May 10, 2024
1 parent 5014504 commit 8f783b9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"pnpm": {
"overrides": {
"@formula-monks/kurt": "workspace:^"
}
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@commitlint/cli": "^19.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/kurt-open-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"extends": "semantic-release-monorepo"
},
"dependencies": {
"@formula-monks/kurt": "workspace:^",
"@formula-monks/kurt": "^1.0.0",
"openai": "^4.40.0",
"zod": "^3.23.5",
"zod-to-json-schema": "^3.23.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/kurt-vertex-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"extends": "semantic-release-monorepo"
},
"dependencies": {
"@formula-monks/kurt": "workspace:^",
"@formula-monks/kurt": "^1.0.0",
"@google-cloud/vertexai": "1.1.0",
"zod": "^3.23.5",
"zod-to-json-schema": "^3.23.0"
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8f783b9

Please sign in to comment.