Skip to content

Commit

Permalink
feat(file-format): use json file instead of yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-koval committed Sep 26, 2019
1 parent 379dfed commit acd3f8d
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 30 deletions.
54 changes: 54 additions & 0 deletions .releaserc.json
@@ -0,0 +1,54 @@
{
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "build",
"release": "patch"
},
{
"type": "ci",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
},
{
"type": "test",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"package.json",
"package-lock.json",
"CHANGELOG.md"
],
"message": "release(travis): Release ${nextRelease.version}\n\n[skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}
27 changes: 0 additions & 27 deletions .releaserc.yaml

This file was deleted.

7 changes: 4 additions & 3 deletions package.json
Expand Up @@ -13,7 +13,7 @@
"semantic-release": "^15.13.24"
},
"files": [
".releaserc.yaml"
".releaserc.json"
],
"keywords": [
"changelog",
Expand All @@ -27,10 +27,11 @@
"releaserc",
"release",
"semantic-release-config",
"semantic-release"
"semantic-release",
".releaserc.json"
],
"license": "MIT",
"main": ".releaserc.yaml",
"main": ".releaserc.json",
"name": "semantic-release-npm-github-publish",
"peerDependencies": {
"semantic-release": ">=15.13.24"
Expand Down

0 comments on commit acd3f8d

Please sign in to comment.