npmInstallNeeded = (oldPckJSON, newPckJSON) => {
  const oldDeps = oldPckJSON.dependencies || Object.create(null);
  const oldDevDeps = oldPckJSON.devDependencies || Object.create(null);
  const newDeps = newPckJSON.dependencies || Object.create(null);
  const newDevDeps = newPckJSON.devDependencies || Object.create(null);
  return (
    JSON.stringify(oldDeps) !== JSON.stringify(newDeps) ||
    JSON.stringify(oldDevDeps) !== JSON.stringify(newDevDeps)
  );
}
install when the new package.json has different dependencies
or when the source is local and there are any dependencies
@param source
@param oldPckJSON
@param newPckJSON
@returns