Skip to content

Commit

Permalink
🌍
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Aug 4, 2024
1 parent a5e8fbe commit 336c758
Show file tree
Hide file tree
Showing 13 changed files with 132 additions and 20 deletions.
3 changes: 3 additions & 0 deletions examples/ai-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@
"dotenv": "^16.4.5",
"openai": "^4.49.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@agentic/tsconfig": "workspace:*"
}
}
5 changes: 3 additions & 2 deletions examples/ai-sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.json",
"include": ["bin"]
"extends": "@agentic/tsconfig/base.json",
"include": ["bin"],
"exclude": ["node_modules", "dist"]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"prettier": "^3.3.3",
"tsup": "^8.2.3",
"tsx": "^4.16.2",
"turbo": "^2.0.11",
"typescript": "^5.5.4",
"vitest": "2.0.4",
"zod": "^3.23.3"
Expand Down
3 changes: 2 additions & 1 deletion packages/ai-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"ai": "^3.1.30"
},
"devDependencies": {
"@agentic/core": "workspace:*"
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/ai-sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.json",
"include": ["src"]
"extends": "@agentic/tsconfig/base.json",
"include": ["src"],
"exclude": ["node_modules", "dist"]
}
3 changes: 3 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
"peerDependencies": {
"zod": "^3.23.3"
},
"devDependencies": {
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
"access": "public"
}
Expand Down
5 changes: 3 additions & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.json",
"include": ["src"]
"extends": "@agentic/tsconfig/base.json",
"include": ["src"],
"exclude": ["node_modules", "dist"]
}
17 changes: 17 additions & 0 deletions packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "@agentic/tsconfig",
"private": true,
"exports": {
".": {
"import": "./tsconfig.base.json",
"default": "./tsconfig.base.json"
},
"./base.json": {
"import": "./tsconfig.base.json",
"default": "./tsconfig.base.json"
}
},
"files": [
"tsconfig.base.json"
]
}
1 change: 1 addition & 0 deletions tsconfig.json → packages/tsconfig/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"lib": ["esnext", "dom.iterable"],
"module": "esnext",
Expand Down
3 changes: 2 additions & 1 deletion packages/weather/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"zod": "^3.23.3"
},
"devDependencies": {
"@agentic/core": "workspace:*"
"@agentic/core": "workspace:*",
"@agentic/tsconfig": "workspace:*"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/weather/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.json",
"include": ["src"]
"extends": "@agentic/tsconfig/base.json",
"include": ["src"],
"exclude": ["node_modules", "dist"]
}
98 changes: 89 additions & 9 deletions pnpm-lock.yaml

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

3 changes: 2 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
packages:
- 'packages/tsconfig'
- 'packages/core'
- 'packages/weather'
- 'packages/ai-sdk'
- 'examples/ai-sdk'
# - 'examples'
# - 'examples/*'
# - 'packages/*'

0 comments on commit 336c758

Please sign in to comment.