static writeEntryToSearchTargetDepsFile(depProj, rootProjectMeta) {
    const rootProj = `${rootProjectMeta.name}#${rootProjectMeta.version}`;
    const filePath = path.join(this.outputPath, 'search-target-deps-file.json');
    let file = {};
    try {
      file = JSON.parse(fsAdapter.fs.readFileSync(filePath, 'utf-8'));
      // eslint-disable-next-line no-empty
    } catch (_) {}
    const deps = [...(file[rootProj] || []), depProj];
    file[rootProj] = [...new Set(deps)];
    fsAdapter.fs.writeFileSync(filePath, JSON.stringify(file, null, 2), { flag: 'w' });
  }
@param {ProjectName} depProj
@param {Project} rootProjectMeta