(pkg)
| 234 | * Given a package name, return relevant build files from the file system |
| 235 | */ |
| 236 | export function getPackageFromFS(pkg) { |
| 237 | const packageJSON = getPackageJSON(pkg) |
| 238 | const packageESM = getRawBuildFile(pkg, packageJSON.module) |
| 239 | const packageTS = getRawBuildFile(pkg, packageJSON.types) |
| 240 | |
| 241 | return { |
| 242 | packageJSON, |
| 243 | packageESM, |
| 244 | packageTS, |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | /** |
| 249 | * Given a package name, return relevant build files from the file system |
nothing calls this directly
no test coverage detected