Skip to content

Commit

Permalink
ci: setup release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
ismetkizgin committed May 30, 2024
1 parent ab1cdca commit af95be6
Show file tree
Hide file tree
Showing 2 changed files with 447 additions and 10 deletions.
23 changes: 21 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"test:watch": "jest --watch",
"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"
"test:e2e": "jest --config ./test/jest-e2e.json",
"release": "release-it"
},
"peerDependencies": {
"@nestjs/common": "^10.0.0",
Expand All @@ -34,6 +35,7 @@
"@nestjs/core": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@release-it/conventional-changelog": "^8.0.1",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
Expand Down Expand Up @@ -90,5 +92,22 @@
"dependencies": {
"graphql-request": "^6.1.0"
},
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72",
"release-it": {
"git": {
"requireBranch": "main",
"tagName": "v${version}"
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits"
},
"infile": "CHANGELOG.md"
}
}
}
}
Loading

0 comments on commit af95be6

Please sign in to comment.