Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
chore(semantic-release): improve configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
wtchnm committed Jan 27, 2021
1 parent 6a10a5d commit 6df1551
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,36 @@
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{ "type": "refactor", "release": "patch" },
{ "type": "style", "release": "patch" }
{ "type": "docs", "scope": "README", "release": "patch" },
{ "type": "style", "release": "patch" },
{ "type": "refactor", "release": "patch" }
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "docs", "section": "Documentation" },
{ "type": "style", "section": "Styles" },
{
"type": "chore",
"section": "Miscellaneous Chores"
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{ "type": "test", "section": "Tests" },
{ "type": "build", "section": "Build System" },
{ "type": "ci", "section": "Continuous Integration" }
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"autoprefixer": "9.8.6",
"babel-loader": "8.2.2",
"babel-preset-react-app": "10.0.0",
"conventional-changelog-conventionalcommits": "4.5.0",
"cross-env": "7.0.3",
"css-loader": "5.0.1",
"cssnano": "4.1.10",
Expand Down
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5220,6 +5220,15 @@ conventional-changelog-angular@^5.0.0:
compare-func "^2.0.0"
q "^1.5.1"

conventional-changelog-conventionalcommits@4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.5.0.tgz#a02e0b06d11d342fdc0f00c91d78265ed0bc0a62"
integrity sha512-buge9xDvjjOxJlyxUnar/+6i/aVEVGA7EEh4OafBCXPlLUQPGbRUBhBUveWRxzvR8TEjhKEP4BdepnpG2FSZXw==
dependencies:
compare-func "^2.0.0"
lodash "^4.17.15"
q "^1.5.1"

conventional-changelog-writer@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.1.0.tgz#1ca7880b75aa28695ad33312a1f2366f4b12659f"
Expand Down

0 comments on commit 6df1551

Please sign in to comment.