Remove resolutions when syncing deps

This commit is contained in:
Adria Navarro 2023-05-29 13:19:20 +02:00
parent 3eb7ca1d3a
commit cbd18828fc
1 changed files with 7 additions and 0 deletions

View File

@ -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"
)