Skip to content

Commit

Permalink
ci: fix biome styles in code
Browse files Browse the repository at this point in the history
  • Loading branch information
snobbee committed Feb 6, 2025
1 parent 418d8ab commit fb4fd72
Show file tree
Hide file tree
Showing 195 changed files with 22,268 additions and 22,266 deletions.
28 changes: 14 additions & 14 deletions agent/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
export default {
preset: "ts-jest",
testEnvironment: "node",
extensionsToTreatAsEsm: [".ts"],
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
},
transform: {
"^.+\\.tsx?$": [
"ts-jest",
{
useESM: true,
},
],
},
preset: "ts-jest",
testEnvironment: "node",
extensionsToTreatAsEsm: [".ts"],
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
},
transform: {
"^.+\\.tsx?$": [
"ts-jest",
{
useESM: true,
},
],
},
};
88 changes: 43 additions & 45 deletions agent/package.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,44 @@
{
"name": "@realityspiral/agent",
"version": "0.1.0",
"main": "src/index.ts",
"type": "module",
"scripts": {
"start": "node --loader ts-node/esm src/index.ts",
"dev": "if [ -f data/db.sqlite ]; then rm data/db.sqlite; fi && node --loader ts-node/esm src/index.ts",
"check-types": "tsc --noEmit",
"test": "jest"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts,json",
"exec": "node --enable-source-maps --loader ts-node/esm src/index.ts"
},
"dependencies": {
"@elizaos/adapter-sqlite": "^0.1.9",
"@elizaos/core": "^0.1.9",
"@elizaos/plugin-di": "^0.1.9",
"@elizaos/client-twitter": "^0.1.9",
"@elizaos/client-auto": "^0.1.9",
"@realityspiral/client-coinbase": "workspace:*",
"@realityspiral/client-direct": "workspace:*",
"@realityspiral/client-github": "workspace:*",
"@realityspiral/plugin-0x": "workspace:*",
"@realityspiral/plugin-coinbase": "workspace:*",
"@realityspiral/plugin-email": "workspace:*",
"@realityspiral/plugin-github": "workspace:*",
"@realityspiral/plugin-twitter": "workspace:*",
"dotenv": "16.4.5",
"readline": "1.3.0",
"ws": "8.18.0",
"yargs": "17.7.2",
"better-sqlite3": "11.6.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"ts-node": "10.9.2",
"tsup": "8.3.5"
}
}
"name": "@realityspiral/agent",
"version": "0.1.0",
"main": "src/index.ts",
"type": "module",
"scripts": {
"start": "node --loader ts-node/esm src/index.ts",
"dev": "if [ -f data/db.sqlite ]; then rm data/db.sqlite; fi && node --loader ts-node/esm src/index.ts",
"check-types": "tsc --noEmit",
"test": "jest"
},
"nodemonConfig": {
"watch": ["src"],
"ext": "ts,json",
"exec": "node --enable-source-maps --loader ts-node/esm src/index.ts"
},
"dependencies": {
"@elizaos/adapter-sqlite": "^0.1.9",
"@elizaos/core": "^0.1.9",
"@elizaos/plugin-di": "^0.1.9",
"@elizaos/client-twitter": "^0.1.9",
"@elizaos/client-auto": "^0.1.9",
"@realityspiral/client-coinbase": "workspace:*",
"@realityspiral/client-direct": "workspace:*",
"@realityspiral/client-github": "workspace:*",
"@realityspiral/plugin-0x": "workspace:*",
"@realityspiral/plugin-coinbase": "workspace:*",
"@realityspiral/plugin-email": "workspace:*",
"@realityspiral/plugin-github": "workspace:*",
"@realityspiral/plugin-twitter": "workspace:*",
"dotenv": "16.4.5",
"readline": "1.3.0",
"ws": "8.18.0",
"yargs": "17.7.2",
"better-sqlite3": "11.6.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"ts-node": "10.9.2",
"tsup": "8.3.5"
}
}
4 changes: 2 additions & 2 deletions agent/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
import dotenv from "dotenv";
import path from "path";
import { fileURLToPath } from "url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
Expand Down
Loading

0 comments on commit fb4fd72

Please sign in to comment.