Skip to content

Commit dd22564

Browse files
committed
feat: semantic relese
1 parent e821f73 commit dd22564

File tree

3 files changed

+56
-28
lines changed

3 files changed

+56
-28
lines changed

.releaserc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"branches": "master",
3+
"repositoryUrl": "https://github.com/awibox/react-promise-loader",
4+
"debug": "true",
5+
"plugins": [
6+
"@semantic-release/commit-analyzer",
7+
"@semantic-release/release-notes-generator",
8+
"@semantic-release/npm",
9+
"@semantic-release/github",
10+
[
11+
"@semantic-release/changelog",
12+
{
13+
"changelogFile": "CHANGELOG.md"
14+
}
15+
],
16+
[
17+
"@semantic-release/git",
18+
{
19+
"assets": ["package.json", "package-lock.json", "CHANGELOG.md"],
20+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
21+
}
22+
]
23+
]
24+
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"@babel/plugin-proposal-class-properties": "^7.8.3",
3535
"@babel/preset-env": "^7.8.3",
3636
"@babel/preset-react": "^7.8.3",
37+
"@semantic-release/changelog": "^5.0.1",
38+
"@semantic-release/git": "^9.0.0",
3739
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
3840
"babel-core": "^7.0.0-bridge.0",
3941
"babel-eslint": "^10.0.3",

yarn.lock

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,16 @@
14881488
dependencies:
14891489
"@octokit/openapi-types" "^5.3.0"
14901490

1491+
"@semantic-release/changelog@^5.0.1":
1492+
version "5.0.1"
1493+
resolved "https://registry.yarnpkg.com/@semantic-release/changelog/-/changelog-5.0.1.tgz#50a84b63e5d391b7debfe021421589fa2bcdafe4"
1494+
integrity sha512-unvqHo5jk4dvAf2nZ3aw4imrlwQ2I50eVVvq9D47Qc3R+keNqepx1vDYwkjF8guFXnOYaYcR28yrZWno1hFbiw==
1495+
dependencies:
1496+
"@semantic-release/error" "^2.1.0"
1497+
aggregate-error "^3.0.0"
1498+
fs-extra "^9.0.0"
1499+
lodash "^4.17.4"
1500+
14911501
"@semantic-release/commit-analyzer@^8.0.0":
14921502
version "8.0.1"
14931503
resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-8.0.1.tgz#5d2a37cd5a3312da0e3ac05b1ca348bf60b90bca"
@@ -1501,11 +1511,25 @@
15011511
lodash "^4.17.4"
15021512
micromatch "^4.0.2"
15031513

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

1519+
"@semantic-release/git@^9.0.0":
1520+
version "9.0.0"
1521+
resolved "https://registry.yarnpkg.com/@semantic-release/git/-/git-9.0.0.tgz#304c4883c87d095b1faaae93300f1f1e0466e9a5"
1522+
integrity sha512-AZ4Zha5NAPAciIJH3ipzw/WU9qLAn8ENaoVAhD6srRPxTpTzuV3NhNh14rcAo8Paj9dO+5u4rTKcpetOBluYVw==
1523+
dependencies:
1524+
"@semantic-release/error" "^2.1.0"
1525+
aggregate-error "^3.0.0"
1526+
debug "^4.0.0"
1527+
dir-glob "^3.0.0"
1528+
execa "^4.0.0"
1529+
lodash "^4.17.4"
1530+
micromatch "^4.0.0"
1531+
p-reduce "^2.0.0"
1532+
15091533
"@semantic-release/github@^7.0.0":
15101534
version "7.2.0"
15111535
resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-7.2.0.tgz#925f3efd91adabfc4bbe0de24b79fe1a8a38b4e2"
@@ -3308,7 +3332,7 @@ debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
33083332
dependencies:
33093333
ms "2.1.2"
33103334

3311-
debuglog@*, debuglog@^1.0.1:
3335+
debuglog@^1.0.1:
33123336
version "1.0.1"
33133337
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
33143338
integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=
@@ -4993,7 +5017,7 @@ import-local@^3.0.2:
49935017
pkg-dir "^4.2.0"
49945018
resolve-cwd "^3.0.0"
49955019

4996-
imurmurhash@*, imurmurhash@^0.1.4:
5020+
imurmurhash@^0.1.4:
49975021
version "0.1.4"
49985022
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
49995023
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
@@ -6495,11 +6519,6 @@ lockfile@^1.0.4:
64956519
dependencies:
64966520
signal-exit "^3.0.2"
64976521

6498-
lodash._baseindexof@*:
6499-
version "3.1.0"
6500-
resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c"
6501-
integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw=
6502-
65036522
lodash._baseisequal@^3.0.0:
65046523
version "3.0.7"
65056524
resolved "https://registry.yarnpkg.com/lodash._baseisequal/-/lodash._baseisequal-3.0.7.tgz#d8025f76339d29342767dcc887ce5cb95a5b51f1"
@@ -6517,29 +6536,17 @@ lodash._baseuniq@~4.6.0:
65176536
lodash._createset "~4.0.0"
65186537
lodash._root "~3.0.0"
65196538

6520-
lodash._bindcallback@*, lodash._bindcallback@^3.0.0:
6539+
lodash._bindcallback@^3.0.0:
65216540
version "3.0.1"
65226541
resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e"
65236542
integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4=
65246543

6525-
lodash._cacheindexof@*:
6526-
version "3.0.2"
6527-
resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92"
6528-
integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI=
6529-
6530-
lodash._createcache@*:
6531-
version "3.1.2"
6532-
resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093"
6533-
integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM=
6534-
dependencies:
6535-
lodash._getnative "^3.0.0"
6536-
65376544
lodash._createset@~4.0.0:
65386545
version "4.0.3"
65396546
resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26"
65406547
integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY=
65416548

6542-
lodash._getnative@*, lodash._getnative@^3.0.0:
6549+
lodash._getnative@^3.0.0:
65436550
version "3.9.1"
65446551
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
65456552
integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=
@@ -6631,11 +6638,6 @@ lodash.keys@^3.0.0:
66316638
lodash.isarguments "^3.0.0"
66326639
lodash.isarray "^3.0.0"
66336640

6634-
lodash.restparam@*:
6635-
version "3.6.1"
6636-
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
6637-
integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=
6638-
66396641
lodash.sortby@^4.7.0:
66406642
version "4.7.0"
66416643
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
@@ -6858,7 +6860,7 @@ micromatch@^3.1.10, micromatch@^3.1.4:
68586860
snapdragon "^0.8.1"
68596861
to-regex "^3.0.2"
68606862

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

0 commit comments

Comments
 (0)