Skip to content

Commit

Permalink
chore: tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ourongxing committed Sep 5, 2024
1 parent 7c68cee commit 0f1d8d3
Show file tree
Hide file tree
Showing 5 changed files with 234 additions and 598 deletions.
4 changes: 2 additions & 2 deletions app.config.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { createApp } from "vinxi"
import reactRefresh from "@vitejs/plugin-react"
import tsconfigPaths from "vite-tsconfig-paths"
import UnoCSS from "unocss/vite"
import AutoImport from "unplugin-auto-import/vite"
import react from "@vitejs/plugin-react-swc"

const plugins = [
tsconfigPaths(),
UnoCSS(),
reactRefresh(),
react(),
AutoImport({
include: [
/\.[tj]sx$/,
Expand Down
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export default ourongxing(
type: "app",
react: false,
stylistic: {
curly: "off",
},
ignores: ["node_modules/**"],
overrides: {
},
overrides: { },
},
)
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"adb": "bash scripts/adb.sh",
"test": "vitest",
"lint": "pnpm eslint .",
"genDoc": "tsx scripts/genDoc.ts",
"lint:fix": "pnpm eslint . --fix"
},
"dependencies": {
Expand All @@ -29,23 +30,20 @@
"react-dom": "^18.3.1",
"react-use": "^17.5.1",
"react-use-websocket": "^4.8.1",
"single-line-log": "^1.1.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@antfu/eslint-config": "^3.0.0",
"@eslint-react/eslint-plugin": "^1.12.3",
"@iconify-json/carbon": "^1.1.37",
"@iconify-json/ph": "^1.1.14",
"@iconify-json/ri": "^1.1.22",
"@ourongxing/eslint-config": "3.2.3-beta.1",
"@ourongxing/eslint-config": "3.2.3-beta.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.5.1",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/single-line-log": "^1.1.2",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react-swc": "^3.7.0",
"eslint": "^9.9.1",
"markdown-table": "^3.0.3",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"unocss": "^0.62.3",
Expand Down
Loading

0 comments on commit 0f1d8d3

Please sign in to comment.