Skip to content

Commit

Permalink
feat: Add semantic versioning realease script
Browse files Browse the repository at this point in the history
  • Loading branch information
borisrorsvort committed Nov 13, 2019
1 parent 439c141 commit 73b4b0b
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 6 deletions.
Empty file added CHANGELOG.md
Empty file.
22 changes: 21 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blsq/manager-ui",
"version": "0.0.1",
"version": "1.0.0",
"description": "Dhis2 manager apps common component library",
"author": "blsq",
"license": "MIT",
Expand All @@ -19,6 +19,21 @@
"deploy": "storybook-to-ghpages",
"storybook": "start-storybook"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": true
}
],
"@semantic-release/changelog",
"@semantic-release/git"
],
"branch": "master"
},
"peerDependencies": {
"@material-ui/core": "^4.5.2",
"@material-ui/icons": "^4.5.1",
Expand Down Expand Up @@ -51,6 +66,11 @@
"@material-ui/core": "^4.5.2",
"@material-ui/icons": "^4.5.1",
"@material-ui/styles": "^4.5.2",
"@semantic-release/changelog": "^3.0.5",
"@semantic-release/commit-analyzer": "^6.3.3",
"@semantic-release/git": "^7.0.18",
"@semantic-release/npm": "^5.3.4",
"@semantic-release/release-notes-generator": "^7.3.2",
"@storybook/addon-knobs": "^5.2.5",
"@storybook/addon-storysource": "^5.2.5",
"@storybook/react": "^5.2.5",
Expand Down
36 changes: 31 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,17 @@
react-lifecycles-compat "^3.0.4"
warning "^3.0.0"

"@semantic-release/commit-analyzer@^6.1.0":
"@semantic-release/changelog@^3.0.5":
version "3.0.5"
resolved "https://registry.yarnpkg.com/@semantic-release/changelog/-/changelog-3.0.5.tgz#37423eee40f550acb8e09ff1d951ba79263e3b2d"
integrity sha512-/U44eK5qL2olevbEi+GrJxq1lNGUABChqK58A3SkiDsZS6AoGO8CJHQ7OG0zx+spxwkY4TevZ85Whz/hYyO+5w==
dependencies:
"@semantic-release/error" "^2.1.0"
aggregate-error "^3.0.0"
fs-extra "^8.0.0"
lodash "^4.17.4"

"@semantic-release/commit-analyzer@^6.1.0", "@semantic-release/commit-analyzer@^6.3.3":
version "6.3.3"
resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-6.3.3.tgz#885f7e46e2f0aef23a23be0904dbf18d6ece45ca"
integrity sha512-Pyv1ZL2u5AIOY4YbxFCAB5J1PEh5yON8ylbfiPiriDGGW6Uu1U3Y8lysMtWu+FUD5x7tSnyIzhqx0+fxPxqbgw==
Expand All @@ -1648,11 +1658,27 @@
import-from "^3.0.0"
lodash "^4.17.4"

"@semantic-release/error@^2.2.0":
"@semantic-release/error@^2.1.0", "@semantic-release/error@^2.2.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@semantic-release/error/-/error-2.2.0.tgz#ee9d5a09c9969eade1ec864776aeda5c5cddbbf0"
integrity sha512-9Tj/qn+y2j+sjCI3Jd+qseGtHjOAeg7dU2/lVcqIQ9TV3QDaDXDYXcoOHU+7o2Hwh8L8ymL4gfuO7KxDs3q2zg==

"@semantic-release/git@^7.0.18":
version "7.0.18"
resolved "https://registry.yarnpkg.com/@semantic-release/git/-/git-7.0.18.tgz#f37c076bc094762cb343dab49ab893d31de961e8"
integrity sha512-VwnsGUXpNdvPcsq05BQyLBZxGUlEiJCMKNi8ttLvZZAhjI1mAp9dwypOeyxSJ5eFQ+iGMBLdoKF1LL0pmA/d0A==
dependencies:
"@semantic-release/error" "^2.1.0"
aggregate-error "^3.0.0"
debug "^4.0.0"
dir-glob "^3.0.0"
execa "^3.2.0"
fs-extra "^8.0.0"
globby "^10.0.0"
lodash "^4.17.4"
micromatch "^4.0.0"
p-reduce "^2.0.0"

"@semantic-release/github@^5.1.0":
version "5.5.5"
resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-5.5.5.tgz#4666367f16d8ad91fd1d3c71a7238498de14ec38"
Expand All @@ -1675,7 +1701,7 @@
p-retry "^4.0.0"
url-join "^4.0.0"

"@semantic-release/npm@^5.0.5":
"@semantic-release/npm@^5.0.5", "@semantic-release/npm@^5.3.4":
version "5.3.4"
resolved "https://registry.yarnpkg.com/@semantic-release/npm/-/npm-5.3.4.tgz#2998cd9455aaedf278334d4a5b56f8e0b715919d"
integrity sha512-XjITNRA/oOpJ7BfHk/WaOHs1WniYBszTde/bwADjjk1Luacpxg87jbDQVVt/oA3Zlx+MelxACRIEuRiPC5gu8g==
Expand All @@ -1693,7 +1719,7 @@
registry-auth-token "^4.0.0"
tempy "^0.3.0"

"@semantic-release/release-notes-generator@^7.1.2":
"@semantic-release/release-notes-generator@^7.1.2", "@semantic-release/release-notes-generator@^7.3.2":
version "7.3.2"
resolved "https://registry.yarnpkg.com/@semantic-release/release-notes-generator/-/release-notes-generator-7.3.2.tgz#a858b35c9c62f780d285aeaca8ef9891a62c2f9c"
integrity sha512-vYGydZPoQqL4aJOsaqXTZIekRb3aa/OlxlEVUvyrWWlNGqmQ1T7NUOos9eoN5DBCEuk6PwDrxPbhzgswxcvprQ==
Expand Down Expand Up @@ -11427,7 +11453,7 @@ micromatch@^3.1.10, micromatch@^3.1.4:
snapdragon "^0.8.1"
to-regex "^3.0.2"

micromatch@^4.0.2:
micromatch@^4.0.0, micromatch@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259"
integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==
Expand Down

0 comments on commit 73b4b0b

Please sign in to comment.