MCPcopy
hub / github.com/loopbackio/loopback-next / getPackageRelativeUri

Function getPackageRelativeUri

bin/update-monorepo-file.js:21–23  ·  view source on GitHub ↗
(pkg)

Source from the content-addressed store, hash-verified

19const MONOREPO_FILE_NAME = 'MONOREPO.md';
20
21function getPackageRelativeUri(pkg) {
22 return path.relative(pkg.rootPath, pkg.location).replace(/\\/g, '/');
23}
24
25async function getSortedPackages() {
26 const packages = await getPackages();

Callers 2

getSortedPackagesFunction · 0.85
getPackageFieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected