Skip to content

Commit 0f0a422

Browse files
committed
build: add @semantic-release/github plugin for commenting on released Pull Requests/Issues.
1 parent 4bdfd17 commit 0f0a422

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

.releaserc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ module.exports = {
8080
npmPublish: true,
8181
pkgRoot: './packages/mongodb-memory-server-global-4.4',
8282
},
83-
]
83+
],
84+
"@semantic-release/github"
8485
],
8586
};

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@
55
"description": "In-memory MongoDB Server. Designed with testing in mind, the server will allow you to connect your favourite ODM or client library to the MongoDB Server and run integration tests isolated from each other.",
66
"repository": "https://github.com/nodkz/mongodb-memory-server",
77
"devDependencies": {
8+
"@commitlint/config-conventional": "^9.1.2",
89
"@google/semantic-release-replace-plugin": "^1.0.0",
910
"@semantic-release/changelog": "^5.0.1",
1011
"@semantic-release/commit-analyzer": "^8.0.1",
1112
"@semantic-release/git": "^9.0.0",
13+
"@semantic-release/github": "^7.1.1",
1214
"@semantic-release/npm": "^7.0.6",
1315
"@semantic-release/release-notes-generator": "^9.0.1",
1416
"@types/jest": "26.0.13",
1517
"@types/mongodb": "3.5.27",
1618
"@types/node": "14.6.4",
1719
"@typescript-eslint/eslint-plugin": "4.1.0",
1820
"@typescript-eslint/parser": "4.1.0",
19-
"@commitlint/config-conventional": "^9.1.2",
2021
"commitlint": "^9.1.2",
2122
"cross-env": "^7.0.2",
2223
"eslint": "7.8.1",

yarn.lock

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,7 @@
16411641
micromatch "^4.0.0"
16421642
p-reduce "^2.0.0"
16431643

1644-
"@semantic-release/github@^7.0.0":
1644+
"@semantic-release/github@^7.0.0", "@semantic-release/github@^7.1.1":
16451645
version "7.1.1"
16461646
resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-7.1.1.tgz#e998aa9a9cd770838d9f27c64f060c2b686b9d95"
16471647
integrity sha512-w8CLCvGVKNe2FPOYQ68OFxFVNNha7YRzptnwTZYdjXYtgTDKw0XVfnMSd9NlJeQPYGfQmIhIVPNBU/cA6zUY0A==
@@ -6672,6 +6672,37 @@ modify-values@^1.0.0:
66726672
resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
66736673
integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==
66746674

6675+
6676+
version "6.7.2"
6677+
resolved "https://registry.yarnpkg.com/mongodb-memory-server-core/-/mongodb-memory-server-core-6.7.2.tgz#2107fbca3c8d3a2262339932878ad591aba379ff"
6678+
integrity sha512-SZ2Nw+4xZvRJ9r2q3mcE0rf8fz8u5FP1qvFydom6Q1VfDGR+rlunVPw/raw2JvuprbkxzpA1RQSiutnk4YLnCQ==
6679+
dependencies:
6680+
"@types/tmp" "^0.2.0"
6681+
camelcase "^6.0.0"
6682+
cross-spawn "^7.0.3"
6683+
debug "^4.1.1"
6684+
find-cache-dir "^3.3.1"
6685+
find-package-json "^1.2.0"
6686+
get-port "^5.1.1"
6687+
https-proxy-agent "^5.0.0"
6688+
lockfile "^1.0.4"
6689+
md5-file "^5.0.0"
6690+
mkdirp "^1.0.4"
6691+
semver "^7.3.2"
6692+
tar-stream "^2.1.3"
6693+
tmp "^0.2.1"
6694+
uuid "8.3.0"
6695+
yauzl "^2.10.0"
6696+
optionalDependencies:
6697+
mongodb "3.6.1"
6698+
6699+
6700+
version "6.7.2"
6701+
resolved "https://registry.yarnpkg.com/mongodb-memory-server/-/mongodb-memory-server-6.7.2.tgz#db00381decca866a82ece6bfd0b1d58c5310c697"
6702+
integrity sha512-isWtb1HM8z9wdLgOe4YZJjJGPRsDQfPh4X1cJfdUJcdRDl0A5Ullck6Yby2JYnTH9SFQaUePhi4RQnmQW98eNQ==
6703+
dependencies:
6704+
mongodb-memory-server-core "6.7.2"
6705+
66756706
66766707
version "3.6.1"
66776708
resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-3.6.1.tgz#2c5cc2a81456ba183e8c432d80e78732cc72dabd"

0 commit comments

Comments
 (0)