💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
![](https://img.kancloud.cn/ca/0d/ca0d680e7fcda8b94e9697a113a8baa8_909x330.png) ![](https://img.kancloud.cn/27/bf/27bf1c4aa8cc791b2b8af648c82801ad_347x59.png) git-cz //.cz-config.js ~~~ 'use strict' module.exports = { types: [ { value: 'add', name: 'add: A new feature' }, { value: 'fix', name: 'fix: A bug fix' }, { value: 'refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature' }, { value: 'docs', name: 'docs: Documentation only changes' }, { value: 'test', name: 'test: Add missing tests or correcting existing tests' }, { value: 'chore', name: "chore: Changes that don't modify src or test files. Such as updating build tasks, package manager" }, { value: 'style', name: 'style: Code Style, Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)' }, { value: 'revert', name: 'revert: Revert to a commit' }, { value: 'version', name: 'version: 发版本用的' }, { value: 'icon', name: 'icon: 更新 icon' } ], scopes: ['公共模块', '全局组件', '模型模块', '数据源模块', '算法模块', '组件模块', '构建模块', '监控模块'], // allowCustomScopes: true, allowBreakingChanges: ['add', 'fix'] } ~~~ //package.json ~~~ "build": "vue-cli-service build", "lint": "vue-cli-service lint", "docs": "vuese gen", "see-docs": "vuese serve --open" "see-docs": "vuese serve --open", "commit": "git-cz" }, "dependencies": { "axios": "^0.18.0", "@vue/cli-plugin-eslint": "^3.0.3", "@vue/cli-service": "^3.0.3", "@vue/eslint-config-airbnb": "^3.0.3", "commitizen": "^3.1.1", "cz-customizable": "^6.2.0", "husky": "^1.1.2", "lint-staged": "^8.0.3", "node-sass": "^4.9.0", "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "config": { "commitizen": { "path": "node_modules/cz-customizable" } } } ~~~ ![](https://img.kancloud.cn/9c/df/9cdfbe44526a2d24c1262fc80345720a_485x536.png)![](https://img.kancloud.cn/82/34/82340609ffed2652c9d675d973b7eedb_655x454.png)