-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b08f88b
commit 85163a7
Showing
20 changed files
with
1,483 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pnpm exec lint-staged --concurrent false --relative | ||
pnpm exec lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apps/docs/.astro | ||
apps/docs/.vercel | ||
apps/docs/dist | ||
pnpm-lock.yaml |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"eslint.format.enable": true, | ||
"eslint.experimental.useFlatConfig": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# llm-ui | ||
# llm-ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import reactRecommended from "eslint-plugin-react/configs/recommended.js"; | ||
import globals from "globals"; | ||
import typescriptParser from "@typescript-eslint/parser"; | ||
import typescriptPlugin from "@typescript-eslint/eslint-plugin"; | ||
import js from "@eslint/js"; | ||
|
||
export default [ | ||
{ ignores: ["apps/docs/{dist,.vercel,.astro}/**/*"] }, | ||
{ | ||
files: ["apps/docs/**/*.{ts,tsx}"], | ||
plugins: { | ||
"@typescript-eslint": typescriptPlugin, | ||
}, | ||
languageOptions: { | ||
parser: typescriptParser, | ||
parserOptions: { | ||
project: "apps/docs/tsconfig.json", | ||
sourceType: "module", | ||
ecmaVersion: 2020, | ||
}, | ||
}, | ||
}, | ||
{ | ||
files: ["apps/docs/**/*.{jsx,tsx}"], | ||
...reactRecommended, | ||
languageOptions: { | ||
...reactRecommended.languageOptions, | ||
globals: { | ||
...globals.browser, | ||
}, | ||
}, | ||
rules: { | ||
...reactRecommended.rules, | ||
"react/react-in-jsx-scope": "off", | ||
"react/prop-types": "off", | ||
}, | ||
}, | ||
{ | ||
files: ["apps/docs/**/*.{js,jsx,mjs,cjs,ts,tsx}"], | ||
...js.configs.recommended, | ||
rules: { | ||
"no-unused-vars": ["error", { varsIgnorePattern: "React" }], | ||
}, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
module.exports = { | ||
'{apps,packages,tools}/**/*.{js,ts,jsx,tsx,json,astro,css}': [ | ||
files => `nx affected:lint --files=${files.join(',')}`, | ||
files => `nx format:write --files=${files.join(',')}`, | ||
], | ||
"{apps,packages,tools}/**/*.{cjs,mjs,js,ts,jsx,tsx,json,yaml,yml,astro,css}": | ||
[ | ||
(files) => `pnpm exec eslint ${files.join(" ")}`, | ||
(files) => `pnpm exec prettier --write ${files.join(" ")}`, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,24 @@ | |
"name": "llm-ui", | ||
"packageManager": "[email protected]+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589", | ||
"scripts": { | ||
"format:check": "nx run-many -t format:check", | ||
"lint": "nx run-many -t lint", | ||
"lint": "eslint .", | ||
"tsc": "nx run-many -t tsc", | ||
"prepare": "husky" | ||
"prepare": "husky", | ||
"format-check": "prettier --check .", | ||
"format-write": "prettier --write ." | ||
}, | ||
"devDependencies": { | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.2", | ||
"nx": "18.2.1", | ||
"typescript": "^5.4.3" | ||
"typescript": "^5.4.3", | ||
"@typescript-eslint/eslint-plugin": "^7.4.0", | ||
"@typescript-eslint/parser": "^7.4.0", | ||
"eslint": "^8.57.0", | ||
"eslint-plugin-react": "^7.34.1", | ||
"globals": "^15.0.0", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-astro": "^0.13.0" | ||
}, | ||
"license": "ISC" | ||
} |
Oops, something went wrong.