198 Commits

Author SHA1 Message Date
dependabot[bot]
7a9df59da8
chore(deps): bump markdown-it from 15.0.0 to 15.0.1
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 15.0.0 to 15.0.1.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/15.0.0...15.0.1)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-version: 15.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-29 17:59:28 +00:00
fonghehe
7b1c087c00 feat: 重构整体架构并迁移 oxlint/oxfmt 工具链
架构与目录:
- 引入分层 API:transport/interceptors 收敛到 src/api/client.ts,
  域名端点拆到 src/api/modules,页面不再直接依赖 Axios
- 服务层(src/services)承载 AI 流式解析与框架无关的 provider
- TanStack Query 接管服务端状态,Pinia 仅保留会话/主题等客户端状态
- 路由表显式懒加载,组件/组合式函数按职责拆分

功能:
- AI 流式对话:fetchStreamProvider + useStreamingChat + 安全 Markdown 渲染
- 商店模块:商品列表/详情/购物车/后台管理,多语言(中/英/日)
- 示例页:请求错误矩阵、query 缓存、移动端适配、图标演示
- 离线页、PWA、图片优化、eruda 调试等能力

工程化:
- ESLint/Prettier 迁移到 oxlint/oxfmt,stylelint 保留
  - 新增 oxlint.config.ts(移植自 monorepo 的 @vh5/oxlint-config 全套规则)
  - 新增 oxfmt.config.ts(移植自 @vh5/oxfmt-config,printWidth 80)
  - lint-staged、format、lint 脚本同步切换
- pnpm 作为唯一包管理器,删除 package-lock.json 与 yarn.lock
- 引入 Vitest/Playwright/release-please,补充单元与组件测试
- OpenAPI schema 与生成类型入库
- 环境变量按 mode 拆分,重构 wrapperEnv 解析

清理:
- 删除 .commitlintrc.js(CJS 配置在 type:module 下会崩溃),改用 commitlint.config.mjs
- 删除 eslint.config.mjs、prettier.config.js、.prettierignore
- 停止跟踪 .eslintrc-auto-import.json(已切 oxlint,无人引用)
- 移除 iconfont、旧 demo/list 页与 useAxiosApi/useFetchApi 等遗留实现
- husky 钩子移除 DEPRECATED 的 shebang 写法
- .workbuddy/ 加入 .gitignore
2026-09-02 14:37:52 +08:00
fonghehe
bfca8a8858 feat: 优化整体代码 2026-04-30 19:46:33 +08:00
fonghehe
b336529d66 docs: 加入新项目说明 2026-04-28 18:58:28 +08:00
fonghehe
7552cc175b fix: 修复已知问题并优化代码质量 2026-04-28 10:51:28 +08:00
fonghehe
293bcb0291 fix: 修复已知的问题和更新相关的依赖 2026-01-22 16:44:03 +08:00
fonghehe
58addfde56 feat: 添加pnpm版本信息 2025-12-26 17:20:51 +08:00
fonghehe
b523860052 chore: 优化项目 2025-11-08 10:32:15 +08:00
fonghehe
fdbc841c30 fix: 修复依赖安装失败的问题 2025-09-29 13:40:43 +08:00
fonghehe
37d0474226 feat: 修改Vite插件配置和新增qrcode和pwa插件 2025-09-29 11:00:31 +08:00
fonghehe
1ab51e68d8 chore: 优化项目的整体结构 2025-08-27 14:28:41 +08:00
fonghehe
bd3e6cb8e6 fix: 解决组件样式引入的问题 2025-02-20 18:24:50 +08:00
fonghehe
1f9a7d5cd4 feat: 优化项目整体和更新相关依赖 2025-02-19 18:16:32 +08:00
fonghehe
6421aecf77
Merge pull request #151 from Annunx/vue-h5-template
fix: 修复设置vite.config.js base选项构建页面路径不正确问题
2024-11-08 16:57:33 +08:00
方甲云
d48e815986 fix: 修复设置vite.config.js base选项构建页面路径不正确问题 2024-11-05 18:15:56 +08:00
fonghehe
7f985eea45 feat: 加入https校验,方便移动端调试接口 2023-06-24 19:26:33 +08:00
fonghehe
9c8c57a90e chore: 更新依赖和修改配置文件 2023-07-15 17:26:33 +08:00
fonghehe
8c132e856a chore: 更新依赖和项目vscode配置 2023-07-13 18:40:24 +08:00
fonghehe
784ffba951 chore: 更新依赖 2023-07-11 20:48:10 +08:00
fonghehe
b6a814194c chore: 增加commitlint 2023-07-09 16:03:31 +08:00
fonghehe
1e0665e0d1 chore: 更新依赖 2023-07-07 18:54:46 +08:00
fonghehe
5df1c50397 refactor: 重构axios相关代码 2023-07-05 17:49:30 +08:00
fonghehe
ab5a4502e6 chore: 更新依赖 2023-07-03 16:43:27 +08:00
fonghehe
c60a5f8061 chore: 更新依赖 2023-07-01 10:35:24 +08:00
fonghehe
d57445c50e chore: 更新依赖 2023-06-29 13:32:27 +08:00
fonghehe
5ab96d5830 chore: 更新依赖 2023-06-27 14:05:13 +08:00
fonghehe
2a174a97d8 chore: 更新依赖 2023-06-25 12:51:08 +08:00
fonghehe
79005959da feat: 加入quark design demo 2023-06-23 16:49:40 +08:00
fonghehe
1c85b5b606 chore: 更新依赖 2023-06-21 16:57:43 +08:00
fonghehe
3b3b74c646 chore: 更新依赖 2023-06-19 18:25:22 +08:00
fonghehe
1689b3d2f9 chore: 更新依赖 2023-06-17 14:37:25 +08:00
fonghehe
11f14f9ea2 chore: 更新依赖 2023-06-15 13:15:51 +08:00
fonghehe
ba4aad2731 chore: 更新依赖 2023-06-13 17:26:54 +08:00
fonghehe
a9e387b5f7 chore: 更新依赖 2023-06-11 15:41:11 +08:00
fonghehe
086ed82759 chore: 更新依赖 2023-06-09 09:45:00 +08:00
fonghehe
cf76b4d434 chore: 更新依赖 2023-06-04 16:29:12 +08:00
fonghehe
a1c762d3ab chore: 更新依赖 2023-06-02 14:47:53 +08:00
fonghehe
fd521e1031 docs: 添加star历史 2023-05-31 16:02:21 +08:00
fonghehe
412f5f2e34 chore: 更新依赖 2023-05-27 11:32:02 +08:00
fonghehe
440141bbca chore: 更新依赖 2023-05-26 15:45:27 +08:00
fonghehe
c461e58d79 chore: 更新依赖 2023-05-25 12:57:55 +08:00
fonghehe
602bd23575 chore: 更新依赖 2023-05-24 20:32:45 +08:00
fonghehe
100165846d chore: 更新依赖 2023-05-23 16:32:42 +08:00
fonghehe
73a7ab350b
Merge pull request #123 from vintonHuang/vue-h5-template
feat: 新增hook方式的Modal弹窗解决方法
2023-05-22 11:34:24 +08:00
huangwentao
d5d197a1c3 fix: 🐛 删除文件署名 2023-05-15 16:13:02 +08:00
huangwentao
414aebae3f feat: 🎸 新增hooks弹窗解决方案 2023-05-15 14:42:18 +08:00
fonghehe
66ccaa065a
Merge pull request #122 from wcySpring/vue-h5-template
fix: 🐛 修改编辑器引入unplugin-auto-import 的api,在编辑器红色报错提示
2023-05-08 10:12:03 +08:00
Aria Grace
99cf4eb4e9
Merge branch 'vue-h5-template' into vue-h5-template 2023-05-08 09:37:30 +08:00
fonghehe
549484b326
Merge pull request #121 from bigsnowballhehe/patch-1
Update extensions.json
2023-05-06 09:13:19 +08:00
w
bae279ed65 fix: 🐛 使用vite-plugin-vue-setup-extend 导致sourceMap 失效问题
vite-plugin-vue-setup-extend, SourceMap转换bug一直存在导致调试位置异常,
所以使用vite-plugin-vue-setup-extend-plus替代达到同样目的
2023-04-29 12:48:49 +08:00