function updateFrameworkLockfile(framework, latestLockfileVersion, frameworkDirPath) {
  const { name, type } = framework;

  console.log(`Checking ${type} ${name} lockfile`);

  const frameworkPath = path.join(cwd(), frameworkDirPath, type, name);

  const packageLockJSONPath = path.join(frameworkPath, "package-lock.json");
  const packageLockJSONVersion = getPackageLockJSONVersion(packageLockJSONPath);

  if (packageLockJSONVersion === latestLockfileVersion) {
    console.log(`Skip update for v${latestLockfileVersion} lockfile`);
    return;
  }

  fs.rmSync(packageLockJSONPath, { force: true });
  runNpmInstall(frameworkPath);
}
Updates the lockfile of one framework
@param {Framework} framework
@param {number} latestLockfileVersion
@param {string} frameworkDirPath