Remove resolutions when syncing deps
This commit is contained in:
parent
3eb7ca1d3a
commit
cbd18828fc
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue