(pkg)
| 31 | } |
| 32 | |
| 33 | function getPackageFields(pkg) { |
| 34 | const packageJson = fse.readJsonSync(path.join(pkg.location, 'package.json')); |
| 35 | |
| 36 | const relativeUri = getPackageRelativeUri(pkg); |
| 37 | const pkgUrl = `https://github.com/loopbackio/loopback-next/tree/master/${relativeUri}`; |
| 38 | |
| 39 | return [ |
| 40 | `[${relativeUri}](${pkgUrl})`, |
| 41 | pkg.private ? '_(private)_' : pkg.name, |
| 42 | packageJson.description, |
| 43 | ]; |
| 44 | } |
| 45 | |
| 46 | function updateTable(packages) { |
| 47 | const header = ['Package', 'npm', 'Description']; |
nothing calls this directly
no test coverage detected