Skip to content

Commit

Permalink
chore(versionrc): changes in config to standard version
Browse files Browse the repository at this point in the history
  • Loading branch information
rudemex committed Nov 15, 2021
1 parent 50e5fba commit 6f13f4f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
39 changes: 22 additions & 17 deletions .versionrc
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
{
"header": "<div align=\"center\"><h1>📝 Changelog</h1><p>All changes of this project will be documented in this file.</p></div>\n\n---\n",
"path": "./",
"releaseCommitMessageFormat": "ci(release): bumped version to {{currentTag}}",
"types": [
{"type": "feat", "section": "✨ Features"},
{"type": "fix", "section": "\uD83D\uDC1B Bug Fixes"},
{"type": "chore", "section": "👨‍💻 Chore", "hidden": false},
{"type": "feat", "section": "✨ Features", "hidden": false},
{"type": "fix", "section": "\uD83D\uDC1B Bug Fixes", "hidden": false},
{"type": "chore", "section": "👨‍💻 Chores", "hidden": false},
{"type": "docs", "section": "\uD83D\uDCDD Docs", "hidden": false},
{"type": "refactor", "section": "♻️Refactor", "hidden": false},
{"type": "test", "section": "🧪 Test", "hidden": false},
{"type": "build", "section": "🛠 Build", "hidden": false},
{"type": "refactor", "section": "♻️Refactors", "hidden": false},
{"type": "test", "section": "🧪 Tests", "hidden": true},
{"type": "build", "section": "🛠 Build", "hidden": true},
{"type": "perf", "hidden": true},
{"type": "style", "hidden": true}
{"type": "style", "hidden": true},
{"type": "ci", "hidden": true},
{"type": "revert", "hidden": true}
],
"commitUrlFormat": "https://github.com/rudemex/nestjs-starter/commit/{{hash}}",
"compareUrlFormat": "https://github.com/rudemex/nestjs-starter/compare/{{previousTag}}...{{currentTag}}",
"issuePrefixes": ["#"],
"issueUrlFormat": "https://github.com/rudemex/nestjs-starter/issues/{{id}}",
"skip": {
"bump": false,
"commit": false,
"tag": false
},
"bumpFiles":[
{
"filename": "VERSION_TRACKER.txt",
"type": "plain-text"
}
]
"bump": false,
"commit": false,
"tag": false
},
"bumpFiles":[
{
"filename": "VERSION_TRACKER.txt",
"type": "plain-text"
}
]
}
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"release": "standard-version",
"release:first": "standard-version --first-release",
"release:patch": "standard-version --release-as patch",
"release:minor": "standard-version --release-as minor",
"release:major": "standard-version --release-as major"
"release": "standard-version"
},
"prettier": {
"semi": true,
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ async function bootstrap() {
new ValidationPipe({
whitelist: true,
forbidNonWhitelisted: true,
forbidUnknownValues: true,
transformOptions: {
enableImplicitConversion: true,
},
Expand Down

0 comments on commit 6f13f4f

Please sign in to comment.