1
0
mirror of synced 2025-11-06 04:30:40 +08:00

ci: added standard-version

This commit is contained in:
Jamie Peabody
2021-11-21 12:22:50 +00:00
parent aa4d934cdd
commit 0de9e87df8
5 changed files with 74 additions and 11 deletions

46
.versionrc Normal file
View File

@@ -0,0 +1,46 @@
{
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "General",
"hidden": false
},
{
"type": "style",
"section": "General",
"hidden": false
},
{
"type": "refactor",
"section": "General",
"hidden": false
},
{
"type": "perf",
"section": "General",
"hidden": false
},
{
"type": "test",
"section": "General",
"hidden": false
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
},
{
"type": "ci",
"hidden": true
}
]
}

16
CHANGELOG.md Normal file
View File

@@ -0,0 +1,16 @@
# 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.
### [4.3.5](https://github.com/wickedest/Mergely/compare/v4.0.13...v4.3.5) (2021-11-21)
### Features
* **#132:** added option to ignore accented characters ([#136](https://github.com/wickedest/Mergely/issues/136)) ([5a0cd15](https://github.com/wickedest/Mergely/commit/5a0cd15ddd54fdd60b42247e6f373a6a8e47d25d)), closes [#132](https://github.com/wickedest/Mergely/issues/132) [#132](https://github.com/wickedest/Mergely/issues/132)
* **#137:** added 'summary' method ([4610ed3](https://github.com/wickedest/Mergely/commit/4610ed353557300e45d98e31cf384bc996dbac58)), closes [#137](https://github.com/wickedest/Mergely/issues/137)
### General
* updated dependencies ([85b02ad](https://github.com/wickedest/Mergely/commit/85b02add899b90e4d6ced4474cfdee98838d272a))

1
commitlint.config.js Normal file
View File

@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']};

View File

@@ -1,18 +1,14 @@
{
"convention" : {
"commitTypes": [
"feat",
"fix",
"perf",
"refactor",
"style",
"test",
"build",
"ops",
"docs",
"chore",
"merge",
"revert"
"ci",
"docs",
"style",
"refactor",
"perf",
"test"
],
"commitScopes": [],
"releaseTagGlobPattern": "v[0-9].*",

View File

@@ -36,6 +36,8 @@
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@commitlint/config-conventional": "^15.0.0",
"@commitlint/prompt-cli": "^15.0.0",
"@webpack-cli/init": "^1.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
@@ -56,6 +58,7 @@
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^4.0.2",
"mocha": "^8.1.3",
"standard-version": "^9.3.2",
"style-loader": "^2.0.0",
"webpack": "^4.44.2",
"webpack-cli": "^4.0.0",
@@ -66,6 +69,7 @@
"build:dist": "rm -rf lib && webpack --config ./webpack.prod.js",
"start": "webpack serve --config webpack.dev.js",
"test": "karma start",
"test:chrome": "karma start --browsers Chrome --singleRun=false"
"test:chrome": "karma start --browsers Chrome --singleRun=false",
"release": "standard-version -a"
}
}