Skip to content

Commit

Permalink
fix(release): add changelog autogeneration and NPM tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
gund committed Jan 19, 2019
1 parent 926480c commit 5def401
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 45 deletions.
21 changes: 21 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# NgxTesting - Changelog"
}],
["@semantic-release/npm", {
"pkgRoot": "dist/ngx-testing",
"tarballDir": "dist"
}],
["@semantic-release/git", {
"assets": ["CHANGELOG.md"],
"message": "docs(changelog): add changes of ${nextRelease.version} [skip ci]"
}],
["@semantic-release/github", {
"assets": "dist/*.tgz"
}]
]
}
258 changes: 217 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
"format": "npm-run-all -p format:*",
"format:code": "prettier --write \"projects/**/*.{ts,js,json,?css}\"",
"format:html": "prettyhtml \"projects/**/*.html\"",
"pack": "npm run build",
"postpack": "copyfiles LICENSE README.md dist/ngx-testing",
"presemantic-release": "npm run pack",
"semantic-release": "cd dist/ngx-testing && semantic-release"
"pack": "copyfiles LICENSE README.md dist/ngx-testing",
"presemantic-release": "npm run build && npm run pack",
"semantic-release": "semantic-release"
},
"private": true,
"dependencies": {
Expand All @@ -47,6 +46,12 @@
"@angular/language-service": "~7.1.0",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/commit-analyzer": "^6.1.0",
"@semantic-release/git": "^7.0.8",
"@semantic-release/github": "^5.2.9",
"@semantic-release/npm": "^5.1.4",
"@semantic-release/release-notes-generator": "^7.1.4",
"@starptech/prettyhtml": "^0.8.16",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
Expand Down

0 comments on commit 5def401

Please sign in to comment.