docs(readme): 添加 vitesse 项目链接
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 4m16s
CI/CD Pipeline / build-and-deploy (push) Successful in 5m20s

This commit is contained in:
严浩
2025-10-22 22:28:51 +08:00
parent 864e3dbb23
commit e94c5fc372
4 changed files with 22 additions and 12 deletions

View File

@@ -3,18 +3,18 @@
- https://typicode.github.io/husky/zh/troubleshoot.html#找不到命令-command-not-found - https://typicode.github.io/husky/zh/troubleshoot.html#找不到命令-command-not-found
- https://typicode.github.io/husky/zh/how-to.html#node-版本管理器和-gui - https://typicode.github.io/husky/zh/how-to.html#node-版本管理器和-gui
```shell ```bash
ln -s $(which pnpm) $HOME/.local/bin/pnpm ln -s $(which pnpm) $HOME/.local/bin/pnpm
``` ```
```bash
if command -v pnpm >/dev/null 2>&1; then
# 如果 pnpm 可用,直接使用它
pnpm exec lint-staged
else
# 如果 pnpm 不可用,使用 $HOME/.local/bin/pnpm
# ln -s $(which pnpm) $HOME/.local/bin/pnpm
echo "找不到 pnpm使用 $HOME/.local/bin/pnpm"
"$HOME"/.local/bin/pnpm exec lint-staged
fi
``` ```
# if command -v pnpm >/dev/null 2>&1; then
# # 如果 pnpm 可用,直接使用它
# pnpm exec lint-staged
# else
# # 如果 pnpm 不可用,使用 $HOME/.local/bin/pnpm
# # ln -s $(which pnpm) $HOME/.local/bin/pnpm
# echo "找不到 pnpm使用 $HOME/.local/bin/pnpm"
# "$HOME"/.local/bin/pnpm exec lint-staged
# fi
```

View File

@@ -23,6 +23,9 @@
"i18n-ally.displayLanguage": "zh-CN", // 显示语言 (显示文件/翻译文件) "i18n-ally.displayLanguage": "zh-CN", // 显示语言 (显示文件/翻译文件)
"i18n-ally.keystyle": "nested", "i18n-ally.keystyle": "nested",
// https://github.com/copilot/share/8a1a019a-0180-80e7-8141-a40be02c4006
// "iconify.customCollectionJsonPaths": ["https://example.com/my-icons.json", "./local/icons.json"],
"typescript.tsdk": "node_modules/typescript/lib", "typescript.tsdk": "node_modules/typescript/lib",
"typescript.preferences.autoImportFileExcludePatterns": ["vue-router/auto$"] "typescript.preferences.autoImportFileExcludePatterns": ["vue-router/auto$"]
} }

View File

@@ -4,3 +4,4 @@
- [soybean-admin (GitHub)](https://github.com/soybeanjs/soybean-admin) — 2.0 预览: [预览地址](https://v2-0.soybean-admin-df1.pages.dev/home) - [soybean-admin (GitHub)](https://github.com/soybeanjs/soybean-admin) — 2.0 预览: [预览地址](https://v2-0.soybean-admin-df1.pages.dev/home)
- [Vite静态部署指南中文](https://vitejs.cn/vite3-cn/guide/static-deploy.html) — Vite 官方中文文档中关于静态站点部署的说明。 - [Vite静态部署指南中文](https://vitejs.cn/vite3-cn/guide/static-deploy.html) — Vite 官方中文文档中关于静态站点部署的说明。
- [vitesse (GitHub)](https://github.com/antfu-collective/vitesse) — Anthony Fu 的 Vite + Vue 3 快速启动模板

View File

@@ -1,5 +1,5 @@
/* eslint-disable */ /* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: 7094267439eea3789640d49ba1e25377) // Generated by Wrangler by running `wrangler types` (hash: aa93ac8c91075e71741fc97806bcd0bd)
// Runtime types generated with workerd@1.20251008.0 2025-09-09 // Runtime types generated with workerd@1.20251008.0 2025-09-09
declare namespace Cloudflare { declare namespace Cloudflare {
interface GlobalProps { interface GlobalProps {
@@ -7,6 +7,12 @@ declare namespace Cloudflare {
} }
interface Env { interface Env {
KV: KVNamespace; KV: KVNamespace;
VITE_APP_TITLE: string;
VITE_APP_BASE: string;
VITE_APP_BUILD_SOURCE_MAP: string;
VITE_APP_BUILD_COMMIT: string;
VITE_APP_BUILD_TIME: string;
VITE_ENABLE_VUE_DEVTOOLS: string;
} }
} }
interface Env extends Cloudflare.Env {} interface Env extends Cloudflare.Env {}