Skip to content

Commit 616d228

Browse files
committed
unify tsconfig, remove root tsconfig as per turbo docs, unify package version
1 parent e35408f commit 616d228

File tree

48 files changed

+34157
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+34157
-127
lines changed

.vscode/tasks.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
"tasks": [
66
{
77
"type": "typescript",
8-
"tsconfig": "tsconfig.json",
9-
"problemMatcher": ["$tsc"],
8+
"tsconfig": "packages/core/tsconfig.json",
9+
"problemMatcher": [
10+
"$tsc"
11+
],
1012
"label": "tsbuild",
1113
"group": "build"
1214
}
1315
]
14-
}
16+
}

agent/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai16z/agent",
3-
"version": "0.0.1",
3+
"version": "0.1.4-alpha.3",
44
"main": "src/index.ts",
55
"type": "module",
66
"scripts": {

agent/tsconfig.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../packages/core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": ".",
66
"module": "ESNext",
77
"moduleResolution": "Bundler",
8-
"types": ["node"]
8+
"types": [
9+
"node"
10+
]
911
},
10-
"include": ["src"]
11-
}
12+
"include": [
13+
"src"
14+
]
15+
}

client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "eliza-client",
33
"private": true,
4-
"version": "0.0.0",
4+
"version": "0.1.4-alpha.3",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

docs/docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const config = {
2626
"docusaurus-plugin-typedoc",
2727
{
2828
entryPoints: ["../packages/core/src/index.ts"],
29-
tsconfig: "../tsconfig.json",
29+
tsconfig: "../packages/core/tsconfig.json",
3030
out: "./api",
3131
skipErrorChecking: true,
3232
excludeExternals: false,

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eliza-docs",
3-
"version": "0.0.0",
3+
"version": "0.1.4-alpha.3",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

eslint.config.mjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ export default [
1212
parser: typescript,
1313
parserOptions: {
1414
ecmaVersion: "latest",
15-
sourceType: "module",
16-
project: "./tsconfig.json", // Make sure your tsconfig includes @types/node
15+
sourceType: "module"
1716
},
1817
globals: {
1918
// Add Node.js globals

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"version": "0.1.4-alpha.3",
3-
"packages": ["packages/*"],
3+
"packages": ["packages/*", "docs", "agent", "client"],
44
"npmClient": "pnpm"
55
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"prettier": "3.4.1",
3636
"turbo": "2.3.3",
3737
"typedoc": "0.26.11",
38-
"typescript": "5.7.2",
38+
"typescript": "5.6.3",
3939
"vite": "5.4.11",
4040
"vitest": "2.1.5"
4141
},

packages/adapter-sqlite/tsconfig.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",
66
"strict": true
77
},
8-
"include": ["src/**/*.ts"]
9-
}
8+
"include": [
9+
"src/**/*.ts"
10+
]
11+
}

packages/adapter-sqljs/tsconfig.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",
66
"strict": true
77
},
8-
"include": ["src/**/*.ts"]
9-
}
8+
"include": [
9+
"src/**/*.ts"
10+
]
11+
}
+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*.ts"]
8-
}
7+
"include": [
8+
"src/**/*.ts"
9+
]
10+
}

packages/client-auto/tsconfig.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*.ts"]
8-
}
7+
"include": [
8+
"src/**/*.ts"
9+
]
10+
}

packages/client-direct/tsconfig.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*.ts"]
8-
}
7+
"include": [
8+
"src/**/*.ts"
9+
]
10+
}

packages/client-discord/tsconfig.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*.ts"]
8-
}
7+
"include": [
8+
"src/**/*.ts"
9+
]
10+
}

packages/client-farcaster/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai16z/client-farcaster",
3-
"version": "0.0.1",
3+
"version": "0.1.4-alpha.3",
44
"main": "dist/index.js",
55
"type": "module",
66
"types": "dist/index.d.ts",
+5-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"jsx": "react",
55
"outDir": "dist",
66
"rootDir": "./src",
77
"strict": true
88
},
9-
"include": ["src"]
10-
}
9+
"include": [
10+
"src"
11+
]
12+
}

packages/client-github/tsconfig.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*.ts"]
8-
}
7+
"include": [
8+
"src/**/*.ts"
9+
]
10+
}
+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*.ts"]
8-
}
7+
"include": [
8+
"src/**/*.ts"
9+
]
10+
}

packages/client-twitter/tsconfig.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*.ts"]
8-
}
7+
"include": [
8+
"src/**/*.ts"
9+
]
10+
}

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"ts-node": "10.9.2",
4848
"tslib": "2.8.1",
4949
"tsup": "8.3.5",
50-
"typescript": "5.7.2"
50+
"typescript": "5.6.3"
5151
},
5252
"dependencies": {
5353
"@ai-sdk/anthropic": "0.0.56",

packages/core/tsconfig.json

+15-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
2-
"extends": "../../tsconfig.json",
32
"compilerOptions": {
43
"target": "ESNext",
54
"module": "ESNext",
6-
"lib": ["ESNext", "dom"],
5+
"lib": [
6+
"ESNext",
7+
"dom"
8+
],
79
"moduleResolution": "Bundler",
810
"outDir": "./dist",
911
"rootDir": "./src",
@@ -20,9 +22,15 @@
2022
"checkJs": false,
2123
"noEmitOnError": false,
2224
"moduleDetection": "force",
23-
"allowArbitraryExtensions": true,
24-
"types": ["jest"]
25+
"allowArbitraryExtensions": true
2526
},
26-
"include": ["src/**/*"],
27-
"exclude": ["node_modules", "dist", "src/**/*.d.ts", "types/**/*.test.ts"]
28-
}
27+
"include": [
28+
"src/**/*"
29+
],
30+
"exclude": [
31+
"node_modules",
32+
"dist",
33+
"src/**/*.d.ts",
34+
"types/**/*.test.ts"
35+
]
36+
}

packages/plugin-0g/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai16z/plugin-0g",
3-
"version": "0.0.1",
3+
"version": "0.1.4-alpha.3",
44
"main": "dist/index.js",
55
"type": "module",
66
"types": "dist/index.d.ts",

packages/plugin-0g/tsconfig.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": ".",
6-
"types": ["node"]
6+
"types": [
7+
"node"
8+
]
79
},
8-
"include": ["src"]
9-
}
10+
"include": [
11+
"src"
12+
]
13+
}
+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",
6-
"types": ["node"]
6+
"types": [
7+
"node"
8+
]
79
},
8-
"include": ["src/**/*.ts"]
9-
}
10+
"include": [
11+
"src/**/*.ts"
12+
]
13+
}
+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",
6-
"types": ["node"]
6+
"types": [
7+
"node"
8+
]
79
},
8-
"include": ["src/**/*.ts"]
9-
}
10+
"include": [
11+
"src/**/*.ts"
12+
]
13+
}
+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../core/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",
6-
"types": ["node"]
6+
"types": [
7+
"node"
8+
]
79
},
8-
"include": ["src/**/*.ts"]
9-
}
10+
"include": [
11+
"src/**/*.ts"
12+
]
13+
}

packages/plugin-conflux/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai16z/plugin-conflux",
3-
"version": "0.0.1",
3+
"version": "0.1.4-alpha.3",
44
"main": "dist/index.js",
55
"type": "module",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)