upPkg.packageJson.name changed to upPkg.pkg.name
old:
const upPkg = readPkgUp.sync();
// case 1: we're in NR itself
if (upPkg.packageJson.name === 'node-red') {
new:
const upPkg = readPkgUp.sync();
// case 1: we're in NR itself
if (upPkg.pkg.name === 'node-red') {