diff --git a/.cz-config.js b/.cz-config.js index 62e64cab..64ba1974 100644 --- a/.cz-config.js +++ b/.cz-config.js @@ -1,15 +1,15 @@ "use strict"; module.exports = { types: [ - { value: "✨ 特性", name: "特性: 一个新的特性" }, - { value: "🐛 修复", name: "修复: 修复一个Bug" }, - { value: "📝 文档", name: "文档: 变更的只有文档" }, - { value: "💄 格式", name: "格式: 空格, 分号等格式修复" }, - { value: "♻️ 重构", name: "重构: 代码重构,注意和特性、修复区分开" }, - { value: "⚡️ 性能", name: "性能: 提升性能" }, - { value: "✅ 测试", name: "测试: 添加一个测试" }, - { value: "🔧 工具", name: "工具: 开发工具变动(构建、脚手架工具等)" }, - { value: "⏪ 回滚", name: "回滚: 代码回退" }, + { value: "✨特性", name: "特性: 一个新的特性" }, + { value: "🐛修复", name: "修复: 修复一个Bug" }, + { value: "📝文档", name: "文档: 变更的只有文档" }, + { value: "💄格式", name: "格式: 空格, 分号等格式修复" }, + { value: "♻️重构", name: "重构: 代码重构,注意和特性、修复区分开" }, + { value: "⚡️性能", name: "性能: 提升性能" }, + { value: "✅测试", name: "测试: 添加一个测试" }, + { value: "🔧工具", name: "工具: 开发工具变动(构建、脚手架工具等)" }, + { value: "⏪回滚", name: "回滚: 代码回退" }, ], scopes: [ { name: "component" }, diff --git a/.eslintrc.js b/.eslintrc.js index 55b042e1..063cee4c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -50,4 +50,5 @@ module.exports = { 'vue/require-default-prop': 'off', 'vue/script-setup-uses-vars': 'off' } - } \ No newline at end of file + } + \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE.zh-CN.md b/.gitee/ISSUE_TEMPLATE.zh-CN.md index 0b2560b1..1c673409 100644 --- a/.gitee/ISSUE_TEMPLATE.zh-CN.md +++ b/.gitee/ISSUE_TEMPLATE.zh-CN.md @@ -9,4 +9,4 @@ ## 跟进 -后续编辑,附上对应的 Pull Request 地址,可以用 `- [ ] some task` 的方式。 +后续编辑,附上对应的 Pull Request 地址,可以用 `- [ ] some task` 的方式。 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 2c720cb7..a47709c2 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,4 @@ package-lock.json *.suo *.ntvs* *.njsproj -*.sln \ No newline at end of file +*.sln diff --git a/.husky/commit-msg b/.husky/commit-msg index 1f20408f..a8334302 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -2,4 +2,4 @@ . "$(dirname "$0")/_/husky.sh" npm run lint:prettier -npx --no -- commitlint --edit $1 +npx --no -- commitlint --edit $1 \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index 9143feaf..5fb6e1a0 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,4 +2,4 @@ "semi": true, "singleQuote": false, "tabWidth": 2 -} \ No newline at end of file +} diff --git a/LICENSE b/LICENSE index e76f0161..6eff6372 100644 --- a/LICENSE +++ b/LICENSE @@ -17,4 +17,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.en.md b/README.en.md index 5052cd1d..bced1016 100644 --- a/README.en.md +++ b/README.en.md @@ -75,4 +75,4 @@ This project follows the [all-contributors](https://github.com/layui-vue/layui-v ## Licence -Layui vue is licensed under the [MIT license](https://opensource.org/licenses/MIT). +Layui vue is licensed under the [MIT license](https://opensource.org/licenses/MIT). \ No newline at end of file diff --git a/README.md b/README.md index 5052cd1d..bced1016 100644 --- a/README.md +++ b/README.md @@ -75,4 +75,4 @@ This project follows the [all-contributors](https://github.com/layui-vue/layui-v ## Licence -Layui vue is licensed under the [MIT license](https://opensource.org/licenses/MIT). +Layui vue is licensed under the [MIT license](https://opensource.org/licenses/MIT). \ No newline at end of file diff --git a/commitlint.config.js b/commitlint.config.js index 8686d513..e8397c40 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,3 +1,3 @@ module.exports = { extends: ["cz"], -}; +}; \ No newline at end of file diff --git a/package.json b/package.json index a907c094..119696fc 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "lint:prettier": "prettier --write \"package/**/*.{vue,ts}\"", "postinstall": "npm run build", "prepare": "husky install", - "commit": "git-cz && git push" + "commit": "git add . && git-cz && git push" }, "dependencies": { "@layui/layui-vue": "workspace:*", @@ -52,4 +52,4 @@ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0aa0dc1..7bc87d93 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4936,4 +4936,4 @@ packages: resolution: {integrity: sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/prettier/-/prettier-2.6.0.tgz} name: '@types/prettier' version: 2.6.0 - dev: true + dev: true \ No newline at end of file diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 85f7740b..0cb31170 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,3 @@ packages: - - package/* \ No newline at end of file + - package/* + \ No newline at end of file