From 10f3c21125c22d3aa017424c2cc968de7e6aaf1f Mon Sep 17 00:00:00 2001 From: Oskar Haarklou Veileborg Date: Tue, 10 Nov 2026 13:57:41 +0100 Subject: [PATCH] feat(fix): accept UV in --package-managers Coana now answers uv.lock and *.py.lock files to UV, so uv projects can be included or left out by name. Without UV in this list, socket fix rejects the value before Coana sees it, and a filter that names every other Python package manager silently drops uv projects. --- CHANGELOG.md | 3 +++ src/utils/package-manager.mts | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f79d86bdca..b7002ef4ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +### Added +- `socket fix --package-managers` accepts `UV`, to include or leave out uv projects. + ### Fixed - When `dotnet restore` fails in one .NET project, the projects it may have skipped as up to date are no longer reported as not restored. diff --git a/src/utils/package-manager.mts b/src/utils/package-manager.mts index 42b9dcef7f..34a6cf60d0 100644 --- a/src/utils/package-manager.mts +++ b/src/utils/package-manager.mts @@ -4,7 +4,7 @@ * within an ecosystem (e.g. only PNPM artifacts in a mixed pnpm/yarn/npm repo). * * Mirrors the list returned by Coana's `getFilterablePackageManagers()` in - * packages/web-compat-utils/src/package-manager-utils.ts. + * packages/utils/src/package-manager-utils.ts. */ export const ALL_PACKAGE_MANAGERS = [ @@ -22,6 +22,7 @@ export const ALL_PACKAGE_MANAGERS = [ 'RUBYGEMS', 'RUSH', 'SBT', + 'UV', 'YARN', ] as const