Closed jesstelford closed 4 years ago
Latest commit: 6e71054a4fb8094702cfbdc700052fc234fa0388
We got this.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Done - turned out fairly easy other than the TypeScript type trickery needed to add the options:
Add package.json#manypkg config object:
{
"manypkg": {}
}
To support setting a default branch for the INCORRECT_REPOSITORY_FIELD check/fix, a new config option can be set:
{
"manypkg": {
"defaultBranch": "master"
}
}
The default defaultBranch
is "master"
.
My repositories use
main
as the default branch, which causesmanypkg check
to incorrectly error with:With this new cli swich, I can successfully execute: