docs(readme): 添加 vitesse 项目链接
This commit is contained in:
@@ -3,18 +3,18 @@
|
||||
- https://typicode.github.io/husky/zh/troubleshoot.html#找不到命令-command-not-found
|
||||
- https://typicode.github.io/husky/zh/how-to.html#node-版本管理器和-gui
|
||||
|
||||
```shell
|
||||
```bash
|
||||
ln -s $(which pnpm) $HOME/.local/bin/pnpm
|
||||
```
|
||||
|
||||
```
|
||||
# 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
|
||||
```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
|
||||
```
|
||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -23,6 +23,9 @@
|
||||
"i18n-ally.displayLanguage": "zh-CN", // 显示语言 (显示文件/翻译文件)
|
||||
"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.preferences.autoImportFileExcludePatterns": ["vue-router/auto$"]
|
||||
}
|
||||
|
||||
@@ -4,3 +4,4 @@
|
||||
|
||||
- [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 官方中文文档中关于静态站点部署的说明。
|
||||
- [vitesse (GitHub)](https://github.com/antfu-collective/vitesse) — Anthony Fu 的 Vite + Vue 3 快速启动模板
|
||||
|
||||
8
worker-configuration.d.ts
vendored
8
worker-configuration.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
/* 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
|
||||
declare namespace Cloudflare {
|
||||
interface GlobalProps {
|
||||
@@ -7,6 +7,12 @@ declare namespace Cloudflare {
|
||||
}
|
||||
interface Env {
|
||||
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 {}
|
||||
|
||||
Reference in New Issue
Block a user