Skip to content

Commit

Permalink
fix(nestjs-auth): switch dependency removal to nx script
Browse files Browse the repository at this point in the history
  • Loading branch information
tsangste committed Jul 5, 2023
1 parent eeaf7ef commit 0d9a1f9
Show file tree
Hide file tree
Showing 4 changed files with 867 additions and 738 deletions.
9 changes: 8 additions & 1 deletion libs/nestjs-auth/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@
"executor": "nx:run-commands",
"outputs": [],
"options": {
"command": "npx semantic-release-plus --extends ./libs/nestjs-auth/release.config.js",
"commands": [
{
"command": "jq 'del(.dependencies)' ./dist/libs/nestjs-auth/package.json | sponge ./dist/libs/nestjs-auth/package.json"
},
{
"command": "npx semantic-release-plus --extends ./libs/nestjs-auth/release.config.js"
}
],
"parallel": false
},
"dependsOn": [
Expand Down
6 changes: 0 additions & 6 deletions libs/nestjs-auth/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ module.exports = {
changelogFile: `${srcRoot}/CHANGELOG.md`,
},
],
[
'@semantic-release/exec',
{
prepareCmd: `jq 'del(.dependencies)' ./dist/${srcRoot}/package.json | sponge ./dist/${srcRoot}/package.json`,
},
],
'@semantic-release/npm',
[
'@semantic-release/git',
Expand Down
Loading

0 comments on commit 0d9a1f9

Please sign in to comment.