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