Skip to content

Commit

Permalink
Merge pull request #3255 from AIFlowML/fix-client-alexa
Browse files Browse the repository at this point in the history
fix: client-alexa
  • Loading branch information
shakkernerd authored Feb 5, 2025
2 parents a12c696 + a7c3da0 commit 69af5ff
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 4 deletions.
41 changes: 41 additions & 0 deletions packages/client-alexa/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"suspicious": {
"noExplicitAny": "error"
},
"style": {
"useConst": "error",
"useImportType": "off"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 100
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "es5"
}
},
"files": {
"ignore": [
"dist/**/*",
"extra/**/*",
"node_modules/**/*"
]
}
}
8 changes: 6 additions & 2 deletions packages/client-alexa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@
"axios": "1.7.9"
},
"devDependencies": {
"tsup": "8.3.5",
"@biomejs/biome": "1.5.3",
"tsup": "^8.3.5",
"vitest": "1.2.1"
},
"scripts": {
"build": "tsup --format esm --dts",
"dev": "tsup --format esm --dts --watch",
"lint": "eslint --fix --cache .",
"lint": "biome check src/",
"lint:fix": "biome check --apply src/",
"format": "biome format src/",
"format:fix": "biome format --write src/",
"test": "vitest run"
}
}
2 changes: 1 addition & 1 deletion packages/client-alexa/src/alexa-client.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { elizaLogger, IAgentRuntime } from "@elizaos/core";
import { elizaLogger, type IAgentRuntime } from "@elizaos/core";
import { DefaultApiClient } from "ask-sdk-core";
import { services } from "ask-sdk-model";
import axios from "axios";
Expand Down
2 changes: 1 addition & 1 deletion packages/client-alexa/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Client, IAgentRuntime, elizaLogger } from "@elizaos/core";
import { type Client, type IAgentRuntime, elizaLogger } from "@elizaos/core";
import { AlexaClient } from "./alexa-client";

export const AlexaClientInterface: Client = {
Expand Down

0 comments on commit 69af5ff

Please sign in to comment.