yalc
yalc copied to clipboard
no-sig parameter doesn't works
I found an issue that --no-sig parameter doesn't work and it's probably because the signature boolean in this method https://github.com/wclr/yalc/blob/214ab0371aedd2212e2b21a9b9481cbdaf742404/src/copy.ts#L127 is overloaded in this line: https://github.com/wclr/yalc/blob/214ab0371aedd2212e2b21a9b9481cbdaf742404/src/copy.ts#L185.
Seems I forgot to update the readme https://github.com/wclr/yalc/blob/master/CHANGELOG.md#100pre51-2021-04-23
I just ran into this also. This readme part is no longer accurate:
While copying package content, yalc calculates the hash signature of all files and, by default, adds this signature to the package manifest version. You can disable this by using the --no-sig option.
It's now the opposite: by default the hash is not calculated or added to version, unless you use the --sig option.