1
0
Fork 0
mirror of synced 2024-06-18 18:35:37 +12:00

Remove resolutions when syncing deps

This commit is contained in:
Adria Navarro 2023-05-29 13:19:20 +02:00
parent 3eb7ca1d3a
commit cbd18828fc

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