(pkgDir: string)
| 56 | }; |
| 57 | |
| 58 | const readPackageJson = async (pkgDir: string): Promise<PackageJson> => { |
| 59 | const raw = await readFile(join(pkgDir, "package.json"), "utf8"); |
| 60 | return JSON.parse(raw) as PackageJson; |
| 61 | }; |
| 62 | |
| 63 | const findTarball = (pkgDir: string): string | null => { |
| 64 | const tgz = readdirSync(pkgDir).find((entry) => entry.endsWith(".tgz")); |
no outgoing calls
no test coverage detected