Skip to content

Commit

Permalink
feat: <LLMOutput /> (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgill authored Apr 6, 2024
1 parent 7e31e91 commit 86cc64c
Show file tree
Hide file tree
Showing 12 changed files with 591 additions and 13 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/shared
- run: pnpm typecheck

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/shared
- run: pnpm test
3 changes: 0 additions & 3 deletions apps/www/src/lib/search.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
export type Pagefind = {
// eslint-disable-next-line no-unused-vars
search: (query: string) => Promise<PagefindResponse>;
// eslint-disable-next-line no-unused-vars
debouncedSearch: (query: string) => Promise<PagefindResponse>;
};

Expand Down Expand Up @@ -39,7 +37,6 @@ export type PagefindDocument = {
};

declare global {
// eslint-disable-next-line no-unused-vars
interface Window {
pagefind: Pagefind;
}
Expand Down
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export default [
...js.configs.recommended.plugins,
},
rules: {
"no-unused-vars": ["error", { varsIgnorePattern: "React" }],
"prefer-arrow-callback": "error",
"prefer-arrow/prefer-arrow-functions": [
"error",
Expand Down
3 changes: 2 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
"components": "./src/components/index.ts",
"hooks": "./src/hooks/index.ts"
},
"files": [
"dist"
Expand Down
Loading

0 comments on commit 86cc64c

Please sign in to comment.