From 06b69ba69e7c3656a0ba8ff55cf22b6397ded469 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 5 Aug 2026 15:20:44 +0100 Subject: [PATCH 1/4] feat: add more patterns to unnecessary files hints --- app/utils/package-content-hints.ts | 1 + test/unit/app/utils/package-content-hints.spec.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/app/utils/package-content-hints.ts b/app/utils/package-content-hints.ts index f934eb0b37..ee1a0408f1 100644 --- a/app/utils/package-content-hints.ts +++ b/app/utils/package-content-hints.ts @@ -63,6 +63,7 @@ const POSSIBLY_UNNECESSARY_DIRECTORIES: ReadonlySet = new Set([ 'example', 'examples', 'benchmark', + 'benchmarks', ]) const POSSIBLY_UNNECESSARY_DIRECTORY_PATTERNS: readonly RegExp[] = [/^__.+__$/] diff --git a/test/unit/app/utils/package-content-hints.spec.ts b/test/unit/app/utils/package-content-hints.spec.ts index 1bb5aab0ab..a4ad26dc58 100644 --- a/test/unit/app/utils/package-content-hints.spec.ts +++ b/test/unit/app/utils/package-content-hints.spec.ts @@ -176,6 +176,7 @@ describe('isPossiblyUnnecessaryContent', () => { it('flags development directories', () => { expect(isPossiblyUnnecessaryContent('benchmark', 'directory')).toBe(true) + expect(isPossiblyUnnecessaryContent('benchmarks', 'directory')).toBe(true) }) it('flags example directories', () => { From c3e4aff53c958efef9cbe84a2a8223ec6dc270e7 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 5 Aug 2026 15:24:51 +0100 Subject: [PATCH 2/4] feat: add more patterns to unnecessary files hints --- app/utils/package-content-hints.ts | 1 + test/unit/app/utils/package-content-hints.spec.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/app/utils/package-content-hints.ts b/app/utils/package-content-hints.ts index ee1a0408f1..a81c87544b 100644 --- a/app/utils/package-content-hints.ts +++ b/app/utils/package-content-hints.ts @@ -17,6 +17,7 @@ const POSSIBLY_UNNECESSARY_FILES: ReadonlySet = new Set([ '.gitattributes', '.travis.yml', '.verb.md', + '.borp.yaml', 'Makefile', 'tsconfig.json', 'jsconfig.json', diff --git a/test/unit/app/utils/package-content-hints.spec.ts b/test/unit/app/utils/package-content-hints.spec.ts index a4ad26dc58..c73f7cb90f 100644 --- a/test/unit/app/utils/package-content-hints.spec.ts +++ b/test/unit/app/utils/package-content-hints.spec.ts @@ -36,6 +36,7 @@ describe('isPossiblyUnnecessaryContent', () => { it('flags editor and CI files', () => { expect(isPossiblyUnnecessaryContent('.travis.yml', 'file')).toBe(true) expect(isPossiblyUnnecessaryContent('.verb.md', 'file')).toBe(true) + expect(isPossiblyUnnecessaryContent('.borp.yaml', 'file')).toBe(true) expect(isPossiblyUnnecessaryContent('Makefile', 'file')).toBe(true) expect(isPossiblyUnnecessaryContent('.DS_Store', 'file')).toBe(true) }) From fe93786e1749b02eb2865034f7b916321b4e248d Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 5 Aug 2026 17:21:18 +0100 Subject: [PATCH 3/4] feat: add more patterns to unnecessary files hints --- app/utils/package-content-hints.ts | 1 + test/unit/app/utils/package-content-hints.spec.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/app/utils/package-content-hints.ts b/app/utils/package-content-hints.ts index a81c87544b..aec944d3b0 100644 --- a/app/utils/package-content-hints.ts +++ b/app/utils/package-content-hints.ts @@ -21,6 +21,7 @@ const POSSIBLY_UNNECESSARY_FILES: ReadonlySet = new Set([ 'Makefile', 'tsconfig.json', 'jsconfig.json', + 'commitlint.config.js', '.node-version', '.nvmrc', 'mise.toml', diff --git a/test/unit/app/utils/package-content-hints.spec.ts b/test/unit/app/utils/package-content-hints.spec.ts index c73f7cb90f..9260ef1793 100644 --- a/test/unit/app/utils/package-content-hints.spec.ts +++ b/test/unit/app/utils/package-content-hints.spec.ts @@ -12,6 +12,7 @@ describe('isPossiblyUnnecessaryContent', () => { expect(isPossiblyUnnecessaryContent('.npmignore', 'file')).toBe(true) expect(isPossiblyUnnecessaryContent('tsconfig.json', 'file')).toBe(true) expect(isPossiblyUnnecessaryContent('jsconfig.json', 'file')).toBe(true) + expect(isPossiblyUnnecessaryContent('commitlint.config.js', 'file')).toBe(true) }) it('flags local environment files', () => { From bd9d4e572f791ac6c5ef9162334d24b8df081725 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 5 Aug 2026 17:22:25 +0100 Subject: [PATCH 4/4] feat: add more patterns to unnecessary files hints --- app/utils/package-content-hints.ts | 1 + test/unit/app/utils/package-content-hints.spec.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/app/utils/package-content-hints.ts b/app/utils/package-content-hints.ts index aec944d3b0..def5803552 100644 --- a/app/utils/package-content-hints.ts +++ b/app/utils/package-content-hints.ts @@ -22,6 +22,7 @@ const POSSIBLY_UNNECESSARY_FILES: ReadonlySet = new Set([ 'tsconfig.json', 'jsconfig.json', 'commitlint.config.js', + 'renovate.json', '.node-version', '.nvmrc', 'mise.toml', diff --git a/test/unit/app/utils/package-content-hints.spec.ts b/test/unit/app/utils/package-content-hints.spec.ts index 9260ef1793..78732d1f48 100644 --- a/test/unit/app/utils/package-content-hints.spec.ts +++ b/test/unit/app/utils/package-content-hints.spec.ts @@ -13,6 +13,7 @@ describe('isPossiblyUnnecessaryContent', () => { expect(isPossiblyUnnecessaryContent('tsconfig.json', 'file')).toBe(true) expect(isPossiblyUnnecessaryContent('jsconfig.json', 'file')).toBe(true) expect(isPossiblyUnnecessaryContent('commitlint.config.js', 'file')).toBe(true) + expect(isPossiblyUnnecessaryContent('renovate.json', 'file')).toBe(true) }) it('flags local environment files', () => {