mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
18 lines
411 B
JavaScript
18 lines
411 B
JavaScript
import { runUv } from "./runUvCommand.js";
|
|
|
|
/**
|
|
* @returns {import("../currentPackageManager.js").PackageManager}
|
|
*/
|
|
export function createUvPackageManager() {
|
|
return {
|
|
/**
|
|
* @param {string[]} args
|
|
*/
|
|
runCommand: (args) => {
|
|
return runUv("uv", args);
|
|
},
|
|
// For uv, rely solely on MITM
|
|
isSupportedCommand: () => false,
|
|
getDependencyUpdatesForCommand: () => [],
|
|
};
|
|
}
|