Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Pin dependencies and unify tsconfig #767

Merged
merged 24 commits into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0230a13
fix(deps): update dependency class-variance-authority to v0.7.1
renovate[bot] Dec 1, 2024
91a6966
fix(deps): update dependency @supabase/supabase-js to v2.46.2
renovate[bot] Dec 1, 2024
3255715
fix(deps): update dependency dompurify to v3.2.2
renovate[bot] Dec 1, 2024
55b826a
chore(deps): pin dependencies
renovate[bot] Dec 1, 2024
7f097c7
chore(deps): pin dependencies
renovate[bot] Dec 1, 2024
5730b63
fix(deps): update dependency uuid to v11.0.3
renovate[bot] Dec 1, 2024
e50af00
Merge branch 'renovate/class-variance-authority-0.x' of http://github…
lalalune Dec 1, 2024
6c1f4b4
Merge branch 'renovate/supabase-supabase-js-2.x' of http://github.com…
lalalune Dec 1, 2024
8e88d10
Merge branch 'renovate/testing-frameworks' of http://github.com/ai16z…
lalalune Dec 1, 2024
a11f028
chore(deps): pin dependencies
renovate[bot] Dec 1, 2024
1d59c94
Merge branch 'renovate/eslint-and-formatting' of http://github.com/ai…
lalalune Dec 1, 2024
d310d33
Merge branch 'main' of http://github.com/ai16z/eliza into HEAD
lalalune Dec 1, 2024
e35408f
Merge branch 'renovate/typescript-and-related' of http://github.com/a…
lalalune Dec 1, 2024
7dfc581
fix(deps): update dependency clsx to v2.1.1
renovate[bot] Dec 1, 2024
616d228
unify tsconfig, remove root tsconfig as per turbo docs, unify package…
lalalune Dec 1, 2024
0eab3ea
remove root config
lalalune Dec 1, 2024
2858fe0
fix build error in ci
lalalune Dec 1, 2024
439b069
Merge branch 'renovate/uuid-11.x' of http://github.com/ai16z/eliza in…
lalalune Dec 1, 2024
17a0e3d
Merge branch 'renovate/clsx-2.x' of http://github.com/ai16z/eliza int…
lalalune Dec 1, 2024
444ccbb
Merge branch 'renovate/dompurify-3.x' of http://github.com/ai16z/eliz…
lalalune Dec 1, 2024
8240cab
revert eslint config
lalalune Dec 1, 2024
4d5e804
revert llama service
lalalune Dec 1, 2024
4a293ea
update config
lalalune Dec 1, 2024
880fef7
pin eslint-plugin-vitest
lalalune Dec 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"tasks": [
{
"type": "typescript",
"tsconfig": "tsconfig.json",
"problemMatcher": ["$tsc"],
"tsconfig": "packages/core/tsconfig.json",
"problemMatcher": [
"$tsc"
],
"label": "tsbuild",
"group": "build"
}
]
}
}
2 changes: 1 addition & 1 deletion agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ai16z/agent",
"version": "0.0.1",
"version": "0.1.4-alpha.3",
"main": "src/index.ts",
"type": "module",
"scripts": {
Expand Down
12 changes: 8 additions & 4 deletions agent/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"extends": "../tsconfig.json",
"extends": "../packages/core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": ".",
"module": "ESNext",
"moduleResolution": "Bundler",
"types": ["node"]
"types": [
"node"
]
},
"include": ["src"]
}
"include": [
"src"
]
}
6 changes: 3 additions & 3 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eliza-client",
"private": true,
"version": "0.0.0",
"version": "0.1.4-alpha.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -17,7 +17,7 @@
"@radix-ui/react-slot": "1.1.0",
"@radix-ui/react-tooltip": "1.1.4",
"@tanstack/react-query": "5.61.0",
"class-variance-authority": "0.7.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.0",
"lucide-react": "0.460.0",
"react": "18.3.1",
Expand All @@ -40,7 +40,7 @@
"globals": "15.11.0",
"postcss": "8.4.49",
"tailwindcss": "3.4.15",
"typescript": "~5.6.2",
"typescript": "5.6.3",
"typescript-eslint": "8.11.0",
"vite": "link:@tanstack/router-plugin/vite"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const config = {
"docusaurus-plugin-typedoc",
{
entryPoints: ["../packages/core/src/index.ts"],
tsconfig: "../tsconfig.json",
tsconfig: "../packages/core/tsconfig.json",
out: "./api",
skipErrorChecking: true,
excludeExternals: false,
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eliza-docs",
"version": "0.0.0",
"version": "0.1.4-alpha.3",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand Down
3 changes: 1 addition & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ export default [
parser: typescript,
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
project: "./tsconfig.json", // Make sure your tsconfig includes @types/node
lalalune marked this conversation as resolved.
Show resolved Hide resolved
sourceType: "module"
},
globals: {
// Add Node.js globals
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.4-alpha.3",
"packages": ["packages/*"],
"packages": ["packages/*", "docs", "agent", "client"],
"npmClient": "pnpm"
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
"devDependencies": {
"@commitlint/cli": "18.6.1",
"@commitlint/config-conventional": "18.6.3",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "8.16.0",
"concurrently": "9.1.0",
"cross-env": "7.0.3",
"eslint": "^9.15.0",
"eslint": "9.16.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-vitest": "0.5.4",
"@vitest/eslint-plugin": "1.0.1",
"husky": "9.1.7",
"lerna": "8.1.5",
"only-allow": "1.2.1",
"prettier": "3.3.3",
"prettier": "3.4.1",
"turbo": "2.3.3",
"typedoc": "0.26.11",
"typescript": "5.6.3",
Expand Down
8 changes: 5 additions & 3 deletions packages/adapter-sqlite/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"strict": true
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}
8 changes: 5 additions & 3 deletions packages/adapter-sqljs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"strict": true
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}
2 changes: 1 addition & 1 deletion packages/adapter-supabase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "dist/index.d.ts",
"dependencies": {
"@ai16z/eliza": "workspace:*",
"@supabase/supabase-js": "2.46.1"
"@supabase/supabase-js": "2.46.2"
},
"devDependencies": {
"tsup": "8.3.5"
Expand Down
8 changes: 5 additions & 3 deletions packages/adapter-supabase/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}
8 changes: 5 additions & 3 deletions packages/client-auto/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}
8 changes: 5 additions & 3 deletions packages/client-direct/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}
8 changes: 5 additions & 3 deletions packages/client-discord/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}
2 changes: 1 addition & 1 deletion packages/client-farcaster/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ai16z/client-farcaster",
"version": "0.0.1",
"version": "0.1.4-alpha.3",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
Expand Down
8 changes: 5 additions & 3 deletions packages/client-farcaster/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"jsx": "react",
"outDir": "dist",
"rootDir": "./src",
"strict": true
},
"include": ["src"]
}
"include": [
"src"
]
}
8 changes: 5 additions & 3 deletions packages/client-github/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}
8 changes: 5 additions & 3 deletions packages/client-telegram/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}
8 changes: 5 additions & 3 deletions packages/client-twitter/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"@types/pdfjs-dist": "2.10.378",
"@types/tar": "6.1.13",
"@types/wav-encoder": "1.3.3",
"@typescript-eslint/eslint-plugin": "8.12.2",
"@typescript-eslint/parser": "8.12.2",
"@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "8.16.0",
"@vitest/coverage-v8": "2.1.5",
"dotenv": "16.4.5",
"jest": "29.7.0",
Expand All @@ -45,7 +45,7 @@
"rollup": "2.79.2",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"tslib": "2.8.0",
"tslib": "2.8.1",
"tsup": "8.3.5",
"typescript": "5.6.3"
},
Expand Down
22 changes: 15 additions & 7 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"lib": ["ESNext", "dom"],
"lib": [
"ESNext",
"dom"
],
"moduleResolution": "Bundler",
"outDir": "./dist",
"rootDir": "./src",
Expand All @@ -20,9 +22,15 @@
"checkJs": false,
"noEmitOnError": false,
"moduleDetection": "force",
"allowArbitraryExtensions": true,
"types": ["jest"]
"allowArbitraryExtensions": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "src/**/*.d.ts", "types/**/*.test.ts"]
}
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist",
"src/**/*.d.ts",
"types/**/*.test.ts"
]
}
2 changes: 1 addition & 1 deletion packages/plugin-0g/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ai16z/plugin-0g",
"version": "0.0.1",
"version": "0.1.4-alpha.3",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
Expand Down
12 changes: 8 additions & 4 deletions packages/plugin-0g/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"extends": "../../tsconfig.json",
"extends": "../core/tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": ".",
"types": ["node"]
"types": [
"node"
]
},
"include": ["src"]
}
"include": [
"src"
]
}
Loading
Loading