Skip to content

Commit 7eb5c87

Browse files
authored
Merge pull request #484 from adopted-ember-addons/patch-instead
swap override for patched package
2 parents 6fdcd99 + b943738 commit 7eb5c87

File tree

3 files changed

+303
-646
lines changed

3 files changed

+303
-646
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"node": ">= 18"
2525
},
2626
"pnpm": {
27-
"overrides": {
28-
"github-changelog": "github:embroider-build/github-changelog#first-parent-only"
27+
"patchedDependencies": {
28+
"github-changelog@1.0.1": "patches/github-changelog@1.0.1.patch"
2929
}
3030
}
3131
}

patches/[email protected]

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/lib/git.js b/lib/git.js
2+
index b712bb439bed6c4c63360af7f5f2e7c51cfa613d..31de3ccb358a802b2a02c506473dc8cfdd7f36ad 100644
3+
--- a/lib/git.js
4+
+++ b/lib/git.js
5+
@@ -51,6 +51,7 @@ function listCommits(from, to = "") {
6+
"--oneline",
7+
"--pretty=hash<%h> ref<%D> message<%s> date<%cd>",
8+
"--date=short",
9+
+ "--first-parent",
10+
`${from}..${to}`,
11+
])
12+
.stdout.split("\n")

0 commit comments

Comments
 (0)