var f=Object.defineProperty;var n=(e,o)=>f(e,"name",{value:o,configurable:!0});import{R as p,E as g}from"../packem_shared/pm-runner-DmKT2FqF.js";import{o as v}from"../packem_shared/utils-DrNg0XTR.js";var k=Object.defineProperty,d=n((e,o)=>k(e,"name",{value:o,configurable:!0}),"l");const b=d(async({argument:e,logger:o,options:a,visConfig:s,workspaceRoot:i})=>{const r=e;if(!r||r.length===0)throw new Error("No packages specified. Usage: vis remove <packages...>");const c=process.cwd(),l=p(i??c,{configBackend:s?.install?.backend,configCorepack:s?.install?.corepack}),t=g(l,{filter:v(a.filter),global:a.global||!1,packages:r,recursive:a.recursive||!1,saveDev:a.saveDev||!1,workspaceRoot:a.workspaceRoot||!1},c,o);t!==0&&(process.exitCode=t)},"execute");export{b as default};
