Skip to content

Commit ff46ee1

Browse files
feat(fix): accept UV in --package-managers (#1709)
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.
1 parent 8fcc0f9 commit ff46ee1

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

77
## [Unreleased]
88

9+
### Added
10+
- `socket fix --package-managers` accepts `UV`, to include or leave out uv projects.
11+
912
### Fixed
1013
- 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.
1114

‎src/utils/package-manager.mts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* within an ecosystem (e.g. only PNPM artifacts in a mixed pnpm/yarn/npm repo).
55
*
66
* Mirrors the list returned by Coana's `getFilterablePackageManagers()` in
7-
* packages/web-compat-utils/src/package-manager-utils.ts.
7+
* packages/utils/src/package-manager-utils.ts.
88
*/
99

1010
export const ALL_PACKAGE_MANAGERS = [
@@ -22,6 +22,7 @@ export const ALL_PACKAGE_MANAGERS = [
2222
'RUBYGEMS',
2323
'RUSH',
2424
'SBT',
25+
'UV',
2526
'YARN',
2627
] as const
2728

0 commit comments

Comments
 (0)