(filePath)
| 2 | const path = require('path'); |
| 3 | |
| 4 | function readJson(filePath) { |
| 5 | return JSON.parse(fs.readFileSync(filePath, 'utf-8')); |
| 6 | } |
| 7 | |
| 8 | function updateWorkspaceDeps(pkgPath, workspaceNames, newVersion, { bumpVersion } = {}) { |
| 9 | const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8')); |