Skip to content

Commit

Permalink
feat: use custom conditions for live monorepo types
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode committed Dec 23, 2024
1 parent 2a5cc4d commit 5a9e692
Show file tree
Hide file tree
Showing 43 changed files with 631 additions and 42 deletions.
16 changes: 15 additions & 1 deletion packages/adapter-postgres/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/adapter-postgres",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@types/pg": "8.11.10",
Expand Down
16 changes: 15 additions & 1 deletion packages/adapter-redis/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/adapter-redis",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"ioredis": "5.4.2"
Expand Down
16 changes: 15 additions & 1 deletion packages/adapter-sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/adapter-sqlite",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@types/better-sqlite3": "7.6.12",
Expand Down
16 changes: 15 additions & 1 deletion packages/adapter-sqljs/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/adapter-sqljs",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@types/sql.js": "1.4.9",
Expand Down
16 changes: 15 additions & 1 deletion packages/adapter-supabase/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/adapter-supabase",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@supabase/supabase-js": "2.46.2"
Expand Down
16 changes: 15 additions & 1 deletion packages/client-auto/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/client-auto",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@types/body-parser": "1.19.5",
Expand Down
14 changes: 14 additions & 0 deletions packages/client-direct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@
"name": "@elizaos/client-direct",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"module": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@elizaos/plugin-image-generation": "workspace:*",
Expand Down
16 changes: 15 additions & 1 deletion packages/client-discord/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/client-discord",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@elizaos/plugin-node": "workspace:*",
Expand Down
16 changes: 15 additions & 1 deletion packages/client-farcaster/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/client-farcaster",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@neynar/nodejs-sdk": "^2.0.3"
Expand Down
16 changes: 15 additions & 1 deletion packages/client-github/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/client-github",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@octokit/rest": "20.1.1",
Expand Down
16 changes: 15 additions & 1 deletion packages/client-lens/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/client-lens",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@lens-protocol/client": "2.2.0",
Expand Down
16 changes: 15 additions & 1 deletion packages/client-slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,23 @@
"name": "@elizaos/client-slack",
"version": "0.1.7-alpha.1",
"description": "Slack client plugin for Eliza framework",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format esm --dts",
"test": "jest",
Expand Down
16 changes: 15 additions & 1 deletion packages/client-telegram/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/client-telegram",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@telegraf/types": "7.1.0",
Expand Down
16 changes: 15 additions & 1 deletion packages/client-twitter/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"name": "@elizaos/client-twitter",
"version": "0.1.7-alpha.1",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"agent-twitter-client": "0.0.17",
Expand Down
16 changes: 15 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,23 @@
"name": "@elizaos/core",
"version": "0.1.7-alpha.1",
"description": "",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@ai16z/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup --format esm --dts",
"lint": "eslint --fix --cache .",
Expand Down
7 changes: 5 additions & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"checkJs": false,
"noEmitOnError": false,
"moduleDetection": "force",
"allowArbitraryExtensions": true
"allowArbitraryExtensions": true,
"customConditions": [
"@ai16z/source"
],
},
"include": [
"src/**/*"
Expand All @@ -33,4 +36,4 @@
"src/**/*.d.ts",
"types/**/*.test.ts"
]
}
}
Loading

0 comments on commit 5a9e692

Please sign in to comment.