diff --git a/lib/manager/npm/post-update/index.ts b/lib/manager/npm/post-update/index.ts
index 2dd31ea3e9d885816445d708b7a203e68bf5020d..9e4948d9442ec5d4cba5b6b4d269f2b25ae42468 100644
--- a/lib/manager/npm/post-update/index.ts
+++ b/lib/manager/npm/post-update/index.ts
@@ -14,7 +14,6 @@ import * as lerna from './lerna';
 import * as npm from './npm';
 import * as pnpm from './pnpm';
 import * as yarn from './yarn';
-import { PackageJson } from 'type-fest';
 
 // Strips empty values, deduplicates, and returns the directories from filenames
 // istanbul ignore next
@@ -140,22 +139,6 @@ export async function writeExistingFiles(
       config.localDir,
       path.dirname(packageFile.packageFile)
     );
-    logger.trace(`Writing package.json to ${basedir}`);
-    // Massage the file to eliminate yarn errors
-    const massagedFile: PackageJson = JSON.parse(
-      await platform.getFile(packageFile.packageFile)
-    );
-    if (massagedFile) {
-      if (massagedFile.name) {
-        massagedFile.name = massagedFile.name.replace(/[{}]/g, '');
-      }
-      delete massagedFile.engines;
-      delete massagedFile.scripts;
-      await fs.outputFile(
-        upath.join(basedir, 'package.json'),
-        JSON.stringify(massagedFile)
-      );
-    }
     const npmrc = packageFile.npmrc || config.npmrc;
     if (npmrc) {
       await fs.outputFile(upath.join(basedir, '.npmrc'), npmrc);