diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index da90bcda1..4057296e0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,12 +28,13 @@ Before you submit your Pull Request (PR) consider the following guidelines: * Commit your changes using a descriptive commit message that follows our [commit message conventions](#commit-message-guidelines). Adherence to these conventions is necessary because release notes are automatically generated from these messages. -by running followed by npm run commit. ```shell # stage your changes git add . # use git-cz interactive helper tool to commit npm run commit + # or use following command if you install commitizen globally + git cz ``` Note: the optional commit `-a` command line option will automatically "add" and "rm" edited files. diff --git a/package-lock.json b/package-lock.json index eb6cc5c4c..e4246c504 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1249,9 +1249,9 @@ } }, "@nestjs/common": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-5.3.5.tgz", - "integrity": "sha512-D/E7Ea1oBE/JktqJdlrktgeXm87qH8duC/KSjIu1WrmZYUPTAJu9DP1n68XPXF8wSX0+wivCRGA5tQcJGF4I5w==", + "version": "5.3.6", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-5.3.6.tgz", + "integrity": "sha512-Mzk9zwcLRah4R+DcdVj51tK2/4Pgt/QV2cacRPNpTRfV4AsrWQq+HV1Da+5+Y9lnj/PO0p5Jgp8ySDOot/ckHg==", "requires": { "axios": "0.17.1", "cli-color": "1.2.0", @@ -1261,9 +1261,9 @@ } }, "@nestjs/core": { - "version": "5.3.4", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-5.3.4.tgz", - "integrity": "sha512-SOfBKrsEwK0vuXQ4cq7OjRc5kFxWEdcQPCY4yfUfVFFqXTktW/JPaNa4mcs29pH4WCBGyTmHwVVkdWJUiOYDHQ==", + "version": "5.3.6", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-5.3.6.tgz", + "integrity": "sha512-233pVIPjiYgZJ2gdt3Cjh0pTSkAo07fiPEobycJ/kuvj8ah/6t3dluTxFm/npk+UsJnR1OL6FIUIFue5dpqCxA==", "requires": { "@nuxtjs/opencollective": "0.1.0", "body-parser": "1.18.3", @@ -1286,9 +1286,9 @@ } }, "@nestjs/microservices": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/@nestjs/microservices/-/microservices-5.3.5.tgz", - "integrity": "sha512-qwDbQRfcc63SJrXzm5STC2cXhubMJ4SwkkyHDtDFG6ek/wZ0ew+rCANzRik3c0yLbocCEg6Z5pvkqlyBm7Un0g==", + "version": "5.3.6", + "resolved": "https://registry.npmjs.org/@nestjs/microservices/-/microservices-5.3.6.tgz", + "integrity": "sha512-LplVKxfD/GckyCL41BhunlQkpQnfOIO398m4dYogNUq3dgoStykX4rrIbZsxltRJnKqEbMF0lV0Owl3WYdVQXw==", "requires": { "iterare": "0.0.8", "json-socket": "^0.2.1", @@ -1296,9 +1296,9 @@ } }, "@nestjs/passport": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@nestjs/passport/-/passport-5.0.1.tgz", - "integrity": "sha512-K0R85Q2CyAK9PQEhp2s61gJW6xl+sR75wRxHcoYC0TyiWCZIE1rtBZX4reiqeYjZlG+r0xdhpwjWXvbjerFbUA==" + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@nestjs/passport/-/passport-5.0.2.tgz", + "integrity": "sha512-WVjNri6r+w6VA6ABirFiuiJXhyAtWURd0dwFrDw6UmEmulF4E3FZL2/BfT53wlAGAk/Ats2Da+Ae0jXJsuH1IA==" }, "@nestjs/swagger": { "version": "2.5.1", @@ -1323,9 +1323,9 @@ } }, "@nestjs/typeorm": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@nestjs/typeorm/-/typeorm-5.2.0.tgz", - "integrity": "sha512-gb+Vjc1Lv9Y6bzVmX+/5UoPEUSby8S0pf3TwVx+ek1AIDVpSq7uOc4yjiXTDIx+J++OACCxe/Cr9yChHidLicg==" + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/@nestjs/typeorm/-/typeorm-5.2.1.tgz", + "integrity": "sha512-vbUmIRtCBq3yBXatTkJ8FbCuxxCf/mZ30TJ8PxhQ2D6CfCacZq1GgWdX3ae+ivsf7TUADGXNQyKfASaHqPNeKA==" }, "@nestjs/websockets": { "version": "5.3.1", diff --git a/package.json b/package.json index 3c5771994..7a508976e 100644 --- a/package.json +++ b/package.json @@ -96,6 +96,7 @@ ], "prepare": [ "@semantic-release/changelog", + "@semantic-release/npm", "@semantic-release/git" ], "publish": [ @@ -123,13 +124,13 @@ "@angular/pwa": "^0.7.5", "@angular/router": "^6.1.7", "@angular/service-worker": "^6.1.7", - "@nestjs/common": "^5.3.5", - "@nestjs/core": "^5.3.4", + "@nestjs/common": "^5.3.6", + "@nestjs/core": "^5.3.6", "@nestjs/elasticsearch": "^0.1.2", - "@nestjs/microservices": "^5.3.5", - "@nestjs/passport": "^5.0.1", + "@nestjs/microservices": "^5.3.6", + "@nestjs/passport": "^5.0.2", "@nestjs/swagger": "^2.5.1", - "@nestjs/typeorm": "^5.2.0", + "@nestjs/typeorm": "^5.2.1", "@nestjs/websockets": "^5.3.1", "@ngx-formly/core": "^5.0.0-beta.6", "@ngx-formly/material": "^5.0.0-beta.6", diff --git a/stories/howto.md b/stories/howto.md index 96fed16f6..248511376 100644 --- a/stories/howto.md +++ b/stories/howto.md @@ -37,13 +37,19 @@ How to migrate project to newer versions? How to commit code? -```bash -git status -# if all is good -git add . -# now commit -`git cz` # or npm run commit -``` + ```bash + git status + # stage your changes + git add . + # use git-cz interactive helper tool to commit + npm run commit + # or use following command if you install commitizen globally + git cz + ``` + +> Note: the optional commit `-a` command line option will automatically "add" and "rm" edited files. + + How to Cut a Release? @@ -56,7 +62,7 @@ https://adrianperez.codes/enforcing-commit-conventions/ https://medium.com/@schalkneethling/automate-package-releases-with-semantic-release-and-commitizen-d7d4c337f04f ```bash -export GH_TOKEN= +export GH_TOKEN= export CI=true npm run semantic-release ```