Update checked-in dependencies
This commit is contained in:
parent
4fad06f438
commit
40a500c743
4168 changed files with 298222 additions and 374905 deletions
4
node_modules/@pkgr/utils/lib/monorepo.js
generated
vendored
4
node_modules/@pkgr/utils/lib/monorepo.js
generated
vendored
|
|
@ -5,5 +5,7 @@ const pkg = (_a = tryRequirePkg(path.resolve('package.json'))) !== null && _a !=
|
|||
const lernaConfig = (_b = tryRequirePkg(path.resolve('lerna.json'))) !== null && _b !== void 0 ? _b : {};
|
||||
const pkgsPath = (_d = (_c = lernaConfig.packages) !== null && _c !== void 0 ? _c : pkg.workspaces) !== null && _d !== void 0 ? _d : [];
|
||||
export const isMonorepo = Array.isArray(pkgsPath) && pkgsPath.length > 0;
|
||||
export const monorepoPkgs = isMonorepo ? tryGlob(pkgsPath) : [];
|
||||
export const monorepoPkgs = isMonorepo
|
||||
? tryGlob(pkgsPath.map(pkg => pkg.endsWith('/package.json') ? pkg : `${pkg}/package.json`))
|
||||
: [];
|
||||
//# sourceMappingURL=monorepo.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue