Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wwayne committed May 22, 2024
1 parent bc83f4b commit 2c0b310
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
6 changes: 5 additions & 1 deletion clients/tabby-chat-panel/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import antfu from '@antfu/eslint-config'

export default antfu()
export default antfu({
rules: {
curly: ['off', 'all'],
},
})
9 changes: 5 additions & 4 deletions clients/tabby-chat-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "eslint . -f mo",
"lint:fix": "eslint . -f mo --fix",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepack": "nr build",
"preview": "node --watch bin/index.js",
"release": "bumpp && npm publish",
"start": "tsx src/index.ts",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"build:vscode": "yarn && esbuild src/vscode.tsx --bundle --minify --outfile=../vscode/chat-panel/index.js --loader:.js=jsx",
"dev:vscode": "esbuild src/vscode.tsx --bundle --outfile=../vscode/chat-panel/index.js --loader:.js=jsx --watch"
"build:vscode": "esbuild src/iframe.tsx --bundle --minify --outfile=../vscode/chat-panel/index.js --loader:.js=jsx",
"dev:vscode": "esbuild src/iframe.tsx --bundle --outfile=../vscode/chat-panel/index.js --loader:.js=jsx --watch"
},
"dependencies": {
"@quilted/threads": "^2.1.2",
Expand All @@ -60,6 +60,7 @@
"eslint": "^9.1.1",
"eslint-formatter-mo": "^1.2.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"tsx": "^4.7.3",
"typescript": "^5.4.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ function ChatPanel() {
if (iframeRef?.current && token) {
client?.init({
fetcherOptions: {
authorization: token
}
authorization: token,
},
})
}
}, [iframeRef?.current, client, token])
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2c0b310

Please sign in to comment.