Compare commits

...

106 Commits

Author SHA1 Message Date
目棃
e4057d96ea 🚀 v0.4.9 热修版本 2024-06-14 22:53:36 +08:00
目棃
d3b24d52c9 ️ 输入空时重置 2024-06-14 22:48:23 +08:00
目棃
711d35360f 🍱 更新卡牌资料 2024-06-14 22:37:58 +08:00
目棃
f0428d0bae ✏️ 修正部分描述 2024-06-14 22:34:20 +08:00
目棃
59a686cace 🐛 修复成就导入异常 2024-06-13 23:22:16 +08:00
目棃
b628df5ae9 💄 调整tag样式 2024-06-12 11:53:16 +08:00
目棃
b22d23f663 ⬆️ 更新依赖 2024-06-12 11:52:33 +08:00
目棃
ad3289ec5f 🚀 v0.4.8 2024-06-04 20:08:33 +08:00
目棃
ec73110a43 Merge pull request #111 from BTMuli/dependabot/cargo/src-tauri/tauri-1.6.7
Bump tauri from 1.6.5 to 1.6.7 in /src-tauri
2024-06-04 20:06:24 +08:00
目棃
6dd5c89cd8 🍱 更新 4.7 版本资源
close #112
2024-06-04 20:02:51 +08:00
目棃
e79fdf607f 🐛 修复版本搜索失效,未完成成就优先 2024-06-04 20:01:54 +08:00
目棃
9c736a0241 💄 调整样式 2024-05-27 14:42:21 +08:00
目棃
8fed953df0 🐛 修复特定内容渲染错误 2024-05-27 00:38:22 +08:00
dependabot[bot]
b1520d8069 Bump tauri from 1.6.5 to 1.6.7 in /src-tauri
Bumps [tauri](https://github.com/tauri-apps/tauri) from 1.6.5 to 1.6.7.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.6.5...tauri-v1.6.7)

---
updated-dependencies:
- dependency-name: tauri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 14:28:03 +00:00
目棃
0c4a688535 💄 调整链接组件样式 2024-05-21 17:01:26 +08:00
目棃
3ba6584b1e 🐛 修复名片解析异常
close #110
2024-05-15 01:26:55 +08:00
目棃
a4e0e59172 ⬆️ 更新依赖 2024-05-15 00:46:55 +08:00
目棃
0c561ff98f 🚀 v0.4.7 2024-05-11 00:37:06 +08:00
目棃
817ae298b1 🐛 修复祈愿备份路径错误 2024-05-11 00:35:40 +08:00
目棃
92d2e847bd 🐛 修复导出字段数据缺失 2024-05-10 23:41:57 +08:00
目棃
d0f12446a8 ♻️ 名片组件抽离,wiki添加名片信息 2024-05-10 23:13:03 +08:00
目棃
a07d673776 ️ 完善公告正则 2024-05-09 17:20:21 +08:00
目棃
083381f2ec 💄 修复 tabs 渲染异常 2024-05-09 16:41:17 +08:00
目棃
040f49a33e 🐛 修复类型获取错误 2024-05-09 16:17:43 +08:00
目棃
3cfa00a2f6 💄 修复左侧列表高度异常 2024-05-09 15:55:58 +08:00
目棃
f6068e5bac 🐛 修复成就验证异常 2024-05-07 20:15:02 +08:00
目棃
557d68956e 🔧 移除packageManager,pnpm锁版本太烦了 2024-05-07 19:57:23 +08:00
目棃
2f14405cab ♻️ UIAF重构,支持祈愿备份/恢复
close #109
2024-05-07 19:55:23 +08:00
目棃
2803d06418 🍱 替换成就icon 2024-05-07 18:28:50 +08:00
目棃
298096858f 💄 调整文本部分的样式 2024-05-05 16:49:13 +08:00
目棃
7e11b467d1 💄 完善表格&p部分的渲染 2024-05-05 16:19:56 +08:00
目棃
7cd66ffb2d 采用 ajv 验证 UIGF #109 2024-05-05 15:49:40 +08:00
目棃
5de9c0a76f 🔥 隐藏网页登录模块
close #108
2024-05-05 02:54:56 +08:00
目棃
9a3b2ff9b9 🚨 忽略 NodeJS 的 undef 2024-05-05 02:50:54 +08:00
目棃
afa0ba190b ♻️ 重构用户祈愿数据库相关处理 2024-05-05 02:46:07 +08:00
目棃
6316cc42b2 ️ 对签到链接跳转进行处理,优化部分网页活动打开 2024-04-29 00:32:36 +08:00
目棃
abb0a6e751 🐛 修复 mention 类型渲染异常 2024-04-26 15:06:40 +08:00
目棃
c89dfae2f7 ⬆️ 更新依赖 2024-04-26 00:58:36 +08:00
目棃
9bd9f60699 🚀 v0.4.6 2024-04-24 16:04:22 +08:00
目棃
070ab01b22 🍱 更新 4.6 版本资源
close #107
2024-04-24 15:30:17 +08:00
目棃
11bf4fea9b 💄 修复特定情况下y轴溢出 2024-04-24 01:01:59 +08:00
目棃
0b8fa6d8f6 🐛 修复特定情况下首页卡池异常 2024-04-24 00:37:13 +08:00
目棃
8917deb5db 🚨 修复qodana报错 2024-04-23 20:34:05 +08:00
目棃
065019cdc6 🎨 代码格式化 2024-04-23 19:00:28 +08:00
目棃
f802ee9a68 🔧 Eslint v9 2024-04-23 18:49:44 +08:00
目棃
971526d6ed ️ 侧边栏咨讯入口记忆类型 2024-04-20 00:44:45 +08:00
目棃
2c2914a028 🐛 修复返回数据为 [true] 2024-04-17 00:54:42 +08:00
目棃
214b828b10 🐛 调整 2024-04-13 01:21:24 +08:00
目棃
ada6f5b15a 📝 新模板 2024-04-13 01:18:24 +08:00
目棃
2aa0df5246 ♻️ 代码规范化 2024-04-12 12:56:23 +08:00
目棃
d9cdea9670 🐛 修复部分角色生日数据缺失 2024-04-11 00:58:41 +08:00
目棃
98541e1b49 🐛 修复 align:right 不生效的问题
*PostID:51080404
2024-04-07 14:56:24 +08:00
目棃
f50398f6e3 ♻️ 帖子文本解析部分重构 2024-04-07 14:31:43 +08:00
目棃
74eb612d72 🐛 修复特定情况下左侧按钮点击无效 2024-04-06 01:43:30 +08:00
目棃
956634767a Merge pull request #106 from BTMuli/dependabot/cargo/src-tauri/h2-0.3.26
Bump h2 from 0.3.24 to 0.3.26 in /src-tauri
2024-04-06 01:00:21 +08:00
目棃
ee078bbcf2 Merge pull request #105 from BTMuli/dependabot/cargo/src-tauri/whoami-1.5.1
Bump whoami from 1.4.1 to 1.5.1 in /src-tauri
2024-04-06 01:00:08 +08:00
dependabot[bot]
044ec32069 Bump h2 from 0.3.24 to 0.3.26 in /src-tauri
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 16:16:24 +00:00
dependabot[bot]
19ac8e90e0 Bump whoami from 1.4.1 to 1.5.1 in /src-tauri
Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.1.
- [Changelog](https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md)
- [Commits](https://github.com/ardaku/whoami/compare/v1.4.1...v1.5.1)

---
updated-dependencies:
- dependency-name: whoami
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 15:46:57 +00:00
目棃
d1bfa49bd7 🐛 一些优化
*修复画片初始化数量异常
*数据库更新后弹出更新日志
*调整生日转换逻辑
2024-04-05 15:26:00 +08:00
目棃
d78c541c87 ⬆️ 更新依赖 2024-04-05 15:19:23 +08:00
目棃
ab9eb3c827 🚀 v0.4.5
*更新米社版本至 2.70.1
*删除无用 typo
*更新 pnpm 版本
2024-04-05 14:25:46 +08:00
目棃
36c9cd69e6 ️ 一些优化
*修正琳妮特unread链接
*修复数据概览高度溢出
*调整生日组件样式
2024-04-05 14:04:01 +08:00
目棃
914cddafc1 💄 美化生日组件 2024-04-05 01:10:58 +08:00
目棃
33edb3c33a ️ 更新生日数据,优化用户体验 2024-04-05 00:26:49 +08:00
目棃
8f322eae45 🐛 修复搜索bug 2024-04-04 23:14:09 +08:00
目棃
96aec27752 🍱 修复埃洛伊数据错误 2024-04-04 20:01:28 +08:00
目棃
ca46b8813d ️ 优化,存在 bug 2024-04-04 19:51:10 +08:00
目棃
6bf24bd8c2 帖子搜索集成
fix #103
2024-04-04 18:48:35 +08:00
目棃
623d137457 ♻️ 米社请求重构 2024-04-04 15:14:19 +08:00
目棃
54e941504d 🐛 修复特定情况下分类改变错误 2024-04-04 14:48:46 +08:00
目棃
e5ff294080 Merge pull request #104 from BTMuli/dependabot/npm_and_yarn/vite-5.1.7
Bump vite from 5.1.6 to 5.1.7
2024-04-04 02:22:48 +08:00
dependabot[bot]
44e968592d Bump vite from 5.1.6 to 5.1.7
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.1.6 to 5.1.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-03 18:11:46 +00:00
目棃
983be395fa 🐛 修复获取下个生日数据错误 2024-04-04 01:04:07 +08:00
目棃
e5b30af48f 🍱 更新卡池信息 2024-04-03 14:33:21 +08:00
目棃
5aba7bcecc 🔥 部分跳转改为新建窗口 2024-04-03 14:06:34 +08:00
目棃
4985bcde29 还是把生日加回来了,不然太空了 2024-04-01 00:56:24 +08:00
目棃
d8ade955b4 🚨 修复 Qodana 报错 2024-03-31 23:26:05 +08:00
目棃
d9bbe4e7fe 💄 样式调整 2024-03-27 16:02:49 +08:00
目棃
ff0dc6d08c 🍱 替换默认封面 2024-03-26 21:53:48 +08:00
目棃
6a0749f234 ♻️ 首页组件样式迭代 2024-03-26 16:38:14 +08:00
目棃
6b2ef079ca 💄 修改浅色主题默认bg color 2024-03-26 15:37:25 +08:00
目棃
eaf2245e38 ✏️ fix typo err 2024-03-26 15:28:21 +08:00
目棃
c75858ceab ️ 添加更新日志跳转 2024-03-26 15:26:09 +08:00
目棃
fabf9de03e ♻️ 抽奖详情做成 overlay 2024-03-26 15:21:00 +08:00
目棃
9e030c976b 子窗口操作同步主窗口,帖子排序 2024-03-23 14:50:42 +08:00
目棃
55671ab22d ️ 优化操作逻辑 2024-03-23 14:23:43 +08:00
目棃
7f872787f1 💄 调整 disable 样式 2024-03-22 20:59:02 +08:00
目棃
0cd3b6072f 🐛 完善可用条件 2024-03-22 20:45:14 +08:00
目棃
17c5d879cd 收藏功能基本完成
close #100
2024-03-22 20:36:42 +08:00
目棃
417e98a99c 💄 优化列表滚动样式 2024-03-22 19:36:14 +08:00
目棃
b5a81503a8 💩 脑测样式&逻辑代码 2024-03-22 17:14:37 +08:00
目棃
1405b544be 💄 卡片样式调整 2024-03-21 20:28:50 +08:00
目棃
8707a8288e ️ 一些优化 2024-03-21 14:04:52 +08:00
目棃
d9cb95e225 🐛 修复数据库插入错误 2024-03-21 13:58:23 +08:00
目棃
27f4e026b0 🌱 单帖的收藏编辑,支持分类创建/删除 2024-03-20 16:12:59 +08:00
目棃
5fb24387ca 💄 增加间距 2024-03-20 15:15:19 +08:00
目棃
88879dd4ec ️ 已收藏帖子打开时自动更新数据 2024-03-20 13:50:06 +08:00
目棃
5d59245761 ♻️ 重构收藏数据库,更加beauty 2024-03-20 02:25:51 +08:00
目棃
66c6d3a3a5 🔥 移除无用文件 2024-03-19 23:45:47 +08:00
目棃
8996c1bce1 帖子收藏 #100 2024-03-19 21:51:57 +08:00
目棃
c5587211fd ♻️ 通用帖子卡片抽离出来作为组件 2024-03-19 21:46:44 +08:00
目棃
43232548bb ✏️ 合并相同类型数据 2024-03-19 21:22:47 +08:00
目棃
3501590fb4 🍱 修正部分成就版本信息 2024-03-17 13:21:48 +08:00
目棃
2b227ea333 ️ 帖子解析&祈愿记录微调
*优化链接样式
*饼图加上集录祈愿
*祈愿刷新后刷新页面
2024-03-17 13:15:18 +08:00
目棃
2f32f4e2c1 ⬆️ 更新依赖 2024-03-17 12:51:09 +08:00
目棃
3ec13b7510 📝 徽标忘改了 2024-03-14 00:47:01 +08:00
330 changed files with 15455 additions and 7134 deletions

View File

@@ -1,10 +0,0 @@
# Build
dist
src-tauri/target
# Package files
pnpm-lock.yaml
# data
src/data/**/*.json
# lint files
!.prettierrc.yml
!.stylelintrc.yml

View File

@@ -1,133 +0,0 @@
root: true
env:
browser: true
es2021: true
extends:
- plugin:vue/vue3-essential
- prettier
- plugin:prettier/recommended
- plugin:yml/standard
- plugin:jsonc/recommended-with-json
parserOptions:
ecmaVersion: latest
sourceType: module
tsconfigRootDir: .
project: ./tsconfig.json
globals:
TGApp: readonly
window: readonly
rules:
vue/multi-word-component-names: off
vue/valid-template-root: off
overrides:
- files: ["*.ts"]
extends: standard-with-typescript
# 将此处规则 copy 到下面的 .vue 文件的 rules 中
rules: &typescript-rules
import/order:
- error
- groups:
- builtin
- external
- [internal, parent, sibling, index]
- unknown
newlines-between: always
alphabetize:
order: asc
caseInsensitive: true
"@typescript-eslint/indent": off
"@typescript-eslint/quotes":
- error
- double
"@typescript-eslint/semi":
- error
- always
"@typescript-eslint/comma-dangle":
- error
- always-multiline
"@typescript-eslint/space-before-function-paren":
- error
- anonymous: always
named: never
asyncArrow: always
"@typescript-eslint/member-delimiter-style":
- error
- multiline:
delimiter: semi
requireLast: true
"@typescript-eslint/no-import-type-side-effects": error
"@typescript-eslint/strict-boolean-expressions": off
"@typescript-eslint/consistent-type-assertions":
- warn
- assertionStyle: angle-bracket # 使用尖括号
"@typescript-eslint/naming-convention":
- warn
- selector: variableLike
format: [camelCase, UPPER_CASE, PascalCase, snake_case]
leadingUnderscore: allow
trailingUnderscore: allow
"@typescript-eslint/no-non-null-assertion": warn
"@typescript-eslint/no-misused-promises": off
"@typescript-eslint/restrict-template-expressions": warn
- files: ["*.vue"]
parser: vue-eslint-parser
parserOptions:
parser: "@typescript-eslint/parser"
extraFileExtensions: [.vue]
rules:
<<: *typescript-rules
- files: [package.json, tsconfig.json]
parser: jsonc-eslint-parser
rules:
jsonc/sort-array-values:
- error
- pathPattern: .*
order:
type: asc
jsonc/sort-keys:
- error
- pathPattern: ^$
order:
- name
- version
- description
- private
- packageManager
- scripts
- lint-staged
- keywords
- author
- license
- repository
- homepage
- bugs
- dependencies
- devDependencies
- files: ["*.yaml", "*.yml"]
parser: yaml-eslint-parser
parserOptions:
defaultYAMLVersion: "1.2"
rules:
yml/indent:
- error
- 2
yml/no-multiple-empty-lines: error
yml/key-spacing: error
yml/quotes:
- error
- prefer: double
avoidEscape: true
yml/sort-keys:
- error
- pathPattern: ^$
order:
- root
- env
- extends
- parserOptions
- globals
- rules
- overrides
- pathPattern: ^rules$
order:
type: asc

View File

@@ -0,0 +1,44 @@
name: 原神游戏资源更新(仅供开发者使用)
description: 版本前瞻后的例行资源更新
title: "[Update] "
labels:
- 资源
body:
- type: checkboxes
attributes:
label: Issue Check
options:
- label: 个人明确了解该模板仅供开发者使用
required: true
- type: input
id: version
attributes:
label: 游戏版本
description: 请填写游戏版本
placeholder: 如 4.6
- type: checkboxes
id: resources
attributes:
label: 包括的资源
options:
- label: 角色&名片,有新角色时选择
required: false
- label: 武器,有新武器时选择
required: false
- label: 成就,有新成就时选择
required: false
- label: 卡牌,有新卡牌时选择
required: false
- label: 材料,有新材料时选择
required: false
- type: textarea
id: detail
attributes:
label: 详情
description: 对上述内容进行详细说明
- type: textarea
id: additional
attributes:
label: 其他信息
description: 请填写其他信息
placeholder: 请填写其他信息

View File

@@ -26,7 +26,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Add Rust targets(macOS)
- name: Add Rust targets(macOS Intel)
if: matrix.settings.target == 'macos-intel'
run: rustup target add x86_64-apple-darwin
- name: Add Rust targets(macOS ARM)
if: matrix.settings.target == 'macos-arm'
run: rustup target add aarch64-apple-darwin
@@ -40,11 +43,11 @@ jobs:
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 18.16.0
node-version: 22.0.0
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.14.1
version: 9.1.0
- name: remove lockfile
run: rm pnpm-lock.yaml
- name: Install frontend dependencies

View File

@@ -14,11 +14,11 @@ jobs:
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 21.4.0
node-version: 22.0.0
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.14.1
version: 9.1.0
- name: remove lockfile
run: rm -f pnpm-lock.yaml
- name: Install dependencies

View File

@@ -2,13 +2,84 @@
Author: 目棃
Description: CHANGELOG
Date: 2024-01-15
Update: 2024-02-09
Update: 2024-06-14
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli)
> 自动生成于 `2024-01-15 17:29:15`
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-01-15 17:29:15`
>
> 更新于 `2024-02-09 20:30:26`
> 更新于 `2024-06-14 22:52:08`
## [0.4.9](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.9) (2024-06-14)
- 💄 调整帖子 `tag` 样式
- 🐛 修复成就导入异常
- ✏️ 修正角色图鉴部分描述
- 🍱 更新卡牌资料
- ⚡️ 成就查询输入为空时重置结果
## [0.4.8](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.8) (2024-06-04)
- 🐛 修复名片解析异常 [`#110`](https://github.com/BTMuli/TeyvatGuide/issues/110)
- 💄 调整链接组件样式
- 💄 调整首页生日组件样式
- 🐛 修复版本搜索失效,未完成成就优先
- 🍱 更新 4.7 版本资源 [`#112`](https://github.com/BTMuli/TeyvatGuide/issues/112)
## [0.4.7](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.7) (2024-05-10)
- 🐛 修复 mention 类型渲染异常
- ⚡️ 对签到链接跳转进行处理,优化部分网页活动打开
- ♻️ 重构用户祈愿数据库相关处理
- 🔥 隐藏网页登录模块 [`#108`](https://github.com/BTMuli/TeyvatGuide/issues/108)
- ✨ 采用 ajv 验证 UIGF [`#109`](https://github.com/BTMuli/TeyvatGuide/issues/109)
- 💄 完善公告`table`&`p`部分的渲染
- 💄 调整帖子文本部分的样式
- ♻️ UIAF重构支持祈愿备份/恢复
- ⚡️ 完善公告正则
- ♻️ 名片组件抽离wiki添加名片信息
## [0.4.6](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.6) (2024-04-24)
### Feat
- 帖子:重构文本解析,现在更加贴近应用内的渲染效果
- 应用:侧边栏点击咨讯时的参数也支持记忆了
- 应用:更新 4.6 版本的游戏资源
### Fix
- 留影叙佳期:修复侧边栏点击时初始画片数异常
- 首页:修复特定情况下日历组件左侧切换日期按钮点击无效
- 帖子:修复 `align:right` 不生效的问题
- 首页:修复特定情况下首页卡池渲染异常
### Change
- 应用:数据库更新后弹出更新日志
## [0.4.5](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.5) (2024-04-05)
### Feat
- 添加收藏页面,支持导入用户收藏 [`#100`](https://github.com/BTMuli/TeyvatGuide/issues/100)
- 设置页添加更新日志跳转
- 首页:组件样式迭代
- 帖子:替换默认封面
- 帖子:支持关键词搜索 [`#103`](https://github.com/BTMuli/TeyvatGuide/issues/103)
### Fix
- 成就:修正部分成就版本信息 [`3501590f`](https://github.com/BTMuli/TeyvatGuide/commit/3501590f)
- 帖子:链接卡片添加间距
- 图鉴:修复埃洛伊背景渲染异常
- 留影叙佳期:补充遗漏数据,支持特定日期查看
### Change
- 帖子:微调解析逻辑
- 重构:通用帖子卡片抽离作为组件,添加 `select` 状态
- 帖子:抽奖详情改为 `overlay`
- 应用:调整默认颜色
## [0.4.4](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.4) (2024-03-13)

View File

@@ -2,16 +2,16 @@
Author: 目棃
Description: 说明文档
Date: 2023-03-05
Update: 2024-03-13
Update: 2024-04-05
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
>
> 更新于 `2024-03-13 15:51:39`
> 更新于 `2024-04-05 14:25:24`
![](https://img.shields.io/github/last-commit/BTMuli/TeyvatGuide?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/TeyvatGuide/latest?include_prereleases&style=for-the-badge)
![](https://img.shields.io/badge/UIAF-v1.1-orange?style=for-the-badge) ![](https://img.shields.io/badge/UIGF-v2.4-red?style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/TeyvatGuide?style=for-the-badge)
![](https://img.shields.io/badge/UIAF-v1.1-orange?style=for-the-badge) ![](https://img.shields.io/badge/UIGF-v3.0-red?style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/TeyvatGuide?style=for-the-badge)
<div style="width: 100%; text-align: center; margin: 0 auto;">
<img alt="icon" src="https://s2.loli.net/2023/10/19/Y5DpBQRy3usLHEb.png" />
@@ -49,6 +49,8 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
- [x] 米游社各分区帖子获取(支持通过 ID 获取)
- [x] 成就管理UIAF v1.1),支持 [`YaeAchievement`](https://github.com/HolographicHat/YaeAchievement) 导入
- [x] 祈愿管理UIGF v3.0
- [x] 留影叙佳期画片查看
- [x] 帖子收藏
- 登陆功能:

23
eslint.config.js Normal file
View File

@@ -0,0 +1,23 @@
import { jsonEslintConfig } from "./eslint/jsonEslint.js";
import { vueEslintConfig } from "./eslint/vueEslint.js";
import ymlEslintConfig from "./eslint/ymlEslint.js";
export default [
...jsonEslintConfig,
ymlEslintConfig,
...vueEslintConfig,
{
ignores: [
"dist",
"src-tauri/target",
"pnpm-lock.yaml",
"src/data/**/*.json",
"src-tauri/tauri.conf.json",
"qodana.yaml",
".github",
".vscode",
".prettierrc.yml",
".stylelintrc.yml",
],
},
];

94
eslint/jsonEslint.js Normal file
View File

@@ -0,0 +1,94 @@
import eslint_jsonc from "eslint-plugin-jsonc";
import jsonc_parser from "jsonc-eslint-parser";
const pkgJsonConfig = {
files: ["package.json"],
plugins: {
jsonc: eslint_jsonc,
},
languageOptions: {
parser: jsonc_parser,
},
rules: {
"jsonc/comma-dangle": ["error", "never"],
"jsonc/sort-keys": [
"error",
{
pathPattern: "^$",
order: [
"name",
"version",
"description",
"type",
"scripts",
"lint-staged",
"keywords",
"author",
"license",
"repository",
"homepage",
"bugs",
"dependencies",
"devDependencies",
],
},
],
},
};
const tscJsonConfig = {
files: ["tsconfig.json"],
plugins: {
jsonc: eslint_jsonc,
},
languageOptions: {
parser: jsonc_parser,
},
rules: {
"jsonc/comma-dangle": ["error", "never"],
"jsonc/sort-keys": [
"error",
{
pathPattern: "^$",
order: [
"compilerOptions",
"include",
"exclude",
"extends",
"files",
"references",
"typeAcquisition",
],
},
],
},
};
const jsoncConfig = {
files: ["source/data/out/**/*.json", ".vscode/**/*.json"],
plugins: {
jsonc: eslint_jsonc,
},
languageOptions: {
parser: jsonc_parser,
},
rules: {
"jsonc/comma-dangle": ["error", "never"],
"jsonc/sort-keys": [
"error",
{
pathPattern: "^$",
order: {
type: "asc",
},
},
],
},
};
export const jsonEslintConfig = [
...eslint_jsonc.configs["flat/recommended-with-json"],
pkgJsonConfig,
tscJsonConfig,
jsoncConfig,
];

87
eslint/vueEslint.js Normal file
View File

@@ -0,0 +1,87 @@
import eslint_js from "@eslint/js";
import eslint_import from "eslint-plugin-import";
import eslint_prettier from "eslint-plugin-prettier";
import eslint_vue from "eslint-plugin-vue";
import pluginVue from "eslint-plugin-vue";
import globals from "globals";
import eslint_ts from "typescript-eslint";
import vue_parser from "vue-eslint-parser";
const tsConfigRules = {
"@typescript-eslint/consistent-type-assertions": [
"error",
{
assertionStyle: "angle-bracket",
},
],
"@typescript-eslint/no-import-type-side-effects": "error",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-explicit-any": "off",
"import/order": [
"error",
{
groups: ["builtin", "external", "internal", "parent", "sibling", "index", "unknown"],
"newlines-between": "always",
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
"prettier/prettier": "error",
};
const tsConfig = {
files: ["*.ts"],
plugins: {
typescript: eslint_ts,
import: eslint_import,
prettier: eslint_prettier,
},
languageOptions: {
parser: eslint_ts.parser,
parserOptions: {
project: "tsconfig.json",
tsconfigRootDir: ".",
},
},
rules: tsConfigRules,
};
const vueConfig = {
plugins: {
vue: eslint_vue,
import: eslint_import,
prettier: eslint_prettier,
},
languageOptions: {
globals: {
...globals.browser,
...globals.es2021,
TGApp: "readonly",
window: "readonly",
},
ecmaVersion: "latest",
sourceType: "module",
parser: vue_parser,
parserOptions: {
project: "tsconfig.json",
parser: eslint_ts.parser,
extraFileExtensions: [".vue"],
tsconfigRootDir: ".",
},
},
rules: {
...tsConfigRules,
"vue/multi-word-component-names": "off",
},
};
export const vueEslintConfig = [
eslint_js.configs.recommended,
...eslint_ts.configs.recommended,
...eslint_vue.configs["flat/essential"],
...pluginVue.configs["flat/essential"],
tsConfig,
vueConfig,
];

30
eslint/ymlEslint.js Normal file
View File

@@ -0,0 +1,30 @@
import eslint_yml from "eslint-plugin-yml";
import yml_parser from "yaml-eslint-parser";
const ymlEslintConfig = {
files: ["**/*.yml", "**/*.yaml"],
plugins: {
yml: eslint_yml,
},
languageOptions: {
parser: yml_parser,
parserOptions: {
defaultYAMLVersion: "1.2",
extraFileExtensions: [".yaml", ".yml"],
},
},
rules: {
"yml/indent": ["error", 2],
"yml/key-spacing": ["error"],
"yml/quotes": [
"error",
{
prefer: "double",
avoidEscape: true,
},
],
"yml/sort-keys": ["error", "asc"],
},
};
export default ymlEslintConfig;

View File

@@ -1,9 +1,9 @@
{
"name": "TeyvatGuide",
"version": "0.4.4",
"version": "0.4.9",
"description": "Game Tool for Genshin Impact player",
"private": true,
"packageManager": "pnpm@8.15.3",
"type": "module",
"scripts": {
"build": "tauri build",
"debug": "tauri build --debug",
@@ -66,8 +66,9 @@
},
"dependencies": {
"@mdi/font": "7.4.47",
"@tauri-apps/api": "^1.5.3",
"artplayer": "^5.1.1",
"@tauri-apps/api": "^1.5.6",
"ajv": "^8.16.0",
"artplayer": "^5.1.5",
"clipboard": "^2.0.11",
"color-convert": "^2.0.1",
"echarts": "^5.5.0",
@@ -78,51 +79,55 @@
"qrcode.vue": "^3.4.1",
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1",
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql#v1",
"uuid": "^9.0.1",
"vue": "^3.4.19",
"vue-echarts": "^6.6.9",
"uuid": "^10.0.0",
"vue": "^3.4.27",
"vue-echarts": "^6.7.3",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.3.0",
"vuetify": "^3.5.8",
"vue-router": "^4.3.3",
"vuetify": "^3.6.9",
"wcag-color": "^1.1.1",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@tauri-apps/cli": "^1.5.10",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.4.0",
"@tauri-apps/cli": "^1.5.14",
"@types/color-convert": "^2.0.3",
"@types/js-md5": "^0.7.2",
"@types/node": "^20.11.20",
"@types/node": "^20.14.2",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-vue": "^5.0.4",
"@typescript-eslint/parser": "^7.13.0",
"@vitejs/plugin-vue": "^5.0.5",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint": "^9.4.0",
"eslint-config-love": "^52.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsonc": "^2.13.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-n": "^17.8.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.22.0",
"eslint-plugin-yml": "^1.12.2",
"eslint-plugin-promise": "^6.2.0",
"eslint-plugin-vue": "^9.26.0",
"eslint-plugin-yml": "^1.14.0",
"globals": "^15.4.0",
"husky": "^9.0.11",
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.2.2",
"oxlint": "^0.2.10",
"prettier": "3.2.5",
"stylelint": "^16.2.1",
"lint-staged": "^15.2.6",
"oxlint": "^0.4.3",
"prettier": "3.3.2",
"stylelint": "^16.6.1",
"stylelint-config-idiomatic-order": "^10.0.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
"stylelint-high-performance-animation": "^1.10.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.0",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vite-plugin-vue-devtools": "^7.0.15",
"vite-plugin-vuetify": "^2.0.1",
"yaml-eslint-parser": "^1.2.2"
"typescript": "^5.4.5",
"typescript-eslint": "^7.13.0",
"vite": "^5.2.13",
"vite-plugin-vue-devtools": "^7.2.1",
"vite-plugin-vuetify": "^2.0.3",
"vue-eslint-parser": "^9.4.3",
"yaml-eslint-parser": "^1.2.3"
}
}

7437
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Some files were not shown because too many files have changed in this diff Show More