Files
yudao-ui-admin-vben/scripts/vsh
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下报错
2026-06-18 16:10:01 +08:00
..
2024-05-19 21:20:42 +08:00

@vben/vsh

一个 Shell 脚本工具集合,用于 Vue Vben Admin 项目的开发和管理。

功能特性

  • 🚀 基于 Node.js 的现代化 Shell 工具
  • 📦 支持模块化开发和按需加载
  • 🔍 提供依赖检查和分析功能
  • 🔄 支持循环依赖扫描
  • 📝 提供包发布检查功能

安装

# 使用 pnpm 安装
pnpm add -D @vben/vsh

# 或者使用 npm
npm install -D @vben/vsh

# 或者使用 yarn
yarn add -D @vben/vsh

使用方法

全局安装

# 全局安装
pnpm add -g @vben/vsh

# 使用 vsh 命令
vsh [command]

本地使用

# 在 package.json 中添加脚本
{
  "scripts": {
    "vsh": "vsh"
  }
}

# 运行命令
pnpm vsh [command]

命令列表

  • vsh check-deps: 检查项目依赖
  • vsh scan-circular: 扫描循环依赖
  • vsh publish-check: 检查包发布配置