yalc icon indicating copy to clipboard operation
yalc copied to clipboard

yalc push overrides --no-pure always

Open iridiankin opened this issue 5 years ago • 1 comments

yalc.lock entry:

    "@what/ever": {
      "signature": "012344568987987",
      "file": true,
      "pure": false
    },

Will be replaced with "pure": true when @what/ever is yalc push because of the line: https://github.com/whitecolor/yalc/blob/30d0cc7c933c41b71e578244b07538acae1085d6/src/update.ts#L54

Does not respect yalc.lock configuration at all, but unpreventably forces the --pure default via subsequent:

https://github.com/whitecolor/yalc/blob/30d0cc7c933c41b71e578244b07538acae1085d6/src/add.ts#L116

Says to use --no-pure, but --no-pure can't be given to yalc push, and earlier yalc add --no-pure is not respected.

iridiankin avatar Feb 15 '19 04:02 iridiankin