fix(ns-paystack): update release config
This commit is contained in:
commit
7bca4d7f9d
5 changed files with 444 additions and 17725 deletions
|
|
@ -56,7 +56,7 @@
|
|||
"executor": "nx:run-commands",
|
||||
"outputs": [],
|
||||
"options": {
|
||||
"command": "npx semantic-release-plus --extends ./libs/ns-paystack/release.config.js",
|
||||
"command": "npx semantic-release-plus --debug --extends ./libs/ns-paystack/release.config.js",
|
||||
"parallel": false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,21 +1,33 @@
|
|||
const name = 'ns-paystack';
|
||||
const srcRoot = `libs/${name}`;
|
||||
|
||||
const appName = 'ns-paystack';
|
||||
const appPath = `libs/${appName}`;
|
||||
const artifactName = appName;
|
||||
|
||||
module.exports = {
|
||||
extends: 'release.config.base.js',
|
||||
pkgRoot: `dist/${srcRoot}`,
|
||||
tagFormat: name + '-v${version}',
|
||||
commitPaths: [`${srcRoot}/*`],
|
||||
branches: ['main'],
|
||||
plugins: [
|
||||
'@semantic-release/commit-analyzer',
|
||||
'@semantic-release/release-notes-generator',
|
||||
[
|
||||
'@semantic-release/changelog',
|
||||
{
|
||||
changelogFile: `${srcRoot}/CHANGELOG.md`
|
||||
}
|
||||
],
|
||||
'@semantic-release/npm'
|
||||
]
|
||||
name: appName,
|
||||
pkgRoot: `dist/${appPath}`,
|
||||
tagFormat: artifactName + '-v${version}',
|
||||
commitPaths: ['force-release.md', `${appPath}/*`],
|
||||
assets: [`${appPath}/README.md`, `${appPath}/CHANGELOG.md`],
|
||||
plugins: [
|
||||
'@semantic-release/commit-analyzer',
|
||||
'@semantic-release/release-notes-generator',
|
||||
[
|
||||
'@semantic-release/changelog',
|
||||
{
|
||||
changelogFile: `${appPath}/CHANGELOG.md`,
|
||||
},
|
||||
],
|
||||
'@semantic-release/npm',
|
||||
[
|
||||
'@semantic-release/git',
|
||||
{
|
||||
message:
|
||||
`chore(release): ${artifactName}` +
|
||||
'-v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
|
|
|
|||
18104
package-lock.json
generated
18104
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +0,0 @@
|
|||
module.exports = {
|
||||
extends: 'semantic-release-npm-github-publish'
|
||||
};
|
||||
16
release.config.js
Normal file
16
release.config.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
module.exports = {
|
||||
preset: 'conventionalcommits',
|
||||
presetConfig: {
|
||||
types: [
|
||||
{ type: 'feat', section: 'Features' },
|
||||
{ type: 'fix', section: 'Bug Fixes' },
|
||||
{ type: 'chore', section: 'Chores' },
|
||||
{ type: 'docs', hidden: true },
|
||||
{ type: 'style', hidden: true },
|
||||
{ type: 'refactor', section: 'Refactoring' },
|
||||
{ type: 'perf', hidden: true },
|
||||
{ type: 'test', hidden: true },
|
||||
],
|
||||
},
|
||||
releaseRules: [{ type: 'refactor', release: 'patch' }],
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue