function getPackageJson(projectPath) {
    try {
      const file = path.resolve(projectPath, 'package.json');
      return JSON.parse(fsAdapter.fs.readFileSync(file, 'utf8'));
    } catch (_) {
      return null;
    }
  }
@param {string} projectPath
@returns {object|null}