(packageName)
| 10 | } |
| 11 | |
| 12 | function getPackageVersion(packageName) { |
| 13 | const packagePath = path.join( |
| 14 | REPO_ROOT, |
| 15 | `packages`, |
| 16 | packageName, |
| 17 | `package.json` |
| 18 | ) |
| 19 | |
| 20 | return JSON.parse(fs.readFileSync(packagePath, `utf8`)).version |
| 21 | } |
| 22 | |
| 23 | function replaceVersionPlaceholders(content) { |
| 24 | let updatedContent = content |
no test coverage detected