Skip to content

Commit

Permalink
ci: improve config
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Sep 12, 2024
1 parent 678d355 commit d56d717
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .release-it.json

This file was deleted.

27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,32 @@
"template": "compact",
"unreleasedOnly": true,
"unreleased": true
},
"release-it": {
"verbose": true,
"git": {
"requireBranch": "main",
"commitMessage": "chore(release): v${version}",
"tagName": "v${version}"
},
"github": {
"release": true,
"releaseNotes": "npx auto-changelog --stdout"
},
"npm": {
"publish": false,
"skipChecks": true,
"allowSameVersion": true
},
"hooks": {
"after:bump": [
"npx auto-changelog -p",
"npx prettier CHANGELOG.md --write",
"npx ts-node scripts/postbump",
"npx nx run-many -t build --parallel=false --exclude demo",
"npx nx run-many -t publish --parallel=false --exclude demo"
],
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}
}

0 comments on commit d56d717

Please sign in to comment.