Skip to content

Commit 214992f

Browse files
committed
refactor: 切换到 Mizuki
1 parent 5e2a557 commit 214992f

File tree

288 files changed

+50089
-1213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+50089
-1213
lines changed

.gitattributes

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
.vitepress/** linguist-vendored
2-
package.json linguist-vendored
3-
pnpm-lock.yaml linguist-vendored
4-
docs/** linguist-documentation=false
5-
*.md linguist-detectable
1+
*.js linguist-language=astro
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Bug Report
2+
description: Create a report to help us improve
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
assignees:
6+
- L4Ph
7+
- saicaca
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
Thanks for taking the time to fill out this bug report!
13+
- type: textarea
14+
id: bug-description
15+
attributes:
16+
label: Describe the bug
17+
description: A clear and concise description of what the bug is.
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: to-reproduce
22+
attributes:
23+
label: To Reproduce
24+
description: Steps to reproduce the behavior.
25+
placeholder: |
26+
1. Go to '...'
27+
2. Click on '....'
28+
3. Scroll down to '....'
29+
4. See error
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: expected-behavior
34+
attributes:
35+
label: Expected behavior
36+
description: A clear and concise description of what you expected to happen.
37+
validations:
38+
required: true
39+
- type: dropdown
40+
id: os
41+
attributes:
42+
label: OS
43+
multiple: true
44+
options:
45+
- Windows
46+
- macOS
47+
- Linux
48+
- Android
49+
- iOS
50+
- type: input
51+
id: browser
52+
attributes:
53+
label: Browser
54+
placeholder: e.g. chrome, safari
55+
- type: textarea
56+
id: additional-context
57+
attributes:
58+
label: Additional context
59+
description: Add any other context about the problem here.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
assignees:
6+
- saicaca
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for taking the time to fill out this feature request!
12+
- type: textarea
13+
id: related-problem
14+
attributes:
15+
label: Is your feature request related to a problem?
16+
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: solution
21+
attributes:
22+
label: Describe the solution you'd like
23+
description: A clear and concise description of what you want to happen.
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: alternatives
28+
attributes:
29+
label: Describe alternatives you've considered
30+
description: A clear and concise description of any alternative solutions or features you've considered.
31+
- type: textarea
32+
id: additional-context
33+
attributes:
34+
label: Additional context
35+
description: Add any other context or screenshots about the feature request here.
36+
- type: markdown
37+
attributes:
38+
value: |
39+
**Disclaimer**
40+
41+
Please note that this feature request is at the discretion of the repository owner, @saicaca, and its implementation is not guaranteed.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Custom Issue
2+
description: Describe your issue here.
3+
title: "[Other]: "
4+
body:
5+
- type: textarea
6+
id: issue-description
7+
attributes:
8+
label: Issue Description
9+
description: Please describe your issue.
10+
validations:
11+
required: true

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
groups:
8+
patch-updates:
9+
patterns:
10+
- "*"
11+
update-types:
12+
- "patch"
13+
minor-updates:
14+
patterns:
15+
- "*"
16+
update-types:
17+
- "minor"
18+
pull-request-branch-name:
19+
separator: "-"
20+
ignore:
21+
- dependency-name: "*"
22+
update-types: ["version-update:semver-major"]

.github/pull_request_template.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Type of change
2+
3+
- [ ] Bug fix (a non-breaking change that fixes an issue)
4+
- [ ] New feature (a non-breaking change that adds functionality)
5+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
6+
- [ ] Other (please describe):
7+
8+
## Checklist
9+
10+
- [ ] I have read the [**CONTRIBUTING**](https://github.com/saicaca/fuwari/blob/main/CONTRIBUTING.md) document.
11+
- [ ] I have checked to ensure that this Pull Request is not for personal changes.
12+
- [ ] I have performed a self-review of my own code.
13+
- [ ] My changes generate no new warnings.
14+
15+
## Related Issue
16+
17+
<!-- Please link to the issue that this pull request addresses. e.g. #123 -->
18+
19+
20+
## Changes
21+
22+
<!-- Please describe the changes you made in this pull request. -->
23+
24+
25+
## How To Test
26+
27+
<!-- Please describe how you tested your changes. -->
28+
29+
30+
## Screenshots (if applicable)
31+
32+
<!-- If you made any UI changes, please include screenshots. -->
33+
34+
35+
## Additional Notes
36+
37+
<!-- Any additional information that you want to share with the reviewer. -->

.github/workflows/deploy.yml

Lines changed: 16 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,35 @@
1-
# 构建 VitePress 站点并将其部署到 GitHub Pages 的示例工作流程
2-
#
3-
name: Deploy VitePress site to Pages
4-
1+
name: Deploy to GitHub Pages
52
on:
6-
# 在针对 `main` 分支的推送上运行。如果你
7-
# 使用 `master` 分支作为默认分支,请将其更改为 `master`
3+
# 每次推送到 `main` 分支时触发这个“工作流程”
4+
# 如果你使用了别的分支名,请按需将 `main` 替换成你的分支名
85
push:
9-
branches: [main]
10-
11-
# 允许你从 Actions 选项卡手动运行此工作流程
6+
branches: [ main ]
7+
# 允许你在 GitHub 上的 Actions 标签中手动触发此“工作流程”
128
workflow_dispatch:
13-
14-
# 设置 GITHUB_TOKEN 的权限,以允许部署到 GitHub Pages
9+
# 允许 job 克隆 repo 并创建一个 page deployment
1510
permissions:
1611
contents: read
1712
pages: write
1813
id-token: write
19-
20-
# 只允许同时进行一次部署,跳过正在运行和最新队列之间的运行队列
21-
# 但是,不要取消正在进行的运行,因为我们希望允许这些生产部署完成
22-
concurrency:
23-
group: pages
24-
cancel-in-progress: false
25-
2614
jobs:
27-
# 构建工作
2815
build:
2916
runs-on: ubuntu-latest
3017
steps:
31-
- name: Checkout
18+
- name: Checkout your repository using git
3219
uses: actions/checkout@v4
33-
with:
34-
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
35-
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
36-
with:
37-
version: 9
38-
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
39-
- name: Setup Node
40-
uses: actions/setup-node@v4
41-
with:
42-
node-version: 22
43-
cache: pnpm # 或 npm / yarn
44-
- name: Setup Pages
45-
uses: actions/configure-pages@v4
46-
- name: Install dependencies
47-
run: pnpm install # 或 npm ci / yarn install / bun install
48-
- name: Build with VitePress
49-
run: pnpm docs:build # 或 npm run docs:build / yarn docs:build / bun run docs:build
50-
- name: Upload artifact
51-
uses: actions/upload-pages-artifact@v3
52-
with:
53-
path: .vitepress/dist
54-
55-
# 部署工作
20+
- name: Install, build, and upload your site
21+
uses: withastro/action@v3
22+
# with:
23+
# path: . # 存储库中 Astro 项目的根位置。(可选)
24+
# node-version: 20 # 用于构建站点的特定 Node.js 版本,默认为 20。(可选)
25+
# package-manager: pnpm@latest # 应使用哪个 Node.js 包管理器来安装依赖项和构建站点。会根据存储库中的 lockfile 自动检测。(可选)
5626
deploy:
27+
needs: build
28+
runs-on: ubuntu-latest
5729
environment:
5830
name: github-pages
5931
url: ${{ steps.deployment.outputs.page_url }}
60-
needs: build
61-
runs-on: ubuntu-latest
62-
name: Deploy
6332
steps:
6433
- name: Deploy to GitHub Pages
6534
id: deployment
66-
uses: actions/deploy-pages@v4
35+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1-
node_modules
2-
.vitepress/cache
3-
.vitepress/dist
1+
# build output
2+
dist/
3+
4+
# generated types
5+
.astro/
6+
7+
# dependencies
8+
node_modules/
9+
10+
# logs
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
.vercel
24+
25+
package-lock.json
26+
bun.lockb
27+
yarn.lock
28+
29+
# ide
30+
.idea
31+
*.iml
32+
33+
cache/
34+
fuwari/

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
manage-package-manager-versions = true

.vitepress/config.mts

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)