Skip to content

Commit 43edbbb

Browse files
authored
Merge pull request #151 from backstage/blam/renovate-changesets
chore: ignore root package.jsons
2 parents 6ec24e8 + d665dae commit 43edbbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

renovate-changesets/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ async function main() {
8383
Array.from(changedFilesByWorkspace.entries())
8484
.map(([workspace, files]) => [
8585
workspace,
86-
files.filter(f => f.endsWith('package.json')),
86+
// Ignore root package.json from the workspace, and check for package.json in the subfolders
87+
files.filter(f => f !== 'package.json' && f.endsWith('package.json')),
8788
])
8889
.filter((workspaceChanges): workspaceChanges is [string, string[]] => {
8990
const [_, files] = workspaceChanges;

0 commit comments

Comments
 (0)