使用 bun 替换 pnpm
This commit is contained in:
@@ -1 +1 @@
|
||||
pnpm lint
|
||||
bun run lint
|
||||
|
||||
10
.zed/settings.json
Normal file
10
.zed/settings.json
Normal file
@@ -0,0 +1,10 @@
|
||||
// Folder-specific settings
|
||||
//
|
||||
// For a full list of overridable settings, and general information on folder-specific settings,
|
||||
// see the documentation: https://zed.dev/docs/configuring-zed#settings-files
|
||||
{
|
||||
"language_servers": ["...", "!biome"],
|
||||
"formatter": {
|
||||
"code_action": "source.fixAll.eslint"
|
||||
}
|
||||
}
|
||||
@@ -34,6 +34,8 @@ IP 管理按长短效分页
|
||||
|
||||
翻页优化:调整页面大小后检查是否需要重置页面到最后一页(需要后端实现)
|
||||
|
||||
切换 eslint 到 biome
|
||||
|
||||
### 架构改进
|
||||
|
||||
考虑使用 swr 或 react query 来代替直接的服务端 react cache 缓存以及客户端 zustand 缓存,以将服务端请求的数据能够水合到客户端,避免重复请求
|
||||
|
||||
16
package.json
16
package.json
@@ -35,6 +35,7 @@
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"date-fns": "^4.1.0",
|
||||
"dev": "^0.1.3",
|
||||
"lucide-react": "^0.479.0",
|
||||
"next": "15.2.4",
|
||||
"next-themes": "^0.4.6",
|
||||
@@ -56,8 +57,8 @@
|
||||
"@stylistic/eslint-plugin": "^4.2.0",
|
||||
"@tailwindcss/postcss": "^4",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@types/bun": "^1.3.2",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^20",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@types/react": "^19",
|
||||
"@types/react-dom": "^19",
|
||||
@@ -69,14 +70,5 @@
|
||||
"tailwindcss": "^4",
|
||||
"typescript": "^5"
|
||||
},
|
||||
"packageManager": "pnpm@10.5.2+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b",
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"canvas",
|
||||
"sharp"
|
||||
],
|
||||
"overrides": {
|
||||
"react-is": "19.0.0-rc.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
"packageManager": "bun@1.2.19"
|
||||
}
|
||||
|
||||
7510
pnpm-lock.yaml
generated
7510
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user