diff --git a/scripts/syncLocalDependencies.js b/scripts/syncLocalDependencies.js index d7bc8643bb..1c402e9a44 100755 --- a/scripts/syncLocalDependencies.js +++ b/scripts/syncLocalDependencies.js @@ -51,3 +51,10 @@ workspaces.forEach(workspace => { ) } }) + +const rootPackageJson = JSON.parse(fs.readFileSync("package.json", "utf-8")) +delete rootPackageJson["resolutions"] +fs.writeFileSync( + "package.json", + JSON.stringify(rootPackageJson, null, 2) + "\n" +)