Tweak origin detection lists (#748)

This commit is contained in:
Félix Saparelli 2024-01-01 16:41:14 +13:00 committed by GitHub
parent 3ad0e1aa57
commit bf9c85f598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,9 @@
## Next (YYYY-MM-DD)
- Remove `README.md` files from detection; those were causing too many false positives and were a weak signal anyway.
- Add Node.js package manager lockfiles.
## v1.2.1 (2023-11-26)
- Deps: upgrade Tokio requirement to 1.33.0

View File

@ -236,10 +236,11 @@ pub async fn origins(path: impl AsRef<Path> + Send) -> HashSet<PathBuf> {
list.has_file("mix.exs"),
list.has_file("moonshine-dependencies.xml"),
list.has_file("package.json"),
list.has_file("package-lock.json"),
list.has_file("pnpm-lock.yaml"),
list.has_file("yarn.lock"),
list.has_file("pom.xml"),
list.has_file("project.clj"),
list.has_file("README.md"),
list.has_file("README"),
list.has_file("requirements.txt"),
list.has_file("v.mod"),
list.has_file("CONTRIBUTING.md"),