var i=Object.create;var a=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var w=(e,r)=>{for(var o in r)a(e,o,{get:r[o],enumerable:!0})},n=(e,r,o,m)=>{if(r&&typeof r=="object"||typeof r=="function")for(let c of l(r))!k.call(e,c)&&c!==o&&a(e,c,{get:()=>r[c],enumerable:!(m=s(r,c))||m.enumerable});return e};var d=(e,r,o)=>(o=e!=null?i(u(e)):{},n(r||!e||!e.__esModule?a(o,"default",{value:e,enumerable:!0}):o,e)),y=e=>n(a({},"__esModule",{value:!0}),e);var P={};w(P,{default:()=>t});module.exports=y(P);var f=d(require("fast-glob")),g=d(require("to-read-package")),p=d(require("to-extend"));function t(e=[],r){return r=(0,p.default)({cwd:process.cwd(),ignore:["**/node_modules/**"]},r),e=e?.length?e:(0,g.default)(void 0,{cwd:r.cwd})?.workspaces,e?.length?f.default.sync(e.map(o=>o+"/package.json"),r).map(o=>o.replace("/package.json","")):[]}0&&(module.exports={});