Skip to content

Commit

Permalink
chore: add semantic-release-npm-github-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
tsangste committed Sep 11, 2024
1 parent 8739cef commit a12a708
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions libs/nestjs-auth/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const name = 'nestjs-auth'
const srcRoot = `libs/${name}`

module.exports = {
extends: join('..', '..',`release.config.base.js`),
pkgRoot: join('..', '..', 'dist',`${srcRoot}`),
branches: [{ name: 'master' }, { name: 'develop', channel: 'dev', prerelease: 'dev' }],
tagFormat: name + '-${version}',
Expand Down
1 change: 1 addition & 0 deletions libs/nestjs-logger/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const name = 'nestjs-logger'
const srcRoot = `libs/${name}`

module.exports = {
extends: join('..', '..',`release.config.base.js`),
pkgRoot: join('..', '..', 'dist',`${srcRoot}`),
branches: [{ name: 'master' }, { name: 'develop', channel: 'dev', prerelease: 'dev' }],
tagFormat: name + '-${version}',
Expand Down
1 change: 1 addition & 0 deletions libs/nestjs-storage/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const name = 'nestjs-storage'
const srcRoot = `libs/${name}`

module.exports = {
extends: join('..', '..',`release.config.base.js`),
pkgRoot: join('..', '..', 'dist',`${srcRoot}`),
branches: [{ name: 'master' }, { name: 'develop', channel: 'dev', prerelease: 'dev' }],
tagFormat: name + '-${version}',
Expand Down
24 changes: 24 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"prettier": "^2.6.2",
"semantic-release": "^22.0.5",
"semantic-release-jira-notes": "^3.0.0",
"semantic-release-npm-github-publish": "^1.5.5",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.5.4",
Expand Down
3 changes: 3 additions & 0 deletions release.config.base.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: 'semantic-release-npm-github-publish',
}

0 comments on commit a12a708

Please sign in to comment.