Skip to content

Commit

Permalink
feat: move '@agentic/core' to a dep of all tool and sdk packages inst…
Browse files Browse the repository at this point in the history
…ead of peer deps for simpler DX
  • Loading branch information
transitive-bullshit committed Oct 21, 2024
1 parent fff3371 commit e5dd957
Show file tree
Hide file tree
Showing 42 changed files with 168 additions and 205 deletions.
1 change: 0 additions & 1 deletion examples/ai-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"dependencies": {
"@agentic/ai-sdk": "workspace:*",
"@agentic/core": "workspace:*",
"@agentic/weather": "workspace:*",
"@ai-sdk/openai": "^0.0.68",
"@browserbasehq/sdk": "^1.4.2",
Expand Down
1 change: 0 additions & 1 deletion examples/genkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"@agentic/genkit": "workspace:*",
"@agentic/stdlib": "workspace:*",
"@genkit-ai/ai": "^0.5.16",
Expand Down
1 change: 0 additions & 1 deletion examples/langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"@agentic/langchain": "workspace:*",
"@agentic/stdlib": "workspace:*",
"@langchain/core": "^0.3.13",
Expand Down
5 changes: 3 additions & 2 deletions packages/ai-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
"test:typecheck": "tsc --noEmit",
"test:unit": "vitest run"
},
"dependencies": {
"@agentic/core": "workspace:*"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"ai": "^3.1.30"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*",
"ai": "^3.1.30"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/bing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
4 changes: 1 addition & 3 deletions packages/calculator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,13 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"ky": "^1.5.0",
"@agentic/core": "workspace:*",
"mathjs": "^13.0.3"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/clearbit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0",
"p-throttle": "^6.1.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/dexa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0",
"p-throttle": "^6.1.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
5 changes: 3 additions & 2 deletions packages/dexter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
"test:typecheck": "tsc --noEmit",
"test:unit": "vitest run"
},
"dependencies": {
"@agentic/core": "workspace:*"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"@dexaai/dexter": "^2.1.0"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*",
"@dexaai/dexter": "^2.1.0"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/diffbot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0",
"p-throttle": "^6.1.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
5 changes: 3 additions & 2 deletions packages/e2b/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
"test:lint": "eslint .",
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"@e2b/code-interpreter": "^1.0.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*",
"@e2b/code-interpreter": "^1.0.2"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/exa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/firecrawl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0",
"p-throttle": "^6.1.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
5 changes: 3 additions & 2 deletions packages/genkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
"test:typecheck": "tsc --noEmit",
"test:unit": "vitest run"
},
"dependencies": {
"@agentic/core": "workspace:*"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"@genkit-ai/ai": "^0.5.16"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*",
"@genkit-ai/ai": "^0.5.16"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,15 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0",
"octokit": "^4.0.2",
"p-throttle": "^6.1.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/hacker-news/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/hunter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/jina/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0",
"p-throttle": "^6.1.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
5 changes: 3 additions & 2 deletions packages/langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
"test:typecheck": "tsc --noEmit",
"test:unit": "vitest run"
},
"dependencies": {
"@agentic/core": "workspace:*"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"@langchain/core": "^0.3.13"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*",
"@langchain/core": "^0.3.13"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/llamaindex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
"test:typecheck": "tsc --noEmit",
"test:unit": "vitest run"
},
"dependencies": {
"@agentic/core": "workspace:*"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"llamaindex": "^0.7.3"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*",
"llamaindex": "^0.7.3"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/midjourney/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/novu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/people-data-labs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0",
"p-throttle": "^6.1.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/perigon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0",
"p-throttle": "^6.1.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
3 changes: 1 addition & 2 deletions packages/polygon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",
"ky": "^1.5.0"
},
"peerDependencies": {
"@agentic/core": "workspace:*",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
Expand Down
Loading

0 comments on commit e5dd957

Please sign in to comment.