A modern vue admin. It is based on Vue3, vite and TypeScript. It's fast!
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dream-weave
0b863783ef
refactor: migrate lint toolchain to oxc locked pairing (#8481)
* build(lint): bump oxc toolchain to the locked pairing
- oxlint ^1.90.0 + oxlint-tsgolint ^7.0.2005 + oxfmt ^0.75.0 锁定配对:
工具链版本间存在规则集兼容矩阵,浮动配对会错位;根 devDependencies
补充 eslint-plugin-oxlint 桥接依赖,catalog 与 lockfile 同步。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* feat(@vben/oxlint-config): migrate to native extends with type-aware rules
- 配置迁移到 oxlint 原生 extends + ignorePatterns,根 ignore 列表收敛为
configs/ignores.ts 单源(oxlint/eslint 双消费不再手工同步);删除已按
category 覆盖的逐条规则;oxfmt-config 去掉包装层、采用 0.75 的 markdown
换行;tsgolint 类型感知规则三批全开,仅 2 条显式 off 附原因
(no-unsafe-enum-assignment=cz-git ESM 缺陷、no-unsafe-type-assertion=
359 处命中)。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* refactor(@vben/eslint-config): restore the eslint-plugin-oxlint bridge
- 恢复官方 eslint-plugin-oxlint 桥接,替代 69 条手工维护的关停规则 Set;
桥接关停范围收敛到 oxlint 实际检查的文件;组装顺序改为 builtin →
oxlint 桥 → customConfig → 用户配置,customConfig 与用户配置保持
最终权威(与迁移前的覆盖契约一致)。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* chore(project): split lint hooks and update toolchain scripts
- pre-commit 收敛为 oxlint/oxfmt/eslint 快检查,全量 typecheck 移交新增
pre-push 钩子;vsh lint 与 turbo-run 适配 oxc 调用;同步 .vscode 配置
与 lint 工具链文档。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* refactor(project): keep public signatures exact under type-aware rules
- 类型感知规则开启后被统一收窄/放宽的公共 API 恢复发布的泛型形态
(bindMethods/getNestedValue/use-sortable/use-priority-value 等),
保留跨包显式类型实参契约;form-ui 依赖回调语义还原(truthy 布尔化、
name 强转、trigger 顺序)并放宽条件类型;tabs-ui 将宽泛 EmitType
残留收窄为具体事件签名;typings、utils/helpers、hooks/access/
layouts/preferences 等的类型标注与泛型修复。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* fix(project): harden runtime paths surfaced by type-aware lint
- archiver 系列收敛为一个完整实现:outDir 依 vite root 解析、zip 失败
经 closeBundle 拒绝回传、输出流补 error 监听、watch 模式降级日志不再
杀 watcher;request 上传保留 axios 头抑制哨兵(AxiosHeaders 实例浅
拷贝自身属性,普通对象保持原样)、SSE 与响应拦截器默认值还原;
backend-mock 分页与同名参数规范化(firstQueryString/firstQueryInt);
echarts 30ms 窗口内卸载按 Nullable 语义 resolve(null);stores tabbar
刷新 fire-and-forget;各 app 入口/路由守卫与 playground 日期区间
守卫的浮动 Promise 处理。行为修复与对应回归测试同提交。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* test(project): adapt tests to the toolchain and record changesets
- popup-ui drawer/modal 断言前先 await close;preferences 的两个存储
mock 派生自单一工厂;核心包测试适配类型感知规则;删除 image preview
adapter 遗留的无操作改名;记录 oxc 迁移 changeset。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* test(@vben/hooks): drop redundant any-casts in use-tabs tests
Upstream #8488/#8490 introduced getTabDisableState tests that assert
store.getTabByKey(...) results with `as any`. getTabByKey now returns
TabDefinition, which is structurally identical to the TabIdentity
parameter type, so the casts are dead weight and trip the type-aware
no-unnecessary-type-assertion rule.
Co-Authored-By: Claude Code <noreply@anthropic.com>
---------
Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
|
3 weeks ago |
| .. |
|
__snapshots__
|
fix: 修复点击退出图标确认后不能退出 && 图标排序等数组字段需顺序敏感比较 (#8179)
|
4 months ago |
|
config.test.ts
|
fix: improve the scroll bar flashing when the modal box is opened (#4438)
|
2 years ago |
|
preferences-types.test.ts
|
fix(@vben-core/preferences): type custom preference updates (#8374)
|
3 months ago |
|
preferences.test.ts
|
refactor: migrate lint toolchain to oxc locked pairing (#8481)
|
3 weeks ago |