俞可 · YU KE
244254167e
fix(eslint-config): disable unsafe catalog autofixes ( #8341 )
* fix(eslint-config): disable unsafe catalog autofixes
* test(eslint-config): cover non-mutating catalog lint
2 weeks ago
xueyitt
d8502be98b
chore(eslint-config): 关闭 perfectionist 语义排序相关规则 ( #8340 )
关闭 sort-enums、sort-interfaces、sort-switch-case 和
sort-object-types,允许枚举成员、interface/type 成员及 switch 分支
按语义或数值顺序(如状态码按码值)排列,而非强制字母序。
2 weeks ago
github-actions[bot]
16ba48470a
chore: bump versions ( #8316 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 weeks ago
Dream
522a83b2fb
fix( @vben-core/layout-ui ): add overlay viewport height fallback
1 month ago
Harold Zhang
de78a87f38
fix( @vben/vite-config ): 修复生产构建下组件库 css 层顺序错误导致样式被覆盖
viteCssLayerPlugin 把组件库 css 包进 @layer 依赖 theme.css 中的层顺序声明
先被注册。生产构建下 css 按 chunk 注入,若组件库 css chunk 先于 theme.css
加载,层名会被注册为最低优先级,Tailwind base/utilities 覆盖组件样式。
由于 rolldown-vite 的 css 合并会剥离「层顺序声明 + @layer 规则」模块的层
(规则被脱层),压缩阶段也会丢弃 transform 输出的声明,改为在
generateBundle 阶段向含组件库层的 css 产物顶部统一注入层顺序声明,无论
chunk 加载顺序如何层优先级都正确(theme.css 先加载时声明为幂等 no-op)。
properties(Tailwind --tw-* 回退变量层)排在首位保持最低优先级,theme.css
中的声明同步更新以保持一致。
1 month ago
layhuts
2c1e643ab9
fix: 调整lint执行顺序
使用核心 no-nested-ternary 规则替代 Unicorn 自动修复,避免嵌套三元表达式被错误加括号
调整 oxlint、oxfmt、eslint 和 stylelint 的执行顺序,保证commit与format流程一致
1 month ago
dream-weave
9f5b1cd9fb
fix( @vben-core/form-ui )!: group field slot component props ( #8215 )
* refactor(@vben-core/form-ui )!: group field slot component props
* fix(@vben-core/form-ui ): stabilize grouped field slot bindings
Resolve function-based common component props with field context.
Preserve internal model and event bindings when custom field slots spread componentProps.
Add regression coverage for array contexts, disabled precedence, and stale binding isolation.
* feat(@vben/vite-config ): warn about field slot migration
Print the temporary field-slot migration warning when the development server starts.
Inject the same message into the browser console and keep the plugin serve-only.
* docs(@vben/docs ): document field slot migration
Place the breaking field-slot notice at the start of both form documents.
Explain old and new bindings, development warnings, and planned notice removal.
* feat(@vben/playground ): extend custom form example
Add a switchable input and select field to demonstrate schema component updates.
Update the composite phone field to emit new tuple values so validation observes changes.
2 months ago
xingyu4j
0a45cb41fb
fix: 添加 StyleProvider 以支持 Tailwind 样式覆盖;移除 InputNumber 组件的宽度样式,优化组件适配;antdv 暂不支持
2 months ago
xingyu4j
819ddd4ebb
fix(style): 添加no-invalid-position-declaration规则到stylelint配置
2 months ago
dream-weave
81619b6090
fix(lint): align eslint and oxlint rules ( #8118 )
* docs: 路由文档示例代码同步路由组织新规范
* fix(lint): align eslint and oxlint rules
* fix(lint): avoid control character regex
3 months ago
xingyu
dc3466d77a
refactor: 将 unicorn / TypeScript 规则迁移至 oxlint,并完善 oxfmt 配置 ( #8067 )
* chore: update deps
* chore: update archiver v8
* fix: 还原 vue/html-closing-bracket-newline
* feat: 增加默认配置和配置注释
* feat: 增加oxlint默认插件配置和注释
* refactor: remove unicorn ESLint configuration and update dependencies
- Deleted the unicorn ESLint configuration file from the lint-configs package.
- Removed unicorn configuration from the main index file.
- Updated oxlint-config to include a comprehensive set of unicorn rules.
- Adjusted preferences and vxe-table files to disable specific unicorn rules.
- Removed references to eslint-plugin-unicorn from pnpm-lock.yaml and pnpm-workspace.yaml.
* refactor: 移除 eslint 的 @typescript-eslint/eslint-plugin 依赖,将 TypeScript 配置迁移到 oxlint
* feat: open typeAware
* fix: mac 和linux下报错
3 months ago
HaroldZhangCode91
bf8c3d6411
feat: aligns ESLint with oxfmt's behavior ( #8054 )
3 months ago
金毛88
0eb72ca4fd
feat: add useTDesignDesignTokens
4 months ago
afe1
108d7ff335
chore: add commitlint config declaration ( #7968 )
* fix: catelog
* fix: system
* chore: sync upstream changes
* types: add commitlint config declaration
4 months ago
leo
1d6842fa69
build: change runtime config asset naming strategy for PWA compatibility ( #7963 )
replace query-based config url (_app.config.js?v=...)
with deterministic hashed filename (_app-config-v{version}-{hash}.js)
ensure service worker precache matches runtime injected asset
4 months ago
xingyu
f2b3b12553
chore: pnpm v11 ( #7942 )
* chore: remove rolldown dep
* fix: issues-helper and maintain-one-comment are temporarily disabled due to security issues
* chore: update deps
* fix: change error type to TypeError for non-browser environment check in LocalStorageDriver
* chore: update pnpm v11
4 months ago
afe1
126b33687a
chore: vite config tsconfig include ( #7936 )
* fix: catelog
* fix: system
* fix(vite-config): include tsdown config in tsconfig
4 months ago
xingyu4j
5db93a345a
fix: doc build error
4 months ago
xingyu4j
eb9cdbab9b
fix: lint
4 months ago
Jin Mao
0c8db0f6be
fix: 修复VITE_APP_TITLE变量替换语法
- 将index.html中的<%= VITE_APP_TITLE %>替换为%VITE_APP_TITLE%
- 更新web-antd、web-antdv-next、web-ele、web-naive、web-tdesign应用
- 修改文档中loading组件的VITE_APP_TITLE引用方式
- 修复vite-config插件中默认加载模板的变量语法
- 统一所有应用和模板中的环境变量引用格式
5 months ago
xingyu4j
e023a0852a
fix: tailwindcss lint config
5 months ago
xingyu4j
306739cabb
fix: lint
5 months ago
xingyu4j
093479bb33
chore: remove vite-plugin-html
5 months ago
xingyu4j
243456d928
fix: ts config
5 months ago
Jin Mao
7e8b9c2368
fix: 配置 TypeScript 构建根目录
- 添加 rootDir 编译选项指向 ./src 目录
- 保持现有编译配置不变
- 排除测试文件和 node_modules 目录
5 months ago
dullathanol
436a865bef
chore: 修正注释
5 months ago
dullathanol
185011ee21
fix: tailwindcss config
5 months ago
Jin Mao
e9bdbb610a
chore: fix lint
- 关闭 vitest/require-mock-type-parameters 规则
5 months ago
HaroldZhangCode91
8e0b65a0e1
feat: fix oxlint error for oxlint upgrade ( #7756 )
1. remove unknown rule out of oxlint
2. add the corresponding back to eslint-config
3. fixed the eslint error for package.json
6 months ago
Jin Mao
53ccec1d80
fix: 修复VITE_APP_TITLE变量替换语法
- 将index.html中的<%= VITE_APP_TITLE %>替换为%VITE_APP_TITLE%
- 更新web-antd、web-antdv-next、web-ele、web-naive、web-tdesign应用
- 修改文档中loading组件的VITE_APP_TITLE引用方式
- 修复vite-config插件中默认加载模板的变量语法
- 统一所有应用和模板中的环境变量引用格式
5 months ago
xingyu4j
1326994d8e
fix: tailwindcss lint config
5 months ago
xingyu4j
fd70a3f3e0
fix: lint
5 months ago
xingyu4j
298930b0d7
chore: remove vite-plugin-html
5 months ago
xingyu4j
320e687bad
fix: ts config
5 months ago
Jin Mao
ad43c6817e
fix: 配置 TypeScript 构建根目录
- 添加 rootDir 编译选项指向 ./src 目录
- 保持现有编译配置不变
- 排除测试文件和 node_modules 目录
5 months ago
dullathanol
224bfe7fcb
chore: 修正注释
5 months ago
dullathanol
f443bfbc7b
fix: tailwindcss config
5 months ago
Jin Mao
92f8916225
chore: fix lint
- 关闭 vitest/require-mock-type-parameters 规则
5 months ago
HaroldZhangCode91
b8b4308e1c
feat: fix oxlint error for oxlint upgrade ( #7756 )
1. remove unknown rule out of oxlint
2. add the corresponding back to eslint-config
3. fixed the eslint error for package.json
6 months ago
xingyu4j
67afcadcf0
fix: rollup -> rolldown
6 months ago
xingyu4j
1128ef5acd
chore: update deps
6 months ago
xingyu
0c300d040c
fix: tailwindcss config ( #7693 )
* chore: update deps
* fix: tailwindcss config
* fix: lint
* fix: lint
* chore: update deps
6 months ago
Jin Mao
bed97a84d8
revert: "fix: sass-embedded@1.98.0 在 macOS 13 会直接崩 ( #7692 )"
6 months ago
afe1
b908076846
fix: sass-embedded@1.98.0 在 macOS 13 会直接崩 ( #7692 )
* fix: catelog
* fix: system
6 months ago
Noah Lan
885a0a9a00
fix: build.mjs commands could not be executed correctly. ( #7682 )
* fix: Fix issue where commands could not be executed correctly when they contained spaces
* chore: oxfmt
6 months ago
Jin Mao
9fe875355a
fix: 修复构建脚本中的进程执行问题
- 移除平台特定的 pnpm 命令路径检测逻辑
- 统一使用 'pnpm' 命令执行
- 启用 shell 模式以正确处理命令执行
- 确保子进程继承正确的标准输入输出流
6 months ago
xingyu4j
5558249cd3
chore: unbuild
6 months ago
xingyu4j
86b636ae54
fix( @vben/vite-config ): externalize node utils dependency
6 months ago
xingyu4j
c9f7154524
chore(tsdown): remove unbuild leftovers
6 months ago
xingyu4j
3946253d6e
chore(tsdown): align stub scripts and package exports
6 months ago