(projectDir: string)
| 163 | }; |
| 164 | |
| 165 | const updateInternalDependencies = async (projectDir: string) => { |
| 166 | const rootPackageJsonPath = join(projectDir, "package.json"); |
| 167 | await updateInternalPackageDependencies(rootPackageJsonPath); |
| 168 | |
| 169 | const workspaceDirs = ["apps", "packages"]; |
| 170 | |
| 171 | for (const dir of workspaceDirs) { |
| 172 | const dirPath = join(projectDir, dir); |
| 173 | const packages = await readdir(dirPath); |
| 174 | |
| 175 | for (const pkg of packages) { |
| 176 | const path = join(dirPath, pkg, "package.json"); |
| 177 | await updateInternalPackageDependencies(path); |
| 178 | } |
| 179 | } |
| 180 | }; |
| 181 | |
| 182 | const getName = async () => { |
| 183 | const value = await text({ |
no test coverage detected