Closed Badisi closed 2 years ago
@antongolub, what about now ?
@antongolub, I refactored a bit to check against '.'
as you requested and added some tests.
Hey @Badisi,
I'll take a look in the next 24h.
Everything seems fine. I'll merge this next morning to be able to rollback if needed.
:tada: This PR is included in version 2.12.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@Badisi,
Merged. Could you plz make a couple tweak ups?
getRootPkgs(context)
helper:
const getRootPkgs = (context, ...extra) => getPkgRootOptions(context).map((pkgRoot) => {
const manifestPath = cleanPath(`${pkgRoot}/package.json`, context.cwd);
return {
path: manifestPath,
manifest: getManifest(manifestPath),
...extra, // _depsChanged: pkg._depsChanged,
};
}),
getPkgRootOptions
to getRootPkgs
to define both helpers in one place.config.pkgRoot
. Docs ref would be ok.Done in PR #109
Closes #105