Skip to content

Commit 0f1d8d3

Browse files
committed
chore: tools
1 parent 7c68cee commit 0f1d8d3

File tree

5 files changed

+234
-598
lines changed

5 files changed

+234
-598
lines changed

app.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { createApp } from "vinxi"
2-
import reactRefresh from "@vitejs/plugin-react"
32
import tsconfigPaths from "vite-tsconfig-paths"
43
import UnoCSS from "unocss/vite"
54
import AutoImport from "unplugin-auto-import/vite"
5+
import react from "@vitejs/plugin-react-swc"
66

77
const plugins = [
88
tsconfigPaths(),
99
UnoCSS(),
10-
reactRefresh(),
10+
react(),
1111
AutoImport({
1212
include: [
1313
/\.[tj]sx$/,

eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ export default ourongxing(
55
type: "app",
66
react: false,
77
stylistic: {
8+
curly: "off",
89
},
910
ignores: ["node_modules/**"],
10-
overrides: {
11-
},
11+
overrides: { },
1212
},
1313
)

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"adb": "bash scripts/adb.sh",
99
"test": "vitest",
1010
"lint": "pnpm eslint .",
11+
"genDoc": "tsx scripts/genDoc.ts",
1112
"lint:fix": "pnpm eslint . --fix"
1213
},
1314
"dependencies": {
@@ -29,23 +30,20 @@
2930
"react-dom": "^18.3.1",
3031
"react-use": "^17.5.1",
3132
"react-use-websocket": "^4.8.1",
32-
"single-line-log": "^1.1.2",
3333
"zod": "^3.23.8"
3434
},
3535
"devDependencies": {
36-
"@antfu/eslint-config": "^3.0.0",
37-
"@eslint-react/eslint-plugin": "^1.12.3",
3836
"@iconify-json/carbon": "^1.1.37",
3937
"@iconify-json/ph": "^1.1.14",
4038
"@iconify-json/ri": "^1.1.22",
41-
"@ourongxing/eslint-config": "3.2.3-beta.1",
39+
"@ourongxing/eslint-config": "3.2.3-beta.2",
4240
"@types/fs-extra": "^11.0.4",
4341
"@types/node": "^22.5.1",
4442
"@types/react": "^18.3.5",
4543
"@types/react-dom": "^18.3.0",
46-
"@types/single-line-log": "^1.1.2",
47-
"@vitejs/plugin-react": "^4.3.1",
44+
"@vitejs/plugin-react-swc": "^3.7.0",
4845
"eslint": "^9.9.1",
46+
"markdown-table": "^3.0.3",
4947
"tsx": "^4.19.0",
5048
"typescript": "^5.5.4",
5149
"unocss": "^0.62.3",

0 commit comments

Comments
 (0)