Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Commit

Permalink
build(npm): update config (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulls1z3 authored Jul 4, 2019
1 parent 161904f commit 8b85b11
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 35 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.gitignore
.npmignore
commitlint.config.js
release-rules.js

# ci tools
/.circleci
Expand Down
37 changes: 2 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-tslint-rules",
"version": "1.14.0",
"version": "0.0.0",
"description": "Shared TSLint & codelyzer rules to enforce a consistent code style for Angular development",
"repository": {
"type": "git",
Expand Down Expand Up @@ -52,40 +52,7 @@
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "build",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "ci",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
],
"releaseRules": "./release-rules.js",
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
Expand Down
38 changes: 38 additions & 0 deletions release-rules.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
module.exports = [
{
'type': 'build',
'release': 'patch'
},
{
'type': 'chore',
'release': 'patch'
},
{
'type': 'ci',
'release': 'patch'
},
{
'type': 'docs',
'release': 'patch'
},
{
'type': 'feat',
'release': 'minor'
},
{
'type': 'fix',
'release': 'patch'
},
{
'type': 'refactor',
'release': 'patch'
},
{
'type': 'style',
'release': 'patch'
},
{
'scope': 'no-release',
'release': false
}
];

0 comments on commit 8b85b11

Please sign in to comment.