Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
build: add semantic release config to package.json
Browse files Browse the repository at this point in the history
.releaserc file settings aren't picked up
  • Loading branch information
moranje committed Oct 2, 2018
1 parent 4678378 commit a377394
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .releaserc

This file was deleted.

21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,27 @@
"path": "node_modules/cz-conventional-changelog"
}
},
"release": {
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/git"
],
"prepare": [
{
"path": "@semantic-release/changelog",
"changelogFile": "CHANGELOG.md"
},
"@semantic-release/git",
{
"path": "@semantic-release/git",
"assets": [
"package.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
Expand Down

0 comments on commit a377394

Please sign in to comment.