Skip to content

Commit

Permalink
swap override for patched package
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed May 16, 2024
1 parent 6fdcd99 commit b943738
Show file tree
Hide file tree
Showing 3 changed files with 303 additions and 646 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"node": ">= 18"
},
"pnpm": {
"overrides": {
"github-changelog": "github:embroider-build/github-changelog#first-parent-only"
"patchedDependencies": {
"github-changelog@1.0.1": "patches/github-changelog@1.0.1.patch"
}
}
}
12 changes: 12 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/lib/git.js b/lib/git.js
index b712bb439bed6c4c63360af7f5f2e7c51cfa613d..31de3ccb358a802b2a02c506473dc8cfdd7f36ad 100644
--- a/lib/git.js
+++ b/lib/git.js
@@ -51,6 +51,7 @@ function listCommits(from, to = "") {
"--oneline",
"--pretty=hash<%h> ref<%D> message<%s> date<%cd>",
"--date=short",
+ "--first-parent",
`${from}..${to}`,
])
.stdout.split("\n")
Loading

0 comments on commit b943738

Please sign in to comment.