diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 769045f..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,11 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. - -### [1.0.1-2](http://gitlab.lashuju.com/opensource/luckysheet/compare/v1.0.1-1...v1.0.1-2) (2020-07-14) - -### [1.0.1-1](http://gitlab.lashuju.com/opensource/luckysheet/compare/v1.0.1-0...v1.0.1-1) (2020-07-14) - -# Changelog - -All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..f3f3988 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['@commitlint/config-conventional'] +} diff --git a/package.json b/package.json index c839dee..e5e5114 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "gulp-useref": "^4.0.1", "rollup": "^2.16.1", "rollup-plugin-terser": "^6.1.0", - "standard-version": "^8.0.2", "vuepress": "^1.5.0" }, "dependencies": {}, @@ -31,7 +30,7 @@ "docs:dev": "vuepress dev docs", "docs:build": "vuepress build docs", "commit": "git-cz", - "release": "standard-version" + "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md" }, "files": [ "dist"