Skip to content

Commit 45cd592

Browse files
committed
feat: add new plugin
1 parent 1ba4ad8 commit 45cd592

File tree

2 files changed

+188
-2
lines changed

2 files changed

+188
-2
lines changed

package-lock.json

Lines changed: 167 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
"@angular/cli": "~9.0.4",
3737
"@angular/compiler-cli": "~9.0.3",
3838
"@angular/language-service": "~9.0.3",
39+
"@semantic-release/changelog": "^5.0.1",
40+
"@semantic-release/git": "^9.0.0",
3941
"@types/jasmine": "~3.5.0",
4042
"@types/jasminewd2": "~2.0.3",
4143
"@types/node": "^12.11.1",
@@ -70,15 +72,32 @@
7072
}
7173
},
7274
"release": {
73-
"branches": ["master", "48-implement-semantic-version"],
74-
"plugins": ["@semantic-release/commit-analyzer",
75+
"branches": [
76+
"master",
77+
"48-implement-semantic-version"
78+
],
79+
"plugins": [
80+
"@semantic-release/commit-analyzer",
7581
[
7682
"@semantic-release/npm",
7783
{
7884
"npmPublish": false
7985
}
8086
]
8187
],
88+
"prepare": [
89+
"@semantic-release/changelog",
90+
"@semantic-release/npm",
91+
{
92+
"path": "@semantic-release/git",
93+
"assets": [
94+
"package.json",
95+
"package-lock.json",
96+
"CHANGELOG.md"
97+
],
98+
"message": "chore(release): ${nextRelease.version} [skip ci]nn${nextRelease.notes}"
99+
}
100+
],
82101
"repositoryUrl": "https://github.com/ioet/time-tracker-ui.git"
83102
}
84103
}

0 commit comments

Comments
 (0)