From ce89150e9db2aa141a04a8c878e17fd0519aa825 Mon Sep 17 00:00:00 2001 From: Dan Kinsley Date: Fri, 23 Aug 2019 09:01:26 -0400 Subject: [PATCH] fix(tslint-rules): don't publish npm on release --- packages/tslint-rules/.releaserc | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packages/tslint-rules/.releaserc diff --git a/packages/tslint-rules/.releaserc b/packages/tslint-rules/.releaserc new file mode 100644 index 0000000000..e3cf6e2082 --- /dev/null +++ b/packages/tslint-rules/.releaserc @@ -0,0 +1,30 @@ +{ + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "preset": "angular", + "releaseRules": [ + { "type": "docs", "scope": "README", "release": "patch" }, + { "type": "refactor", "release": "patch" }, + { "type": "style", "release": "patch" } + ], + "parserOpts": { + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] + } + } + ], + [ + "@semantic-release/release-notes-generator", + { + "preset": "angular", + "parserOpts": { + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"] + }, + "writerOpts": { + "commitsSort": ["subject", "scope"] + } + } + ] + ] +}