function resolveDynamicImportsForMockFs(
  dynamicImports = [
    {
      name: 'oxc-parser',
      siblings: [
        '@oxc-parser',
        // '@oxc-resolver'
      ],
    },
    { name: '@babel/parser' },
    { name: '@swc/core' },
  ],
) {
  const require = module.createRequire(import.meta.url);
  const importablePaths = [];
  for (const dynamicImport of dynamicImports) {
    /** @type {string} */
    let resolvedPath;
    try {
      resolvedPath = require.resolve(dynamicImport.name);
    } catch {
      console.warn(`[resolveDynamicImportsForMockFs] Did not find ${dynamicImport.name}`);
      continue; // eslint-disable-line no-continue
    }
    const rootPath = getPackageRootFromNodeModulesPath(resolvedPath, dynamicImport.name);
    importablePaths.push(rootPath);
    for (const sibling of dynamicImport.siblings || []) {
      const siblingPath = `${rootPath.split(path.sep).slice(0, -1).join(path.sep)}${path.sep}${sibling}`;
      importablePaths.push(siblingPath);
    }
  }
  return importablePaths;
}
@example
```js
const importablePaths = resolveDynamicImportsForMockFs();
mockFs({...Object.fromEntries(importablePaths.map(p => [p, mockFs.load(p)])), ...rest });
```

@param {{name:string;siblings?:string[]}[]} dynamicImports
@returns {string[]}