Skip to content

Commit

Permalink
fix: avoid scripts overwrite #9
Browse files Browse the repository at this point in the history
  • Loading branch information
YassinEldeeb committed Jan 8, 2022
1 parent 3c4e4ed commit 39f3657
Show file tree
Hide file tree
Showing 3 changed files with 900 additions and 92 deletions.
4 changes: 4 additions & 0 deletions packages/cpg-semantic-releases/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ const setup = () => {
{
...existingRootPkgJSON,
...JSON.parse(templatePkgJSON),
scripts: {
...existingRootPkgJSON.scripts,
...JSON.parse(templatePkgJSON).scripts,
},
},
null,
2,
Expand Down
1 change: 0 additions & 1 deletion packages/cpg-semantic-releases/template/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"private": true,
"devDependencies": {
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
Expand Down

0 comments on commit 39f3657

Please sign in to comment.