# element-plus-admin-pro **Repository Path**: condensation_rain/element-plus-admin-pro ## Basic Information - **Project Name**: element-plus-admin-pro - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-02-26 - **Last Updated**: 2026-03-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 提交规范 ## 集成交互式提交工具 ### 安装依赖 ``` pnpm i -D commitizen cz-conventional-changelog cz-conventional-changelog-zh ``` ### 配置提交命令 ``` { "scripts": { "cz": "cz" } } ``` ### 完整配置 创建配置文件 .czrc ``` { "path": "cz-conventional-changelog-zh", // 适配器路径(必须) "disableScopeLowerCase": false, // 是否禁用 scope 自动转小写(默认 false) "disableSubjectLowerCase": false, // 是否禁用 subject 首字母自动转小写(默认 false) "maxHeaderWidth": 100, // 提交信息标题最大字符数(默认 100) "maxLineWidth": 100, // 提交信息正文每行最大字符数(默认 100) "defaultType": "", // 默认提交类型(如 "feat") "defaultScope": "", // 默认影响范围(如 "core") "defaultSubject": "", // 默认简短描述 "defaultBody": "", // 默认详细描述 "defaultIssues": "", // 默认关联的 Issue "types": { // 自定义提交类型(保留默认值即使用内置类型),description:交互列表中显示的名称,title:生成 changelog 时的标题 "feat": { "description": "A new feature", // 新增功能 "title": "Features" }, "fix": { "description": "A bug fix", // 修复 Bug "title": "Bug Fixes" }, "docs": { "description": "Documentation only changes", // 仅文档变更 "title": "Documentation" }, "style": { "description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)", // 代码格式调整(不影响功能,如空格、分号等) "title": "Styles" }, "refactor": { "description": "A code change that neither fixes a bug nor adds a feature", // 代码重构(既不是新增功能,也不是修复 Bug) "title": "Code Refactoring" }, "perf": { "description": "A code change that improves performance", // 性能优化 "title": "Performance Improvements" }, "test": { "description": "Adding missing tests or correcting existing tests", // 添加或修正测试 "title": "Tests" }, "build": { "description": "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)", // 构建流程、外部依赖变更(如 gulp、npm 等) "title": "Builds" }, "ci": { "description": "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)", // 持续集成配置或脚本修改(如 Travis、Circle 等) "title": "Continuous Integrations" }, "chore": { "description": "Other changes that don't modify src or test files", // 其他不修改 src 或 test 的变动 "title": "Chores" }, "revert": { "description": "Reverts a previous commit", // 回滚之前的提交 "title": "Reverts" }, "wip": { "description": "Work In Progress", // 开发中 "title": "Work in Progress" }, "workflow": { "description": "Workflow improvements", // 工作流改进 "title": "Workflow" }, "types": { "description": "Type definition changes", // 类型定义文件变更 "title": "Types" }, "release": { "description": "Release a new version", // 发布版本 "title": "Release" } } } ```